diff --git a/cmd/regenerate-explain/main.go b/cmd/regenerate-explain/main.go index 64f10ee0df..629686c572 100644 --- a/cmd/regenerate-explain/main.go +++ b/cmd/regenerate-explain/main.go @@ -12,8 +12,10 @@ import ( "os" "os/exec" "path/filepath" + "runtime" "strconv" "strings" + "sync" "syscall" "time" ) @@ -40,6 +42,7 @@ func main() { dryRun := flag.Bool("dry-run", false, "Print statements without executing") serverOnly := flag.Bool("server", false, "Only ensure server is running, don't regenerate") stopServer := flag.Bool("stop", false, "Stop the ClickHouse server") + parallel := flag.Int("j", runtime.NumCPU(), "Number of parallel workers (default: number of CPUs)") flag.Parse() // Handle stop command @@ -85,19 +88,68 @@ func main() { os.Exit(1) } - var errors []string - var processed, skipped int + // Collect test directories + var testDirs []string for _, entry := range entries { if !entry.IsDir() { continue } - testDir := filepath.Join(testdataDir, entry.Name()) - if err := processTest(testDir, *dryRun); err != nil { - if strings.Contains(err.Error(), "no statements found") { - skipped++ - continue + testDirs = append(testDirs, filepath.Join(testdataDir, entry.Name())) + } + + // Process tests in parallel + type result struct { + name string + err error + skipped bool + } + + numWorkers := *parallel + if numWorkers < 1 { + numWorkers = 1 + } + fmt.Printf("Processing %d tests with %d workers...\n", len(testDirs), numWorkers) + + jobs := make(chan string, len(testDirs)) + results := make(chan result, len(testDirs)) + + // Start workers + var wg sync.WaitGroup + for w := 0; w < numWorkers; w++ { + wg.Add(1) + go func() { + defer wg.Done() + for testDir := range jobs { + err := processTest(testDir, *dryRun) + skipped := err != nil && strings.Contains(err.Error(), "no statements found") + if skipped { + err = nil + } + results <- result{name: filepath.Base(testDir), err: err, skipped: skipped} } - errors = append(errors, fmt.Sprintf("%s: %v", entry.Name(), err)) + }() + } + + // Send jobs + for _, testDir := range testDirs { + jobs <- testDir + } + close(jobs) + + // Wait for workers and close results + go func() { + wg.Wait() + close(results) + }() + + // Collect results + var errors []string + var processed, skipped int + for r := range results { + if r.skipped { + skipped++ + } else if r.err != nil { + errors = append(errors, fmt.Sprintf("%s: %v", r.name, r.err)) } else { processed++ } @@ -524,21 +576,23 @@ func processTest(testDir string, dryRun bool) error { return fmt.Errorf("no statements found") } - fmt.Printf("Processing %s (%d statements)\n", filepath.Base(testDir), len(statements)) + testName := filepath.Base(testDir) - // Generate version header comment - versionHeader := fmt.Sprintf("-- Generated by ClickHouse %s\n", requiredVersion) + if dryRun { + fmt.Printf("Processing %s (%d statements)\n", testName, len(statements)) + for i, stmt := range statements { + fmt.Printf(" [%d] %s\n", i+1, truncate(stmt, 80)) + } + return nil + } + var stmtErrors []string for i, stmt := range statements { stmtNum := i + 1 // 1-indexed - if dryRun { - fmt.Printf(" [%d] %s\n", stmtNum, truncate(stmt, 80)) - continue - } explain, err := explainAST(stmt) if err != nil { - fmt.Printf(" [%d] ERROR: %v\n", stmtNum, err) + stmtErrors = append(stmtErrors, fmt.Sprintf("stmt %d: %v", stmtNum, err)) // Skip statements that fail - they might be intentionally invalid continue } @@ -551,12 +605,17 @@ func processTest(testDir string, dryRun bool) error { outputPath = filepath.Join(testDir, fmt.Sprintf("explain_%d.txt", stmtNum)) } - // Write with version header - content := versionHeader + explain + "\n" + content := explain + "\n" if err := os.WriteFile(outputPath, []byte(content), 0644); err != nil { return fmt.Errorf("writing %s: %w", outputPath, err) } - fmt.Printf(" [%d] -> %s\n", stmtNum, filepath.Base(outputPath)) + } + + // Print summary + if len(stmtErrors) > 0 { + fmt.Printf("%s: %d stmts, %d errors\n", testName, len(statements), len(stmtErrors)) + } else { + fmt.Printf("%s: %d stmts OK\n", testName, len(statements)) } return nil diff --git a/parser/parser_test.go b/parser/parser_test.go index 03e604b5f9..ebf88ed7fc 100644 --- a/parser/parser_test.go +++ b/parser/parser_test.go @@ -268,98 +268,6 @@ func TestParser(t *testing.T) { } } -// TestExplainVersionConsistency ensures all explain*.txt files have the same ClickHouse version header. -// This test: -// - Scans all explain*.txt files in testdata/ -// - Checks each file for a "-- Generated by ClickHouse X.X.X.X" header -// - Reports files without version headers -// - Reports if multiple different versions are found -// - Passes only when all files have the same version header -func TestExplainVersionConsistency(t *testing.T) { - testdataDir := "testdata" - - // Find all explain*.txt files - var explainFiles []string - err := filepath.Walk(testdataDir, func(path string, info os.FileInfo, err error) error { - if err != nil { - return err - } - if !info.IsDir() && strings.HasPrefix(info.Name(), "explain") && strings.HasSuffix(info.Name(), ".txt") { - explainFiles = append(explainFiles, path) - } - return nil - }) - if err != nil { - t.Fatalf("Failed to walk testdata directory: %v", err) - } - - if len(explainFiles) == 0 { - t.Skip("No explain*.txt files found") - } - - // Track versions and files without headers - versionToFiles := make(map[string][]string) - var filesWithoutHeaders []string - - versionPattern := "-- Generated by ClickHouse " - - for _, path := range explainFiles { - content, err := os.ReadFile(path) - if err != nil { - t.Errorf("Failed to read %s: %v", path, err) - continue - } - - lines := strings.Split(string(content), "\n") - if len(lines) == 0 { - filesWithoutHeaders = append(filesWithoutHeaders, path) - continue - } - - firstLine := lines[0] - if !strings.HasPrefix(firstLine, versionPattern) { - filesWithoutHeaders = append(filesWithoutHeaders, path) - continue - } - - // Extract version from "-- Generated by ClickHouse X.X.X.X" - version := strings.TrimPrefix(firstLine, versionPattern) - versionToFiles[version] = append(versionToFiles[version], path) - } - - // Report findings - if len(filesWithoutHeaders) > 0 { - t.Errorf("Found %d files without version headers:", len(filesWithoutHeaders)) - // Show first 10 files as examples - limit := 10 - if len(filesWithoutHeaders) < limit { - limit = len(filesWithoutHeaders) - } - for _, path := range filesWithoutHeaders[:limit] { - t.Errorf(" - %s", path) - } - if len(filesWithoutHeaders) > 10 { - t.Errorf(" ... and %d more", len(filesWithoutHeaders)-10) - } - } - - if len(versionToFiles) > 1 { - t.Errorf("Found %d different ClickHouse versions:", len(versionToFiles)) - for version, files := range versionToFiles { - t.Errorf(" Version %q: %d files", version, len(files)) - } - } - - if len(filesWithoutHeaders) > 0 || len(versionToFiles) != 1 { - t.FailNow() - } - - // Log the consistent version - for version := range versionToFiles { - t.Logf("All %d explain files have consistent version: %s", len(explainFiles), version) - } -} - // BenchmarkParser benchmarks the parser performance using a complex query func BenchmarkParser(b *testing.B) { query := ` diff --git a/parser/testdata/00001_select_1/explain.txt b/parser/testdata/00001_select_1/explain.txt index 5e1d3a66f5..8827c47de6 100644 --- a/parser/testdata/00001_select_1/explain.txt +++ b/parser/testdata/00001_select_1/explain.txt @@ -1,4 +1,3 @@ --- Generated by ClickHouse 25.8.13.73 SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 1) diff --git a/parser/testdata/00011_array_join_alias/explain.txt b/parser/testdata/00011_array_join_alias/explain.txt index d301367fc8..3fa63e1784 100644 --- a/parser/testdata/00011_array_join_alias/explain.txt +++ b/parser/testdata/00011_array_join_alias/explain.txt @@ -19,4 +19,3 @@ SelectWithUnionQuery (children 1) TablesInSelectQueryElement (children 1) ArrayJoin (children 1) ExpressionList -The query succeeded but the server error '42' was expected (query: EXPLAIN AST SELECT x, a FROM (SELECT arrayJoin(['Hello', 'Goodbye']) AS x, [1, 2, 3] AS arr) ARRAY JOIN; -- { serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH }). diff --git a/parser/testdata/00013_create_table_with_arrays/explain_3.txt b/parser/testdata/00013_create_table_with_arrays/explain_3.txt new file mode 100644 index 0000000000..dc57cfd43f --- /dev/null +++ b/parser/testdata/00013_create_table_with_arrays/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier arrays_test diff --git a/parser/testdata/00014_select_from_table_with_nested/explain_3.txt b/parser/testdata/00014_select_from_table_with_nested/explain_3.txt new file mode 100644 index 0000000000..3271bfd8b8 --- /dev/null +++ b/parser/testdata/00014_select_from_table_with_nested/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nested_test diff --git a/parser/testdata/00030_alter_table/explain_4.txt b/parser/testdata/00030_alter_table/explain_4.txt new file mode 100644 index 0000000000..336fdaee7b --- /dev/null +++ b/parser/testdata/00030_alter_table/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier alter_test diff --git a/parser/testdata/00036_array_element/explain_11.txt b/parser/testdata/00036_array_element/explain_11.txt new file mode 100644 index 0000000000..122b6c93aa --- /dev/null +++ b/parser/testdata/00036_array_element/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier array_element_test diff --git a/parser/testdata/00036_array_element/explain_15.txt b/parser/testdata/00036_array_element/explain_15.txt new file mode 100644 index 0000000000..122b6c93aa --- /dev/null +++ b/parser/testdata/00036_array_element/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier array_element_test diff --git a/parser/testdata/00036_array_element/explain_19.txt b/parser/testdata/00036_array_element/explain_19.txt new file mode 100644 index 0000000000..122b6c93aa --- /dev/null +++ b/parser/testdata/00036_array_element/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier array_element_test diff --git a/parser/testdata/00036_array_element/explain_23.txt b/parser/testdata/00036_array_element/explain_23.txt new file mode 100644 index 0000000000..122b6c93aa --- /dev/null +++ b/parser/testdata/00036_array_element/explain_23.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier array_element_test diff --git a/parser/testdata/00036_array_element/explain_3.txt b/parser/testdata/00036_array_element/explain_3.txt new file mode 100644 index 0000000000..122b6c93aa --- /dev/null +++ b/parser/testdata/00036_array_element/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier array_element_test diff --git a/parser/testdata/00036_array_element/explain_7.txt b/parser/testdata/00036_array_element/explain_7.txt new file mode 100644 index 0000000000..122b6c93aa --- /dev/null +++ b/parser/testdata/00036_array_element/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier array_element_test diff --git a/parser/testdata/00042_any_left_join/explain.txt b/parser/testdata/00042_any_left_join/explain.txt new file mode 100644 index 0000000000..2782ad861a --- /dev/null +++ b/parser/testdata/00042_any_left_join/explain.txt @@ -0,0 +1,49 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 3) + Identifier EventDate + Identifier hits + Identifier visits + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Identifier EventDate + Function count (alias hits) (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.hits + ExpressionList (children 1) + Identifier EventDate + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Identifier StartDate (alias EventDate) + Function sum (alias visits) (children 1) + ExpressionList (children 1) + Identifier Sign + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.visits + ExpressionList (children 1) + Identifier EventDate + TableJoin (children 1) + ExpressionList (children 1) + Identifier EventDate + ExpressionList (children 1) + OrderByElement (children 1) + Identifier hits + Literal UInt64_10 + Set diff --git a/parser/testdata/00043_any_left_join/explain.txt b/parser/testdata/00043_any_left_join/explain.txt new file mode 100644 index 0000000000..47de5c434b --- /dev/null +++ b/parser/testdata/00043_any_left_join/explain.txt @@ -0,0 +1,41 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 3) + Identifier EventDate + Function count (alias hits) (children 1) + ExpressionList + Function any (children 1) + ExpressionList (children 1) + Identifier visits + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.hits + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Identifier StartDate (alias EventDate) + Function sum (alias visits) (children 1) + ExpressionList (children 1) + Identifier Sign + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.visits + ExpressionList (children 1) + Identifier EventDate + TableJoin (children 1) + ExpressionList (children 1) + Identifier EventDate + ExpressionList (children 1) + Identifier EventDate + ExpressionList (children 1) + OrderByElement (children 1) + Identifier hits + Literal UInt64_10 + Set diff --git a/parser/testdata/00043_summing_empty_part/explain_10.txt b/parser/testdata/00043_summing_empty_part/explain_10.txt new file mode 100644 index 0000000000..c7d848fb11 --- /dev/null +++ b/parser/testdata/00043_summing_empty_part/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier empty_summing diff --git a/parser/testdata/00043_summing_empty_part/explain_4.txt b/parser/testdata/00043_summing_empty_part/explain_4.txt new file mode 100644 index 0000000000..c7d848fb11 --- /dev/null +++ b/parser/testdata/00043_summing_empty_part/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier empty_summing diff --git a/parser/testdata/00043_summing_empty_part/explain_5.txt b/parser/testdata/00043_summing_empty_part/explain_5.txt new file mode 100644 index 0000000000..c7d848fb11 --- /dev/null +++ b/parser/testdata/00043_summing_empty_part/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier empty_summing diff --git a/parser/testdata/00043_summing_empty_part/explain_8.txt b/parser/testdata/00043_summing_empty_part/explain_8.txt new file mode 100644 index 0000000000..c7d848fb11 --- /dev/null +++ b/parser/testdata/00043_summing_empty_part/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier empty_summing diff --git a/parser/testdata/00043_summing_empty_part/explain_9.txt b/parser/testdata/00043_summing_empty_part/explain_9.txt new file mode 100644 index 0000000000..c7d848fb11 --- /dev/null +++ b/parser/testdata/00043_summing_empty_part/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier empty_summing diff --git a/parser/testdata/00044_any_left_join_string/explain.txt b/parser/testdata/00044_any_left_join_string/explain.txt new file mode 100644 index 0000000000..0d8095d758 --- /dev/null +++ b/parser/testdata/00044_any_left_join_string/explain.txt @@ -0,0 +1,53 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 3) + Identifier domain + Identifier hits + Identifier visits + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Function domain (alias domain) (children 1) + ExpressionList (children 1) + Identifier URL + Function count (alias hits) (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.hits + ExpressionList (children 1) + Identifier domain + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Function domain (alias domain) (children 1) + ExpressionList (children 1) + Identifier StartURL + Function sum (alias visits) (children 1) + ExpressionList (children 1) + Identifier Sign + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.visits + ExpressionList (children 1) + Identifier domain + TableJoin (children 1) + ExpressionList (children 1) + Identifier domain + ExpressionList (children 1) + OrderByElement (children 1) + Identifier hits + Literal UInt64_10 + Set diff --git a/parser/testdata/00049_any_left_join/explain.txt b/parser/testdata/00049_any_left_join/explain.txt new file mode 100644 index 0000000000..c065fa6f67 --- /dev/null +++ b/parser/testdata/00049_any_left_join/explain.txt @@ -0,0 +1,49 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Identifier number + Identifier joined + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias js2) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Function multiply (alias number) (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + Function plus (alias joined) (children 1) + ExpressionList (children 2) + Function multiply (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 + Literal UInt64_1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_10 + TableJoin (children 1) + ExpressionList (children 1) + Identifier number + Literal UInt64_10 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier ALL diff --git a/parser/testdata/00050_any_left_join/explain.txt b/parser/testdata/00050_any_left_join/explain.txt new file mode 100644 index 0000000000..9d66c1de7a --- /dev/null +++ b/parser/testdata/00050_any_left_join/explain.txt @@ -0,0 +1,45 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + QualifiedAsterisk (children 1) + Identifier a + QualifiedAsterisk (children 1) + Identifier b + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias a) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier number (alias k) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_10 + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias b) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Function multiply (alias k) (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + Identifier number (alias joined) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_10 + TableJoin (children 1) + ExpressionList (children 1) + Identifier k + ExpressionList (children 1) + OrderByElement (children 1) + Identifier k diff --git a/parser/testdata/00052_all_left_join/explain.txt b/parser/testdata/00052_all_left_join/explain.txt new file mode 100644 index 0000000000..dcd82fa21e --- /dev/null +++ b/parser/testdata/00052_all_left_join/explain.txt @@ -0,0 +1,42 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias js1) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier number (alias k) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_10 + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias js2) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Function intDiv (alias k) (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + Identifier number (alias joined) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_10 + TableJoin (children 1) + ExpressionList (children 1) + Identifier k + ExpressionList (children 1) + OrderByElement (children 1) + Identifier ALL diff --git a/parser/testdata/00052_group_by_in/explain.txt b/parser/testdata/00052_group_by_in/explain.txt index da83f59758..d8a51f1428 100644 --- a/parser/testdata/00052_group_by_in/explain.txt +++ b/parser/testdata/00052_group_by_in/explain.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) - SelectQuery (children 1) + SelectQuery (children 5) ExpressionList (children 3) Identifier StartDate Function if (alias traf_type) (children 1) @@ -14,3 +14,19 @@ SelectWithUnionQuery (children 1) Function sum (children 1) ExpressionList (children 1) Identifier Sign + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.visits + Function equals (children 1) + ExpressionList (children 2) + Identifier CounterID + Literal UInt64_842440 + ExpressionList (children 2) + Identifier StartDate + Identifier traf_type + ExpressionList (children 2) + OrderByElement (children 1) + Identifier StartDate + OrderByElement (children 1) + Identifier traf_type diff --git a/parser/testdata/00053_all_inner_join/explain.txt b/parser/testdata/00053_all_inner_join/explain.txt new file mode 100644 index 0000000000..9282ad700a --- /dev/null +++ b/parser/testdata/00053_all_inner_join/explain.txt @@ -0,0 +1,47 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + QualifiedAsterisk (children 1) + Identifier a + QualifiedAsterisk (children 1) + Identifier b + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias a) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier number (alias k) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_10 + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias b) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Function intDiv (alias k) (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + Identifier number (alias joined) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_10 + TableJoin (children 1) + ExpressionList (children 1) + Identifier k + ExpressionList (children 2) + OrderByElement (children 1) + Identifier k + OrderByElement (children 1) + Identifier joined diff --git a/parser/testdata/00054_join_string/explain.txt b/parser/testdata/00054_join_string/explain.txt new file mode 100644 index 0000000000..f2f9e65c8f --- /dev/null +++ b/parser/testdata/00054_join_string/explain.txt @@ -0,0 +1,58 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias js1) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function reinterpretAsString (alias k) (children 1) + ExpressionList (children 1) + Function plus (children 1) + ExpressionList (children 2) + Identifier number + Function reinterpretAsUInt8 (children 1) + ExpressionList (children 1) + Literal \'A\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_10 + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias js2) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Function reinterpretAsString (alias k) (children 1) + ExpressionList (children 1) + Function plus (children 1) + ExpressionList (children 2) + Function intDiv (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + Function reinterpretAsUInt8 (children 1) + ExpressionList (children 1) + Literal \'A\' + Identifier number (alias joined) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_10 + TableJoin (children 1) + ExpressionList (children 1) + Identifier k + ExpressionList (children 2) + OrderByElement (children 1) + Identifier k + OrderByElement (children 1) + Identifier joined diff --git a/parser/testdata/00055_join_two_numbers/explain.txt b/parser/testdata/00055_join_two_numbers/explain.txt new file mode 100644 index 0000000000..48df4c938d --- /dev/null +++ b/parser/testdata/00055_join_two_numbers/explain.txt @@ -0,0 +1,58 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Identifier left + Identifier right + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias js1) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 3) + Function modulo (alias k1) (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_4 + Function modulo (alias k2) (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_3 + Identifier number (alias left) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_10 + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias js2) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 3) + Function modulo (alias k1) (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + Function modulo (alias k2) (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_6 + Identifier number (alias right) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_10 + TableJoin (children 1) + ExpressionList (children 2) + Identifier k1 + Identifier k2 + ExpressionList (children 2) + OrderByElement (children 1) + Identifier left + OrderByElement (children 1) + Identifier right diff --git a/parser/testdata/00056_join_number_string/explain.txt b/parser/testdata/00056_join_number_string/explain.txt new file mode 100644 index 0000000000..e0e38f58ed --- /dev/null +++ b/parser/testdata/00056_join_number_string/explain.txt @@ -0,0 +1,62 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Identifier left + Identifier right + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias js1) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 3) + Function modulo (alias k1) (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_4 + Function toString (alias k2) (children 1) + ExpressionList (children 1) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_3 + Identifier number (alias left) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_10 + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias js2) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 3) + Function modulo (alias k1) (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + Function toString (alias k2) (children 1) + ExpressionList (children 1) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_6 + Identifier number (alias right) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_10 + TableJoin (children 1) + ExpressionList (children 2) + Identifier k1 + Identifier k2 + ExpressionList (children 2) + OrderByElement (children 1) + Identifier left + OrderByElement (children 1) + Identifier right diff --git a/parser/testdata/00061_merge_tree_alter/explain_14.txt b/parser/testdata/00061_merge_tree_alter/explain_14.txt new file mode 100644 index 0000000000..ddb7b4930b --- /dev/null +++ b/parser/testdata/00061_merge_tree_alter/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier alter_00061 diff --git a/parser/testdata/00061_merge_tree_alter/explain_19.txt b/parser/testdata/00061_merge_tree_alter/explain_19.txt new file mode 100644 index 0000000000..ddb7b4930b --- /dev/null +++ b/parser/testdata/00061_merge_tree_alter/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier alter_00061 diff --git a/parser/testdata/00061_merge_tree_alter/explain_4.txt b/parser/testdata/00061_merge_tree_alter/explain_4.txt new file mode 100644 index 0000000000..ddb7b4930b --- /dev/null +++ b/parser/testdata/00061_merge_tree_alter/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier alter_00061 diff --git a/parser/testdata/00061_merge_tree_alter/explain_9.txt b/parser/testdata/00061_merge_tree_alter/explain_9.txt new file mode 100644 index 0000000000..ddb7b4930b --- /dev/null +++ b/parser/testdata/00061_merge_tree_alter/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier alter_00061 diff --git a/parser/testdata/00062_replicated_merge_tree_alter_zookeeper_long/explain_14.txt b/parser/testdata/00062_replicated_merge_tree_alter_zookeeper_long/explain_14.txt new file mode 100644 index 0000000000..e03028cbfd --- /dev/null +++ b/parser/testdata/00062_replicated_merge_tree_alter_zookeeper_long/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replicated_alter1 diff --git a/parser/testdata/00062_replicated_merge_tree_alter_zookeeper_long/explain_21.txt b/parser/testdata/00062_replicated_merge_tree_alter_zookeeper_long/explain_21.txt new file mode 100644 index 0000000000..e03028cbfd --- /dev/null +++ b/parser/testdata/00062_replicated_merge_tree_alter_zookeeper_long/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replicated_alter1 diff --git a/parser/testdata/00062_replicated_merge_tree_alter_zookeeper_long/explain_28.txt b/parser/testdata/00062_replicated_merge_tree_alter_zookeeper_long/explain_28.txt new file mode 100644 index 0000000000..e03028cbfd --- /dev/null +++ b/parser/testdata/00062_replicated_merge_tree_alter_zookeeper_long/explain_28.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replicated_alter1 diff --git a/parser/testdata/00062_replicated_merge_tree_alter_zookeeper_long/explain_35.txt b/parser/testdata/00062_replicated_merge_tree_alter_zookeeper_long/explain_35.txt new file mode 100644 index 0000000000..e03028cbfd --- /dev/null +++ b/parser/testdata/00062_replicated_merge_tree_alter_zookeeper_long/explain_35.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replicated_alter1 diff --git a/parser/testdata/00062_replicated_merge_tree_alter_zookeeper_long/explain_7.txt b/parser/testdata/00062_replicated_merge_tree_alter_zookeeper_long/explain_7.txt new file mode 100644 index 0000000000..e03028cbfd --- /dev/null +++ b/parser/testdata/00062_replicated_merge_tree_alter_zookeeper_long/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replicated_alter1 diff --git a/parser/testdata/00063_check_query/explain_12.txt b/parser/testdata/00063_check_query/explain_12.txt new file mode 100644 index 0000000000..49991deda1 --- /dev/null +++ b/parser/testdata/00063_check_query/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier check_query_log diff --git a/parser/testdata/00063_check_query/explain_4.txt b/parser/testdata/00063_check_query/explain_4.txt new file mode 100644 index 0000000000..db625f876c --- /dev/null +++ b/parser/testdata/00063_check_query/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier check_query_tiny_log diff --git a/parser/testdata/00067_union_all/explain.txt b/parser/testdata/00067_union_all/explain.txt new file mode 100644 index 0000000000..3aa6a11251 --- /dev/null +++ b/parser/testdata/00067_union_all/explain.txt @@ -0,0 +1,49 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 2) + SelectQuery (children 4) + ExpressionList (children 2) + Identifier UserID (alias id) + Literal UInt64_1 (alias event) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 3) + Literal \'127.0.0.{1,2}\' + Identifier test + Identifier hits + ExpressionList (children 1) + OrderByElement (children 1) + Identifier id + Literal UInt64_10 + SelectQuery (children 4) + ExpressionList (children 2) + Identifier FUniqID (alias id) + Literal UInt64_2 (alias event) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 3) + Literal \'127.0.0.{1,2}\' + Identifier test + Identifier hits + ExpressionList (children 1) + OrderByElement (children 1) + Identifier id + Literal UInt64_10 + ExpressionList (children 2) + OrderByElement (children 1) + Identifier id + OrderByElement (children 1) + Identifier event + Set diff --git a/parser/testdata/00071_insert_fewer_columns/explain_3.txt b/parser/testdata/00071_insert_fewer_columns/explain_3.txt new file mode 100644 index 0000000000..fc4c2edb7f --- /dev/null +++ b/parser/testdata/00071_insert_fewer_columns/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier insert_fewer_columns + ExpressionList (children 1) + Identifier a diff --git a/parser/testdata/00072_in_types/explain.txt b/parser/testdata/00072_in_types/explain.txt new file mode 100644 index 0000000000..ba211713a7 --- /dev/null +++ b/parser/testdata/00072_in_types/explain.txt @@ -0,0 +1,78 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 14) + Function in (children 1) + ExpressionList (children 2) + Literal Int64_-1 + Literal Int64_-1 + Function in (children 1) + ExpressionList (children 2) + Literal Int64_-1 + Literal Tuple_(UInt64_1, Int64_-1, UInt64_2) + Function in (children 1) + ExpressionList (children 2) + Literal Float64_1 + Literal UInt64_1 + Function in (children 1) + ExpressionList (children 2) + Literal Float64_1.1 + Literal Tuple_(UInt64_1, Int64_-1) + Function in (children 1) + ExpressionList (children 2) + Literal Float64_1 + Literal Tuple_(UInt64_3, Float64_1, Int64_-1) + Function in (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal Tuple_(UInt64_3, UInt64_2, UInt64_1) + Function in (children 1) + ExpressionList (children 2) + Function toInt16 (children 1) + ExpressionList (children 1) + Literal Int64_-1 + Literal UInt64_255 + Function in (children 1) + ExpressionList (children 2) + Function materialize (children 1) + ExpressionList (children 1) + Literal Int64_-1 + Literal Int64_-1 + Function in (children 1) + ExpressionList (children 2) + Function materialize (children 1) + ExpressionList (children 1) + Literal Int64_-1 + Literal Tuple_(UInt64_1, Int64_-1, UInt64_2) + Function in (children 1) + ExpressionList (children 2) + Function materialize (children 1) + ExpressionList (children 1) + Literal Float64_1 + Literal UInt64_1 + Function in (children 1) + ExpressionList (children 2) + Function materialize (children 1) + ExpressionList (children 1) + Literal Float64_1.1 + Literal Tuple_(UInt64_1, Int64_-1) + Function in (children 1) + ExpressionList (children 2) + Function materialize (children 1) + ExpressionList (children 1) + Literal Float64_1 + Literal Tuple_(UInt64_3, Float64_1, Int64_-1) + Function in (children 1) + ExpressionList (children 2) + Function materialize (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Literal Tuple_(UInt64_3, UInt64_2, UInt64_1) + Function in (children 1) + ExpressionList (children 2) + Function materialize (children 1) + ExpressionList (children 1) + Function toInt16 (children 1) + ExpressionList (children 1) + Literal Int64_-1 + Literal UInt64_255 diff --git a/parser/testdata/00076_ip_coding_functions/explain_25.txt b/parser/testdata/00076_ip_coding_functions/explain_25.txt new file mode 100644 index 0000000000..3ebf376157 --- /dev/null +++ b/parser/testdata/00076_ip_coding_functions/explain_25.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier addresses + ExpressionList (children 1) + Identifier addr diff --git a/parser/testdata/00076_ip_coding_functions/explain_95.txt b/parser/testdata/00076_ip_coding_functions/explain_95.txt new file mode 100644 index 0000000000..3ebf376157 --- /dev/null +++ b/parser/testdata/00076_ip_coding_functions/explain_95.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier addresses + ExpressionList (children 1) + Identifier addr diff --git a/parser/testdata/00076_ip_coding_functions/explain_99.txt b/parser/testdata/00076_ip_coding_functions/explain_99.txt new file mode 100644 index 0000000000..3ebf376157 --- /dev/null +++ b/parser/testdata/00076_ip_coding_functions/explain_99.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier addresses + ExpressionList (children 1) + Identifier addr diff --git a/parser/testdata/00076_system_columns_bytes/explain.txt b/parser/testdata/00076_system_columns_bytes/explain.txt new file mode 100644 index 0000000000..9e1ec06ff8 --- /dev/null +++ b/parser/testdata/00076_system_columns_bytes/explain.txt @@ -0,0 +1,59 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 3) + Function greater (children 1) + ExpressionList (children 2) + Function sum (children 1) + ExpressionList (children 1) + Identifier data_compressed_bytes + Literal UInt64_0 + Function greater (children 1) + ExpressionList (children 2) + Function sum (children 1) + ExpressionList (children 1) + Identifier data_uncompressed_bytes + Literal UInt64_0 + Function greater (children 1) + ExpressionList (children 2) + Function sum (children 1) + ExpressionList (children 1) + Identifier marks_bytes + Literal UInt64_0 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.columns + Function in (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 2) + Identifier database + Identifier table + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Identifier database + Identifier table + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.tables + Function and (children 1) + ExpressionList (children 2) + Function notEquals (children 1) + ExpressionList (children 2) + Identifier engine + Literal \'Merge\' + Function or (children 1) + ExpressionList (children 2) + Function notEquals (children 1) + ExpressionList (children 2) + Identifier engine + Literal \'StorageProxy\' + Function notILike (children 1) + ExpressionList (children 2) + Identifier create_table_query + Literal \'%merge%\' diff --git a/parser/testdata/00079_defaulted_columns/explain_14.txt b/parser/testdata/00079_defaulted_columns/explain_14.txt new file mode 100644 index 0000000000..009e1a52de --- /dev/null +++ b/parser/testdata/00079_defaulted_columns/explain_14.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier defaulted + ExpressionList (children 1) + Identifier payload diff --git a/parser/testdata/00079_defaulted_columns/explain_19.txt b/parser/testdata/00079_defaulted_columns/explain_19.txt new file mode 100644 index 0000000000..009e1a52de --- /dev/null +++ b/parser/testdata/00079_defaulted_columns/explain_19.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier defaulted + ExpressionList (children 1) + Identifier payload diff --git a/parser/testdata/00079_defaulted_columns/explain_7.txt b/parser/testdata/00079_defaulted_columns/explain_7.txt new file mode 100644 index 0000000000..3619ec0983 --- /dev/null +++ b/parser/testdata/00079_defaulted_columns/explain_7.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier defaulted + ExpressionList (children 1) + Identifier col1 diff --git a/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_51.txt b/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_51.txt new file mode 100644 index 0000000000..04f66a3e53 --- /dev/null +++ b/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_51.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier merge_tree diff --git a/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_52.txt b/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_52.txt new file mode 100644 index 0000000000..3129f98ffe --- /dev/null +++ b/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_52.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier collapsing_merge_tree diff --git a/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_53.txt b/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_53.txt new file mode 100644 index 0000000000..1cafa231f3 --- /dev/null +++ b/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_53.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier versioned_collapsing_merge_tree diff --git a/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_54.txt b/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_54.txt new file mode 100644 index 0000000000..5e1ed6227d --- /dev/null +++ b/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_54.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier summing_merge_tree diff --git a/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_55.txt b/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_55.txt new file mode 100644 index 0000000000..e5362029e3 --- /dev/null +++ b/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_55.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier summing_merge_tree_with_list_of_columns_to_sum diff --git a/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_56.txt b/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_56.txt new file mode 100644 index 0000000000..7b799c8808 --- /dev/null +++ b/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_56.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier aggregating_merge_tree diff --git a/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_57.txt b/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_57.txt new file mode 100644 index 0000000000..6d0d6dae48 --- /dev/null +++ b/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_57.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier merge_tree_with_sampling diff --git a/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_58.txt b/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_58.txt new file mode 100644 index 0000000000..421ca9c1c7 --- /dev/null +++ b/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_58.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier collapsing_merge_tree_with_sampling diff --git a/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_59.txt b/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_59.txt new file mode 100644 index 0000000000..6fbff64b9d --- /dev/null +++ b/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_59.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier versioned_collapsing_merge_tree_with_sampling diff --git a/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_60.txt b/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_60.txt new file mode 100644 index 0000000000..566e266981 --- /dev/null +++ b/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_60.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier summing_merge_tree_with_sampling diff --git a/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_61.txt b/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_61.txt new file mode 100644 index 0000000000..637933bc63 --- /dev/null +++ b/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_61.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier summing_merge_tree_with_sampling_with_list_of_columns_to_sum diff --git a/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_62.txt b/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_62.txt new file mode 100644 index 0000000000..466ab6c13e --- /dev/null +++ b/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_62.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier aggregating_merge_tree_with_sampling diff --git a/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_63.txt b/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_63.txt new file mode 100644 index 0000000000..c6517f118d --- /dev/null +++ b/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_63.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replicated_merge_tree diff --git a/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_64.txt b/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_64.txt new file mode 100644 index 0000000000..9573482ac7 --- /dev/null +++ b/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_64.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replicated_collapsing_merge_tree diff --git a/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_65.txt b/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_65.txt new file mode 100644 index 0000000000..f5a19f0e8e --- /dev/null +++ b/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_65.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replicated_versioned_collapsing_merge_tree diff --git a/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_66.txt b/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_66.txt new file mode 100644 index 0000000000..7833f03dd2 --- /dev/null +++ b/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_66.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replicated_summing_merge_tree diff --git a/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_67.txt b/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_67.txt new file mode 100644 index 0000000000..d7193c5079 --- /dev/null +++ b/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_67.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replicated_summing_merge_tree_with_list_of_columns_to_sum diff --git a/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_68.txt b/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_68.txt new file mode 100644 index 0000000000..765c1f9a1d --- /dev/null +++ b/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_68.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replicated_aggregating_merge_tree diff --git a/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_69.txt b/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_69.txt new file mode 100644 index 0000000000..b288359825 --- /dev/null +++ b/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_69.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replicated_merge_tree_with_sampling diff --git a/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_70.txt b/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_70.txt new file mode 100644 index 0000000000..de2de6de2a --- /dev/null +++ b/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_70.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replicated_collapsing_merge_tree_with_sampling diff --git a/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_71.txt b/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_71.txt new file mode 100644 index 0000000000..96107636fb --- /dev/null +++ b/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_71.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replicated_versioned_collapsing_merge_tree_with_sampling diff --git a/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_72.txt b/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_72.txt new file mode 100644 index 0000000000..6a7eb01be6 --- /dev/null +++ b/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_72.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replicated_summing_merge_tree_with_sampling diff --git a/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_73.txt b/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_73.txt new file mode 100644 index 0000000000..b844b0cfda --- /dev/null +++ b/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_73.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replicated_summing_merge_tree_with_sampling_with_list_of_columns_to_sum diff --git a/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_74.txt b/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_74.txt new file mode 100644 index 0000000000..a734f698d6 --- /dev/null +++ b/parser/testdata/00083_create_merge_tree_zookeeper_long/explain_74.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replicated_aggregating_merge_tree_with_sampling diff --git a/parser/testdata/00084_summing_merge_tree/explain_13.txt b/parser/testdata/00084_summing_merge_tree/explain_13.txt new file mode 100644 index 0000000000..5e1ed6227d --- /dev/null +++ b/parser/testdata/00084_summing_merge_tree/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier summing_merge_tree diff --git a/parser/testdata/00084_summing_merge_tree/explain_14.txt b/parser/testdata/00084_summing_merge_tree/explain_14.txt new file mode 100644 index 0000000000..5e1ed6227d --- /dev/null +++ b/parser/testdata/00084_summing_merge_tree/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier summing_merge_tree diff --git a/parser/testdata/00084_summing_merge_tree/explain_15.txt b/parser/testdata/00084_summing_merge_tree/explain_15.txt new file mode 100644 index 0000000000..5e1ed6227d --- /dev/null +++ b/parser/testdata/00084_summing_merge_tree/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier summing_merge_tree diff --git a/parser/testdata/00084_summing_merge_tree/explain_23.txt b/parser/testdata/00084_summing_merge_tree/explain_23.txt new file mode 100644 index 0000000000..f774ca466b --- /dev/null +++ b/parser/testdata/00084_summing_merge_tree/explain_23.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier summing + ExpressionList (children 2) + Identifier k + Identifier s diff --git a/parser/testdata/00084_summing_merge_tree/explain_24.txt b/parser/testdata/00084_summing_merge_tree/explain_24.txt new file mode 100644 index 0000000000..f774ca466b --- /dev/null +++ b/parser/testdata/00084_summing_merge_tree/explain_24.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier summing + ExpressionList (children 2) + Identifier k + Identifier s diff --git a/parser/testdata/00084_summing_merge_tree/explain_4.txt b/parser/testdata/00084_summing_merge_tree/explain_4.txt new file mode 100644 index 0000000000..5e1ed6227d --- /dev/null +++ b/parser/testdata/00084_summing_merge_tree/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier summing_merge_tree diff --git a/parser/testdata/00084_summing_merge_tree/explain_5.txt b/parser/testdata/00084_summing_merge_tree/explain_5.txt new file mode 100644 index 0000000000..5e1ed6227d --- /dev/null +++ b/parser/testdata/00084_summing_merge_tree/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier summing_merge_tree diff --git a/parser/testdata/00084_summing_merge_tree/explain_6.txt b/parser/testdata/00084_summing_merge_tree/explain_6.txt new file mode 100644 index 0000000000..5e1ed6227d --- /dev/null +++ b/parser/testdata/00084_summing_merge_tree/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier summing_merge_tree diff --git a/parser/testdata/00098_1_union_all/explain_10.txt b/parser/testdata/00098_1_union_all/explain_10.txt new file mode 100644 index 0000000000..06f0a0f9ac --- /dev/null +++ b/parser/testdata/00098_1_union_all/explain_10.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier data2014 + ExpressionList (children 2) + Identifier name + Identifier value diff --git a/parser/testdata/00098_1_union_all/explain_11.txt b/parser/testdata/00098_1_union_all/explain_11.txt new file mode 100644 index 0000000000..06f0a0f9ac --- /dev/null +++ b/parser/testdata/00098_1_union_all/explain_11.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier data2014 + ExpressionList (children 2) + Identifier name + Identifier value diff --git a/parser/testdata/00098_1_union_all/explain_12.txt b/parser/testdata/00098_1_union_all/explain_12.txt new file mode 100644 index 0000000000..06f0a0f9ac --- /dev/null +++ b/parser/testdata/00098_1_union_all/explain_12.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier data2014 + ExpressionList (children 2) + Identifier name + Identifier value diff --git a/parser/testdata/00098_1_union_all/explain_13.txt b/parser/testdata/00098_1_union_all/explain_13.txt new file mode 100644 index 0000000000..d7c3bbe879 --- /dev/null +++ b/parser/testdata/00098_1_union_all/explain_13.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier data2015 + ExpressionList (children 2) + Identifier data_name + Identifier data_value diff --git a/parser/testdata/00098_1_union_all/explain_14.txt b/parser/testdata/00098_1_union_all/explain_14.txt new file mode 100644 index 0000000000..d7c3bbe879 --- /dev/null +++ b/parser/testdata/00098_1_union_all/explain_14.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier data2015 + ExpressionList (children 2) + Identifier data_name + Identifier data_value diff --git a/parser/testdata/00098_1_union_all/explain_7.txt b/parser/testdata/00098_1_union_all/explain_7.txt new file mode 100644 index 0000000000..d216a7ed51 --- /dev/null +++ b/parser/testdata/00098_1_union_all/explain_7.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier data2013 + ExpressionList (children 2) + Identifier name + Identifier value diff --git a/parser/testdata/00098_1_union_all/explain_8.txt b/parser/testdata/00098_1_union_all/explain_8.txt new file mode 100644 index 0000000000..d216a7ed51 --- /dev/null +++ b/parser/testdata/00098_1_union_all/explain_8.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier data2013 + ExpressionList (children 2) + Identifier name + Identifier value diff --git a/parser/testdata/00098_1_union_all/explain_9.txt b/parser/testdata/00098_1_union_all/explain_9.txt new file mode 100644 index 0000000000..d216a7ed51 --- /dev/null +++ b/parser/testdata/00098_1_union_all/explain_9.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier data2013 + ExpressionList (children 2) + Identifier name + Identifier value diff --git a/parser/testdata/00098_2_union_all/explain_10.txt b/parser/testdata/00098_2_union_all/explain_10.txt new file mode 100644 index 0000000000..06f0a0f9ac --- /dev/null +++ b/parser/testdata/00098_2_union_all/explain_10.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier data2014 + ExpressionList (children 2) + Identifier name + Identifier value diff --git a/parser/testdata/00098_2_union_all/explain_5.txt b/parser/testdata/00098_2_union_all/explain_5.txt new file mode 100644 index 0000000000..d216a7ed51 --- /dev/null +++ b/parser/testdata/00098_2_union_all/explain_5.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier data2013 + ExpressionList (children 2) + Identifier name + Identifier value diff --git a/parser/testdata/00098_2_union_all/explain_6.txt b/parser/testdata/00098_2_union_all/explain_6.txt new file mode 100644 index 0000000000..d216a7ed51 --- /dev/null +++ b/parser/testdata/00098_2_union_all/explain_6.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier data2013 + ExpressionList (children 2) + Identifier name + Identifier value diff --git a/parser/testdata/00098_2_union_all/explain_7.txt b/parser/testdata/00098_2_union_all/explain_7.txt new file mode 100644 index 0000000000..d216a7ed51 --- /dev/null +++ b/parser/testdata/00098_2_union_all/explain_7.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier data2013 + ExpressionList (children 2) + Identifier name + Identifier value diff --git a/parser/testdata/00098_2_union_all/explain_8.txt b/parser/testdata/00098_2_union_all/explain_8.txt new file mode 100644 index 0000000000..06f0a0f9ac --- /dev/null +++ b/parser/testdata/00098_2_union_all/explain_8.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier data2014 + ExpressionList (children 2) + Identifier name + Identifier value diff --git a/parser/testdata/00098_2_union_all/explain_9.txt b/parser/testdata/00098_2_union_all/explain_9.txt new file mode 100644 index 0000000000..06f0a0f9ac --- /dev/null +++ b/parser/testdata/00098_2_union_all/explain_9.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier data2014 + ExpressionList (children 2) + Identifier name + Identifier value diff --git a/parser/testdata/00098_3_union_all/explain_10.txt b/parser/testdata/00098_3_union_all/explain_10.txt new file mode 100644 index 0000000000..06f0a0f9ac --- /dev/null +++ b/parser/testdata/00098_3_union_all/explain_10.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier data2014 + ExpressionList (children 2) + Identifier name + Identifier value diff --git a/parser/testdata/00098_3_union_all/explain_5.txt b/parser/testdata/00098_3_union_all/explain_5.txt new file mode 100644 index 0000000000..d216a7ed51 --- /dev/null +++ b/parser/testdata/00098_3_union_all/explain_5.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier data2013 + ExpressionList (children 2) + Identifier name + Identifier value diff --git a/parser/testdata/00098_3_union_all/explain_6.txt b/parser/testdata/00098_3_union_all/explain_6.txt new file mode 100644 index 0000000000..d216a7ed51 --- /dev/null +++ b/parser/testdata/00098_3_union_all/explain_6.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier data2013 + ExpressionList (children 2) + Identifier name + Identifier value diff --git a/parser/testdata/00098_3_union_all/explain_7.txt b/parser/testdata/00098_3_union_all/explain_7.txt new file mode 100644 index 0000000000..d216a7ed51 --- /dev/null +++ b/parser/testdata/00098_3_union_all/explain_7.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier data2013 + ExpressionList (children 2) + Identifier name + Identifier value diff --git a/parser/testdata/00098_3_union_all/explain_8.txt b/parser/testdata/00098_3_union_all/explain_8.txt new file mode 100644 index 0000000000..06f0a0f9ac --- /dev/null +++ b/parser/testdata/00098_3_union_all/explain_8.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier data2014 + ExpressionList (children 2) + Identifier name + Identifier value diff --git a/parser/testdata/00098_3_union_all/explain_9.txt b/parser/testdata/00098_3_union_all/explain_9.txt new file mode 100644 index 0000000000..06f0a0f9ac --- /dev/null +++ b/parser/testdata/00098_3_union_all/explain_9.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier data2014 + ExpressionList (children 2) + Identifier name + Identifier value diff --git a/parser/testdata/00098_4_union_all/explain_10.txt b/parser/testdata/00098_4_union_all/explain_10.txt new file mode 100644 index 0000000000..06f0a0f9ac --- /dev/null +++ b/parser/testdata/00098_4_union_all/explain_10.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier data2014 + ExpressionList (children 2) + Identifier name + Identifier value diff --git a/parser/testdata/00098_4_union_all/explain_5.txt b/parser/testdata/00098_4_union_all/explain_5.txt new file mode 100644 index 0000000000..d216a7ed51 --- /dev/null +++ b/parser/testdata/00098_4_union_all/explain_5.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier data2013 + ExpressionList (children 2) + Identifier name + Identifier value diff --git a/parser/testdata/00098_4_union_all/explain_6.txt b/parser/testdata/00098_4_union_all/explain_6.txt new file mode 100644 index 0000000000..d216a7ed51 --- /dev/null +++ b/parser/testdata/00098_4_union_all/explain_6.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier data2013 + ExpressionList (children 2) + Identifier name + Identifier value diff --git a/parser/testdata/00098_4_union_all/explain_7.txt b/parser/testdata/00098_4_union_all/explain_7.txt new file mode 100644 index 0000000000..d216a7ed51 --- /dev/null +++ b/parser/testdata/00098_4_union_all/explain_7.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier data2013 + ExpressionList (children 2) + Identifier name + Identifier value diff --git a/parser/testdata/00098_4_union_all/explain_8.txt b/parser/testdata/00098_4_union_all/explain_8.txt new file mode 100644 index 0000000000..06f0a0f9ac --- /dev/null +++ b/parser/testdata/00098_4_union_all/explain_8.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier data2014 + ExpressionList (children 2) + Identifier name + Identifier value diff --git a/parser/testdata/00098_4_union_all/explain_9.txt b/parser/testdata/00098_4_union_all/explain_9.txt new file mode 100644 index 0000000000..06f0a0f9ac --- /dev/null +++ b/parser/testdata/00098_4_union_all/explain_9.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier data2014 + ExpressionList (children 2) + Identifier name + Identifier value diff --git a/parser/testdata/00098_5_union_all/explain_10.txt b/parser/testdata/00098_5_union_all/explain_10.txt new file mode 100644 index 0000000000..06f0a0f9ac --- /dev/null +++ b/parser/testdata/00098_5_union_all/explain_10.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier data2014 + ExpressionList (children 2) + Identifier name + Identifier value diff --git a/parser/testdata/00098_5_union_all/explain_5.txt b/parser/testdata/00098_5_union_all/explain_5.txt new file mode 100644 index 0000000000..d216a7ed51 --- /dev/null +++ b/parser/testdata/00098_5_union_all/explain_5.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier data2013 + ExpressionList (children 2) + Identifier name + Identifier value diff --git a/parser/testdata/00098_5_union_all/explain_6.txt b/parser/testdata/00098_5_union_all/explain_6.txt new file mode 100644 index 0000000000..d216a7ed51 --- /dev/null +++ b/parser/testdata/00098_5_union_all/explain_6.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier data2013 + ExpressionList (children 2) + Identifier name + Identifier value diff --git a/parser/testdata/00098_5_union_all/explain_7.txt b/parser/testdata/00098_5_union_all/explain_7.txt new file mode 100644 index 0000000000..d216a7ed51 --- /dev/null +++ b/parser/testdata/00098_5_union_all/explain_7.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier data2013 + ExpressionList (children 2) + Identifier name + Identifier value diff --git a/parser/testdata/00098_5_union_all/explain_8.txt b/parser/testdata/00098_5_union_all/explain_8.txt new file mode 100644 index 0000000000..06f0a0f9ac --- /dev/null +++ b/parser/testdata/00098_5_union_all/explain_8.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier data2014 + ExpressionList (children 2) + Identifier name + Identifier value diff --git a/parser/testdata/00098_5_union_all/explain_9.txt b/parser/testdata/00098_5_union_all/explain_9.txt new file mode 100644 index 0000000000..06f0a0f9ac --- /dev/null +++ b/parser/testdata/00098_5_union_all/explain_9.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier data2014 + ExpressionList (children 2) + Identifier name + Identifier value diff --git a/parser/testdata/00098_d_union_all/explain_5.txt b/parser/testdata/00098_d_union_all/explain_5.txt new file mode 100644 index 0000000000..d216a7ed51 --- /dev/null +++ b/parser/testdata/00098_d_union_all/explain_5.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier data2013 + ExpressionList (children 2) + Identifier name + Identifier value diff --git a/parser/testdata/00098_d_union_all/explain_6.txt b/parser/testdata/00098_d_union_all/explain_6.txt new file mode 100644 index 0000000000..d216a7ed51 --- /dev/null +++ b/parser/testdata/00098_d_union_all/explain_6.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier data2013 + ExpressionList (children 2) + Identifier name + Identifier value diff --git a/parser/testdata/00098_d_union_all/explain_7.txt b/parser/testdata/00098_d_union_all/explain_7.txt new file mode 100644 index 0000000000..d216a7ed51 --- /dev/null +++ b/parser/testdata/00098_d_union_all/explain_7.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier data2013 + ExpressionList (children 2) + Identifier name + Identifier value diff --git a/parser/testdata/00098_d_union_all/explain_8.txt b/parser/testdata/00098_d_union_all/explain_8.txt new file mode 100644 index 0000000000..d7c3bbe879 --- /dev/null +++ b/parser/testdata/00098_d_union_all/explain_8.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier data2015 + ExpressionList (children 2) + Identifier data_name + Identifier data_value diff --git a/parser/testdata/00098_d_union_all/explain_9.txt b/parser/testdata/00098_d_union_all/explain_9.txt new file mode 100644 index 0000000000..d7c3bbe879 --- /dev/null +++ b/parser/testdata/00098_d_union_all/explain_9.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier data2015 + ExpressionList (children 2) + Identifier data_name + Identifier data_value diff --git a/parser/testdata/00098_e_union_all/explain_5.txt b/parser/testdata/00098_e_union_all/explain_5.txt new file mode 100644 index 0000000000..d216a7ed51 --- /dev/null +++ b/parser/testdata/00098_e_union_all/explain_5.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier data2013 + ExpressionList (children 2) + Identifier name + Identifier value diff --git a/parser/testdata/00098_e_union_all/explain_6.txt b/parser/testdata/00098_e_union_all/explain_6.txt new file mode 100644 index 0000000000..d216a7ed51 --- /dev/null +++ b/parser/testdata/00098_e_union_all/explain_6.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier data2013 + ExpressionList (children 2) + Identifier name + Identifier value diff --git a/parser/testdata/00098_e_union_all/explain_7.txt b/parser/testdata/00098_e_union_all/explain_7.txt new file mode 100644 index 0000000000..d216a7ed51 --- /dev/null +++ b/parser/testdata/00098_e_union_all/explain_7.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier data2013 + ExpressionList (children 2) + Identifier name + Identifier value diff --git a/parser/testdata/00098_e_union_all/explain_8.txt b/parser/testdata/00098_e_union_all/explain_8.txt new file mode 100644 index 0000000000..d7c3bbe879 --- /dev/null +++ b/parser/testdata/00098_e_union_all/explain_8.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier data2015 + ExpressionList (children 2) + Identifier data_name + Identifier data_value diff --git a/parser/testdata/00098_e_union_all/explain_9.txt b/parser/testdata/00098_e_union_all/explain_9.txt new file mode 100644 index 0000000000..d7c3bbe879 --- /dev/null +++ b/parser/testdata/00098_e_union_all/explain_9.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier data2015 + ExpressionList (children 2) + Identifier data_name + Identifier data_value diff --git a/parser/testdata/00098_f_union_all/explain_5.txt b/parser/testdata/00098_f_union_all/explain_5.txt new file mode 100644 index 0000000000..d216a7ed51 --- /dev/null +++ b/parser/testdata/00098_f_union_all/explain_5.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier data2013 + ExpressionList (children 2) + Identifier name + Identifier value diff --git a/parser/testdata/00098_f_union_all/explain_6.txt b/parser/testdata/00098_f_union_all/explain_6.txt new file mode 100644 index 0000000000..d216a7ed51 --- /dev/null +++ b/parser/testdata/00098_f_union_all/explain_6.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier data2013 + ExpressionList (children 2) + Identifier name + Identifier value diff --git a/parser/testdata/00098_f_union_all/explain_7.txt b/parser/testdata/00098_f_union_all/explain_7.txt new file mode 100644 index 0000000000..d216a7ed51 --- /dev/null +++ b/parser/testdata/00098_f_union_all/explain_7.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier data2013 + ExpressionList (children 2) + Identifier name + Identifier value diff --git a/parser/testdata/00098_f_union_all/explain_8.txt b/parser/testdata/00098_f_union_all/explain_8.txt new file mode 100644 index 0000000000..d7c3bbe879 --- /dev/null +++ b/parser/testdata/00098_f_union_all/explain_8.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier data2015 + ExpressionList (children 2) + Identifier data_name + Identifier data_value diff --git a/parser/testdata/00098_f_union_all/explain_9.txt b/parser/testdata/00098_f_union_all/explain_9.txt new file mode 100644 index 0000000000..d7c3bbe879 --- /dev/null +++ b/parser/testdata/00098_f_union_all/explain_9.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier data2015 + ExpressionList (children 2) + Identifier data_name + Identifier data_value diff --git a/parser/testdata/00098_shard_i_union_all/explain_6.txt b/parser/testdata/00098_shard_i_union_all/explain_6.txt new file mode 100644 index 0000000000..a369ab4916 --- /dev/null +++ b/parser/testdata/00098_shard_i_union_all/explain_6.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier report1 + ExpressionList (children 4) + Identifier id + Identifier event_date + Identifier priority + Identifier description diff --git a/parser/testdata/00098_shard_i_union_all/explain_7.txt b/parser/testdata/00098_shard_i_union_all/explain_7.txt new file mode 100644 index 0000000000..bf7216640c --- /dev/null +++ b/parser/testdata/00098_shard_i_union_all/explain_7.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier report2 + ExpressionList (children 4) + Identifier id + Identifier event_date + Identifier priority + Identifier description diff --git a/parser/testdata/00099_join_many_blocks_segfault/explain.txt b/parser/testdata/00099_join_many_blocks_segfault/explain.txt new file mode 100644 index 0000000000..5b40c13093 --- /dev/null +++ b/parser/testdata/00099_join_many_blocks_segfault/explain.txt @@ -0,0 +1,35 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Identifier DomainID + Identifier Domain + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias js1) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Literal UInt64_1 (alias DomainID) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.one + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias js2) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 2) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_1 (alias DomainID) + Literal \'abc\' (alias Domain) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_2 (alias DomainID) + Literal \'def\' (alias Domain) + TableJoin (children 1) + ExpressionList (children 1) + Identifier DomainID diff --git a/parser/testdata/00101_materialized_views_and_insert_without_explicit_database/explain_8.txt b/parser/testdata/00101_materialized_views_and_insert_without_explicit_database/explain_8.txt new file mode 100644 index 0000000000..2044bbfcbc --- /dev/null +++ b/parser/testdata/00101_materialized_views_and_insert_without_explicit_database/explain_8.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test_table + ExpressionList (children 2) + Identifier EventDate + Identifier UTCEventTime diff --git a/parser/testdata/00102_insert_into_temporary_table/explain_2.txt b/parser/testdata/00102_insert_into_temporary_table/explain_2.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/00102_insert_into_temporary_table/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/00110_external_sort/explain_5.txt b/parser/testdata/00110_external_sort/explain_5.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/00110_external_sort/explain_5.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/00116_storage_set/explain_11.txt b/parser/testdata/00116_storage_set/explain_11.txt new file mode 100644 index 0000000000..978d759b3c --- /dev/null +++ b/parser/testdata/00116_storage_set/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier set2 diff --git a/parser/testdata/00116_storage_set/explain_13.txt b/parser/testdata/00116_storage_set/explain_13.txt new file mode 100644 index 0000000000..978d759b3c --- /dev/null +++ b/parser/testdata/00116_storage_set/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier set2 diff --git a/parser/testdata/00116_storage_set/explain_7.txt b/parser/testdata/00116_storage_set/explain_7.txt new file mode 100644 index 0000000000..9bc22c8b6b --- /dev/null +++ b/parser/testdata/00116_storage_set/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier set diff --git a/parser/testdata/00117_parsing_arrays/explain_3.txt b/parser/testdata/00117_parsing_arrays/explain_3.txt new file mode 100644 index 0000000000..e2e23d4eb3 --- /dev/null +++ b/parser/testdata/00117_parsing_arrays/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier null_00117 + ExpressionList (children 1) + Identifier a diff --git a/parser/testdata/00117_parsing_arrays/explain_4.txt b/parser/testdata/00117_parsing_arrays/explain_4.txt new file mode 100644 index 0000000000..5e1c812299 --- /dev/null +++ b/parser/testdata/00117_parsing_arrays/explain_4.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier null_00117 + ExpressionList (children 1) + Identifier b diff --git a/parser/testdata/00117_parsing_arrays/explain_5.txt b/parser/testdata/00117_parsing_arrays/explain_5.txt new file mode 100644 index 0000000000..b8f9db1bdf --- /dev/null +++ b/parser/testdata/00117_parsing_arrays/explain_5.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier null_00117 + ExpressionList (children 1) + Identifier c diff --git a/parser/testdata/00118_storage_join/explain_3.txt b/parser/testdata/00118_storage_join/explain_3.txt new file mode 100644 index 0000000000..df4a687bc0 --- /dev/null +++ b/parser/testdata/00118_storage_join/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2 diff --git a/parser/testdata/00118_storage_join/explain_5.txt b/parser/testdata/00118_storage_join/explain_5.txt new file mode 100644 index 0000000000..df4a687bc0 --- /dev/null +++ b/parser/testdata/00118_storage_join/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2 diff --git a/parser/testdata/00119_storage_join/explain_3.txt b/parser/testdata/00119_storage_join/explain_3.txt new file mode 100644 index 0000000000..df4a687bc0 --- /dev/null +++ b/parser/testdata/00119_storage_join/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2 diff --git a/parser/testdata/00119_storage_join/explain_4.txt b/parser/testdata/00119_storage_join/explain_4.txt new file mode 100644 index 0000000000..66da04d7fb --- /dev/null +++ b/parser/testdata/00119_storage_join/explain_4.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t2 + ExpressionList (children 2) + Identifier k + Identifier s diff --git a/parser/testdata/00119_storage_join/explain_5.txt b/parser/testdata/00119_storage_join/explain_5.txt new file mode 100644 index 0000000000..d90f3f0498 --- /dev/null +++ b/parser/testdata/00119_storage_join/explain_5.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t2 + ExpressionList (children 2) + Identifier x + Identifier k diff --git a/parser/testdata/00121_drop_column_zookeeper/explain_11.txt b/parser/testdata/00121_drop_column_zookeeper/explain_11.txt new file mode 100644 index 0000000000..9f93105c9c --- /dev/null +++ b/parser/testdata/00121_drop_column_zookeeper/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier alter_00121 diff --git a/parser/testdata/00121_drop_column_zookeeper/explain_4.txt b/parser/testdata/00121_drop_column_zookeeper/explain_4.txt new file mode 100644 index 0000000000..9f93105c9c --- /dev/null +++ b/parser/testdata/00121_drop_column_zookeeper/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier alter_00121 diff --git a/parser/testdata/00121_drop_column_zookeeper/explain_8.txt b/parser/testdata/00121_drop_column_zookeeper/explain_8.txt new file mode 100644 index 0000000000..9f93105c9c --- /dev/null +++ b/parser/testdata/00121_drop_column_zookeeper/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier alter_00121 diff --git a/parser/testdata/00124_shard_distributed_with_many_replicas/explain_8.txt b/parser/testdata/00124_shard_distributed_with_many_replicas/explain_8.txt new file mode 100644 index 0000000000..a2d4701f2a --- /dev/null +++ b/parser/testdata/00124_shard_distributed_with_many_replicas/explain_8.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier report + ExpressionList (children 4) + Identifier id + Identifier event_date + Identifier priority + Identifier description diff --git a/parser/testdata/00126_buffer/explain_21.txt b/parser/testdata/00126_buffer/explain_21.txt new file mode 100644 index 0000000000..65e1e32337 --- /dev/null +++ b/parser/testdata/00126_buffer/explain_21.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier buffer_00126 + ExpressionList (children 3) + Identifier c + Identifier b + Identifier a diff --git a/parser/testdata/00126_buffer/explain_37.txt b/parser/testdata/00126_buffer/explain_37.txt new file mode 100644 index 0000000000..6c1bb21e47 --- /dev/null +++ b/parser/testdata/00126_buffer/explain_37.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier buffer_00126 + ExpressionList (children 2) + Identifier a + Identifier c diff --git a/parser/testdata/00126_buffer/explain_5.txt b/parser/testdata/00126_buffer/explain_5.txt new file mode 100644 index 0000000000..b8f7ded655 --- /dev/null +++ b/parser/testdata/00126_buffer/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier buffer_00126 diff --git a/parser/testdata/00139_like/explain.txt b/parser/testdata/00139_like/explain.txt new file mode 100644 index 0000000000..a7c58ce802 --- /dev/null +++ b/parser/testdata/00139_like/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.hits + Function like (children 1) + ExpressionList (children 2) + Identifier URL + Literal \'%/avtomobili_s_probegom/_%__%__%__%\' diff --git a/parser/testdata/00140_prewhere_column_order/explain_4.txt b/parser/testdata/00140_prewhere_column_order/explain_4.txt new file mode 100644 index 0000000000..4b2ca9f429 --- /dev/null +++ b/parser/testdata/00140_prewhere_column_order/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier prewhere diff --git a/parser/testdata/00140_prewhere_column_order/explain_6.txt b/parser/testdata/00140_prewhere_column_order/explain_6.txt new file mode 100644 index 0000000000..4b2ca9f429 --- /dev/null +++ b/parser/testdata/00140_prewhere_column_order/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier prewhere diff --git a/parser/testdata/00141_parse_timestamp_as_datetime/explain_4.txt b/parser/testdata/00141_parse_timestamp_as_datetime/explain_4.txt new file mode 100644 index 0000000000..f2ad5973e5 --- /dev/null +++ b/parser/testdata/00141_parse_timestamp_as_datetime/explain_4.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier default + ExpressionList (children 1) + Identifier t diff --git a/parser/testdata/00146_summing_merge_tree_nested_map/explain_10.txt b/parser/testdata/00146_summing_merge_tree_nested_map/explain_10.txt new file mode 100644 index 0000000000..f6fea2a6c0 --- /dev/null +++ b/parser/testdata/00146_summing_merge_tree_nested_map/explain_10.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier nested_map + ExpressionList (children 3) + Identifier k + Identifier SomeMap.ID + Identifier SomeMap.Num diff --git a/parser/testdata/00146_summing_merge_tree_nested_map/explain_11.txt b/parser/testdata/00146_summing_merge_tree_nested_map/explain_11.txt new file mode 100644 index 0000000000..f6fea2a6c0 --- /dev/null +++ b/parser/testdata/00146_summing_merge_tree_nested_map/explain_11.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier nested_map + ExpressionList (children 3) + Identifier k + Identifier SomeMap.ID + Identifier SomeMap.Num diff --git a/parser/testdata/00146_summing_merge_tree_nested_map/explain_17.txt b/parser/testdata/00146_summing_merge_tree_nested_map/explain_17.txt new file mode 100644 index 0000000000..89c6da6266 --- /dev/null +++ b/parser/testdata/00146_summing_merge_tree_nested_map/explain_17.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier nested_map_explicit + ExpressionList (children 4) + Identifier k + Identifier SomeIntExcluded + Identifier SomeMap.ID + Identifier SomeMap.Num diff --git a/parser/testdata/00146_summing_merge_tree_nested_map/explain_18.txt b/parser/testdata/00146_summing_merge_tree_nested_map/explain_18.txt new file mode 100644 index 0000000000..89c6da6266 --- /dev/null +++ b/parser/testdata/00146_summing_merge_tree_nested_map/explain_18.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier nested_map_explicit + ExpressionList (children 4) + Identifier k + Identifier SomeIntExcluded + Identifier SomeMap.ID + Identifier SomeMap.Num diff --git a/parser/testdata/00146_summing_merge_tree_nested_map/explain_4.txt b/parser/testdata/00146_summing_merge_tree_nested_map/explain_4.txt new file mode 100644 index 0000000000..f6fea2a6c0 --- /dev/null +++ b/parser/testdata/00146_summing_merge_tree_nested_map/explain_4.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier nested_map + ExpressionList (children 3) + Identifier k + Identifier SomeMap.ID + Identifier SomeMap.Num diff --git a/parser/testdata/00146_summing_merge_tree_nested_map/explain_5.txt b/parser/testdata/00146_summing_merge_tree_nested_map/explain_5.txt new file mode 100644 index 0000000000..f6fea2a6c0 --- /dev/null +++ b/parser/testdata/00146_summing_merge_tree_nested_map/explain_5.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier nested_map + ExpressionList (children 3) + Identifier k + Identifier SomeMap.ID + Identifier SomeMap.Num diff --git a/parser/testdata/00147_alter_nested_default/explain_12.txt b/parser/testdata/00147_alter_nested_default/explain_12.txt new file mode 100644 index 0000000000..7212a1722e --- /dev/null +++ b/parser/testdata/00147_alter_nested_default/explain_12.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier alter_00147 + ExpressionList (children 1) + Identifier n.x diff --git a/parser/testdata/00147_alter_nested_default/explain_4.txt b/parser/testdata/00147_alter_nested_default/explain_4.txt new file mode 100644 index 0000000000..7212a1722e --- /dev/null +++ b/parser/testdata/00147_alter_nested_default/explain_4.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier alter_00147 + ExpressionList (children 1) + Identifier n.x diff --git a/parser/testdata/00148_summing_merge_tree_nested_map_multiple_values/explain_11.txt b/parser/testdata/00148_summing_merge_tree_nested_map_multiple_values/explain_11.txt new file mode 100644 index 0000000000..207121cfbe --- /dev/null +++ b/parser/testdata/00148_summing_merge_tree_nested_map_multiple_values/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nested_not_a_map diff --git a/parser/testdata/00148_summing_merge_tree_nested_map_multiple_values/explain_12.txt b/parser/testdata/00148_summing_merge_tree_nested_map_multiple_values/explain_12.txt new file mode 100644 index 0000000000..207121cfbe --- /dev/null +++ b/parser/testdata/00148_summing_merge_tree_nested_map_multiple_values/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nested_not_a_map diff --git a/parser/testdata/00148_summing_merge_tree_nested_map_multiple_values/explain_4.txt b/parser/testdata/00148_summing_merge_tree_nested_map_multiple_values/explain_4.txt new file mode 100644 index 0000000000..6ec0ad6730 --- /dev/null +++ b/parser/testdata/00148_summing_merge_tree_nested_map_multiple_values/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nested_map_multiple_values diff --git a/parser/testdata/00148_summing_merge_tree_nested_map_multiple_values/explain_5.txt b/parser/testdata/00148_summing_merge_tree_nested_map_multiple_values/explain_5.txt new file mode 100644 index 0000000000..6ec0ad6730 --- /dev/null +++ b/parser/testdata/00148_summing_merge_tree_nested_map_multiple_values/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nested_map_multiple_values diff --git a/parser/testdata/00159_whitespace_in_columns_list/explain_3.txt b/parser/testdata/00159_whitespace_in_columns_list/explain_3.txt new file mode 100644 index 0000000000..1da24ef63e --- /dev/null +++ b/parser/testdata/00159_whitespace_in_columns_list/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier memory diff --git a/parser/testdata/00159_whitespace_in_columns_list/explain_4.txt b/parser/testdata/00159_whitespace_in_columns_list/explain_4.txt new file mode 100644 index 0000000000..1f980bafd4 --- /dev/null +++ b/parser/testdata/00159_whitespace_in_columns_list/explain_4.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier memory + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00159_whitespace_in_columns_list/explain_5.txt b/parser/testdata/00159_whitespace_in_columns_list/explain_5.txt new file mode 100644 index 0000000000..1f980bafd4 --- /dev/null +++ b/parser/testdata/00159_whitespace_in_columns_list/explain_5.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier memory + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00159_whitespace_in_columns_list/explain_6.txt b/parser/testdata/00159_whitespace_in_columns_list/explain_6.txt new file mode 100644 index 0000000000..1f980bafd4 --- /dev/null +++ b/parser/testdata/00159_whitespace_in_columns_list/explain_6.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier memory + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00159_whitespace_in_columns_list/explain_7.txt b/parser/testdata/00159_whitespace_in_columns_list/explain_7.txt new file mode 100644 index 0000000000..1f980bafd4 --- /dev/null +++ b/parser/testdata/00159_whitespace_in_columns_list/explain_7.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier memory + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00159_whitespace_in_columns_list/explain_8.txt b/parser/testdata/00159_whitespace_in_columns_list/explain_8.txt new file mode 100644 index 0000000000..1f980bafd4 --- /dev/null +++ b/parser/testdata/00159_whitespace_in_columns_list/explain_8.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier memory + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00162_shard_global_join/explain.txt b/parser/testdata/00162_shard_global_join/explain.txt index 3de97b7e20..85c026f7f0 100644 --- a/parser/testdata/00162_shard_global_join/explain.txt +++ b/parser/testdata/00162_shard_global_join/explain.txt @@ -1,11 +1,11 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) - SelectQuery (children 2) + SelectQuery (children 3) ExpressionList (children 3) Identifier n Identifier j1 Identifier j2 - TablesInSelectQuery (children 1) + TablesInSelectQuery (children 2) TablesInSelectQueryElement (children 1) TableExpression (children 1) Subquery (alias jr1) (children 1) @@ -26,3 +26,25 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Literal \'127.0.0.{2,3}\' Identifier system.one + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias jr2) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 3) + Function divide (alias n) (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_3 + Identifier number (alias j1) + Literal \'Hello\' (alias j2) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_10 + TableJoin (children 1) + ExpressionList (children 1) + Identifier n + Literal UInt64_10 diff --git a/parser/testdata/00167_read_bytes_from_fs/explain_3.txt b/parser/testdata/00167_read_bytes_from_fs/explain_3.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/00167_read_bytes_from_fs/explain_3.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/00168_buffer_defaults/explain_10.txt b/parser/testdata/00168_buffer_defaults/explain_10.txt new file mode 100644 index 0000000000..c343f1e585 --- /dev/null +++ b/parser/testdata/00168_buffer_defaults/explain_10.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier mt_00168_buffer + ExpressionList (children 2) + Identifier EventDate + Identifier UTCEventTime diff --git a/parser/testdata/00168_buffer_defaults/explain_8.txt b/parser/testdata/00168_buffer_defaults/explain_8.txt new file mode 100644 index 0000000000..6e31f8eca9 --- /dev/null +++ b/parser/testdata/00168_buffer_defaults/explain_8.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier mt_00168 + ExpressionList (children 2) + Identifier EventDate + Identifier UTCEventTime diff --git a/parser/testdata/00169_contingency/explain.txt b/parser/testdata/00169_contingency/explain.txt new file mode 100644 index 0000000000..f34ebfe962 --- /dev/null +++ b/parser/testdata/00169_contingency/explain.txt @@ -0,0 +1,46 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Identifier URLDomain (alias a) + Identifier URLDomain (alias b) + ExpressionList (children 5) + Function round (children 1) + ExpressionList (children 2) + Function cramersV (children 1) + ExpressionList (children 2) + Identifier a + Identifier b + Literal UInt64_2 + Function round (children 1) + ExpressionList (children 2) + Function cramersVBiasCorrected (children 1) + ExpressionList (children 2) + Identifier a + Identifier b + Literal UInt64_2 + Function round (children 1) + ExpressionList (children 2) + Function theilsU (children 1) + ExpressionList (children 2) + Identifier a + Identifier b + Literal UInt64_2 + Function round (children 1) + ExpressionList (children 2) + Function theilsU (children 1) + ExpressionList (children 2) + Identifier b + Identifier a + Literal UInt64_2 + Function round (children 1) + ExpressionList (children 2) + Function contingency (children 1) + ExpressionList (children 2) + Identifier a + Identifier b + Literal UInt64_2 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.hits diff --git a/parser/testdata/00169_join_constant_keys/explain.txt b/parser/testdata/00169_join_constant_keys/explain.txt new file mode 100644 index 0000000000..fde3a7642a --- /dev/null +++ b/parser/testdata/00169_join_constant_keys/explain.txt @@ -0,0 +1,39 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 3) + Identifier key1 + Identifier key2 + Identifier table_1 + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias js1) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 3) + Function arrayJoin (alias key1) (children 1) + ExpressionList (children 1) + Literal Array_[UInt64_1, UInt64_2, UInt64_3] + Literal UInt64_0 (alias key2) + Literal UInt64_999 (alias table_1) + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias js2) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 3) + Function arrayJoin (alias key1) (children 1) + ExpressionList (children 1) + Literal Array_[UInt64_1, UInt64_3, UInt64_2] + Literal UInt64_0 (alias key2) + Literal UInt64_999 (alias table_1) + TableJoin (children 1) + ExpressionList (children 2) + Identifier key2 + Identifier key1 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier key1 diff --git a/parser/testdata/00173_group_by_use_nulls/explain.txt b/parser/testdata/00173_group_by_use_nulls/explain.txt new file mode 100644 index 0000000000..c53fd3e441 --- /dev/null +++ b/parser/testdata/00173_group_by_use_nulls/explain.txt @@ -0,0 +1,28 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 2) + Identifier CounterID (alias k) + Function quantileBFloat16 (children 2) + ExpressionList (children 1) + Identifier ResolutionWidth + ExpressionList (children 1) + Literal Float64_0.5 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 3) + Literal \'127.0.0.{1,2}\' + Identifier test + Identifier hits + ExpressionList (children 1) + Identifier k + ExpressionList (children 2) + OrderByElement (children 1) + Function count (children 1) + ExpressionList + OrderByElement (children 1) + Identifier CounterID + Literal UInt64_10 + Set diff --git a/parser/testdata/00176_distinct_limit_by_limit_bug_43377/explain.txt b/parser/testdata/00176_distinct_limit_by_limit_bug_43377/explain.txt index 05d9d574c2..dc5aad4a7a 100644 --- a/parser/testdata/00176_distinct_limit_by_limit_bug_43377/explain.txt +++ b/parser/testdata/00176_distinct_limit_by_limit_bug_43377/explain.txt @@ -10,7 +10,7 @@ SelectWithUnionQuery (children 1) Subquery (children 1) SelectWithUnionQuery (children 1) ExpressionList (children 1) - SelectQuery (children 4) + SelectQuery (children 6) ExpressionList (children 2) Identifier Title Identifier SearchPhrase @@ -19,23 +19,24 @@ SelectWithUnionQuery (children 1) TableExpression (children 1) TableIdentifier test.hits Function and (children 1) - ExpressionList (children 2) - Function and (children 1) + ExpressionList (children 3) + Function notEquals (children 1) ExpressionList (children 2) - Function notEquals (children 1) + Identifier SearchPhrase + Literal \'\' + Function not (children 1) + ExpressionList (children 1) + Function match (children 1) ExpressionList (children 2) - Identifier SearchPhrase - Literal \'\' - Function not (children 1) - ExpressionList (children 1) - Function match (children 1) - ExpressionList (children 2) - Identifier Title - Literal \'[а-ÑÐ-ЯёÐ]\' + Identifier Title + Literal \'[а-ÑÐ-ЯёÐ]\' Function not (children 1) ExpressionList (children 1) Function match (children 1) ExpressionList (children 2) Identifier SearchPhrase Literal \'[а-ÑÐ-ЯёÐ]\' + Literal UInt64_1 + ExpressionList (children 1) + Identifier Title Literal UInt64_10 diff --git a/parser/testdata/00178_function_replicate/explain.txt b/parser/testdata/00178_function_replicate/explain.txt new file mode 100644 index 0000000000..90a8f15cbe --- /dev/null +++ b/parser/testdata/00178_function_replicate/explain.txt @@ -0,0 +1,45 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 6) + Identifier number + Function range (alias arr) (children 1) + ExpressionList (children 1) + Identifier number + Function replicate (children 1) + ExpressionList (children 2) + Identifier number + Identifier arr + Function replicate (children 1) + ExpressionList (children 2) + Function toString (children 1) + ExpressionList (children 1) + Identifier number + Identifier arr + Function replicate (children 1) + ExpressionList (children 2) + Function range (children 1) + ExpressionList (children 1) + Identifier number + Identifier arr + Function replicate (children 1) + ExpressionList (children 2) + Function arrayMap (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function toString (children 1) + ExpressionList (children 1) + Identifier x + Function range (children 1) + ExpressionList (children 1) + Identifier number + Identifier arr + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_10 diff --git a/parser/testdata/00178_query_datetime64_index/explain_3.txt b/parser/testdata/00178_query_datetime64_index/explain_3.txt new file mode 100644 index 0000000000..75ccce4711 --- /dev/null +++ b/parser/testdata/00178_query_datetime64_index/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier datetime64_index_tbl + ExpressionList (children 1) + Identifier ts diff --git a/parser/testdata/00181_aggregate_functions_statistics/explain_5.txt b/parser/testdata/00181_aggregate_functions_statistics/explain_5.txt new file mode 100644 index 0000000000..e8d0c8ffa1 --- /dev/null +++ b/parser/testdata/00181_aggregate_functions_statistics/explain_5.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier series + ExpressionList (children 3) + Identifier i + Identifier x_value + Identifier y_value diff --git a/parser/testdata/00181_aggregate_functions_statistics_stable/explain_5.txt b/parser/testdata/00181_aggregate_functions_statistics_stable/explain_5.txt new file mode 100644 index 0000000000..e8d0c8ffa1 --- /dev/null +++ b/parser/testdata/00181_aggregate_functions_statistics_stable/explain_5.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier series + ExpressionList (children 3) + Identifier i + Identifier x_value + Identifier y_value diff --git a/parser/testdata/00189_time_zones_long/explain.txt b/parser/testdata/00189_time_zones_long/explain.txt new file mode 100644 index 0000000000..da628b823d --- /dev/null +++ b/parser/testdata/00189_time_zones_long/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'toStartOfDay\' diff --git a/parser/testdata/00193_parallel_replicas/explain_10.txt b/parser/testdata/00193_parallel_replicas/explain_10.txt new file mode 100644 index 0000000000..ce86cc85af --- /dev/null +++ b/parser/testdata/00193_parallel_replicas/explain_10.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier parallel_replicas + ExpressionList (children 3) + Identifier x + Identifier u + Identifier s diff --git a/parser/testdata/00193_parallel_replicas/explain_5.txt b/parser/testdata/00193_parallel_replicas/explain_5.txt new file mode 100644 index 0000000000..ce86cc85af --- /dev/null +++ b/parser/testdata/00193_parallel_replicas/explain_5.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier parallel_replicas + ExpressionList (children 3) + Identifier x + Identifier u + Identifier s diff --git a/parser/testdata/00193_parallel_replicas/explain_6.txt b/parser/testdata/00193_parallel_replicas/explain_6.txt new file mode 100644 index 0000000000..ce86cc85af --- /dev/null +++ b/parser/testdata/00193_parallel_replicas/explain_6.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier parallel_replicas + ExpressionList (children 3) + Identifier x + Identifier u + Identifier s diff --git a/parser/testdata/00193_parallel_replicas/explain_7.txt b/parser/testdata/00193_parallel_replicas/explain_7.txt new file mode 100644 index 0000000000..ce86cc85af --- /dev/null +++ b/parser/testdata/00193_parallel_replicas/explain_7.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier parallel_replicas + ExpressionList (children 3) + Identifier x + Identifier u + Identifier s diff --git a/parser/testdata/00193_parallel_replicas/explain_8.txt b/parser/testdata/00193_parallel_replicas/explain_8.txt new file mode 100644 index 0000000000..ce86cc85af --- /dev/null +++ b/parser/testdata/00193_parallel_replicas/explain_8.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier parallel_replicas + ExpressionList (children 3) + Identifier x + Identifier u + Identifier s diff --git a/parser/testdata/00193_parallel_replicas/explain_9.txt b/parser/testdata/00193_parallel_replicas/explain_9.txt new file mode 100644 index 0000000000..ce86cc85af --- /dev/null +++ b/parser/testdata/00193_parallel_replicas/explain_9.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier parallel_replicas + ExpressionList (children 3) + Identifier x + Identifier u + Identifier s diff --git a/parser/testdata/00203_full_join/explain_17.txt b/parser/testdata/00203_full_join/explain_17.txt new file mode 100644 index 0000000000..bbd944777a --- /dev/null +++ b/parser/testdata/00203_full_join/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1_00203 diff --git a/parser/testdata/00203_full_join/explain_18.txt b/parser/testdata/00203_full_join/explain_18.txt new file mode 100644 index 0000000000..4b2ba7bf9f --- /dev/null +++ b/parser/testdata/00203_full_join/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2_00203 diff --git a/parser/testdata/00205_emptyscalar_subquery_type_mismatch_bug/explain.txt b/parser/testdata/00205_emptyscalar_subquery_type_mismatch_bug/explain.txt new file mode 100644 index 0000000000..d4946d67a5 --- /dev/null +++ b/parser/testdata/00205_emptyscalar_subquery_type_mismatch_bug/explain.txt @@ -0,0 +1,31 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + WithElement (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Subquery (alias b) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Literal UInt64_1 + Literal UInt64_0 + ExpressionList (children 1) + Literal UInt64_1 + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.one + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier a + TableJoin + Function equals (children 1) + ExpressionList (children 2) + Identifier a.b + Literal UInt64_0 diff --git a/parser/testdata/00211_shard_query_formatting_aliases/explain.txt b/parser/testdata/00211_shard_query_formatting_aliases/explain.txt new file mode 100644 index 0000000000..d05131f223 --- /dev/null +++ b/parser/testdata/00211_shard_query_formatting_aliases/explain.txt @@ -0,0 +1,204 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 186) + Function in (alias x) (children 1) + ExpressionList (children 2) + Function toUInt64 (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Literal Tuple_(UInt64_1234567890, UInt64_2345678901, UInt64_3456789012, UInt64_4567890123, UInt64_5678901234, UInt64_6789012345, UInt64_7890123456, UInt64_8901234567, UInt64_9012345678, UInt64_123456789) + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + Identifier x + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 3) + Literal \'127.0.0.2\' + Identifier system + Identifier one + Set diff --git a/parser/testdata/00214_primary_key_order/explain_4.txt b/parser/testdata/00214_primary_key_order/explain_4.txt new file mode 100644 index 0000000000..a6d43801a1 --- /dev/null +++ b/parser/testdata/00214_primary_key_order/explain_4.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier primary_key + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00215_primary_key_order_zookeeper_long/explain_4.txt b/parser/testdata/00215_primary_key_order_zookeeper_long/explain_4.txt new file mode 100644 index 0000000000..a6d43801a1 --- /dev/null +++ b/parser/testdata/00215_primary_key_order_zookeeper_long/explain_4.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier primary_key + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00215_primary_key_order_zookeeper_long/explain_5.txt b/parser/testdata/00215_primary_key_order_zookeeper_long/explain_5.txt new file mode 100644 index 0000000000..a6d43801a1 --- /dev/null +++ b/parser/testdata/00215_primary_key_order_zookeeper_long/explain_5.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier primary_key + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00215_primary_key_order_zookeeper_long/explain_6.txt b/parser/testdata/00215_primary_key_order_zookeeper_long/explain_6.txt new file mode 100644 index 0000000000..a6d43801a1 --- /dev/null +++ b/parser/testdata/00215_primary_key_order_zookeeper_long/explain_6.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier primary_key + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00215_primary_key_order_zookeeper_long/explain_7.txt b/parser/testdata/00215_primary_key_order_zookeeper_long/explain_7.txt new file mode 100644 index 0000000000..a6d43801a1 --- /dev/null +++ b/parser/testdata/00215_primary_key_order_zookeeper_long/explain_7.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier primary_key + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00215_primary_key_order_zookeeper_long/explain_8.txt b/parser/testdata/00215_primary_key_order_zookeeper_long/explain_8.txt new file mode 100644 index 0000000000..a6d43801a1 --- /dev/null +++ b/parser/testdata/00215_primary_key_order_zookeeper_long/explain_8.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier primary_key + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00215_primary_key_order_zookeeper_long/explain_9.txt b/parser/testdata/00215_primary_key_order_zookeeper_long/explain_9.txt new file mode 100644 index 0000000000..a6d43801a1 --- /dev/null +++ b/parser/testdata/00215_primary_key_order_zookeeper_long/explain_9.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier primary_key + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00216_bit_test_function_family/explain.txt b/parser/testdata/00216_bit_test_function_family/explain.txt new file mode 100644 index 0000000000..39f17563a3 --- /dev/null +++ b/parser/testdata/00216_bit_test_function_family/explain.txt @@ -0,0 +1,32 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 4) + Function equals (children 1) + ExpressionList (children 2) + Function bitTest (children 1) + ExpressionList (children 2) + Literal UInt64_0 + Literal UInt64_0 + Literal UInt64_0 + Function equals (children 1) + ExpressionList (children 2) + Function bitTest (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal UInt64_0 + Literal UInt64_1 + Function equals (children 1) + ExpressionList (children 2) + Function bitTest (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal UInt64_1 + Literal UInt64_0 + Function equals (children 1) + ExpressionList (children 2) + Function bitTest (children 1) + ExpressionList (children 2) + Literal UInt64_255 + Literal UInt64_7 + Literal UInt64_1 diff --git a/parser/testdata/00222_sequence_aggregate_function_family/explain_3.txt b/parser/testdata/00222_sequence_aggregate_function_family/explain_3.txt new file mode 100644 index 0000000000..28ed69f985 --- /dev/null +++ b/parser/testdata/00222_sequence_aggregate_function_family/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier sequence_test diff --git a/parser/testdata/00226_zookeeper_deduplication_and_unexpected_parts_long/explain_10.txt b/parser/testdata/00226_zookeeper_deduplication_and_unexpected_parts_long/explain_10.txt new file mode 100644 index 0000000000..df84530870 --- /dev/null +++ b/parser/testdata/00226_zookeeper_deduplication_and_unexpected_parts_long/explain_10.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier deduplication + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00226_zookeeper_deduplication_and_unexpected_parts_long/explain_11.txt b/parser/testdata/00226_zookeeper_deduplication_and_unexpected_parts_long/explain_11.txt new file mode 100644 index 0000000000..df84530870 --- /dev/null +++ b/parser/testdata/00226_zookeeper_deduplication_and_unexpected_parts_long/explain_11.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier deduplication + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00226_zookeeper_deduplication_and_unexpected_parts_long/explain_12.txt b/parser/testdata/00226_zookeeper_deduplication_and_unexpected_parts_long/explain_12.txt new file mode 100644 index 0000000000..df84530870 --- /dev/null +++ b/parser/testdata/00226_zookeeper_deduplication_and_unexpected_parts_long/explain_12.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier deduplication + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00226_zookeeper_deduplication_and_unexpected_parts_long/explain_13.txt b/parser/testdata/00226_zookeeper_deduplication_and_unexpected_parts_long/explain_13.txt new file mode 100644 index 0000000000..df84530870 --- /dev/null +++ b/parser/testdata/00226_zookeeper_deduplication_and_unexpected_parts_long/explain_13.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier deduplication + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00226_zookeeper_deduplication_and_unexpected_parts_long/explain_14.txt b/parser/testdata/00226_zookeeper_deduplication_and_unexpected_parts_long/explain_14.txt new file mode 100644 index 0000000000..df84530870 --- /dev/null +++ b/parser/testdata/00226_zookeeper_deduplication_and_unexpected_parts_long/explain_14.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier deduplication + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00226_zookeeper_deduplication_and_unexpected_parts_long/explain_15.txt b/parser/testdata/00226_zookeeper_deduplication_and_unexpected_parts_long/explain_15.txt new file mode 100644 index 0000000000..df84530870 --- /dev/null +++ b/parser/testdata/00226_zookeeper_deduplication_and_unexpected_parts_long/explain_15.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier deduplication + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00226_zookeeper_deduplication_and_unexpected_parts_long/explain_16.txt b/parser/testdata/00226_zookeeper_deduplication_and_unexpected_parts_long/explain_16.txt new file mode 100644 index 0000000000..df84530870 --- /dev/null +++ b/parser/testdata/00226_zookeeper_deduplication_and_unexpected_parts_long/explain_16.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier deduplication + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00226_zookeeper_deduplication_and_unexpected_parts_long/explain_17.txt b/parser/testdata/00226_zookeeper_deduplication_and_unexpected_parts_long/explain_17.txt new file mode 100644 index 0000000000..df84530870 --- /dev/null +++ b/parser/testdata/00226_zookeeper_deduplication_and_unexpected_parts_long/explain_17.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier deduplication + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00226_zookeeper_deduplication_and_unexpected_parts_long/explain_18.txt b/parser/testdata/00226_zookeeper_deduplication_and_unexpected_parts_long/explain_18.txt new file mode 100644 index 0000000000..df84530870 --- /dev/null +++ b/parser/testdata/00226_zookeeper_deduplication_and_unexpected_parts_long/explain_18.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier deduplication + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00226_zookeeper_deduplication_and_unexpected_parts_long/explain_19.txt b/parser/testdata/00226_zookeeper_deduplication_and_unexpected_parts_long/explain_19.txt new file mode 100644 index 0000000000..df84530870 --- /dev/null +++ b/parser/testdata/00226_zookeeper_deduplication_and_unexpected_parts_long/explain_19.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier deduplication + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00226_zookeeper_deduplication_and_unexpected_parts_long/explain_4.txt b/parser/testdata/00226_zookeeper_deduplication_and_unexpected_parts_long/explain_4.txt new file mode 100644 index 0000000000..df84530870 --- /dev/null +++ b/parser/testdata/00226_zookeeper_deduplication_and_unexpected_parts_long/explain_4.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier deduplication + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00226_zookeeper_deduplication_and_unexpected_parts_long/explain_5.txt b/parser/testdata/00226_zookeeper_deduplication_and_unexpected_parts_long/explain_5.txt new file mode 100644 index 0000000000..df84530870 --- /dev/null +++ b/parser/testdata/00226_zookeeper_deduplication_and_unexpected_parts_long/explain_5.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier deduplication + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00226_zookeeper_deduplication_and_unexpected_parts_long/explain_6.txt b/parser/testdata/00226_zookeeper_deduplication_and_unexpected_parts_long/explain_6.txt new file mode 100644 index 0000000000..df84530870 --- /dev/null +++ b/parser/testdata/00226_zookeeper_deduplication_and_unexpected_parts_long/explain_6.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier deduplication + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00226_zookeeper_deduplication_and_unexpected_parts_long/explain_7.txt b/parser/testdata/00226_zookeeper_deduplication_and_unexpected_parts_long/explain_7.txt new file mode 100644 index 0000000000..df84530870 --- /dev/null +++ b/parser/testdata/00226_zookeeper_deduplication_and_unexpected_parts_long/explain_7.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier deduplication + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00226_zookeeper_deduplication_and_unexpected_parts_long/explain_8.txt b/parser/testdata/00226_zookeeper_deduplication_and_unexpected_parts_long/explain_8.txt new file mode 100644 index 0000000000..df84530870 --- /dev/null +++ b/parser/testdata/00226_zookeeper_deduplication_and_unexpected_parts_long/explain_8.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier deduplication + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00226_zookeeper_deduplication_and_unexpected_parts_long/explain_9.txt b/parser/testdata/00226_zookeeper_deduplication_and_unexpected_parts_long/explain_9.txt new file mode 100644 index 0000000000..df84530870 --- /dev/null +++ b/parser/testdata/00226_zookeeper_deduplication_and_unexpected_parts_long/explain_9.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier deduplication + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00229_prewhere_column_missing/explain_4.txt b/parser/testdata/00229_prewhere_column_missing/explain_4.txt new file mode 100644 index 0000000000..c4705c28ed --- /dev/null +++ b/parser/testdata/00229_prewhere_column_missing/explain_4.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier prewhere_column_missing + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00232_format_readable_decimal_size/explain.txt b/parser/testdata/00232_format_readable_decimal_size/explain.txt new file mode 100644 index 0000000000..5cbb1c79c6 --- /dev/null +++ b/parser/testdata/00232_format_readable_decimal_size/explain.txt @@ -0,0 +1,45 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 3) + Function round (alias x) (children 1) + ExpressionList (children 2) + Function exp (children 1) + ExpressionList (children 1) + Identifier number + Literal UInt64_6 + Function if (alias y) (children 1) + ExpressionList (children 3) + Function greater (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_18446744073709551615 + Literal UInt64_18446744073709551615 + Function toUInt64 (children 1) + ExpressionList (children 1) + Identifier x + Function if (alias z) (children 1) + ExpressionList (children 3) + Function greater (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_2147483647 + Literal UInt64_2147483647 + Function toInt32 (children 1) + ExpressionList (children 1) + Identifier x + ExpressionList (children 3) + Function formatReadableDecimalSize (children 1) + ExpressionList (children 1) + Identifier x + Function formatReadableDecimalSize (children 1) + ExpressionList (children 1) + Identifier y + Function formatReadableDecimalSize (children 1) + ExpressionList (children 1) + Identifier z + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_70 diff --git a/parser/testdata/00232_format_readable_size/explain.txt b/parser/testdata/00232_format_readable_size/explain.txt new file mode 100644 index 0000000000..a0d9faea6b --- /dev/null +++ b/parser/testdata/00232_format_readable_size/explain.txt @@ -0,0 +1,45 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 3) + Function round (alias x) (children 1) + ExpressionList (children 2) + Function exp (children 1) + ExpressionList (children 1) + Identifier number + Literal UInt64_6 + Function if (alias y) (children 1) + ExpressionList (children 3) + Function greater (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_18446744073709551615 + Literal UInt64_18446744073709551615 + Function toUInt64 (children 1) + ExpressionList (children 1) + Identifier x + Function if (alias z) (children 1) + ExpressionList (children 3) + Function greater (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_2147483647 + Literal UInt64_2147483647 + Function toInt32 (children 1) + ExpressionList (children 1) + Identifier x + ExpressionList (children 3) + Function FORMAT_BYTES (children 1) + ExpressionList (children 1) + Identifier x + Function format_bytes (children 1) + ExpressionList (children 1) + Identifier y + Function formatReadableSize (children 1) + ExpressionList (children 1) + Identifier z + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_70 diff --git a/parser/testdata/00234_disjunctive_equality_chains_optimization/explain_2.txt b/parser/testdata/00234_disjunctive_equality_chains_optimization/explain_2.txt new file mode 100644 index 0000000000..61884b83d3 --- /dev/null +++ b/parser/testdata/00234_disjunctive_equality_chains_optimization/explain_2.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier foo_00234 + ExpressionList (children 1) + Identifier id diff --git a/parser/testdata/00236_replicated_drop_on_non_leader_zookeeper_long/explain_7.txt b/parser/testdata/00236_replicated_drop_on_non_leader_zookeeper_long/explain_7.txt new file mode 100644 index 0000000000..6ce5ea8f9f --- /dev/null +++ b/parser/testdata/00236_replicated_drop_on_non_leader_zookeeper_long/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier attach_r1 diff --git a/parser/testdata/00250_tuple_comparison/explain.txt b/parser/testdata/00250_tuple_comparison/explain.txt new file mode 100644 index 0000000000..574efd3f77 --- /dev/null +++ b/parser/testdata/00250_tuple_comparison/explain.txt @@ -0,0 +1,28 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 6) + Function equals (children 1) + ExpressionList (children 2) + Literal Tuple_(UInt64_1, \'Hello\', UInt64_23) + Literal Tuple_(UInt64_1, \'Hello\', UInt64_23) + Function notEquals (children 1) + ExpressionList (children 2) + Literal Tuple_(UInt64_1, \'Hello\', UInt64_23) + Literal Tuple_(UInt64_1, \'Hello\', UInt64_23) + Function less (children 1) + ExpressionList (children 2) + Literal Tuple_(UInt64_1, \'Hello\', UInt64_23) + Literal Tuple_(UInt64_1, \'Hello\', UInt64_23) + Function greater (children 1) + ExpressionList (children 2) + Literal Tuple_(UInt64_1, \'Hello\', UInt64_23) + Literal Tuple_(UInt64_1, \'Hello\', UInt64_23) + Function lessOrEquals (children 1) + ExpressionList (children 2) + Literal Tuple_(UInt64_1, \'Hello\', UInt64_23) + Literal Tuple_(UInt64_1, \'Hello\', UInt64_23) + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Literal Tuple_(UInt64_1, \'Hello\', UInt64_23) + Literal Tuple_(UInt64_1, \'Hello\', UInt64_23) diff --git a/parser/testdata/00252_shard_global_in_aggregate_function/explain_3.txt b/parser/testdata/00252_shard_global_in_aggregate_function/explain_3.txt new file mode 100644 index 0000000000..ea5c678504 --- /dev/null +++ b/parser/testdata/00252_shard_global_in_aggregate_function/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier storage + ExpressionList (children 1) + Identifier UserID diff --git a/parser/testdata/00253_insert_recursive_defaults/explain_3.txt b/parser/testdata/00253_insert_recursive_defaults/explain_3.txt new file mode 100644 index 0000000000..ed116de6e1 --- /dev/null +++ b/parser/testdata/00253_insert_recursive_defaults/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier defaults + ExpressionList (children 1) + Identifier a diff --git a/parser/testdata/00253_insert_recursive_defaults/explain_9.txt b/parser/testdata/00253_insert_recursive_defaults/explain_9.txt new file mode 100644 index 0000000000..f25cc897b7 --- /dev/null +++ b/parser/testdata/00253_insert_recursive_defaults/explain_9.txt @@ -0,0 +1,8 @@ +InsertQuery (children 2) + Identifier elog_cut + ExpressionList (children 5) + Identifier uts + Identifier pr + Identifier ya_uid + Identifier adf_uid + Identifier owner_id diff --git a/parser/testdata/00261_storage_aliases_and_array_join/explain_4.txt b/parser/testdata/00261_storage_aliases_and_array_join/explain_4.txt new file mode 100644 index 0000000000..e356e66a66 --- /dev/null +++ b/parser/testdata/00261_storage_aliases_and_array_join/explain_4.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier aliases_test + ExpressionList (children 1) + Identifier id diff --git a/parser/testdata/00262_alter_alias/explain_4.txt b/parser/testdata/00262_alter_alias/explain_4.txt new file mode 100644 index 0000000000..e356e66a66 --- /dev/null +++ b/parser/testdata/00262_alter_alias/explain_4.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier aliases_test + ExpressionList (children 1) + Identifier id diff --git a/parser/testdata/00264_uniq_many_args/explain.txt b/parser/testdata/00264_uniq_many_args/explain.txt new file mode 100644 index 0000000000..71bf1b4510 --- /dev/null +++ b/parser/testdata/00264_uniq_many_args/explain.txt @@ -0,0 +1,229 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 36) + Function uniq (children 1) + ExpressionList (children 1) + Identifier x + Function uniq (children 1) + ExpressionList (children 1) + Identifier x + Function uniq (children 1) + ExpressionList (children 2) + Identifier x + Identifier y + Function uniq (children 1) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList (children 2) + Identifier x + Identifier y + Function uniq (children 1) + ExpressionList (children 3) + Identifier x + Identifier y + Identifier z + Function uniq (children 1) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList (children 3) + Identifier x + Identifier y + Identifier z + Function uniqCombined (children 1) + ExpressionList (children 1) + Identifier x + Function uniqCombined (children 1) + ExpressionList (children 1) + Identifier x + Function uniqCombined (children 1) + ExpressionList (children 2) + Identifier x + Identifier y + Function uniqCombined (children 1) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList (children 2) + Identifier x + Identifier y + Function uniqCombined (children 1) + ExpressionList (children 3) + Identifier x + Identifier y + Identifier z + Function uniqCombined (children 1) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList (children 3) + Identifier x + Identifier y + Identifier z + Function uniqCombined (children 2) + ExpressionList (children 1) + Identifier x + ExpressionList (children 1) + Literal UInt64_17 + Function uniqCombined (children 2) + ExpressionList (children 1) + Identifier x + ExpressionList (children 1) + Literal UInt64_17 + Function uniqCombined (children 2) + ExpressionList (children 2) + Identifier x + Identifier y + ExpressionList (children 1) + Literal UInt64_17 + Function uniqCombined (children 2) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList (children 2) + Identifier x + Identifier y + ExpressionList (children 1) + Literal UInt64_17 + Function uniqCombined (children 2) + ExpressionList (children 3) + Identifier x + Identifier y + Identifier z + ExpressionList (children 1) + Literal UInt64_17 + Function uniqCombined (children 2) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList (children 3) + Identifier x + Identifier y + Identifier z + ExpressionList (children 1) + Literal UInt64_17 + Function uniqHLL12 (children 1) + ExpressionList (children 1) + Identifier x + Function uniqHLL12 (children 1) + ExpressionList (children 1) + Identifier x + Function uniqHLL12 (children 1) + ExpressionList (children 2) + Identifier x + Identifier y + Function uniqHLL12 (children 1) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList (children 2) + Identifier x + Identifier y + Function uniqHLL12 (children 1) + ExpressionList (children 3) + Identifier x + Identifier y + Identifier z + Function uniqHLL12 (children 1) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList (children 3) + Identifier x + Identifier y + Identifier z + Function uniqExact (children 1) + ExpressionList (children 1) + Identifier x + Function uniqExact (children 1) + ExpressionList (children 1) + Identifier x + Function uniqExact (children 1) + ExpressionList (children 2) + Identifier x + Identifier y + Function uniqExact (children 1) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList (children 2) + Identifier x + Identifier y + Function uniqExact (children 1) + ExpressionList (children 3) + Identifier x + Identifier y + Identifier z + Function uniqExact (children 1) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList (children 3) + Identifier x + Identifier y + Identifier z + Function uniqUpTo (children 2) + ExpressionList (children 1) + Identifier x + ExpressionList (children 1) + Literal UInt64_5 + Function uniqUpTo (children 2) + ExpressionList (children 1) + Identifier x + ExpressionList (children 1) + Literal UInt64_5 + Function uniqUpTo (children 2) + ExpressionList (children 2) + Identifier x + Identifier y + ExpressionList (children 1) + Literal UInt64_5 + Function uniqUpTo (children 2) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList (children 2) + Identifier x + Identifier y + ExpressionList (children 1) + Literal UInt64_5 + Function uniqUpTo (children 2) + ExpressionList (children 3) + Identifier x + Identifier y + Identifier z + ExpressionList (children 1) + Literal UInt64_5 + Function uniqUpTo (children 2) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList (children 3) + Identifier x + Identifier y + Identifier z + ExpressionList (children 1) + Literal UInt64_5 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 3) + Function modulo (alias x) (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 + Function modulo (alias y) (children 1) + ExpressionList (children 2) + Function intDiv (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 + Literal UInt64_10 + Function toString (alias z) (children 1) + ExpressionList (children 1) + Function modulo (children 1) + ExpressionList (children 2) + Function intDiv (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_100 + Literal UInt64_10 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_1000 diff --git a/parser/testdata/00282_merging/explain_4.txt b/parser/testdata/00282_merging/explain_4.txt new file mode 100644 index 0000000000..cffec9f1e0 --- /dev/null +++ b/parser/testdata/00282_merging/explain_4.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier merge + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00282_merging/explain_5.txt b/parser/testdata/00282_merging/explain_5.txt new file mode 100644 index 0000000000..cffec9f1e0 --- /dev/null +++ b/parser/testdata/00282_merging/explain_5.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier merge + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00283_column_cut/explain.txt b/parser/testdata/00283_column_cut/explain.txt new file mode 100644 index 0000000000..7fa3e11f01 --- /dev/null +++ b/parser/testdata/00283_column_cut/explain.txt @@ -0,0 +1,70 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 7) + Identifier number + Function toString (children 1) + ExpressionList (children 1) + Identifier number + Function range (alias arr) (children 1) + ExpressionList (children 1) + Identifier number + Function arrayMap (alias arr_s) (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function toString (children 1) + ExpressionList (children 1) + Identifier x + Identifier arr + Function arrayMap (alias arr_arr) (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function range (children 1) + ExpressionList (children 1) + Identifier x + Identifier arr + Function arrayMap (alias arr_arr_s) (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function arrayMap (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier y + Function toString (children 1) + ExpressionList (children 1) + Identifier y + Identifier x + Identifier arr_arr + Function arrayMap (alias arr_fs) (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function toFixedString (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_3 + Identifier arr_s + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_5 + Literal UInt64_10 diff --git a/parser/testdata/00288_empty_stripelog/explain_4.txt b/parser/testdata/00288_empty_stripelog/explain_4.txt new file mode 100644 index 0000000000..b5847689cd --- /dev/null +++ b/parser/testdata/00288_empty_stripelog/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier stripelog diff --git a/parser/testdata/00291_array_reduce/explain.txt b/parser/testdata/00291_array_reduce/explain.txt new file mode 100644 index 0000000000..55b2523f2f --- /dev/null +++ b/parser/testdata/00291_array_reduce/explain.txt @@ -0,0 +1,25 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 4) + Function arrayReduce (alias a) (children 1) + ExpressionList (children 2) + Literal \'uniq\' + Literal Array_[UInt64_1, UInt64_2, UInt64_1] + Function arrayReduce (alias b) (children 1) + ExpressionList (children 3) + Literal \'uniq\' + Literal Array_[UInt64_1, UInt64_2, UInt64_2, UInt64_1] + Literal Array_[\'hello\', \'world\', \'\', \'\'] + Function arrayReduce (alias c) (children 1) + ExpressionList (children 3) + Literal \'uniqUpTo(5)\' + Literal Array_[UInt64_1, UInt64_2, UInt64_2, UInt64_1] + Function materialize (children 1) + ExpressionList (children 1) + Literal Array_[\'hello\', \'world\', \'\', \'\'] + Function arrayReduce (alias d) (children 1) + ExpressionList (children 3) + Literal \'uniqExactIf\' + Literal Array_[UInt64_1, UInt64_2, UInt64_3, UInt64_4] + Literal Array_[UInt64_1, UInt64_0, UInt64_1, UInt64_1] diff --git a/parser/testdata/00294_shard_enums/explain_10.txt b/parser/testdata/00294_shard_enums/explain_10.txt new file mode 100644 index 0000000000..4639c740b2 --- /dev/null +++ b/parser/testdata/00294_shard_enums/explain_10.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier enums + ExpressionList (children 3) + Identifier e + Identifier sign + Identifier letter diff --git a/parser/testdata/00294_shard_enums/explain_17.txt b/parser/testdata/00294_shard_enums/explain_17.txt new file mode 100644 index 0000000000..f1ba0b6cec --- /dev/null +++ b/parser/testdata/00294_shard_enums/explain_17.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier enums + ExpressionList (children 2) + Identifier letter + Identifier e diff --git a/parser/testdata/00294_shard_enums/explain_21.txt b/parser/testdata/00294_shard_enums/explain_21.txt new file mode 100644 index 0000000000..6e9eab4fb0 --- /dev/null +++ b/parser/testdata/00294_shard_enums/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier enums diff --git a/parser/testdata/00294_shard_enums/explain_6.txt b/parser/testdata/00294_shard_enums/explain_6.txt new file mode 100644 index 0000000000..f153aa59af --- /dev/null +++ b/parser/testdata/00294_shard_enums/explain_6.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier enums + ExpressionList (children 1) + Identifier k diff --git a/parser/testdata/00296_url_parameters/explain.txt b/parser/testdata/00296_url_parameters/explain.txt new file mode 100644 index 0000000000..bea81ad7f5 --- /dev/null +++ b/parser/testdata/00296_url_parameters/explain.txt @@ -0,0 +1,46 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 14) + Function extractURLParameters (children 1) + ExpressionList (children 1) + Literal \'http://bigmir.net/?a=b&c=d\' + Function extractURLParameters (children 1) + ExpressionList (children 1) + Literal \'http://bigmir.net/?a=b&c=d#e=f\' + Function extractURLParameters (children 1) + ExpressionList (children 1) + Literal \'http://bigmir.net/?a&c=d#e=f\' + Function extractURLParameters (children 1) + ExpressionList (children 1) + Literal \'http://bigmir.net/?a=b&c=d#e=f&g=h\' + Function extractURLParameters (children 1) + ExpressionList (children 1) + Literal \'http://bigmir.net/?a=b&c=d#e\' + Function extractURLParameters (children 1) + ExpressionList (children 1) + Literal \'http://bigmir.net/?a=b&c=d#e&g=h\' + Function extractURLParameters (children 1) + ExpressionList (children 1) + Literal \'http://bigmir.net/?a=b&c=d#test?e=f&g=h\' + Function extractURLParameters (children 1) + ExpressionList (children 1) + Literal \'//bigmir.net/?a=b&c=d\' + Function extractURLParameters (children 1) + ExpressionList (children 1) + Literal \'//bigmir.net/?a=b&c=d#e=f\' + Function extractURLParameters (children 1) + ExpressionList (children 1) + Literal \'//bigmir.net/?a&c=d#e=f\' + Function extractURLParameters (children 1) + ExpressionList (children 1) + Literal \'//bigmir.net/?a=b&c=d#e=f&g=h\' + Function extractURLParameters (children 1) + ExpressionList (children 1) + Literal \'//bigmir.net/?a=b&c=d#e\' + Function extractURLParameters (children 1) + ExpressionList (children 1) + Literal \'//bigmir.net/?a=b&c=d#e&g=h\' + Function extractURLParameters (children 1) + ExpressionList (children 1) + Literal \'//bigmir.net/?a=b&c=d#test?e=f&g=h\' diff --git a/parser/testdata/00298_enum_width_and_cast/explain_4.txt b/parser/testdata/00298_enum_width_and_cast/explain_4.txt new file mode 100644 index 0000000000..3dfba34a39 --- /dev/null +++ b/parser/testdata/00298_enum_width_and_cast/explain_4.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier enum + ExpressionList (children 1) + Identifier y diff --git a/parser/testdata/00298_enum_width_and_cast/explain_6.txt b/parser/testdata/00298_enum_width_and_cast/explain_6.txt new file mode 100644 index 0000000000..e33ebf4b55 --- /dev/null +++ b/parser/testdata/00298_enum_width_and_cast/explain_6.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier enum + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00298_enum_width_and_cast/explain_8.txt b/parser/testdata/00298_enum_width_and_cast/explain_8.txt new file mode 100644 index 0000000000..e33ebf4b55 --- /dev/null +++ b/parser/testdata/00298_enum_width_and_cast/explain_8.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier enum + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00299_stripe_log_multiple_inserts/explain_13.txt b/parser/testdata/00299_stripe_log_multiple_inserts/explain_13.txt new file mode 100644 index 0000000000..ff5d76abfb --- /dev/null +++ b/parser/testdata/00299_stripe_log_multiple_inserts/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier log diff --git a/parser/testdata/00299_stripe_log_multiple_inserts/explain_15.txt b/parser/testdata/00299_stripe_log_multiple_inserts/explain_15.txt new file mode 100644 index 0000000000..ff5d76abfb --- /dev/null +++ b/parser/testdata/00299_stripe_log_multiple_inserts/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier log diff --git a/parser/testdata/00299_stripe_log_multiple_inserts/explain_17.txt b/parser/testdata/00299_stripe_log_multiple_inserts/explain_17.txt new file mode 100644 index 0000000000..ff5d76abfb --- /dev/null +++ b/parser/testdata/00299_stripe_log_multiple_inserts/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier log diff --git a/parser/testdata/00299_stripe_log_multiple_inserts/explain_22.txt b/parser/testdata/00299_stripe_log_multiple_inserts/explain_22.txt new file mode 100644 index 0000000000..ff5d76abfb --- /dev/null +++ b/parser/testdata/00299_stripe_log_multiple_inserts/explain_22.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier log diff --git a/parser/testdata/00299_stripe_log_multiple_inserts/explain_24.txt b/parser/testdata/00299_stripe_log_multiple_inserts/explain_24.txt new file mode 100644 index 0000000000..ff5d76abfb --- /dev/null +++ b/parser/testdata/00299_stripe_log_multiple_inserts/explain_24.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier log diff --git a/parser/testdata/00299_stripe_log_multiple_inserts/explain_26.txt b/parser/testdata/00299_stripe_log_multiple_inserts/explain_26.txt new file mode 100644 index 0000000000..ff5d76abfb --- /dev/null +++ b/parser/testdata/00299_stripe_log_multiple_inserts/explain_26.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier log diff --git a/parser/testdata/00299_stripe_log_multiple_inserts/explain_4.txt b/parser/testdata/00299_stripe_log_multiple_inserts/explain_4.txt new file mode 100644 index 0000000000..ff5d76abfb --- /dev/null +++ b/parser/testdata/00299_stripe_log_multiple_inserts/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier log diff --git a/parser/testdata/00299_stripe_log_multiple_inserts/explain_6.txt b/parser/testdata/00299_stripe_log_multiple_inserts/explain_6.txt new file mode 100644 index 0000000000..ff5d76abfb --- /dev/null +++ b/parser/testdata/00299_stripe_log_multiple_inserts/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier log diff --git a/parser/testdata/00299_stripe_log_multiple_inserts/explain_8.txt b/parser/testdata/00299_stripe_log_multiple_inserts/explain_8.txt new file mode 100644 index 0000000000..ff5d76abfb --- /dev/null +++ b/parser/testdata/00299_stripe_log_multiple_inserts/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier log diff --git a/parser/testdata/00306_insert_values_and_expressions/explain_3.txt b/parser/testdata/00306_insert_values_and_expressions/explain_3.txt new file mode 100644 index 0000000000..9e4284ce15 --- /dev/null +++ b/parser/testdata/00306_insert_values_and_expressions/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier insert diff --git a/parser/testdata/00306_insert_values_and_expressions/explain_7.txt b/parser/testdata/00306_insert_values_and_expressions/explain_7.txt new file mode 100644 index 0000000000..29ba0059d0 --- /dev/null +++ b/parser/testdata/00306_insert_values_and_expressions/explain_7.txt @@ -0,0 +1,3 @@ +InsertQuery (children 1) + Identifier t_306 +11111 diff --git a/parser/testdata/00309_formats/explain_13.txt b/parser/testdata/00309_formats/explain_13.txt index 946bf58922..a719b0c16d 100644 --- a/parser/testdata/00309_formats/explain_13.txt +++ b/parser/testdata/00309_formats/explain_13.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 4) + SelectQuery (children 3) ExpressionList (children 3) Literal UInt64_36 (alias n) Function plus (alias d) (children 1) @@ -18,6 +18,5 @@ SelectWithUnionQuery (children 3) TableExpression (children 1) TableIdentifier system.numbers Literal UInt64_1 - Set Identifier RowBinaryWithNamesAndTypes Set diff --git a/parser/testdata/00309_formats/explain_14.txt b/parser/testdata/00309_formats/explain_14.txt index 10005c0c8b..2d907477cb 100644 --- a/parser/testdata/00309_formats/explain_14.txt +++ b/parser/testdata/00309_formats/explain_14.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 4) + SelectQuery (children 3) ExpressionList (children 3) Function plus (alias n) (children 1) ExpressionList (children 2) @@ -24,6 +24,5 @@ SelectWithUnionQuery (children 3) TableExpression (children 1) TableIdentifier system.numbers Literal UInt64_1 - Set Identifier TabSeparatedWithNamesAndTypes Set diff --git a/parser/testdata/00311_array_primary_key/explain_4.txt b/parser/testdata/00311_array_primary_key/explain_4.txt new file mode 100644 index 0000000000..f6a255310a --- /dev/null +++ b/parser/testdata/00311_array_primary_key/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier array_pk diff --git a/parser/testdata/00311_array_primary_key/explain_5.txt b/parser/testdata/00311_array_primary_key/explain_5.txt new file mode 100644 index 0000000000..f6a255310a --- /dev/null +++ b/parser/testdata/00311_array_primary_key/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier array_pk diff --git a/parser/testdata/00311_array_primary_key/explain_6.txt b/parser/testdata/00311_array_primary_key/explain_6.txt new file mode 100644 index 0000000000..f6a255310a --- /dev/null +++ b/parser/testdata/00311_array_primary_key/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier array_pk diff --git a/parser/testdata/00311_array_primary_key/explain_7.txt b/parser/testdata/00311_array_primary_key/explain_7.txt new file mode 100644 index 0000000000..f6a255310a --- /dev/null +++ b/parser/testdata/00311_array_primary_key/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier array_pk diff --git a/parser/testdata/00311_array_primary_key/explain_8.txt b/parser/testdata/00311_array_primary_key/explain_8.txt new file mode 100644 index 0000000000..f6a255310a --- /dev/null +++ b/parser/testdata/00311_array_primary_key/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier array_pk diff --git a/parser/testdata/00311_array_primary_key/explain_9.txt b/parser/testdata/00311_array_primary_key/explain_9.txt new file mode 100644 index 0000000000..f6a255310a --- /dev/null +++ b/parser/testdata/00311_array_primary_key/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier array_pk diff --git a/parser/testdata/00318_pk_tuple_order/explain_4.txt b/parser/testdata/00318_pk_tuple_order/explain_4.txt new file mode 100644 index 0000000000..e6fc84e488 --- /dev/null +++ b/parser/testdata/00318_pk_tuple_order/explain_4.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier pk + ExpressionList (children 3) + Identifier x + Identifier y + Identifier z diff --git a/parser/testdata/00319_index_for_like/explain_5.txt b/parser/testdata/00319_index_for_like/explain_5.txt new file mode 100644 index 0000000000..56ca1d1333 --- /dev/null +++ b/parser/testdata/00319_index_for_like/explain_5.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier index_for_like + ExpressionList (children 1) + Identifier s diff --git a/parser/testdata/00321_pk_set/explain_4.txt b/parser/testdata/00321_pk_set/explain_4.txt new file mode 100644 index 0000000000..489e3a2005 --- /dev/null +++ b/parser/testdata/00321_pk_set/explain_4.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier pk_set + ExpressionList (children 3) + Identifier n + Identifier host + Identifier code diff --git a/parser/testdata/00326_long_function_multi_if/explain_1367.txt b/parser/testdata/00326_long_function_multi_if/explain_1367.txt new file mode 100644 index 0000000000..3c7b1bce18 --- /dev/null +++ b/parser/testdata/00326_long_function_multi_if/explain_1367.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 4) + Identifier col1 + Identifier col2 + Identifier col3 + Identifier col4 diff --git a/parser/testdata/00326_long_function_multi_if/explain_1368.txt b/parser/testdata/00326_long_function_multi_if/explain_1368.txt new file mode 100644 index 0000000000..3c7b1bce18 --- /dev/null +++ b/parser/testdata/00326_long_function_multi_if/explain_1368.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 4) + Identifier col1 + Identifier col2 + Identifier col3 + Identifier col4 diff --git a/parser/testdata/00326_long_function_multi_if/explain_1369.txt b/parser/testdata/00326_long_function_multi_if/explain_1369.txt new file mode 100644 index 0000000000..3c7b1bce18 --- /dev/null +++ b/parser/testdata/00326_long_function_multi_if/explain_1369.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 4) + Identifier col1 + Identifier col2 + Identifier col3 + Identifier col4 diff --git a/parser/testdata/00326_long_function_multi_if/explain_1370.txt b/parser/testdata/00326_long_function_multi_if/explain_1370.txt new file mode 100644 index 0000000000..3c7b1bce18 --- /dev/null +++ b/parser/testdata/00326_long_function_multi_if/explain_1370.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 4) + Identifier col1 + Identifier col2 + Identifier col3 + Identifier col4 diff --git a/parser/testdata/00326_long_function_multi_if/explain_1371.txt b/parser/testdata/00326_long_function_multi_if/explain_1371.txt new file mode 100644 index 0000000000..3c7b1bce18 --- /dev/null +++ b/parser/testdata/00326_long_function_multi_if/explain_1371.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 4) + Identifier col1 + Identifier col2 + Identifier col3 + Identifier col4 diff --git a/parser/testdata/00326_long_function_multi_if/explain_1372.txt b/parser/testdata/00326_long_function_multi_if/explain_1372.txt new file mode 100644 index 0000000000..3c7b1bce18 --- /dev/null +++ b/parser/testdata/00326_long_function_multi_if/explain_1372.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 4) + Identifier col1 + Identifier col2 + Identifier col3 + Identifier col4 diff --git a/parser/testdata/00326_long_function_multi_if/explain_1373.txt b/parser/testdata/00326_long_function_multi_if/explain_1373.txt new file mode 100644 index 0000000000..3c7b1bce18 --- /dev/null +++ b/parser/testdata/00326_long_function_multi_if/explain_1373.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 4) + Identifier col1 + Identifier col2 + Identifier col3 + Identifier col4 diff --git a/parser/testdata/00326_long_function_multi_if/explain_1374.txt b/parser/testdata/00326_long_function_multi_if/explain_1374.txt new file mode 100644 index 0000000000..3c7b1bce18 --- /dev/null +++ b/parser/testdata/00326_long_function_multi_if/explain_1374.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 4) + Identifier col1 + Identifier col2 + Identifier col3 + Identifier col4 diff --git a/parser/testdata/00326_long_function_multi_if/explain_1375.txt b/parser/testdata/00326_long_function_multi_if/explain_1375.txt new file mode 100644 index 0000000000..3c7b1bce18 --- /dev/null +++ b/parser/testdata/00326_long_function_multi_if/explain_1375.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 4) + Identifier col1 + Identifier col2 + Identifier col3 + Identifier col4 diff --git a/parser/testdata/00326_long_function_multi_if/explain_1376.txt b/parser/testdata/00326_long_function_multi_if/explain_1376.txt new file mode 100644 index 0000000000..3c7b1bce18 --- /dev/null +++ b/parser/testdata/00326_long_function_multi_if/explain_1376.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 4) + Identifier col1 + Identifier col2 + Identifier col3 + Identifier col4 diff --git a/parser/testdata/00326_long_function_multi_if/explain_1636.txt b/parser/testdata/00326_long_function_multi_if/explain_1636.txt new file mode 100644 index 0000000000..f8f7eca2c5 --- /dev/null +++ b/parser/testdata/00326_long_function_multi_if/explain_1636.txt @@ -0,0 +1,10 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 7) + Identifier col1 + Identifier col2 + Identifier col3 + Identifier col4 + Identifier col5 + Identifier col6 + Identifier col7 diff --git a/parser/testdata/00326_long_function_multi_if/explain_1637.txt b/parser/testdata/00326_long_function_multi_if/explain_1637.txt new file mode 100644 index 0000000000..f8f7eca2c5 --- /dev/null +++ b/parser/testdata/00326_long_function_multi_if/explain_1637.txt @@ -0,0 +1,10 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 7) + Identifier col1 + Identifier col2 + Identifier col3 + Identifier col4 + Identifier col5 + Identifier col6 + Identifier col7 diff --git a/parser/testdata/00326_long_function_multi_if/explain_1638.txt b/parser/testdata/00326_long_function_multi_if/explain_1638.txt new file mode 100644 index 0000000000..f8f7eca2c5 --- /dev/null +++ b/parser/testdata/00326_long_function_multi_if/explain_1638.txt @@ -0,0 +1,10 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 7) + Identifier col1 + Identifier col2 + Identifier col3 + Identifier col4 + Identifier col5 + Identifier col6 + Identifier col7 diff --git a/parser/testdata/00326_long_function_multi_if/explain_1639.txt b/parser/testdata/00326_long_function_multi_if/explain_1639.txt new file mode 100644 index 0000000000..f8f7eca2c5 --- /dev/null +++ b/parser/testdata/00326_long_function_multi_if/explain_1639.txt @@ -0,0 +1,10 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 7) + Identifier col1 + Identifier col2 + Identifier col3 + Identifier col4 + Identifier col5 + Identifier col6 + Identifier col7 diff --git a/parser/testdata/00326_long_function_multi_if/explain_1640.txt b/parser/testdata/00326_long_function_multi_if/explain_1640.txt new file mode 100644 index 0000000000..f8f7eca2c5 --- /dev/null +++ b/parser/testdata/00326_long_function_multi_if/explain_1640.txt @@ -0,0 +1,10 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 7) + Identifier col1 + Identifier col2 + Identifier col3 + Identifier col4 + Identifier col5 + Identifier col6 + Identifier col7 diff --git a/parser/testdata/00326_long_function_multi_if/explain_1641.txt b/parser/testdata/00326_long_function_multi_if/explain_1641.txt new file mode 100644 index 0000000000..f8f7eca2c5 --- /dev/null +++ b/parser/testdata/00326_long_function_multi_if/explain_1641.txt @@ -0,0 +1,10 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 7) + Identifier col1 + Identifier col2 + Identifier col3 + Identifier col4 + Identifier col5 + Identifier col6 + Identifier col7 diff --git a/parser/testdata/00326_long_function_multi_if/explain_1642.txt b/parser/testdata/00326_long_function_multi_if/explain_1642.txt new file mode 100644 index 0000000000..f8f7eca2c5 --- /dev/null +++ b/parser/testdata/00326_long_function_multi_if/explain_1642.txt @@ -0,0 +1,10 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 7) + Identifier col1 + Identifier col2 + Identifier col3 + Identifier col4 + Identifier col5 + Identifier col6 + Identifier col7 diff --git a/parser/testdata/00326_long_function_multi_if/explain_1643.txt b/parser/testdata/00326_long_function_multi_if/explain_1643.txt new file mode 100644 index 0000000000..f8f7eca2c5 --- /dev/null +++ b/parser/testdata/00326_long_function_multi_if/explain_1643.txt @@ -0,0 +1,10 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 7) + Identifier col1 + Identifier col2 + Identifier col3 + Identifier col4 + Identifier col5 + Identifier col6 + Identifier col7 diff --git a/parser/testdata/00326_long_function_multi_if/explain_1644.txt b/parser/testdata/00326_long_function_multi_if/explain_1644.txt new file mode 100644 index 0000000000..f8f7eca2c5 --- /dev/null +++ b/parser/testdata/00326_long_function_multi_if/explain_1644.txt @@ -0,0 +1,10 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 7) + Identifier col1 + Identifier col2 + Identifier col3 + Identifier col4 + Identifier col5 + Identifier col6 + Identifier col7 diff --git a/parser/testdata/00326_long_function_multi_if/explain_1645.txt b/parser/testdata/00326_long_function_multi_if/explain_1645.txt new file mode 100644 index 0000000000..f8f7eca2c5 --- /dev/null +++ b/parser/testdata/00326_long_function_multi_if/explain_1645.txt @@ -0,0 +1,10 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 7) + Identifier col1 + Identifier col2 + Identifier col3 + Identifier col4 + Identifier col5 + Identifier col6 + Identifier col7 diff --git a/parser/testdata/00326_long_function_multi_if/explain_1905.txt b/parser/testdata/00326_long_function_multi_if/explain_1905.txt new file mode 100644 index 0000000000..adcb7b052a --- /dev/null +++ b/parser/testdata/00326_long_function_multi_if/explain_1905.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 1) + Identifier col1 diff --git a/parser/testdata/00326_long_function_multi_if/explain_1906.txt b/parser/testdata/00326_long_function_multi_if/explain_1906.txt new file mode 100644 index 0000000000..adcb7b052a --- /dev/null +++ b/parser/testdata/00326_long_function_multi_if/explain_1906.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 1) + Identifier col1 diff --git a/parser/testdata/00326_long_function_multi_if/explain_1907.txt b/parser/testdata/00326_long_function_multi_if/explain_1907.txt new file mode 100644 index 0000000000..adcb7b052a --- /dev/null +++ b/parser/testdata/00326_long_function_multi_if/explain_1907.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 1) + Identifier col1 diff --git a/parser/testdata/00326_long_function_multi_if/explain_1908.txt b/parser/testdata/00326_long_function_multi_if/explain_1908.txt new file mode 100644 index 0000000000..adcb7b052a --- /dev/null +++ b/parser/testdata/00326_long_function_multi_if/explain_1908.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 1) + Identifier col1 diff --git a/parser/testdata/00326_long_function_multi_if/explain_1909.txt b/parser/testdata/00326_long_function_multi_if/explain_1909.txt new file mode 100644 index 0000000000..adcb7b052a --- /dev/null +++ b/parser/testdata/00326_long_function_multi_if/explain_1909.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 1) + Identifier col1 diff --git a/parser/testdata/00326_long_function_multi_if/explain_1910.txt b/parser/testdata/00326_long_function_multi_if/explain_1910.txt new file mode 100644 index 0000000000..adcb7b052a --- /dev/null +++ b/parser/testdata/00326_long_function_multi_if/explain_1910.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 1) + Identifier col1 diff --git a/parser/testdata/00326_long_function_multi_if/explain_1911.txt b/parser/testdata/00326_long_function_multi_if/explain_1911.txt new file mode 100644 index 0000000000..adcb7b052a --- /dev/null +++ b/parser/testdata/00326_long_function_multi_if/explain_1911.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 1) + Identifier col1 diff --git a/parser/testdata/00326_long_function_multi_if/explain_1912.txt b/parser/testdata/00326_long_function_multi_if/explain_1912.txt new file mode 100644 index 0000000000..adcb7b052a --- /dev/null +++ b/parser/testdata/00326_long_function_multi_if/explain_1912.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 1) + Identifier col1 diff --git a/parser/testdata/00326_long_function_multi_if/explain_1913.txt b/parser/testdata/00326_long_function_multi_if/explain_1913.txt new file mode 100644 index 0000000000..adcb7b052a --- /dev/null +++ b/parser/testdata/00326_long_function_multi_if/explain_1913.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 1) + Identifier col1 diff --git a/parser/testdata/00326_long_function_multi_if/explain_1914.txt b/parser/testdata/00326_long_function_multi_if/explain_1914.txt new file mode 100644 index 0000000000..adcb7b052a --- /dev/null +++ b/parser/testdata/00326_long_function_multi_if/explain_1914.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 1) + Identifier col1 diff --git a/parser/testdata/00326_long_function_multi_if/explain_1915.txt b/parser/testdata/00326_long_function_multi_if/explain_1915.txt new file mode 100644 index 0000000000..adcb7b052a --- /dev/null +++ b/parser/testdata/00326_long_function_multi_if/explain_1915.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 1) + Identifier col1 diff --git a/parser/testdata/00326_long_function_multi_if/explain_1916.txt b/parser/testdata/00326_long_function_multi_if/explain_1916.txt new file mode 100644 index 0000000000..adcb7b052a --- /dev/null +++ b/parser/testdata/00326_long_function_multi_if/explain_1916.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 1) + Identifier col1 diff --git a/parser/testdata/00326_long_function_multi_if/explain_1917.txt b/parser/testdata/00326_long_function_multi_if/explain_1917.txt new file mode 100644 index 0000000000..adcb7b052a --- /dev/null +++ b/parser/testdata/00326_long_function_multi_if/explain_1917.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 1) + Identifier col1 diff --git a/parser/testdata/00326_long_function_multi_if/explain_1918.txt b/parser/testdata/00326_long_function_multi_if/explain_1918.txt new file mode 100644 index 0000000000..adcb7b052a --- /dev/null +++ b/parser/testdata/00326_long_function_multi_if/explain_1918.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 1) + Identifier col1 diff --git a/parser/testdata/00326_long_function_multi_if/explain_1919.txt b/parser/testdata/00326_long_function_multi_if/explain_1919.txt new file mode 100644 index 0000000000..adcb7b052a --- /dev/null +++ b/parser/testdata/00326_long_function_multi_if/explain_1919.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 1) + Identifier col1 diff --git a/parser/testdata/00326_long_function_multi_if/explain_1920.txt b/parser/testdata/00326_long_function_multi_if/explain_1920.txt new file mode 100644 index 0000000000..adcb7b052a --- /dev/null +++ b/parser/testdata/00326_long_function_multi_if/explain_1920.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 1) + Identifier col1 diff --git a/parser/testdata/00326_long_function_multi_if/explain_1921.txt b/parser/testdata/00326_long_function_multi_if/explain_1921.txt new file mode 100644 index 0000000000..adcb7b052a --- /dev/null +++ b/parser/testdata/00326_long_function_multi_if/explain_1921.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 1) + Identifier col1 diff --git a/parser/testdata/00326_long_function_multi_if/explain_1926.txt b/parser/testdata/00326_long_function_multi_if/explain_1926.txt new file mode 100644 index 0000000000..07baa77887 --- /dev/null +++ b/parser/testdata/00326_long_function_multi_if/explain_1926.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier multi_if_check diff --git a/parser/testdata/00327_summing_composite_nested/explain_5.txt b/parser/testdata/00327_summing_composite_nested/explain_5.txt new file mode 100644 index 0000000000..36868f932f --- /dev/null +++ b/parser/testdata/00327_summing_composite_nested/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier summing_composite_key diff --git a/parser/testdata/00328_long_case_construction/explain.txt b/parser/testdata/00328_long_case_construction/explain.txt new file mode 100644 index 0000000000..e45e9c262d --- /dev/null +++ b/parser/testdata/00328_long_case_construction/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function multiIf (children 1) + ExpressionList (children 5) + Literal UInt64_1 + Literal UInt64_2 + Literal UInt64_3 + Literal UInt64_4 + Literal UInt64_5 diff --git a/parser/testdata/00328_long_case_construction/explain_1360.txt b/parser/testdata/00328_long_case_construction/explain_1360.txt new file mode 100644 index 0000000000..3c7b1bce18 --- /dev/null +++ b/parser/testdata/00328_long_case_construction/explain_1360.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 4) + Identifier col1 + Identifier col2 + Identifier col3 + Identifier col4 diff --git a/parser/testdata/00328_long_case_construction/explain_1361.txt b/parser/testdata/00328_long_case_construction/explain_1361.txt new file mode 100644 index 0000000000..3c7b1bce18 --- /dev/null +++ b/parser/testdata/00328_long_case_construction/explain_1361.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 4) + Identifier col1 + Identifier col2 + Identifier col3 + Identifier col4 diff --git a/parser/testdata/00328_long_case_construction/explain_1362.txt b/parser/testdata/00328_long_case_construction/explain_1362.txt new file mode 100644 index 0000000000..3c7b1bce18 --- /dev/null +++ b/parser/testdata/00328_long_case_construction/explain_1362.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 4) + Identifier col1 + Identifier col2 + Identifier col3 + Identifier col4 diff --git a/parser/testdata/00328_long_case_construction/explain_1363.txt b/parser/testdata/00328_long_case_construction/explain_1363.txt new file mode 100644 index 0000000000..3c7b1bce18 --- /dev/null +++ b/parser/testdata/00328_long_case_construction/explain_1363.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 4) + Identifier col1 + Identifier col2 + Identifier col3 + Identifier col4 diff --git a/parser/testdata/00328_long_case_construction/explain_1364.txt b/parser/testdata/00328_long_case_construction/explain_1364.txt new file mode 100644 index 0000000000..3c7b1bce18 --- /dev/null +++ b/parser/testdata/00328_long_case_construction/explain_1364.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 4) + Identifier col1 + Identifier col2 + Identifier col3 + Identifier col4 diff --git a/parser/testdata/00328_long_case_construction/explain_1365.txt b/parser/testdata/00328_long_case_construction/explain_1365.txt new file mode 100644 index 0000000000..3c7b1bce18 --- /dev/null +++ b/parser/testdata/00328_long_case_construction/explain_1365.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 4) + Identifier col1 + Identifier col2 + Identifier col3 + Identifier col4 diff --git a/parser/testdata/00328_long_case_construction/explain_1366.txt b/parser/testdata/00328_long_case_construction/explain_1366.txt new file mode 100644 index 0000000000..3c7b1bce18 --- /dev/null +++ b/parser/testdata/00328_long_case_construction/explain_1366.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 4) + Identifier col1 + Identifier col2 + Identifier col3 + Identifier col4 diff --git a/parser/testdata/00328_long_case_construction/explain_1367.txt b/parser/testdata/00328_long_case_construction/explain_1367.txt new file mode 100644 index 0000000000..3c7b1bce18 --- /dev/null +++ b/parser/testdata/00328_long_case_construction/explain_1367.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 4) + Identifier col1 + Identifier col2 + Identifier col3 + Identifier col4 diff --git a/parser/testdata/00328_long_case_construction/explain_1368.txt b/parser/testdata/00328_long_case_construction/explain_1368.txt new file mode 100644 index 0000000000..3c7b1bce18 --- /dev/null +++ b/parser/testdata/00328_long_case_construction/explain_1368.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 4) + Identifier col1 + Identifier col2 + Identifier col3 + Identifier col4 diff --git a/parser/testdata/00328_long_case_construction/explain_1369.txt b/parser/testdata/00328_long_case_construction/explain_1369.txt new file mode 100644 index 0000000000..3c7b1bce18 --- /dev/null +++ b/parser/testdata/00328_long_case_construction/explain_1369.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 4) + Identifier col1 + Identifier col2 + Identifier col3 + Identifier col4 diff --git a/parser/testdata/00328_long_case_construction/explain_1628.txt b/parser/testdata/00328_long_case_construction/explain_1628.txt new file mode 100644 index 0000000000..f8f7eca2c5 --- /dev/null +++ b/parser/testdata/00328_long_case_construction/explain_1628.txt @@ -0,0 +1,10 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 7) + Identifier col1 + Identifier col2 + Identifier col3 + Identifier col4 + Identifier col5 + Identifier col6 + Identifier col7 diff --git a/parser/testdata/00328_long_case_construction/explain_1629.txt b/parser/testdata/00328_long_case_construction/explain_1629.txt new file mode 100644 index 0000000000..f8f7eca2c5 --- /dev/null +++ b/parser/testdata/00328_long_case_construction/explain_1629.txt @@ -0,0 +1,10 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 7) + Identifier col1 + Identifier col2 + Identifier col3 + Identifier col4 + Identifier col5 + Identifier col6 + Identifier col7 diff --git a/parser/testdata/00328_long_case_construction/explain_1630.txt b/parser/testdata/00328_long_case_construction/explain_1630.txt new file mode 100644 index 0000000000..f8f7eca2c5 --- /dev/null +++ b/parser/testdata/00328_long_case_construction/explain_1630.txt @@ -0,0 +1,10 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 7) + Identifier col1 + Identifier col2 + Identifier col3 + Identifier col4 + Identifier col5 + Identifier col6 + Identifier col7 diff --git a/parser/testdata/00328_long_case_construction/explain_1631.txt b/parser/testdata/00328_long_case_construction/explain_1631.txt new file mode 100644 index 0000000000..f8f7eca2c5 --- /dev/null +++ b/parser/testdata/00328_long_case_construction/explain_1631.txt @@ -0,0 +1,10 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 7) + Identifier col1 + Identifier col2 + Identifier col3 + Identifier col4 + Identifier col5 + Identifier col6 + Identifier col7 diff --git a/parser/testdata/00328_long_case_construction/explain_1632.txt b/parser/testdata/00328_long_case_construction/explain_1632.txt new file mode 100644 index 0000000000..f8f7eca2c5 --- /dev/null +++ b/parser/testdata/00328_long_case_construction/explain_1632.txt @@ -0,0 +1,10 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 7) + Identifier col1 + Identifier col2 + Identifier col3 + Identifier col4 + Identifier col5 + Identifier col6 + Identifier col7 diff --git a/parser/testdata/00328_long_case_construction/explain_1633.txt b/parser/testdata/00328_long_case_construction/explain_1633.txt new file mode 100644 index 0000000000..f8f7eca2c5 --- /dev/null +++ b/parser/testdata/00328_long_case_construction/explain_1633.txt @@ -0,0 +1,10 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 7) + Identifier col1 + Identifier col2 + Identifier col3 + Identifier col4 + Identifier col5 + Identifier col6 + Identifier col7 diff --git a/parser/testdata/00328_long_case_construction/explain_1634.txt b/parser/testdata/00328_long_case_construction/explain_1634.txt new file mode 100644 index 0000000000..f8f7eca2c5 --- /dev/null +++ b/parser/testdata/00328_long_case_construction/explain_1634.txt @@ -0,0 +1,10 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 7) + Identifier col1 + Identifier col2 + Identifier col3 + Identifier col4 + Identifier col5 + Identifier col6 + Identifier col7 diff --git a/parser/testdata/00328_long_case_construction/explain_1635.txt b/parser/testdata/00328_long_case_construction/explain_1635.txt new file mode 100644 index 0000000000..f8f7eca2c5 --- /dev/null +++ b/parser/testdata/00328_long_case_construction/explain_1635.txt @@ -0,0 +1,10 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 7) + Identifier col1 + Identifier col2 + Identifier col3 + Identifier col4 + Identifier col5 + Identifier col6 + Identifier col7 diff --git a/parser/testdata/00328_long_case_construction/explain_1636.txt b/parser/testdata/00328_long_case_construction/explain_1636.txt new file mode 100644 index 0000000000..f8f7eca2c5 --- /dev/null +++ b/parser/testdata/00328_long_case_construction/explain_1636.txt @@ -0,0 +1,10 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 7) + Identifier col1 + Identifier col2 + Identifier col3 + Identifier col4 + Identifier col5 + Identifier col6 + Identifier col7 diff --git a/parser/testdata/00328_long_case_construction/explain_1637.txt b/parser/testdata/00328_long_case_construction/explain_1637.txt new file mode 100644 index 0000000000..f8f7eca2c5 --- /dev/null +++ b/parser/testdata/00328_long_case_construction/explain_1637.txt @@ -0,0 +1,10 @@ +InsertQuery (children 2) + Identifier multi_if_check + ExpressionList (children 7) + Identifier col1 + Identifier col2 + Identifier col3 + Identifier col4 + Identifier col5 + Identifier col6 + Identifier col7 diff --git a/parser/testdata/00331_final_and_prewhere/explain_4.txt b/parser/testdata/00331_final_and_prewhere/explain_4.txt new file mode 100644 index 0000000000..d91516a6f9 --- /dev/null +++ b/parser/testdata/00331_final_and_prewhere/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replace diff --git a/parser/testdata/00331_final_and_prewhere/explain_5.txt b/parser/testdata/00331_final_and_prewhere/explain_5.txt new file mode 100644 index 0000000000..d91516a6f9 --- /dev/null +++ b/parser/testdata/00331_final_and_prewhere/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replace diff --git a/parser/testdata/00331_final_and_prewhere/explain_6.txt b/parser/testdata/00331_final_and_prewhere/explain_6.txt new file mode 100644 index 0000000000..d91516a6f9 --- /dev/null +++ b/parser/testdata/00331_final_and_prewhere/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replace diff --git a/parser/testdata/00338_replicate_array_of_strings/explain_13.txt b/parser/testdata/00338_replicate_array_of_strings/explain_13.txt new file mode 100644 index 0000000000..dd7e4374b8 --- /dev/null +++ b/parser/testdata/00338_replicate_array_of_strings/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier bad_arrays diff --git a/parser/testdata/00338_replicate_array_of_strings/explain_3.txt b/parser/testdata/00338_replicate_array_of_strings/explain_3.txt new file mode 100644 index 0000000000..dd7e4374b8 --- /dev/null +++ b/parser/testdata/00338_replicate_array_of_strings/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier bad_arrays diff --git a/parser/testdata/00338_replicate_array_of_strings/explain_8.txt b/parser/testdata/00338_replicate_array_of_strings/explain_8.txt new file mode 100644 index 0000000000..dd7e4374b8 --- /dev/null +++ b/parser/testdata/00338_replicate_array_of_strings/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier bad_arrays diff --git a/parser/testdata/00345_index_accurate_comparison/explain_4.txt b/parser/testdata/00345_index_accurate_comparison/explain_4.txt new file mode 100644 index 0000000000..ba77e58921 --- /dev/null +++ b/parser/testdata/00345_index_accurate_comparison/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier index diff --git a/parser/testdata/00345_index_accurate_comparison/explain_5.txt b/parser/testdata/00345_index_accurate_comparison/explain_5.txt new file mode 100644 index 0000000000..ba77e58921 --- /dev/null +++ b/parser/testdata/00345_index_accurate_comparison/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier index diff --git a/parser/testdata/00352_external_sorting_and_constants/explain_2.txt b/parser/testdata/00352_external_sorting_and_constants/explain_2.txt new file mode 100644 index 0000000000..788ab2e820 --- /dev/null +++ b/parser/testdata/00352_external_sorting_and_constants/explain_2.txt @@ -0,0 +1,28 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 2) + Identifier number + Literal \'Hello\' (alias k) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_1000000 + ExpressionList (children 2) + OrderByElement (children 1) + Identifier number + OrderByElement (children 1) + Identifier k + Literal UInt64_999990 + Literal UInt64_100 + Set diff --git a/parser/testdata/00352_external_sorting_and_constants/explain_3.txt b/parser/testdata/00352_external_sorting_and_constants/explain_3.txt new file mode 100644 index 0000000000..04a856b12a --- /dev/null +++ b/parser/testdata/00352_external_sorting_and_constants/explain_3.txt @@ -0,0 +1,30 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 2) + Identifier number + Literal \'Hello\' (alias k) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_1000000 + ExpressionList (children 3) + OrderByElement (children 1) + Identifier k + OrderByElement (children 1) + Identifier number + OrderByElement (children 1) + Identifier k + Literal UInt64_999990 + Literal UInt64_100 + Set diff --git a/parser/testdata/00352_external_sorting_and_constants/explain_4.txt b/parser/testdata/00352_external_sorting_and_constants/explain_4.txt new file mode 100644 index 0000000000..f45fc64254 --- /dev/null +++ b/parser/testdata/00352_external_sorting_and_constants/explain_4.txt @@ -0,0 +1,30 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 2) + Identifier number + Literal \'Hello\' (alias k) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_1000000 + ExpressionList (children 3) + OrderByElement (children 1) + Identifier number + OrderByElement (children 1) + Identifier k + OrderByElement (children 1) + Identifier number + Literal UInt64_999990 + Literal UInt64_100 + Set diff --git a/parser/testdata/00357_to_string_complex_types/explain_7.txt b/parser/testdata/00357_to_string_complex_types/explain_7.txt new file mode 100644 index 0000000000..698f56adbe --- /dev/null +++ b/parser/testdata/00357_to_string_complex_types/explain_7.txt @@ -0,0 +1,44 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 5) + Function toDateTime64 (children 1) + ExpressionList (children 2) + Literal \'2024-01-01 00:00:00.00\' + Literal UInt64_6 + Function CAST (children 1) + ExpressionList (children 2) + Function toDateTime64 (children 1) + ExpressionList (children 2) + Literal \'2024-01-01 00:00:00.100\' + Literal UInt64_6 + Literal \'String\' + Function toString (children 1) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Function toDateTime64 (children 1) + ExpressionList (children 2) + Literal \'2024-01-01 00:00:00.12000\' + Literal UInt64_6 + Function toString (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 2) + Function toDateTime64 (children 1) + ExpressionList (children 2) + Literal \'2024-01-01 00:00:00.123000\' + Literal UInt64_6 + Function toDateTime64 (children 1) + ExpressionList (children 2) + Literal \'2024-01-01 00:00:00.123400\' + Literal UInt64_6 + Function CAST (children 1) + ExpressionList (children 2) + Function JSONExtractString (children 1) + ExpressionList (children 2) + Literal \'{"a" : "2024-01-01 00:00:00"}\' + Literal \'a\' + Literal \'DateTime64(6)\' + Set diff --git a/parser/testdata/00361_shared_array_offsets_and_squash_blocks/explain_5.txt b/parser/testdata/00361_shared_array_offsets_and_squash_blocks/explain_5.txt new file mode 100644 index 0000000000..c7508f4900 --- /dev/null +++ b/parser/testdata/00361_shared_array_offsets_and_squash_blocks/explain_5.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier nested1 + ExpressionList (children 3) + Identifier x + Identifier n.a + Identifier n.b diff --git a/parser/testdata/00363_defaults/explain_4.txt b/parser/testdata/00363_defaults/explain_4.txt new file mode 100644 index 0000000000..d490c61271 --- /dev/null +++ b/parser/testdata/00363_defaults/explain_4.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier prewhere_defaults + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00363_defaults/explain_9.txt b/parser/testdata/00363_defaults/explain_9.txt new file mode 100644 index 0000000000..d490c61271 --- /dev/null +++ b/parser/testdata/00363_defaults/explain_9.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier prewhere_defaults + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00364_java_style_denormals/explain.txt b/parser/testdata/00364_java_style_denormals/explain.txt new file mode 100644 index 0000000000..e87f3ebb7d --- /dev/null +++ b/parser/testdata/00364_java_style_denormals/explain.txt @@ -0,0 +1,155 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 50) + Function toFloat64 (children 1) + ExpressionList (children 1) + Literal \'inf\' + Function toFloat64 (children 1) + ExpressionList (children 1) + Literal \'-inf\' + Function toFloat64 (children 1) + ExpressionList (children 1) + Literal \'INF\' + Function toFloat64 (children 1) + ExpressionList (children 1) + Literal \'-INF\' + Function toFloat64 (children 1) + ExpressionList (children 1) + Literal \'Infinity\' + Function toFloat64 (children 1) + ExpressionList (children 1) + Literal \'-Infinity\' + Function toFloat64 (children 1) + ExpressionList (children 1) + Literal \'nan\' + Function toFloat64 (children 1) + ExpressionList (children 1) + Literal \'-nan\' + Function toFloat64 (children 1) + ExpressionList (children 1) + Literal \'NAN\' + Function toFloat64 (children 1) + ExpressionList (children 1) + Literal \'-NAN\' + Function toFloat64 (children 1) + ExpressionList (children 1) + Literal \'NaN\' + Function toFloat64 (children 1) + ExpressionList (children 1) + Literal \'-NaN\' + Function toFloat64OrZero (children 1) + ExpressionList (children 1) + Literal \'in\' + Function toFloat64OrZero (children 1) + ExpressionList (children 1) + Literal \'-in\' + Function toFloat64OrZero (children 1) + ExpressionList (children 1) + Literal \'INFi\' + Function toFloat64OrZero (children 1) + ExpressionList (children 1) + Literal \'-INFi\' + Function toFloat64OrZero (children 1) + ExpressionList (children 1) + Literal \'Infinit\' + Function toFloat64OrZero (children 1) + ExpressionList (children 1) + Literal \'-Infinit\' + Function toFloat64OrZero (children 1) + ExpressionList (children 1) + Literal \'na\' + Function toFloat64OrZero (children 1) + ExpressionList (children 1) + Literal \'-na\' + Function toFloat64OrZero (children 1) + ExpressionList (children 1) + Literal \'NANo\' + Function toFloat64OrZero (children 1) + ExpressionList (children 1) + Literal \'-NANo\' + Function toFloat64OrZero (children 1) + ExpressionList (children 1) + Literal \'NaN+\' + Function toFloat64OrZero (children 1) + ExpressionList (children 1) + Literal \'-NaNa\' + Function toFloat64OrZero (children 1) + ExpressionList (children 1) + Literal \'+Na\' + Function toFloat32 (children 1) + ExpressionList (children 1) + Literal \'inf\' + Function toFloat32 (children 1) + ExpressionList (children 1) + Literal \'-inf\' + Function toFloat32 (children 1) + ExpressionList (children 1) + Literal \'INF\' + Function toFloat32 (children 1) + ExpressionList (children 1) + Literal \'-INF\' + Function toFloat32 (children 1) + ExpressionList (children 1) + Literal \'Infinity\' + Function toFloat32 (children 1) + ExpressionList (children 1) + Literal \'-Infinity\' + Function toFloat32 (children 1) + ExpressionList (children 1) + Literal \'nan\' + Function toFloat32 (children 1) + ExpressionList (children 1) + Literal \'-nan\' + Function toFloat32 (children 1) + ExpressionList (children 1) + Literal \'NAN\' + Function toFloat32 (children 1) + ExpressionList (children 1) + Literal \'-NAN\' + Function toFloat32 (children 1) + ExpressionList (children 1) + Literal \'NaN\' + Function toFloat32 (children 1) + ExpressionList (children 1) + Literal \'-NaN\' + Function toFloat32OrZero (children 1) + ExpressionList (children 1) + Literal \'in\' + Function toFloat32OrZero (children 1) + ExpressionList (children 1) + Literal \'-in\' + Function toFloat32OrZero (children 1) + ExpressionList (children 1) + Literal \'INFi\' + Function toFloat32OrZero (children 1) + ExpressionList (children 1) + Literal \'-INFi\' + Function toFloat32OrZero (children 1) + ExpressionList (children 1) + Literal \'Infinit\' + Function toFloat32OrZero (children 1) + ExpressionList (children 1) + Literal \'-Infinit\' + Function toFloat32OrZero (children 1) + ExpressionList (children 1) + Literal \'na\' + Function toFloat32OrZero (children 1) + ExpressionList (children 1) + Literal \'-na\' + Function toFloat32OrZero (children 1) + ExpressionList (children 1) + Literal \'NANo\' + Function toFloat32OrZero (children 1) + ExpressionList (children 1) + Literal \'-NANo\' + Function toFloat32OrZero (children 1) + ExpressionList (children 1) + Literal \'NaN+\' + Function toFloat32OrZero (children 1) + ExpressionList (children 1) + Literal \'-NaNa\' + Function toFloat32OrZero (children 1) + ExpressionList (children 1) + Literal \'+Na\' + Identifier TabSeparated diff --git a/parser/testdata/00367_visible_width_of_array_tuple_enum/explain.txt b/parser/testdata/00367_visible_width_of_array_tuple_enum/explain.txt new file mode 100644 index 0000000000..c050b7f40c --- /dev/null +++ b/parser/testdata/00367_visible_width_of_array_tuple_enum/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function CAST (alias x) (children 1) + ExpressionList (children 2) + Literal Array_[\'hello\'] + Literal \'Array(Enum8(\\\'hello\\\' = 1))\' + Function tuple (alias y) (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Function CAST (children 1) + ExpressionList (children 2) + Literal \'hello\' + Literal \'Enum8(\\\'hello\\\' = 1)\' + Identifier PrettyCompactNoEscapes diff --git a/parser/testdata/00381_first_significant_subdomain/explain.txt b/parser/testdata/00381_first_significant_subdomain/explain.txt new file mode 100644 index 0000000000..7dce54c41a --- /dev/null +++ b/parser/testdata/00381_first_significant_subdomain/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 3) + Function firstSignificantSubdomain (alias canada) (children 1) + ExpressionList (children 1) + Literal \'http://hello.canada.ca\' + Function firstSignificantSubdomain (alias congo) (children 1) + ExpressionList (children 1) + Literal \'http://hello.congo.com\' + Function firstSignificantSubdomain (alias why) (children 1) + ExpressionList (children 1) + Literal \'http://pochemu.net-domena.ru\' diff --git a/parser/testdata/00386_enum_in_pk/explain_4.txt b/parser/testdata/00386_enum_in_pk/explain_4.txt new file mode 100644 index 0000000000..f14af80d85 --- /dev/null +++ b/parser/testdata/00386_enum_in_pk/explain_4.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier enum_pk + ExpressionList (children 2) + Identifier x + Identifier d diff --git a/parser/testdata/00388_enum_with_totals/explain_3.txt b/parser/testdata/00388_enum_with_totals/explain_3.txt new file mode 100644 index 0000000000..9af57295b8 --- /dev/null +++ b/parser/testdata/00388_enum_with_totals/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier enum_totals diff --git a/parser/testdata/00392_enum_nested_alter/explain_21.txt b/parser/testdata/00392_enum_nested_alter/explain_21.txt new file mode 100644 index 0000000000..92187641f3 --- /dev/null +++ b/parser/testdata/00392_enum_nested_alter/explain_21.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier enum_nested_alter + ExpressionList (children 3) + Identifier x + Identifier tasks.errcategory + Identifier tasks.status diff --git a/parser/testdata/00392_enum_nested_alter/explain_24.txt b/parser/testdata/00392_enum_nested_alter/explain_24.txt new file mode 100644 index 0000000000..92187641f3 --- /dev/null +++ b/parser/testdata/00392_enum_nested_alter/explain_24.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier enum_nested_alter + ExpressionList (children 3) + Identifier x + Identifier tasks.errcategory + Identifier tasks.status diff --git a/parser/testdata/00392_enum_nested_alter/explain_29.txt b/parser/testdata/00392_enum_nested_alter/explain_29.txt new file mode 100644 index 0000000000..9a84133ce6 --- /dev/null +++ b/parser/testdata/00392_enum_nested_alter/explain_29.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier enum_nested_alter + ExpressionList (children 2) + Identifier x + Identifier n.e diff --git a/parser/testdata/00392_enum_nested_alter/explain_4.txt b/parser/testdata/00392_enum_nested_alter/explain_4.txt new file mode 100644 index 0000000000..9a84133ce6 --- /dev/null +++ b/parser/testdata/00392_enum_nested_alter/explain_4.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier enum_nested_alter + ExpressionList (children 2) + Identifier x + Identifier n.e diff --git a/parser/testdata/00392_enum_nested_alter/explain_7.txt b/parser/testdata/00392_enum_nested_alter/explain_7.txt new file mode 100644 index 0000000000..9a84133ce6 --- /dev/null +++ b/parser/testdata/00392_enum_nested_alter/explain_7.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier enum_nested_alter + ExpressionList (children 2) + Identifier x + Identifier n.e diff --git a/parser/testdata/00394_new_nested_column_keeps_offsets/explain_4.txt b/parser/testdata/00394_new_nested_column_keeps_offsets/explain_4.txt new file mode 100644 index 0000000000..0ba2712718 --- /dev/null +++ b/parser/testdata/00394_new_nested_column_keeps_offsets/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier alter_00394 diff --git a/parser/testdata/00394_new_nested_column_keeps_offsets/explain_5.txt b/parser/testdata/00394_new_nested_column_keeps_offsets/explain_5.txt new file mode 100644 index 0000000000..0ba2712718 --- /dev/null +++ b/parser/testdata/00394_new_nested_column_keeps_offsets/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier alter_00394 diff --git a/parser/testdata/00394_new_nested_column_keeps_offsets/explain_6.txt b/parser/testdata/00394_new_nested_column_keeps_offsets/explain_6.txt new file mode 100644 index 0000000000..0ba2712718 --- /dev/null +++ b/parser/testdata/00394_new_nested_column_keeps_offsets/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier alter_00394 diff --git a/parser/testdata/00394_replaceall_vector_fixed/explain_11.txt b/parser/testdata/00394_replaceall_vector_fixed/explain_11.txt new file mode 100644 index 0000000000..74a2000cef --- /dev/null +++ b/parser/testdata/00394_replaceall_vector_fixed/explain_11.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier replaceall + ExpressionList (children 1) + Identifier fs diff --git a/parser/testdata/00394_replaceall_vector_fixed/explain_3.txt b/parser/testdata/00394_replaceall_vector_fixed/explain_3.txt new file mode 100644 index 0000000000..c16341a7f6 --- /dev/null +++ b/parser/testdata/00394_replaceall_vector_fixed/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replaceall diff --git a/parser/testdata/00394_replaceall_vector_fixed/explain_4.txt b/parser/testdata/00394_replaceall_vector_fixed/explain_4.txt new file mode 100644 index 0000000000..c16341a7f6 --- /dev/null +++ b/parser/testdata/00394_replaceall_vector_fixed/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replaceall diff --git a/parser/testdata/00394_replaceall_vector_fixed/explain_5.txt b/parser/testdata/00394_replaceall_vector_fixed/explain_5.txt new file mode 100644 index 0000000000..c16341a7f6 --- /dev/null +++ b/parser/testdata/00394_replaceall_vector_fixed/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replaceall diff --git a/parser/testdata/00394_replaceall_vector_fixed/explain_6.txt b/parser/testdata/00394_replaceall_vector_fixed/explain_6.txt new file mode 100644 index 0000000000..c16341a7f6 --- /dev/null +++ b/parser/testdata/00394_replaceall_vector_fixed/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replaceall diff --git a/parser/testdata/00395_nullable/explain_10.txt b/parser/testdata/00395_nullable/explain_10.txt new file mode 100644 index 0000000000..eda68b9fb2 --- /dev/null +++ b/parser/testdata/00395_nullable/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test1_00395 diff --git a/parser/testdata/00395_nullable/explain_118.txt b/parser/testdata/00395_nullable/explain_118.txt new file mode 100644 index 0000000000..1bb2cde8cc --- /dev/null +++ b/parser/testdata/00395_nullable/explain_118.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test1_00395 + ExpressionList (children 1) + Identifier col1 diff --git a/parser/testdata/00395_nullable/explain_123.txt b/parser/testdata/00395_nullable/explain_123.txt new file mode 100644 index 0000000000..1bb2cde8cc --- /dev/null +++ b/parser/testdata/00395_nullable/explain_123.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test1_00395 + ExpressionList (children 1) + Identifier col1 diff --git a/parser/testdata/00395_nullable/explain_130.txt b/parser/testdata/00395_nullable/explain_130.txt new file mode 100644 index 0000000000..1bb2cde8cc --- /dev/null +++ b/parser/testdata/00395_nullable/explain_130.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test1_00395 + ExpressionList (children 1) + Identifier col1 diff --git a/parser/testdata/00395_nullable/explain_137.txt b/parser/testdata/00395_nullable/explain_137.txt new file mode 100644 index 0000000000..fa3a4dc90c --- /dev/null +++ b/parser/testdata/00395_nullable/explain_137.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test1_00395 + ExpressionList (children 2) + Identifier col1 + Identifier col2 diff --git a/parser/testdata/00395_nullable/explain_141.txt b/parser/testdata/00395_nullable/explain_141.txt new file mode 100644 index 0000000000..fa3a4dc90c --- /dev/null +++ b/parser/testdata/00395_nullable/explain_141.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test1_00395 + ExpressionList (children 2) + Identifier col1 + Identifier col2 diff --git a/parser/testdata/00395_nullable/explain_15.txt b/parser/testdata/00395_nullable/explain_15.txt new file mode 100644 index 0000000000..eda68b9fb2 --- /dev/null +++ b/parser/testdata/00395_nullable/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test1_00395 diff --git a/parser/testdata/00395_nullable/explain_156.txt b/parser/testdata/00395_nullable/explain_156.txt new file mode 100644 index 0000000000..1bb2cde8cc --- /dev/null +++ b/parser/testdata/00395_nullable/explain_156.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test1_00395 + ExpressionList (children 1) + Identifier col1 diff --git a/parser/testdata/00395_nullable/explain_160.txt b/parser/testdata/00395_nullable/explain_160.txt new file mode 100644 index 0000000000..1bb2cde8cc --- /dev/null +++ b/parser/testdata/00395_nullable/explain_160.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test1_00395 + ExpressionList (children 1) + Identifier col1 diff --git a/parser/testdata/00395_nullable/explain_164.txt b/parser/testdata/00395_nullable/explain_164.txt new file mode 100644 index 0000000000..1bb2cde8cc --- /dev/null +++ b/parser/testdata/00395_nullable/explain_164.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test1_00395 + ExpressionList (children 1) + Identifier col1 diff --git a/parser/testdata/00395_nullable/explain_168.txt b/parser/testdata/00395_nullable/explain_168.txt new file mode 100644 index 0000000000..1bb2cde8cc --- /dev/null +++ b/parser/testdata/00395_nullable/explain_168.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test1_00395 + ExpressionList (children 1) + Identifier col1 diff --git a/parser/testdata/00395_nullable/explain_173.txt b/parser/testdata/00395_nullable/explain_173.txt new file mode 100644 index 0000000000..1bb2cde8cc --- /dev/null +++ b/parser/testdata/00395_nullable/explain_173.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test1_00395 + ExpressionList (children 1) + Identifier col1 diff --git a/parser/testdata/00395_nullable/explain_182.txt b/parser/testdata/00395_nullable/explain_182.txt new file mode 100644 index 0000000000..1bb2cde8cc --- /dev/null +++ b/parser/testdata/00395_nullable/explain_182.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test1_00395 + ExpressionList (children 1) + Identifier col1 diff --git a/parser/testdata/00395_nullable/explain_190.txt b/parser/testdata/00395_nullable/explain_190.txt new file mode 100644 index 0000000000..fa3a4dc90c --- /dev/null +++ b/parser/testdata/00395_nullable/explain_190.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test1_00395 + ExpressionList (children 2) + Identifier col1 + Identifier col2 diff --git a/parser/testdata/00395_nullable/explain_194.txt b/parser/testdata/00395_nullable/explain_194.txt new file mode 100644 index 0000000000..fa3a4dc90c --- /dev/null +++ b/parser/testdata/00395_nullable/explain_194.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test1_00395 + ExpressionList (children 2) + Identifier col1 + Identifier col2 diff --git a/parser/testdata/00395_nullable/explain_198.txt b/parser/testdata/00395_nullable/explain_198.txt new file mode 100644 index 0000000000..fa3a4dc90c --- /dev/null +++ b/parser/testdata/00395_nullable/explain_198.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test1_00395 + ExpressionList (children 2) + Identifier col1 + Identifier col2 diff --git a/parser/testdata/00395_nullable/explain_20.txt b/parser/testdata/00395_nullable/explain_20.txt new file mode 100644 index 0000000000..eda68b9fb2 --- /dev/null +++ b/parser/testdata/00395_nullable/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test1_00395 diff --git a/parser/testdata/00395_nullable/explain_202.txt b/parser/testdata/00395_nullable/explain_202.txt new file mode 100644 index 0000000000..fa3a4dc90c --- /dev/null +++ b/parser/testdata/00395_nullable/explain_202.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test1_00395 + ExpressionList (children 2) + Identifier col1 + Identifier col2 diff --git a/parser/testdata/00395_nullable/explain_207.txt b/parser/testdata/00395_nullable/explain_207.txt new file mode 100644 index 0000000000..efc5fd0b77 --- /dev/null +++ b/parser/testdata/00395_nullable/explain_207.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier test1_00395 + ExpressionList (children 3) + Identifier col1 + Identifier col2 + Identifier col3 diff --git a/parser/testdata/00395_nullable/explain_211.txt b/parser/testdata/00395_nullable/explain_211.txt new file mode 100644 index 0000000000..efc5fd0b77 --- /dev/null +++ b/parser/testdata/00395_nullable/explain_211.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier test1_00395 + ExpressionList (children 3) + Identifier col1 + Identifier col2 + Identifier col3 diff --git a/parser/testdata/00395_nullable/explain_215.txt b/parser/testdata/00395_nullable/explain_215.txt new file mode 100644 index 0000000000..fa3a4dc90c --- /dev/null +++ b/parser/testdata/00395_nullable/explain_215.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test1_00395 + ExpressionList (children 2) + Identifier col1 + Identifier col2 diff --git a/parser/testdata/00395_nullable/explain_219.txt b/parser/testdata/00395_nullable/explain_219.txt new file mode 100644 index 0000000000..fa3a4dc90c --- /dev/null +++ b/parser/testdata/00395_nullable/explain_219.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test1_00395 + ExpressionList (children 2) + Identifier col1 + Identifier col2 diff --git a/parser/testdata/00395_nullable/explain_223.txt b/parser/testdata/00395_nullable/explain_223.txt new file mode 100644 index 0000000000..efc5fd0b77 --- /dev/null +++ b/parser/testdata/00395_nullable/explain_223.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier test1_00395 + ExpressionList (children 3) + Identifier col1 + Identifier col2 + Identifier col3 diff --git a/parser/testdata/00395_nullable/explain_227.txt b/parser/testdata/00395_nullable/explain_227.txt new file mode 100644 index 0000000000..2a2bc7b6f6 --- /dev/null +++ b/parser/testdata/00395_nullable/explain_227.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier test1_00395 + ExpressionList (children 4) + Identifier col1 + Identifier col2 + Identifier col3 + Identifier col4 diff --git a/parser/testdata/00395_nullable/explain_231.txt b/parser/testdata/00395_nullable/explain_231.txt new file mode 100644 index 0000000000..fa3a4dc90c --- /dev/null +++ b/parser/testdata/00395_nullable/explain_231.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test1_00395 + ExpressionList (children 2) + Identifier col1 + Identifier col2 diff --git a/parser/testdata/00395_nullable/explain_25.txt b/parser/testdata/00395_nullable/explain_25.txt new file mode 100644 index 0000000000..eda68b9fb2 --- /dev/null +++ b/parser/testdata/00395_nullable/explain_25.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test1_00395 diff --git a/parser/testdata/00395_nullable/explain_30.txt b/parser/testdata/00395_nullable/explain_30.txt new file mode 100644 index 0000000000..eda68b9fb2 --- /dev/null +++ b/parser/testdata/00395_nullable/explain_30.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test1_00395 diff --git a/parser/testdata/00395_nullable/explain_35.txt b/parser/testdata/00395_nullable/explain_35.txt new file mode 100644 index 0000000000..1bb2cde8cc --- /dev/null +++ b/parser/testdata/00395_nullable/explain_35.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test1_00395 + ExpressionList (children 1) + Identifier col1 diff --git a/parser/testdata/00395_nullable/explain_42.txt b/parser/testdata/00395_nullable/explain_42.txt new file mode 100644 index 0000000000..fa3a4dc90c --- /dev/null +++ b/parser/testdata/00395_nullable/explain_42.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test1_00395 + ExpressionList (children 2) + Identifier col1 + Identifier col2 diff --git a/parser/testdata/00395_nullable/explain_48.txt b/parser/testdata/00395_nullable/explain_48.txt new file mode 100644 index 0000000000..fa3a4dc90c --- /dev/null +++ b/parser/testdata/00395_nullable/explain_48.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test1_00395 + ExpressionList (children 2) + Identifier col1 + Identifier col2 diff --git a/parser/testdata/00395_nullable/explain_74.txt b/parser/testdata/00395_nullable/explain_74.txt new file mode 100644 index 0000000000..eda68b9fb2 --- /dev/null +++ b/parser/testdata/00395_nullable/explain_74.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test1_00395 diff --git a/parser/testdata/00395_nullable/explain_91.txt b/parser/testdata/00395_nullable/explain_91.txt new file mode 100644 index 0000000000..efc5fd0b77 --- /dev/null +++ b/parser/testdata/00395_nullable/explain_91.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier test1_00395 + ExpressionList (children 3) + Identifier col1 + Identifier col2 + Identifier col3 diff --git a/parser/testdata/00395_nullable/explain_95.txt b/parser/testdata/00395_nullable/explain_95.txt new file mode 100644 index 0000000000..8dadccc552 --- /dev/null +++ b/parser/testdata/00395_nullable/explain_95.txt @@ -0,0 +1,8 @@ +InsertQuery (children 2) + Identifier test1_00395 + ExpressionList (children 5) + Identifier cond1 + Identifier then1 + Identifier cond2 + Identifier then2 + Identifier then3 diff --git a/parser/testdata/00399_group_uniq_array_date_datetime/explain_3.txt b/parser/testdata/00399_group_uniq_array_date_datetime/explain_3.txt new file mode 100644 index 0000000000..8db2daf1b6 --- /dev/null +++ b/parser/testdata/00399_group_uniq_array_date_datetime/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier grop_uniq_array_date diff --git a/parser/testdata/00399_group_uniq_array_date_datetime/explain_5.txt b/parser/testdata/00399_group_uniq_array_date_datetime/explain_5.txt new file mode 100644 index 0000000000..8db2daf1b6 --- /dev/null +++ b/parser/testdata/00399_group_uniq_array_date_datetime/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier grop_uniq_array_date diff --git a/parser/testdata/00409_shard_limit_by/explain_10.txt b/parser/testdata/00409_shard_limit_by/explain_10.txt new file mode 100644 index 0000000000..269eed5810 --- /dev/null +++ b/parser/testdata/00409_shard_limit_by/explain_10.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier limit_by + ExpressionList (children 2) + Identifier Num + Identifier Name diff --git a/parser/testdata/00409_shard_limit_by/explain_11.txt b/parser/testdata/00409_shard_limit_by/explain_11.txt new file mode 100644 index 0000000000..269eed5810 --- /dev/null +++ b/parser/testdata/00409_shard_limit_by/explain_11.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier limit_by + ExpressionList (children 2) + Identifier Num + Identifier Name diff --git a/parser/testdata/00409_shard_limit_by/explain_12.txt b/parser/testdata/00409_shard_limit_by/explain_12.txt new file mode 100644 index 0000000000..269eed5810 --- /dev/null +++ b/parser/testdata/00409_shard_limit_by/explain_12.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier limit_by + ExpressionList (children 2) + Identifier Num + Identifier Name diff --git a/parser/testdata/00409_shard_limit_by/explain_13.txt b/parser/testdata/00409_shard_limit_by/explain_13.txt new file mode 100644 index 0000000000..269eed5810 --- /dev/null +++ b/parser/testdata/00409_shard_limit_by/explain_13.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier limit_by + ExpressionList (children 2) + Identifier Num + Identifier Name diff --git a/parser/testdata/00409_shard_limit_by/explain_14.txt b/parser/testdata/00409_shard_limit_by/explain_14.txt new file mode 100644 index 0000000000..269eed5810 --- /dev/null +++ b/parser/testdata/00409_shard_limit_by/explain_14.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier limit_by + ExpressionList (children 2) + Identifier Num + Identifier Name diff --git a/parser/testdata/00409_shard_limit_by/explain_3.txt b/parser/testdata/00409_shard_limit_by/explain_3.txt new file mode 100644 index 0000000000..269eed5810 --- /dev/null +++ b/parser/testdata/00409_shard_limit_by/explain_3.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier limit_by + ExpressionList (children 2) + Identifier Num + Identifier Name diff --git a/parser/testdata/00409_shard_limit_by/explain_4.txt b/parser/testdata/00409_shard_limit_by/explain_4.txt new file mode 100644 index 0000000000..269eed5810 --- /dev/null +++ b/parser/testdata/00409_shard_limit_by/explain_4.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier limit_by + ExpressionList (children 2) + Identifier Num + Identifier Name diff --git a/parser/testdata/00409_shard_limit_by/explain_5.txt b/parser/testdata/00409_shard_limit_by/explain_5.txt new file mode 100644 index 0000000000..269eed5810 --- /dev/null +++ b/parser/testdata/00409_shard_limit_by/explain_5.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier limit_by + ExpressionList (children 2) + Identifier Num + Identifier Name diff --git a/parser/testdata/00409_shard_limit_by/explain_6.txt b/parser/testdata/00409_shard_limit_by/explain_6.txt new file mode 100644 index 0000000000..269eed5810 --- /dev/null +++ b/parser/testdata/00409_shard_limit_by/explain_6.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier limit_by + ExpressionList (children 2) + Identifier Num + Identifier Name diff --git a/parser/testdata/00409_shard_limit_by/explain_7.txt b/parser/testdata/00409_shard_limit_by/explain_7.txt new file mode 100644 index 0000000000..269eed5810 --- /dev/null +++ b/parser/testdata/00409_shard_limit_by/explain_7.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier limit_by + ExpressionList (children 2) + Identifier Num + Identifier Name diff --git a/parser/testdata/00409_shard_limit_by/explain_8.txt b/parser/testdata/00409_shard_limit_by/explain_8.txt new file mode 100644 index 0000000000..269eed5810 --- /dev/null +++ b/parser/testdata/00409_shard_limit_by/explain_8.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier limit_by + ExpressionList (children 2) + Identifier Num + Identifier Name diff --git a/parser/testdata/00409_shard_limit_by/explain_9.txt b/parser/testdata/00409_shard_limit_by/explain_9.txt new file mode 100644 index 0000000000..269eed5810 --- /dev/null +++ b/parser/testdata/00409_shard_limit_by/explain_9.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier limit_by + ExpressionList (children 2) + Identifier Num + Identifier Name diff --git a/parser/testdata/00411_merge_tree_where_const_in_set/explain_4.txt b/parser/testdata/00411_merge_tree_where_const_in_set/explain_4.txt new file mode 100644 index 0000000000..8318ae6301 --- /dev/null +++ b/parser/testdata/00411_merge_tree_where_const_in_set/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier const_in_const diff --git a/parser/testdata/00411_merge_tree_where_const_in_set/explain_5.txt b/parser/testdata/00411_merge_tree_where_const_in_set/explain_5.txt new file mode 100644 index 0000000000..8318ae6301 --- /dev/null +++ b/parser/testdata/00411_merge_tree_where_const_in_set/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier const_in_const diff --git a/parser/testdata/00411_merge_tree_where_const_in_set/explain_6.txt b/parser/testdata/00411_merge_tree_where_const_in_set/explain_6.txt new file mode 100644 index 0000000000..8318ae6301 --- /dev/null +++ b/parser/testdata/00411_merge_tree_where_const_in_set/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier const_in_const diff --git a/parser/testdata/00411_merge_tree_where_const_in_set/explain_7.txt b/parser/testdata/00411_merge_tree_where_const_in_set/explain_7.txt new file mode 100644 index 0000000000..8318ae6301 --- /dev/null +++ b/parser/testdata/00411_merge_tree_where_const_in_set/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier const_in_const diff --git a/parser/testdata/00411_merge_tree_where_const_in_set/explain_8.txt b/parser/testdata/00411_merge_tree_where_const_in_set/explain_8.txt new file mode 100644 index 0000000000..8318ae6301 --- /dev/null +++ b/parser/testdata/00411_merge_tree_where_const_in_set/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier const_in_const diff --git a/parser/testdata/00412_logical_expressions_optimizer/explain_4.txt b/parser/testdata/00412_logical_expressions_optimizer/explain_4.txt new file mode 100644 index 0000000000..04f66a3e53 --- /dev/null +++ b/parser/testdata/00412_logical_expressions_optimizer/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier merge_tree diff --git a/parser/testdata/00413_distinct/explain_10.txt b/parser/testdata/00413_distinct/explain_10.txt new file mode 100644 index 0000000000..673d9fc44a --- /dev/null +++ b/parser/testdata/00413_distinct/explain_10.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier distinct + ExpressionList (children 2) + Identifier Num + Identifier Name diff --git a/parser/testdata/00413_distinct/explain_11.txt b/parser/testdata/00413_distinct/explain_11.txt new file mode 100644 index 0000000000..673d9fc44a --- /dev/null +++ b/parser/testdata/00413_distinct/explain_11.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier distinct + ExpressionList (children 2) + Identifier Num + Identifier Name diff --git a/parser/testdata/00413_distinct/explain_12.txt b/parser/testdata/00413_distinct/explain_12.txt new file mode 100644 index 0000000000..673d9fc44a --- /dev/null +++ b/parser/testdata/00413_distinct/explain_12.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier distinct + ExpressionList (children 2) + Identifier Num + Identifier Name diff --git a/parser/testdata/00413_distinct/explain_13.txt b/parser/testdata/00413_distinct/explain_13.txt new file mode 100644 index 0000000000..673d9fc44a --- /dev/null +++ b/parser/testdata/00413_distinct/explain_13.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier distinct + ExpressionList (children 2) + Identifier Num + Identifier Name diff --git a/parser/testdata/00413_distinct/explain_14.txt b/parser/testdata/00413_distinct/explain_14.txt new file mode 100644 index 0000000000..673d9fc44a --- /dev/null +++ b/parser/testdata/00413_distinct/explain_14.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier distinct + ExpressionList (children 2) + Identifier Num + Identifier Name diff --git a/parser/testdata/00413_distinct/explain_3.txt b/parser/testdata/00413_distinct/explain_3.txt new file mode 100644 index 0000000000..673d9fc44a --- /dev/null +++ b/parser/testdata/00413_distinct/explain_3.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier distinct + ExpressionList (children 2) + Identifier Num + Identifier Name diff --git a/parser/testdata/00413_distinct/explain_4.txt b/parser/testdata/00413_distinct/explain_4.txt new file mode 100644 index 0000000000..673d9fc44a --- /dev/null +++ b/parser/testdata/00413_distinct/explain_4.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier distinct + ExpressionList (children 2) + Identifier Num + Identifier Name diff --git a/parser/testdata/00413_distinct/explain_5.txt b/parser/testdata/00413_distinct/explain_5.txt new file mode 100644 index 0000000000..673d9fc44a --- /dev/null +++ b/parser/testdata/00413_distinct/explain_5.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier distinct + ExpressionList (children 2) + Identifier Num + Identifier Name diff --git a/parser/testdata/00413_distinct/explain_6.txt b/parser/testdata/00413_distinct/explain_6.txt new file mode 100644 index 0000000000..673d9fc44a --- /dev/null +++ b/parser/testdata/00413_distinct/explain_6.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier distinct + ExpressionList (children 2) + Identifier Num + Identifier Name diff --git a/parser/testdata/00413_distinct/explain_7.txt b/parser/testdata/00413_distinct/explain_7.txt new file mode 100644 index 0000000000..673d9fc44a --- /dev/null +++ b/parser/testdata/00413_distinct/explain_7.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier distinct + ExpressionList (children 2) + Identifier Num + Identifier Name diff --git a/parser/testdata/00413_distinct/explain_8.txt b/parser/testdata/00413_distinct/explain_8.txt new file mode 100644 index 0000000000..673d9fc44a --- /dev/null +++ b/parser/testdata/00413_distinct/explain_8.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier distinct + ExpressionList (children 2) + Identifier Num + Identifier Name diff --git a/parser/testdata/00413_distinct/explain_9.txt b/parser/testdata/00413_distinct/explain_9.txt new file mode 100644 index 0000000000..673d9fc44a --- /dev/null +++ b/parser/testdata/00413_distinct/explain_9.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier distinct + ExpressionList (children 2) + Identifier Num + Identifier Name diff --git a/parser/testdata/00423_storage_log_single_thread/explain_9.txt b/parser/testdata/00423_storage_log_single_thread/explain_9.txt new file mode 100644 index 0000000000..ff5d76abfb --- /dev/null +++ b/parser/testdata/00423_storage_log_single_thread/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier log diff --git a/parser/testdata/00431_if_nulls/explain.txt b/parser/testdata/00431_if_nulls/explain.txt new file mode 100644 index 0000000000..e5f2796492 --- /dev/null +++ b/parser/testdata/00431_if_nulls/explain.txt @@ -0,0 +1,2 @@ +DropQuery nullable_00431 (children 1) + Identifier nullable_00431 diff --git a/parser/testdata/00432_aggregate_function_scalars_and_constants/explain_11.txt b/parser/testdata/00432_aggregate_function_scalars_and_constants/explain_11.txt new file mode 100644 index 0000000000..836b4a6558 --- /dev/null +++ b/parser/testdata/00432_aggregate_function_scalars_and_constants/explain_11.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier agg_func_col + ExpressionList (children 2) + Identifier k + Identifier af_avg1 diff --git a/parser/testdata/00432_aggregate_function_scalars_and_constants/explain_17.txt b/parser/testdata/00432_aggregate_function_scalars_and_constants/explain_17.txt new file mode 100644 index 0000000000..004b15e1a7 --- /dev/null +++ b/parser/testdata/00432_aggregate_function_scalars_and_constants/explain_17.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier agg_func_col + ExpressionList (children 3) + Identifier k + Identifier af_avg1 + Identifier af_gua diff --git a/parser/testdata/00432_aggregate_function_scalars_and_constants/explain_4.txt b/parser/testdata/00432_aggregate_function_scalars_and_constants/explain_4.txt new file mode 100644 index 0000000000..9f6603698e --- /dev/null +++ b/parser/testdata/00432_aggregate_function_scalars_and_constants/explain_4.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier agg_func_col + ExpressionList (children 1) + Identifier k diff --git a/parser/testdata/00434_tonullable/explain.txt b/parser/testdata/00434_tonullable/explain.txt new file mode 100644 index 0000000000..930e0095f9 --- /dev/null +++ b/parser/testdata/00434_tonullable/explain.txt @@ -0,0 +1,50 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 12) + Function toNullable (alias a) (children 1) + ExpressionList (children 1) + Literal NULL + Function toNullable (alias b) (children 1) + ExpressionList (children 1) + Literal \'Hello\' + Function toNullable (alias c) (children 1) + ExpressionList (children 1) + Function toNullable (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Function toNullable (alias d) (children 1) + ExpressionList (children 1) + Function materialize (children 1) + ExpressionList (children 1) + Literal NULL + Function toNullable (alias e) (children 1) + ExpressionList (children 1) + Function materialize (children 1) + ExpressionList (children 1) + Literal \'Hello\' + Function toNullable (alias f) (children 1) + ExpressionList (children 1) + Function toNullable (children 1) + ExpressionList (children 1) + Function materialize (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier a + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier b + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier c + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier d + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier e + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier f diff --git a/parser/testdata/00436_convert_charset/explain.txt b/parser/testdata/00436_convert_charset/explain.txt new file mode 100644 index 0000000000..236a49fcaf --- /dev/null +++ b/parser/testdata/00436_convert_charset/explain.txt @@ -0,0 +1,69 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 12) + Literal \'абвгдеёжзийклмнопрÑтуфхцчшщъыьÑÑŽÑÐБВГДЕÐЖЗИЙКЛМÐОПРСТУФХЦЧШЩЪЫЬЭЮЯ\' (alias orig) + Function hex (alias cp1251_hex) (children 1) + ExpressionList (children 1) + Function convertCharset (alias cp1251) (children 1) + ExpressionList (children 3) + Identifier orig + Literal \'utf-8\' + Literal \'cp1251\' + Function hex (alias utf7_hex) (children 1) + ExpressionList (children 1) + Function convertCharset (children 1) + ExpressionList (children 3) + Identifier orig + Literal \'utf-8\' + Literal \'utf-7\' + Function hex (alias bocu1_hex) (children 1) + ExpressionList (children 1) + Function convertCharset (children 1) + ExpressionList (children 3) + Identifier orig + Literal \'utf-8\' + Literal \'bocu-1\' + Function hex (alias scsu_hex) (children 1) + ExpressionList (children 1) + Function convertCharset (children 1) + ExpressionList (children 3) + Identifier orig + Literal \'utf-8\' + Literal \'scsu\' + Function convertCharset (alias orig2) (children 1) + ExpressionList (children 3) + Identifier cp1251 + Literal \'cp1251\' + Literal \'utf-8\' + Function convertCharset (alias broken1) (children 1) + ExpressionList (children 3) + Identifier orig + Literal \'cp1251\' + Literal \'utf8\' + Function convertCharset (alias broken2) (children 1) + ExpressionList (children 3) + Identifier orig + Literal \'latin1\' + Literal \'utf8\' + Function convertCharset (alias broken3) (children 1) + ExpressionList (children 3) + Identifier orig + Literal \'koi8-r\' + Literal \'utf8\' + Function convertCharset (alias restored1) (children 1) + ExpressionList (children 3) + Identifier broken1 + Literal \'utf-8\' + Literal \'cp1251\' + Function convertCharset (alias restored2) (children 1) + ExpressionList (children 3) + Identifier broken2 + Literal \'utf-8\' + Literal \'latin1\' + Function convertCharset (alias restored3) (children 1) + ExpressionList (children 3) + Identifier broken3 + Literal \'utf-8\' + Literal \'koi8-r\' + Identifier Vertical diff --git a/parser/testdata/00436_fixed_string_16_comparisons/explain.txt b/parser/testdata/00436_fixed_string_16_comparisons/explain.txt new file mode 100644 index 0000000000..2c0fa18983 --- /dev/null +++ b/parser/testdata/00436_fixed_string_16_comparisons/explain.txt @@ -0,0 +1,133 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 16) + Identifier a + Identifier b + Function equals (children 1) + ExpressionList (children 2) + Identifier a + Identifier b + Function notEquals (children 1) + ExpressionList (children 2) + Identifier a + Identifier b + Function less (children 1) + ExpressionList (children 2) + Identifier a + Identifier b + Function greater (children 1) + ExpressionList (children 2) + Identifier a + Identifier b + Function lessOrEquals (children 1) + ExpressionList (children 2) + Identifier a + Identifier b + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Identifier a + Identifier b + Function toFixedString (alias fa) (children 1) + ExpressionList (children 2) + Identifier a + Literal UInt64_16 + Function toFixedString (alias fb) (children 1) + ExpressionList (children 2) + Identifier b + Literal UInt64_16 + Function equals (children 1) + ExpressionList (children 2) + Identifier fa + Identifier fb + Function notEquals (children 1) + ExpressionList (children 2) + Identifier fa + Identifier fb + Function less (children 1) + ExpressionList (children 2) + Identifier fa + Identifier fb + Function greater (children 1) + ExpressionList (children 2) + Identifier fa + Identifier fb + Function lessOrEquals (children 1) + ExpressionList (children 2) + Identifier fa + Identifier fb + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Identifier fa + Identifier fb + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias js1) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 9) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'aaaaaaaaaaaaaaaa\' (alias a) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'aaaaaaaaaaaaaaab\' + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'aaaaaaaaaaaaaaac\' + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'baaaaaaaaaaaaaaa\' + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'baaaaaaaaaaaaaab\' + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'baaaaaaaaaaaaaac\' + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'aaaaaaaabaaaaaaa\' + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'aaaaaaabaaaaaaaa\' + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'aaaaaaacaaaaaaaa\' + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias js2) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 9) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'aaaaaaaaaaaaaaaa\' (alias b) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'aaaaaaaaaaaaaaab\' + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'aaaaaaaaaaaaaaac\' + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'baaaaaaaaaaaaaaa\' + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'baaaaaaaaaaaaaab\' + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'baaaaaaaaaaaaaac\' + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'aaaaaaaabaaaaaaa\' + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'aaaaaaabaaaaaaaa\' + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'aaaaaaacaaaaaaaa\' + TableJoin + ExpressionList (children 2) + OrderByElement (children 1) + Identifier a + OrderByElement (children 1) + Identifier b diff --git a/parser/testdata/00446_clear_column_in_partition_zookeeper_long/explain_20.txt b/parser/testdata/00446_clear_column_in_partition_zookeeper_long/explain_20.txt new file mode 100644 index 0000000000..674db21f14 --- /dev/null +++ b/parser/testdata/00446_clear_column_in_partition_zookeeper_long/explain_20.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier clear_column1 + ExpressionList (children 1) + Identifier d diff --git a/parser/testdata/00446_clear_column_in_partition_zookeeper_long/explain_25.txt b/parser/testdata/00446_clear_column_in_partition_zookeeper_long/explain_25.txt new file mode 100644 index 0000000000..94a9c36ffb --- /dev/null +++ b/parser/testdata/00446_clear_column_in_partition_zookeeper_long/explain_25.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier clear_column1 diff --git a/parser/testdata/00446_clear_column_in_partition_zookeeper_long/explain_26.txt b/parser/testdata/00446_clear_column_in_partition_zookeeper_long/explain_26.txt new file mode 100644 index 0000000000..94a9c36ffb --- /dev/null +++ b/parser/testdata/00446_clear_column_in_partition_zookeeper_long/explain_26.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier clear_column1 diff --git a/parser/testdata/00446_clear_column_in_partition_zookeeper_long/explain_5.txt b/parser/testdata/00446_clear_column_in_partition_zookeeper_long/explain_5.txt new file mode 100644 index 0000000000..f0969ef70e --- /dev/null +++ b/parser/testdata/00446_clear_column_in_partition_zookeeper_long/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier clear_column diff --git a/parser/testdata/00447_foreach_modifier/explain_2.txt b/parser/testdata/00447_foreach_modifier/explain_2.txt new file mode 100644 index 0000000000..36337a4d9e --- /dev/null +++ b/parser/testdata/00447_foreach_modifier/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data diff --git a/parser/testdata/00453_cast_enum/explain_7.txt b/parser/testdata/00453_cast_enum/explain_7.txt new file mode 100644 index 0000000000..b2e03c8e4a --- /dev/null +++ b/parser/testdata/00453_cast_enum/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier cast_enums diff --git a/parser/testdata/00456_alter_nullable/explain_4.txt b/parser/testdata/00456_alter_nullable/explain_4.txt new file mode 100644 index 0000000000..463ecb489a --- /dev/null +++ b/parser/testdata/00456_alter_nullable/explain_4.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier nullable_alter + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00456_alter_nullable/explain_8.txt b/parser/testdata/00456_alter_nullable/explain_8.txt new file mode 100644 index 0000000000..463ecb489a --- /dev/null +++ b/parser/testdata/00456_alter_nullable/explain_8.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier nullable_alter + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00458_merge_type_cast/explain_10.txt b/parser/testdata/00458_merge_type_cast/explain_10.txt new file mode 100644 index 0000000000..aec2c6c6a2 --- /dev/null +++ b/parser/testdata/00458_merge_type_cast/explain_10.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier u32 + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00458_merge_type_cast/explain_11.txt b/parser/testdata/00458_merge_type_cast/explain_11.txt new file mode 100644 index 0000000000..fe3c2be89c --- /dev/null +++ b/parser/testdata/00458_merge_type_cast/explain_11.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier u64 + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00458_merge_type_cast/explain_12.txt b/parser/testdata/00458_merge_type_cast/explain_12.txt new file mode 100644 index 0000000000..fe3c2be89c --- /dev/null +++ b/parser/testdata/00458_merge_type_cast/explain_12.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier u64 + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00458_merge_type_cast/explain_31.txt b/parser/testdata/00458_merge_type_cast/explain_31.txt new file mode 100644 index 0000000000..318fa48982 --- /dev/null +++ b/parser/testdata/00458_merge_type_cast/explain_31.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier s64 diff --git a/parser/testdata/00458_merge_type_cast/explain_32.txt b/parser/testdata/00458_merge_type_cast/explain_32.txt new file mode 100644 index 0000000000..318fa48982 --- /dev/null +++ b/parser/testdata/00458_merge_type_cast/explain_32.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier s64 diff --git a/parser/testdata/00458_merge_type_cast/explain_33.txt b/parser/testdata/00458_merge_type_cast/explain_33.txt new file mode 100644 index 0000000000..784f3794bb --- /dev/null +++ b/parser/testdata/00458_merge_type_cast/explain_33.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier u64 diff --git a/parser/testdata/00458_merge_type_cast/explain_48.txt b/parser/testdata/00458_merge_type_cast/explain_48.txt new file mode 100644 index 0000000000..870a7abc99 --- /dev/null +++ b/parser/testdata/00458_merge_type_cast/explain_48.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier one_00458 diff --git a/parser/testdata/00458_merge_type_cast/explain_49.txt b/parser/testdata/00458_merge_type_cast/explain_49.txt new file mode 100644 index 0000000000..d9be0719ab --- /dev/null +++ b/parser/testdata/00458_merge_type_cast/explain_49.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier two_00458 diff --git a/parser/testdata/00458_merge_type_cast/explain_50.txt b/parser/testdata/00458_merge_type_cast/explain_50.txt new file mode 100644 index 0000000000..870a7abc99 --- /dev/null +++ b/parser/testdata/00458_merge_type_cast/explain_50.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier one_00458 diff --git a/parser/testdata/00458_merge_type_cast/explain_51.txt b/parser/testdata/00458_merge_type_cast/explain_51.txt new file mode 100644 index 0000000000..d9be0719ab --- /dev/null +++ b/parser/testdata/00458_merge_type_cast/explain_51.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier two_00458 diff --git a/parser/testdata/00458_merge_type_cast/explain_62.txt b/parser/testdata/00458_merge_type_cast/explain_62.txt new file mode 100644 index 0000000000..870a7abc99 --- /dev/null +++ b/parser/testdata/00458_merge_type_cast/explain_62.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier one_00458 diff --git a/parser/testdata/00458_merge_type_cast/explain_63.txt b/parser/testdata/00458_merge_type_cast/explain_63.txt new file mode 100644 index 0000000000..d9be0719ab --- /dev/null +++ b/parser/testdata/00458_merge_type_cast/explain_63.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier two_00458 diff --git a/parser/testdata/00458_merge_type_cast/explain_72.txt b/parser/testdata/00458_merge_type_cast/explain_72.txt new file mode 100644 index 0000000000..870a7abc99 --- /dev/null +++ b/parser/testdata/00458_merge_type_cast/explain_72.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier one_00458 diff --git a/parser/testdata/00458_merge_type_cast/explain_73.txt b/parser/testdata/00458_merge_type_cast/explain_73.txt new file mode 100644 index 0000000000..d9be0719ab --- /dev/null +++ b/parser/testdata/00458_merge_type_cast/explain_73.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier two_00458 diff --git a/parser/testdata/00458_merge_type_cast/explain_8.txt b/parser/testdata/00458_merge_type_cast/explain_8.txt new file mode 100644 index 0000000000..aec2c6c6a2 --- /dev/null +++ b/parser/testdata/00458_merge_type_cast/explain_8.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier u32 + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00458_merge_type_cast/explain_82.txt b/parser/testdata/00458_merge_type_cast/explain_82.txt new file mode 100644 index 0000000000..4808e6bde0 --- /dev/null +++ b/parser/testdata/00458_merge_type_cast/explain_82.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier one_00458 + ExpressionList (children 2) + Identifier x + Identifier y diff --git a/parser/testdata/00458_merge_type_cast/explain_83.txt b/parser/testdata/00458_merge_type_cast/explain_83.txt new file mode 100644 index 0000000000..361e8787de --- /dev/null +++ b/parser/testdata/00458_merge_type_cast/explain_83.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier two_00458 + ExpressionList (children 2) + Identifier x + Identifier y diff --git a/parser/testdata/00458_merge_type_cast/explain_84.txt b/parser/testdata/00458_merge_type_cast/explain_84.txt new file mode 100644 index 0000000000..4808e6bde0 --- /dev/null +++ b/parser/testdata/00458_merge_type_cast/explain_84.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier one_00458 + ExpressionList (children 2) + Identifier x + Identifier y diff --git a/parser/testdata/00458_merge_type_cast/explain_85.txt b/parser/testdata/00458_merge_type_cast/explain_85.txt new file mode 100644 index 0000000000..361e8787de --- /dev/null +++ b/parser/testdata/00458_merge_type_cast/explain_85.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier two_00458 + ExpressionList (children 2) + Identifier x + Identifier y diff --git a/parser/testdata/00458_merge_type_cast/explain_86.txt b/parser/testdata/00458_merge_type_cast/explain_86.txt new file mode 100644 index 0000000000..4808e6bde0 --- /dev/null +++ b/parser/testdata/00458_merge_type_cast/explain_86.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier one_00458 + ExpressionList (children 2) + Identifier x + Identifier y diff --git a/parser/testdata/00458_merge_type_cast/explain_87.txt b/parser/testdata/00458_merge_type_cast/explain_87.txt new file mode 100644 index 0000000000..361e8787de --- /dev/null +++ b/parser/testdata/00458_merge_type_cast/explain_87.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier two_00458 + ExpressionList (children 2) + Identifier x + Identifier y diff --git a/parser/testdata/00458_merge_type_cast/explain_9.txt b/parser/testdata/00458_merge_type_cast/explain_9.txt new file mode 100644 index 0000000000..fe3c2be89c --- /dev/null +++ b/parser/testdata/00458_merge_type_cast/explain_9.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier u64 + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00462_json_true_false_literals/explain_3.txt b/parser/testdata/00462_json_true_false_literals/explain_3.txt new file mode 100644 index 0000000000..fce5a46596 --- /dev/null +++ b/parser/testdata/00462_json_true_false_literals/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier json diff --git a/parser/testdata/00465_nullable_default/explain_3.txt b/parser/testdata/00465_nullable_default/explain_3.txt new file mode 100644 index 0000000000..0407ad9e07 --- /dev/null +++ b/parser/testdata/00465_nullable_default/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier nullable_00465 + ExpressionList (children 1) + Identifier cat diff --git a/parser/testdata/00467_qualified_names/explain_25.txt b/parser/testdata/00467_qualified_names/explain_25.txt new file mode 100644 index 0000000000..6c9842c19d --- /dev/null +++ b/parser/testdata/00467_qualified_names/explain_25.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nested diff --git a/parser/testdata/00468_array_join_multiple_arrays_and_use_original_column/explain_3.txt b/parser/testdata/00468_array_join_multiple_arrays_and_use_original_column/explain_3.txt new file mode 100644 index 0000000000..6c9842c19d --- /dev/null +++ b/parser/testdata/00468_array_join_multiple_arrays_and_use_original_column/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nested diff --git a/parser/testdata/00469_comparison_of_strings_containing_null_char/explain_7.txt b/parser/testdata/00469_comparison_of_strings_containing_null_char/explain_7.txt new file mode 100644 index 0000000000..80ad3faa51 --- /dev/null +++ b/parser/testdata/00469_comparison_of_strings_containing_null_char/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier strings_00469 diff --git a/parser/testdata/00475_in_join_db_table/explain_12.txt b/parser/testdata/00475_in_join_db_table/explain_12.txt new file mode 100644 index 0000000000..462d2864d6 --- /dev/null +++ b/parser/testdata/00475_in_join_db_table/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier join diff --git a/parser/testdata/00475_in_join_db_table/explain_16.txt b/parser/testdata/00475_in_join_db_table/explain_16.txt new file mode 100644 index 0000000000..462d2864d6 --- /dev/null +++ b/parser/testdata/00475_in_join_db_table/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier join diff --git a/parser/testdata/00475_in_join_db_table/explain_3.txt b/parser/testdata/00475_in_join_db_table/explain_3.txt new file mode 100644 index 0000000000..9bc22c8b6b --- /dev/null +++ b/parser/testdata/00475_in_join_db_table/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier set diff --git a/parser/testdata/00475_in_join_db_table/explain_7.txt b/parser/testdata/00475_in_join_db_table/explain_7.txt new file mode 100644 index 0000000000..9bc22c8b6b --- /dev/null +++ b/parser/testdata/00475_in_join_db_table/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier set diff --git a/parser/testdata/00481_create_view_for_null/explain_5.txt b/parser/testdata/00481_create_view_for_null/explain_5.txt new file mode 100644 index 0000000000..9de401ce6e --- /dev/null +++ b/parser/testdata/00481_create_view_for_null/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier null_00481 diff --git a/parser/testdata/00488_non_ascii_column_names/explain_3.txt b/parser/testdata/00488_non_ascii_column_names/explain_3.txt new file mode 100644 index 0000000000..f42a75c842 --- /dev/null +++ b/parser/testdata/00488_non_ascii_column_names/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier non_ascii diff --git a/parser/testdata/00489_pk_subexpression/explain_4.txt b/parser/testdata/00489_pk_subexpression/explain_4.txt new file mode 100644 index 0000000000..e6fc84e488 --- /dev/null +++ b/parser/testdata/00489_pk_subexpression/explain_4.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier pk + ExpressionList (children 3) + Identifier x + Identifier y + Identifier z diff --git a/parser/testdata/00494_shard_alias_substitution_bug/explain_3.txt b/parser/testdata/00494_shard_alias_substitution_bug/explain_3.txt new file mode 100644 index 0000000000..6c9842c19d --- /dev/null +++ b/parser/testdata/00494_shard_alias_substitution_bug/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nested diff --git a/parser/testdata/00498_array_functions_concat_slice_push_pop/explain_141.txt b/parser/testdata/00498_array_functions_concat_slice_push_pop/explain_141.txt new file mode 100644 index 0000000000..e1eccba1d3 --- /dev/null +++ b/parser/testdata/00498_array_functions_concat_slice_push_pop/explain_141.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier array_functions diff --git a/parser/testdata/00498_array_functions_concat_slice_push_pop/explain_207.txt b/parser/testdata/00498_array_functions_concat_slice_push_pop/explain_207.txt new file mode 100644 index 0000000000..e1eccba1d3 --- /dev/null +++ b/parser/testdata/00498_array_functions_concat_slice_push_pop/explain_207.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier array_functions diff --git a/parser/testdata/00498_array_functions_concat_slice_push_pop/explain_278.txt b/parser/testdata/00498_array_functions_concat_slice_push_pop/explain_278.txt new file mode 100644 index 0000000000..e1eccba1d3 --- /dev/null +++ b/parser/testdata/00498_array_functions_concat_slice_push_pop/explain_278.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier array_functions diff --git a/parser/testdata/00498_array_functions_concat_slice_push_pop/explain_75.txt b/parser/testdata/00498_array_functions_concat_slice_push_pop/explain_75.txt new file mode 100644 index 0000000000..e1eccba1d3 --- /dev/null +++ b/parser/testdata/00498_array_functions_concat_slice_push_pop/explain_75.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier array_functions diff --git a/parser/testdata/00499_json_enum_insert/explain_3.txt b/parser/testdata/00499_json_enum_insert/explain_3.txt new file mode 100644 index 0000000000..9dac3cdd54 --- /dev/null +++ b/parser/testdata/00499_json_enum_insert/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier json + ExpressionList (children 1) + Identifier y diff --git a/parser/testdata/00499_json_enum_insert/explain_5.txt b/parser/testdata/00499_json_enum_insert/explain_5.txt new file mode 100644 index 0000000000..9dac3cdd54 --- /dev/null +++ b/parser/testdata/00499_json_enum_insert/explain_5.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier json + ExpressionList (children 1) + Identifier y diff --git a/parser/testdata/00499_json_enum_insert/explain_7.txt b/parser/testdata/00499_json_enum_insert/explain_7.txt new file mode 100644 index 0000000000..38043c3ac1 --- /dev/null +++ b/parser/testdata/00499_json_enum_insert/explain_7.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier json + ExpressionList (children 2) + Identifier x + Identifier y diff --git a/parser/testdata/00500_point_in_polygon_2d_const/explain_6.txt b/parser/testdata/00500_point_in_polygon_2d_const/explain_6.txt new file mode 100644 index 0000000000..9c1eff95db --- /dev/null +++ b/parser/testdata/00500_point_in_polygon_2d_const/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier s diff --git a/parser/testdata/00500_point_in_polygon_2d_const/explain_7.txt b/parser/testdata/00500_point_in_polygon_2d_const/explain_7.txt new file mode 100644 index 0000000000..030203b3de --- /dev/null +++ b/parser/testdata/00500_point_in_polygon_2d_const/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier p diff --git a/parser/testdata/00500_point_in_polygon_3d_const/explain_3.txt b/parser/testdata/00500_point_in_polygon_3d_const/explain_3.txt new file mode 100644 index 0000000000..46eac224f5 --- /dev/null +++ b/parser/testdata/00500_point_in_polygon_3d_const/explain_3.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier points_test + ExpressionList (children 3) + Identifier x + Identifier y + Identifier note diff --git a/parser/testdata/00500_point_in_polygon_bug/explain_3.txt b/parser/testdata/00500_point_in_polygon_bug/explain_3.txt new file mode 100644 index 0000000000..8e6b0ce5c8 --- /dev/null +++ b/parser/testdata/00500_point_in_polygon_bug/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier coords diff --git a/parser/testdata/00500_point_in_polygon_empty_bound/explain_18.txt b/parser/testdata/00500_point_in_polygon_empty_bound/explain_18.txt new file mode 100644 index 0000000000..46eac224f5 --- /dev/null +++ b/parser/testdata/00500_point_in_polygon_empty_bound/explain_18.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier points_test + ExpressionList (children 3) + Identifier x + Identifier y + Identifier note diff --git a/parser/testdata/00500_point_in_polygon_non_const_poly/explain_16.txt b/parser/testdata/00500_point_in_polygon_non_const_poly/explain_16.txt new file mode 100644 index 0000000000..8a14b44209 --- /dev/null +++ b/parser/testdata/00500_point_in_polygon_non_const_poly/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier polygons diff --git a/parser/testdata/00500_point_in_polygon_non_const_poly/explain_21.txt b/parser/testdata/00500_point_in_polygon_non_const_poly/explain_21.txt new file mode 100644 index 0000000000..8a14b44209 --- /dev/null +++ b/parser/testdata/00500_point_in_polygon_non_const_poly/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier polygons diff --git a/parser/testdata/00500_point_in_polygon_non_const_poly/explain_33.txt b/parser/testdata/00500_point_in_polygon_non_const_poly/explain_33.txt new file mode 100644 index 0000000000..8a14b44209 --- /dev/null +++ b/parser/testdata/00500_point_in_polygon_non_const_poly/explain_33.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier polygons diff --git a/parser/testdata/00500_point_in_polygon_non_const_poly/explain_38.txt b/parser/testdata/00500_point_in_polygon_non_const_poly/explain_38.txt new file mode 100644 index 0000000000..8a14b44209 --- /dev/null +++ b/parser/testdata/00500_point_in_polygon_non_const_poly/explain_38.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier polygons diff --git a/parser/testdata/00500_point_in_polygon_non_const_poly/explain_4.txt b/parser/testdata/00500_point_in_polygon_non_const_poly/explain_4.txt new file mode 100644 index 0000000000..8a14b44209 --- /dev/null +++ b/parser/testdata/00500_point_in_polygon_non_const_poly/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier polygons diff --git a/parser/testdata/00500_point_in_polygon_non_const_poly/explain_43.txt b/parser/testdata/00500_point_in_polygon_non_const_poly/explain_43.txt new file mode 100644 index 0000000000..8a14b44209 --- /dev/null +++ b/parser/testdata/00500_point_in_polygon_non_const_poly/explain_43.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier polygons diff --git a/parser/testdata/00502_custom_partitioning_local/explain_22.txt b/parser/testdata/00502_custom_partitioning_local/explain_22.txt new file mode 100644 index 0000000000..000d68c2b8 --- /dev/null +++ b/parser/testdata/00502_custom_partitioning_local/explain_22.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier partitioned_by_week diff --git a/parser/testdata/00502_custom_partitioning_local/explain_23.txt b/parser/testdata/00502_custom_partitioning_local/explain_23.txt new file mode 100644 index 0000000000..000d68c2b8 --- /dev/null +++ b/parser/testdata/00502_custom_partitioning_local/explain_23.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier partitioned_by_week diff --git a/parser/testdata/00502_custom_partitioning_local/explain_38.txt b/parser/testdata/00502_custom_partitioning_local/explain_38.txt new file mode 100644 index 0000000000..2a4380aa9b --- /dev/null +++ b/parser/testdata/00502_custom_partitioning_local/explain_38.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier partitioned_by_tuple diff --git a/parser/testdata/00502_custom_partitioning_local/explain_39.txt b/parser/testdata/00502_custom_partitioning_local/explain_39.txt new file mode 100644 index 0000000000..2a4380aa9b --- /dev/null +++ b/parser/testdata/00502_custom_partitioning_local/explain_39.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier partitioned_by_tuple diff --git a/parser/testdata/00502_custom_partitioning_local/explain_4.txt b/parser/testdata/00502_custom_partitioning_local/explain_4.txt new file mode 100644 index 0000000000..79024f7e41 --- /dev/null +++ b/parser/testdata/00502_custom_partitioning_local/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier not_partitioned diff --git a/parser/testdata/00502_custom_partitioning_local/explain_5.txt b/parser/testdata/00502_custom_partitioning_local/explain_5.txt new file mode 100644 index 0000000000..79024f7e41 --- /dev/null +++ b/parser/testdata/00502_custom_partitioning_local/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier not_partitioned diff --git a/parser/testdata/00502_custom_partitioning_local/explain_55.txt b/parser/testdata/00502_custom_partitioning_local/explain_55.txt new file mode 100644 index 0000000000..d487fdc9a1 --- /dev/null +++ b/parser/testdata/00502_custom_partitioning_local/explain_55.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier partitioned_by_string diff --git a/parser/testdata/00502_custom_partitioning_local/explain_56.txt b/parser/testdata/00502_custom_partitioning_local/explain_56.txt new file mode 100644 index 0000000000..d487fdc9a1 --- /dev/null +++ b/parser/testdata/00502_custom_partitioning_local/explain_56.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier partitioned_by_string diff --git a/parser/testdata/00502_custom_partitioning_local/explain_71.txt b/parser/testdata/00502_custom_partitioning_local/explain_71.txt new file mode 100644 index 0000000000..5f3dd7f86c --- /dev/null +++ b/parser/testdata/00502_custom_partitioning_local/explain_71.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier without_fixed_size_columns diff --git a/parser/testdata/00502_custom_partitioning_replicated_zookeeper_long/explain_29.txt b/parser/testdata/00502_custom_partitioning_replicated_zookeeper_long/explain_29.txt new file mode 100644 index 0000000000..ec677a6bfb --- /dev/null +++ b/parser/testdata/00502_custom_partitioning_replicated_zookeeper_long/explain_29.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier partitioned_by_week_replica1 diff --git a/parser/testdata/00502_custom_partitioning_replicated_zookeeper_long/explain_30.txt b/parser/testdata/00502_custom_partitioning_replicated_zookeeper_long/explain_30.txt new file mode 100644 index 0000000000..ec677a6bfb --- /dev/null +++ b/parser/testdata/00502_custom_partitioning_replicated_zookeeper_long/explain_30.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier partitioned_by_week_replica1 diff --git a/parser/testdata/00502_custom_partitioning_replicated_zookeeper_long/explain_50.txt b/parser/testdata/00502_custom_partitioning_replicated_zookeeper_long/explain_50.txt new file mode 100644 index 0000000000..225b54f0cb --- /dev/null +++ b/parser/testdata/00502_custom_partitioning_replicated_zookeeper_long/explain_50.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier partitioned_by_tuple_replica1_00502 diff --git a/parser/testdata/00502_custom_partitioning_replicated_zookeeper_long/explain_51.txt b/parser/testdata/00502_custom_partitioning_replicated_zookeeper_long/explain_51.txt new file mode 100644 index 0000000000..225b54f0cb --- /dev/null +++ b/parser/testdata/00502_custom_partitioning_replicated_zookeeper_long/explain_51.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier partitioned_by_tuple_replica1_00502 diff --git a/parser/testdata/00502_custom_partitioning_replicated_zookeeper_long/explain_72.txt b/parser/testdata/00502_custom_partitioning_replicated_zookeeper_long/explain_72.txt new file mode 100644 index 0000000000..0a09b4c9c8 --- /dev/null +++ b/parser/testdata/00502_custom_partitioning_replicated_zookeeper_long/explain_72.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier partitioned_by_string_replica1 diff --git a/parser/testdata/00502_custom_partitioning_replicated_zookeeper_long/explain_73.txt b/parser/testdata/00502_custom_partitioning_replicated_zookeeper_long/explain_73.txt new file mode 100644 index 0000000000..0a09b4c9c8 --- /dev/null +++ b/parser/testdata/00502_custom_partitioning_replicated_zookeeper_long/explain_73.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier partitioned_by_string_replica1 diff --git a/parser/testdata/00502_custom_partitioning_replicated_zookeeper_long/explain_8.txt b/parser/testdata/00502_custom_partitioning_replicated_zookeeper_long/explain_8.txt new file mode 100644 index 0000000000..79ed5acfb0 --- /dev/null +++ b/parser/testdata/00502_custom_partitioning_replicated_zookeeper_long/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier not_partitioned_replica1_00502 diff --git a/parser/testdata/00502_custom_partitioning_replicated_zookeeper_long/explain_9.txt b/parser/testdata/00502_custom_partitioning_replicated_zookeeper_long/explain_9.txt new file mode 100644 index 0000000000..79ed5acfb0 --- /dev/null +++ b/parser/testdata/00502_custom_partitioning_replicated_zookeeper_long/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier not_partitioned_replica1_00502 diff --git a/parser/testdata/00502_custom_partitioning_replicated_zookeeper_long/explain_93.txt b/parser/testdata/00502_custom_partitioning_replicated_zookeeper_long/explain_93.txt new file mode 100644 index 0000000000..4ac2b9e6bc --- /dev/null +++ b/parser/testdata/00502_custom_partitioning_replicated_zookeeper_long/explain_93.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier without_fixed_size_columns_replica1 diff --git a/parser/testdata/00502_sum_map/explain_16.txt b/parser/testdata/00502_sum_map/explain_16.txt new file mode 100644 index 0000000000..d7fe218aab --- /dev/null +++ b/parser/testdata/00502_sum_map/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier sum_map_overflow diff --git a/parser/testdata/00502_sum_map/explain_31.txt b/parser/testdata/00502_sum_map/explain_31.txt new file mode 100644 index 0000000000..5e138b9479 --- /dev/null +++ b/parser/testdata/00502_sum_map/explain_31.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier sum_map_decimal diff --git a/parser/testdata/00502_sum_map/explain_36.txt b/parser/testdata/00502_sum_map/explain_36.txt new file mode 100644 index 0000000000..cafc4ca5e9 --- /dev/null +++ b/parser/testdata/00502_sum_map/explain_36.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier sum_map_decimal_nullable diff --git a/parser/testdata/00502_sum_map/explain_4.txt b/parser/testdata/00502_sum_map/explain_4.txt new file mode 100644 index 0000000000..cbce601194 --- /dev/null +++ b/parser/testdata/00502_sum_map/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier sum_map diff --git a/parser/testdata/00506_shard_global_in_union/explain_14.txt b/parser/testdata/00506_shard_global_in_union/explain_14.txt new file mode 100644 index 0000000000..0d6e65f62f --- /dev/null +++ b/parser/testdata/00506_shard_global_in_union/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier union_bug diff --git a/parser/testdata/00506_shard_global_in_union/explain_4.txt b/parser/testdata/00506_shard_global_in_union/explain_4.txt new file mode 100644 index 0000000000..83f970261c --- /dev/null +++ b/parser/testdata/00506_shard_global_in_union/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier globalin diff --git a/parser/testdata/00506_union_distributed/explain_10.txt b/parser/testdata/00506_union_distributed/explain_10.txt new file mode 100644 index 0000000000..e9a346ad2b --- /dev/null +++ b/parser/testdata/00506_union_distributed/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier union1 diff --git a/parser/testdata/00506_union_distributed/explain_11.txt b/parser/testdata/00506_union_distributed/explain_11.txt new file mode 100644 index 0000000000..56311f572d --- /dev/null +++ b/parser/testdata/00506_union_distributed/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier union2 diff --git a/parser/testdata/00506_union_distributed/explain_12.txt b/parser/testdata/00506_union_distributed/explain_12.txt new file mode 100644 index 0000000000..77550a83c0 --- /dev/null +++ b/parser/testdata/00506_union_distributed/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier union3 diff --git a/parser/testdata/00506_union_distributed/explain_9.txt b/parser/testdata/00506_union_distributed/explain_9.txt new file mode 100644 index 0000000000..e9a346ad2b --- /dev/null +++ b/parser/testdata/00506_union_distributed/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier union1 diff --git a/parser/testdata/00508_materialized_view_to/explain_4.txt b/parser/testdata/00508_materialized_view_to/explain_4.txt new file mode 100644 index 0000000000..37b584e2c2 --- /dev/null +++ b/parser/testdata/00508_materialized_view_to/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier src diff --git a/parser/testdata/00509_extended_storage_definition_syntax_zookeeper/explain_11.txt b/parser/testdata/00509_extended_storage_definition_syntax_zookeeper/explain_11.txt new file mode 100644 index 0000000000..4cfe449c4f --- /dev/null +++ b/parser/testdata/00509_extended_storage_definition_syntax_zookeeper/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replacing diff --git a/parser/testdata/00509_extended_storage_definition_syntax_zookeeper/explain_12.txt b/parser/testdata/00509_extended_storage_definition_syntax_zookeeper/explain_12.txt new file mode 100644 index 0000000000..4cfe449c4f --- /dev/null +++ b/parser/testdata/00509_extended_storage_definition_syntax_zookeeper/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replacing diff --git a/parser/testdata/00509_extended_storage_definition_syntax_zookeeper/explain_13.txt b/parser/testdata/00509_extended_storage_definition_syntax_zookeeper/explain_13.txt new file mode 100644 index 0000000000..4cfe449c4f --- /dev/null +++ b/parser/testdata/00509_extended_storage_definition_syntax_zookeeper/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replacing diff --git a/parser/testdata/00509_extended_storage_definition_syntax_zookeeper/explain_20.txt b/parser/testdata/00509_extended_storage_definition_syntax_zookeeper/explain_20.txt new file mode 100644 index 0000000000..987c246246 --- /dev/null +++ b/parser/testdata/00509_extended_storage_definition_syntax_zookeeper/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replicated_collapsing diff --git a/parser/testdata/00509_extended_storage_definition_syntax_zookeeper/explain_21.txt b/parser/testdata/00509_extended_storage_definition_syntax_zookeeper/explain_21.txt new file mode 100644 index 0000000000..987c246246 --- /dev/null +++ b/parser/testdata/00509_extended_storage_definition_syntax_zookeeper/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replicated_collapsing diff --git a/parser/testdata/00509_extended_storage_definition_syntax_zookeeper/explain_29.txt b/parser/testdata/00509_extended_storage_definition_syntax_zookeeper/explain_29.txt new file mode 100644 index 0000000000..9c95d135cb --- /dev/null +++ b/parser/testdata/00509_extended_storage_definition_syntax_zookeeper/explain_29.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replicated_versioned_collapsing diff --git a/parser/testdata/00509_extended_storage_definition_syntax_zookeeper/explain_30.txt b/parser/testdata/00509_extended_storage_definition_syntax_zookeeper/explain_30.txt new file mode 100644 index 0000000000..9c95d135cb --- /dev/null +++ b/parser/testdata/00509_extended_storage_definition_syntax_zookeeper/explain_30.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replicated_versioned_collapsing diff --git a/parser/testdata/00509_extended_storage_definition_syntax_zookeeper/explain_31.txt b/parser/testdata/00509_extended_storage_definition_syntax_zookeeper/explain_31.txt new file mode 100644 index 0000000000..9c95d135cb --- /dev/null +++ b/parser/testdata/00509_extended_storage_definition_syntax_zookeeper/explain_31.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replicated_versioned_collapsing diff --git a/parser/testdata/00509_extended_storage_definition_syntax_zookeeper/explain_5.txt b/parser/testdata/00509_extended_storage_definition_syntax_zookeeper/explain_5.txt new file mode 100644 index 0000000000..ad6c3ff905 --- /dev/null +++ b/parser/testdata/00509_extended_storage_definition_syntax_zookeeper/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replicated_with_sampling diff --git a/parser/testdata/00510_materizlized_view_and_deduplication_zookeeper/explain_11.txt b/parser/testdata/00510_materizlized_view_and_deduplication_zookeeper/explain_11.txt new file mode 100644 index 0000000000..d8c36c4465 --- /dev/null +++ b/parser/testdata/00510_materizlized_view_and_deduplication_zookeeper/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier with_deduplication diff --git a/parser/testdata/00510_materizlized_view_and_deduplication_zookeeper/explain_12.txt b/parser/testdata/00510_materizlized_view_and_deduplication_zookeeper/explain_12.txt new file mode 100644 index 0000000000..d8c36c4465 --- /dev/null +++ b/parser/testdata/00510_materizlized_view_and_deduplication_zookeeper/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier with_deduplication diff --git a/parser/testdata/00510_materizlized_view_and_deduplication_zookeeper/explain_13.txt b/parser/testdata/00510_materizlized_view_and_deduplication_zookeeper/explain_13.txt new file mode 100644 index 0000000000..d8c36c4465 --- /dev/null +++ b/parser/testdata/00510_materizlized_view_and_deduplication_zookeeper/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier with_deduplication diff --git a/parser/testdata/00510_materizlized_view_and_deduplication_zookeeper/explain_14.txt b/parser/testdata/00510_materizlized_view_and_deduplication_zookeeper/explain_14.txt new file mode 100644 index 0000000000..a04fb10d2b --- /dev/null +++ b/parser/testdata/00510_materizlized_view_and_deduplication_zookeeper/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier without_deduplication diff --git a/parser/testdata/00510_materizlized_view_and_deduplication_zookeeper/explain_15.txt b/parser/testdata/00510_materizlized_view_and_deduplication_zookeeper/explain_15.txt new file mode 100644 index 0000000000..a04fb10d2b --- /dev/null +++ b/parser/testdata/00510_materizlized_view_and_deduplication_zookeeper/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier without_deduplication diff --git a/parser/testdata/00510_materizlized_view_and_deduplication_zookeeper/explain_16.txt b/parser/testdata/00510_materizlized_view_and_deduplication_zookeeper/explain_16.txt new file mode 100644 index 0000000000..a04fb10d2b --- /dev/null +++ b/parser/testdata/00510_materizlized_view_and_deduplication_zookeeper/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier without_deduplication diff --git a/parser/testdata/00515_enhanced_time_zones/explain_23.txt b/parser/testdata/00515_enhanced_time_zones/explain_23.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/00515_enhanced_time_zones/explain_23.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/00516_deduplication_after_drop_partition_zookeeper/explain_14.txt b/parser/testdata/00516_deduplication_after_drop_partition_zookeeper/explain_14.txt new file mode 100644 index 0000000000..3f2108bff8 --- /dev/null +++ b/parser/testdata/00516_deduplication_after_drop_partition_zookeeper/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier deduplication_by_partition diff --git a/parser/testdata/00516_deduplication_after_drop_partition_zookeeper/explain_15.txt b/parser/testdata/00516_deduplication_after_drop_partition_zookeeper/explain_15.txt new file mode 100644 index 0000000000..3f2108bff8 --- /dev/null +++ b/parser/testdata/00516_deduplication_after_drop_partition_zookeeper/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier deduplication_by_partition diff --git a/parser/testdata/00516_deduplication_after_drop_partition_zookeeper/explain_16.txt b/parser/testdata/00516_deduplication_after_drop_partition_zookeeper/explain_16.txt new file mode 100644 index 0000000000..3f2108bff8 --- /dev/null +++ b/parser/testdata/00516_deduplication_after_drop_partition_zookeeper/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier deduplication_by_partition diff --git a/parser/testdata/00516_deduplication_after_drop_partition_zookeeper/explain_17.txt b/parser/testdata/00516_deduplication_after_drop_partition_zookeeper/explain_17.txt new file mode 100644 index 0000000000..3f2108bff8 --- /dev/null +++ b/parser/testdata/00516_deduplication_after_drop_partition_zookeeper/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier deduplication_by_partition diff --git a/parser/testdata/00516_deduplication_after_drop_partition_zookeeper/explain_18.txt b/parser/testdata/00516_deduplication_after_drop_partition_zookeeper/explain_18.txt new file mode 100644 index 0000000000..3f2108bff8 --- /dev/null +++ b/parser/testdata/00516_deduplication_after_drop_partition_zookeeper/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier deduplication_by_partition diff --git a/parser/testdata/00516_deduplication_after_drop_partition_zookeeper/explain_19.txt b/parser/testdata/00516_deduplication_after_drop_partition_zookeeper/explain_19.txt new file mode 100644 index 0000000000..3f2108bff8 --- /dev/null +++ b/parser/testdata/00516_deduplication_after_drop_partition_zookeeper/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier deduplication_by_partition diff --git a/parser/testdata/00516_deduplication_after_drop_partition_zookeeper/explain_20.txt b/parser/testdata/00516_deduplication_after_drop_partition_zookeeper/explain_20.txt new file mode 100644 index 0000000000..3f2108bff8 --- /dev/null +++ b/parser/testdata/00516_deduplication_after_drop_partition_zookeeper/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier deduplication_by_partition diff --git a/parser/testdata/00516_deduplication_after_drop_partition_zookeeper/explain_3.txt b/parser/testdata/00516_deduplication_after_drop_partition_zookeeper/explain_3.txt new file mode 100644 index 0000000000..3f2108bff8 --- /dev/null +++ b/parser/testdata/00516_deduplication_after_drop_partition_zookeeper/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier deduplication_by_partition diff --git a/parser/testdata/00516_deduplication_after_drop_partition_zookeeper/explain_4.txt b/parser/testdata/00516_deduplication_after_drop_partition_zookeeper/explain_4.txt new file mode 100644 index 0000000000..3f2108bff8 --- /dev/null +++ b/parser/testdata/00516_deduplication_after_drop_partition_zookeeper/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier deduplication_by_partition diff --git a/parser/testdata/00516_deduplication_after_drop_partition_zookeeper/explain_5.txt b/parser/testdata/00516_deduplication_after_drop_partition_zookeeper/explain_5.txt new file mode 100644 index 0000000000..3f2108bff8 --- /dev/null +++ b/parser/testdata/00516_deduplication_after_drop_partition_zookeeper/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier deduplication_by_partition diff --git a/parser/testdata/00516_deduplication_after_drop_partition_zookeeper/explain_6.txt b/parser/testdata/00516_deduplication_after_drop_partition_zookeeper/explain_6.txt new file mode 100644 index 0000000000..3f2108bff8 --- /dev/null +++ b/parser/testdata/00516_deduplication_after_drop_partition_zookeeper/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier deduplication_by_partition diff --git a/parser/testdata/00516_deduplication_after_drop_partition_zookeeper/explain_7.txt b/parser/testdata/00516_deduplication_after_drop_partition_zookeeper/explain_7.txt new file mode 100644 index 0000000000..3f2108bff8 --- /dev/null +++ b/parser/testdata/00516_deduplication_after_drop_partition_zookeeper/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier deduplication_by_partition diff --git a/parser/testdata/00516_deduplication_after_drop_partition_zookeeper/explain_8.txt b/parser/testdata/00516_deduplication_after_drop_partition_zookeeper/explain_8.txt new file mode 100644 index 0000000000..3f2108bff8 --- /dev/null +++ b/parser/testdata/00516_deduplication_after_drop_partition_zookeeper/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier deduplication_by_partition diff --git a/parser/testdata/00517_date_parsing/explain_4.txt b/parser/testdata/00517_date_parsing/explain_4.txt new file mode 100644 index 0000000000..f4210cd20f --- /dev/null +++ b/parser/testdata/00517_date_parsing/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier date diff --git a/parser/testdata/00517_date_parsing/explain_6.txt b/parser/testdata/00517_date_parsing/explain_6.txt new file mode 100644 index 0000000000..f4210cd20f --- /dev/null +++ b/parser/testdata/00517_date_parsing/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier date diff --git a/parser/testdata/00518_extract_all_and_empty_matches/explain.txt b/parser/testdata/00518_extract_all_and_empty_matches/explain.txt new file mode 100644 index 0000000000..e2688f7ccf --- /dev/null +++ b/parser/testdata/00518_extract_all_and_empty_matches/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 3) + Literal \'{"a":"1","b":"2","c":"","d":"4"}\' (alias json) + Function extractAll (alias keys) (children 1) + ExpressionList (children 2) + Identifier json + Literal \'"([^"]*)":\' + Function extractAll (alias values) (children 1) + ExpressionList (children 2) + Identifier json + Literal \':"([^"]*)"\' diff --git a/parser/testdata/00520_tuple_values_interpreter/explain_3.txt b/parser/testdata/00520_tuple_values_interpreter/explain_3.txt new file mode 100644 index 0000000000..e3236ab8dc --- /dev/null +++ b/parser/testdata/00520_tuple_values_interpreter/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tuple diff --git a/parser/testdata/00520_tuple_values_interpreter/explain_5.txt b/parser/testdata/00520_tuple_values_interpreter/explain_5.txt new file mode 100644 index 0000000000..e3236ab8dc --- /dev/null +++ b/parser/testdata/00520_tuple_values_interpreter/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tuple diff --git a/parser/testdata/00521_multidimensional/explain_12.txt b/parser/testdata/00521_multidimensional/explain_12.txt new file mode 100644 index 0000000000..32da7cfa77 --- /dev/null +++ b/parser/testdata/00521_multidimensional/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier multidimensional diff --git a/parser/testdata/00521_multidimensional/explain_16.txt b/parser/testdata/00521_multidimensional/explain_16.txt new file mode 100644 index 0000000000..32da7cfa77 --- /dev/null +++ b/parser/testdata/00521_multidimensional/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier multidimensional diff --git a/parser/testdata/00521_multidimensional/explain_20.txt b/parser/testdata/00521_multidimensional/explain_20.txt new file mode 100644 index 0000000000..32da7cfa77 --- /dev/null +++ b/parser/testdata/00521_multidimensional/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier multidimensional diff --git a/parser/testdata/00521_multidimensional/explain_24.txt b/parser/testdata/00521_multidimensional/explain_24.txt new file mode 100644 index 0000000000..32da7cfa77 --- /dev/null +++ b/parser/testdata/00521_multidimensional/explain_24.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier multidimensional diff --git a/parser/testdata/00521_multidimensional/explain_3.txt b/parser/testdata/00521_multidimensional/explain_3.txt new file mode 100644 index 0000000000..32da7cfa77 --- /dev/null +++ b/parser/testdata/00521_multidimensional/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier multidimensional diff --git a/parser/testdata/00521_multidimensional/explain_6.txt b/parser/testdata/00521_multidimensional/explain_6.txt new file mode 100644 index 0000000000..dd693f9a72 --- /dev/null +++ b/parser/testdata/00521_multidimensional/explain_6.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier multidimensional + ExpressionList (children 1) + Identifier t diff --git a/parser/testdata/00531_aggregate_over_nullable/explain_4.txt b/parser/testdata/00531_aggregate_over_nullable/explain_4.txt new file mode 100644 index 0000000000..0fe610a86c --- /dev/null +++ b/parser/testdata/00531_aggregate_over_nullable/explain_4.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier agg_over_nullable + ExpressionList (children 4) + Identifier partition + Identifier timestamp + Identifier user_id + Identifier description diff --git a/parser/testdata/00531_aggregate_over_nullable/explain_5.txt b/parser/testdata/00531_aggregate_over_nullable/explain_5.txt new file mode 100644 index 0000000000..0fe610a86c --- /dev/null +++ b/parser/testdata/00531_aggregate_over_nullable/explain_5.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier agg_over_nullable + ExpressionList (children 4) + Identifier partition + Identifier timestamp + Identifier user_id + Identifier description diff --git a/parser/testdata/00531_aggregate_over_nullable/explain_6.txt b/parser/testdata/00531_aggregate_over_nullable/explain_6.txt new file mode 100644 index 0000000000..0fe610a86c --- /dev/null +++ b/parser/testdata/00531_aggregate_over_nullable/explain_6.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier agg_over_nullable + ExpressionList (children 4) + Identifier partition + Identifier timestamp + Identifier user_id + Identifier description diff --git a/parser/testdata/00535_parse_float_scientific/explain_3.txt b/parser/testdata/00535_parse_float_scientific/explain_3.txt new file mode 100644 index 0000000000..386e765f39 --- /dev/null +++ b/parser/testdata/00535_parse_float_scientific/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier float diff --git a/parser/testdata/00541_to_start_of_fifteen_minutes/explain.txt b/parser/testdata/00541_to_start_of_fifteen_minutes/explain.txt new file mode 100644 index 0000000000..7b536b355a --- /dev/null +++ b/parser/testdata/00541_to_start_of_fifteen_minutes/explain.txt @@ -0,0 +1,32 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier result + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function toStartOfFifteenMinutes (alias result) (children 1) + ExpressionList (children 1) + Function plus (children 1) + ExpressionList (children 2) + Function toDateTime (children 1) + ExpressionList (children 1) + Literal \'2017-12-25 00:00:00\' + Function multiply (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_60 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_120 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier result diff --git a/parser/testdata/00542_access_to_temporary_table_in_readonly_mode/explain_3.txt b/parser/testdata/00542_access_to_temporary_table_in_readonly_mode/explain_3.txt new file mode 100644 index 0000000000..566d95a2db --- /dev/null +++ b/parser/testdata/00542_access_to_temporary_table_in_readonly_mode/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier readonly00542 + ExpressionList (children 1) + Identifier ID diff --git a/parser/testdata/00542_materialized_view_and_time_zone_tag/explain_8.txt b/parser/testdata/00542_materialized_view_and_time_zone_tag/explain_8.txt new file mode 100644 index 0000000000..cd76eec2c4 --- /dev/null +++ b/parser/testdata/00542_materialized_view_and_time_zone_tag/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier x diff --git a/parser/testdata/00542_materialized_view_and_time_zone_tag/explain_9.txt b/parser/testdata/00542_materialized_view_and_time_zone_tag/explain_9.txt new file mode 100644 index 0000000000..cd76eec2c4 --- /dev/null +++ b/parser/testdata/00542_materialized_view_and_time_zone_tag/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier x diff --git a/parser/testdata/00543_null_and_prewhere/explain_3.txt b/parser/testdata/00543_null_and_prewhere/explain_3.txt new file mode 100644 index 0000000000..8088de5564 --- /dev/null +++ b/parser/testdata/00543_null_and_prewhere/explain_3.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 3) + Identifier dt + Identifier id + Identifier val diff --git a/parser/testdata/00543_null_and_prewhere/explain_4.txt b/parser/testdata/00543_null_and_prewhere/explain_4.txt new file mode 100644 index 0000000000..8088de5564 --- /dev/null +++ b/parser/testdata/00543_null_and_prewhere/explain_4.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 3) + Identifier dt + Identifier id + Identifier val diff --git a/parser/testdata/00543_null_and_prewhere/explain_5.txt b/parser/testdata/00543_null_and_prewhere/explain_5.txt new file mode 100644 index 0000000000..8088de5564 --- /dev/null +++ b/parser/testdata/00543_null_and_prewhere/explain_5.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 3) + Identifier dt + Identifier id + Identifier val diff --git a/parser/testdata/00552_logical_functions_simple/explain.txt b/parser/testdata/00552_logical_functions_simple/explain.txt new file mode 100644 index 0000000000..ade0298445 --- /dev/null +++ b/parser/testdata/00552_logical_functions_simple/explain.txt @@ -0,0 +1,115 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 6) + Function xor (alias xor1) (children 1) + ExpressionList (children 4) + Identifier x1 + Identifier x2 + Identifier x3 + Identifier x4 + Function xor (alias xor2) (children 1) + ExpressionList (children 2) + Function xor (children 1) + ExpressionList (children 2) + Identifier x1 + Identifier x2 + Function xor (children 1) + ExpressionList (children 2) + Identifier x3 + Identifier x4 + Function or (alias or1) (children 1) + ExpressionList (children 4) + Identifier x1 + Identifier x2 + Identifier x3 + Identifier x4 + Function or (alias or2) (children 1) + ExpressionList (children 2) + Function or (children 1) + ExpressionList (children 2) + Identifier x1 + Identifier x2 + Function or (children 1) + ExpressionList (children 2) + Identifier x3 + Identifier x4 + Function and (alias and1) (children 1) + ExpressionList (children 4) + Identifier x1 + Identifier x2 + Identifier x3 + Identifier x4 + Function and (alias and2) (children 1) + ExpressionList (children 2) + Function and (children 1) + ExpressionList (children 2) + Identifier x1 + Identifier x2 + Function and (children 1) + ExpressionList (children 2) + Identifier x3 + Identifier x4 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 4) + Function toUInt8 (alias x1) (children 1) + ExpressionList (children 1) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + Function toUInt8 (alias x2) (children 1) + ExpressionList (children 1) + Function modulo (children 1) + ExpressionList (children 2) + Function divide (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + Literal UInt64_2 + Function toUInt8 (alias x3) (children 1) + ExpressionList (children 1) + Function modulo (children 1) + ExpressionList (children 2) + Function divide (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_4 + Literal UInt64_2 + Function toUInt8 (alias x4) (children 1) + ExpressionList (children 1) + Function modulo (children 1) + ExpressionList (children 2) + Function divide (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_8 + Literal UInt64_2 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_16 + Function or (children 1) + ExpressionList (children 2) + Function notEquals (children 1) + ExpressionList (children 2) + Identifier xor1 + Identifier xor2 + Function or (children 1) + ExpressionList (children 2) + Function notEquals (children 1) + ExpressionList (children 2) + Identifier and1 + Identifier and2 + Function notEquals (children 1) + ExpressionList (children 2) + Identifier or1 + Identifier or2 diff --git a/parser/testdata/00552_logical_functions_ternary/explain.txt b/parser/testdata/00552_logical_functions_ternary/explain.txt new file mode 100644 index 0000000000..93c95c90fd --- /dev/null +++ b/parser/testdata/00552_logical_functions_ternary/explain.txt @@ -0,0 +1,155 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 6) + Function xor (alias xor1) (children 1) + ExpressionList (children 4) + Identifier x1 + Identifier x2 + Identifier x3 + Identifier x4 + Function xor (alias xor2) (children 1) + ExpressionList (children 2) + Function xor (children 1) + ExpressionList (children 2) + Identifier x1 + Identifier x2 + Function xor (children 1) + ExpressionList (children 2) + Identifier x3 + Identifier x4 + Function or (alias or1) (children 1) + ExpressionList (children 4) + Identifier x1 + Identifier x2 + Identifier x3 + Identifier x4 + Function or (alias or2) (children 1) + ExpressionList (children 2) + Function or (children 1) + ExpressionList (children 2) + Identifier x1 + Identifier x2 + Function or (children 1) + ExpressionList (children 2) + Identifier x3 + Identifier x4 + Function and (alias and1) (children 1) + ExpressionList (children 4) + Identifier x1 + Identifier x2 + Identifier x3 + Identifier x4 + Function and (alias and2) (children 1) + ExpressionList (children 2) + Function and (children 1) + ExpressionList (children 2) + Identifier x1 + Identifier x2 + Function and (children 1) + ExpressionList (children 2) + Identifier x3 + Identifier x4 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 4) + Function nullIf (alias x1) (children 1) + ExpressionList (children 2) + Function toUInt8 (children 1) + ExpressionList (children 1) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_3 + Literal UInt64_2 + Function nullIf (alias x2) (children 1) + ExpressionList (children 2) + Function toUInt8 (children 1) + ExpressionList (children 1) + Function modulo (children 1) + ExpressionList (children 2) + Function divide (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_3 + Literal UInt64_3 + Literal UInt64_2 + Function nullIf (alias x3) (children 1) + ExpressionList (children 2) + Function toUInt8 (children 1) + ExpressionList (children 1) + Function modulo (children 1) + ExpressionList (children 2) + Function divide (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_9 + Literal UInt64_3 + Literal UInt64_2 + Function nullIf (alias x4) (children 1) + ExpressionList (children 2) + Function toUInt8 (children 1) + ExpressionList (children 1) + Function modulo (children 1) + ExpressionList (children 2) + Function divide (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_27 + Literal UInt64_3 + Literal UInt64_2 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_81 + Function or (children 1) + ExpressionList (children 2) + Function or (children 1) + ExpressionList (children 2) + Function notEquals (children 1) + ExpressionList (children 2) + Identifier xor1 + Identifier xor2 + Function notEquals (children 1) + ExpressionList (children 2) + Function isNull (children 1) + ExpressionList (children 1) + Identifier xor1 + Function isNull (children 1) + ExpressionList (children 1) + Identifier xor2 + Function or (children 1) + ExpressionList (children 3) + Function notEquals (children 1) + ExpressionList (children 2) + Identifier or1 + Identifier or2 + Function notEquals (children 1) + ExpressionList (children 2) + Function isNull (children 1) + ExpressionList (children 1) + Identifier or1 + Function isNull (children 1) + ExpressionList (children 1) + Identifier or2 + Function or (children 1) + ExpressionList (children 2) + Function notEquals (children 1) + ExpressionList (children 2) + Identifier and1 + Identifier and2 + Function notEquals (children 1) + ExpressionList (children 2) + Function isNull (children 1) + ExpressionList (children 1) + Identifier and1 + Function isNull (children 1) + ExpressionList (children 1) + Identifier and2 diff --git a/parser/testdata/00552_logical_functions_uint8_as_bool/explain.txt b/parser/testdata/00552_logical_functions_uint8_as_bool/explain.txt new file mode 100644 index 0000000000..ddc5a9e218 --- /dev/null +++ b/parser/testdata/00552_logical_functions_uint8_as_bool/explain.txt @@ -0,0 +1,30 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 6) + Function and (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal UInt64_2 + Function and (children 1) + ExpressionList (children 2) + Literal UInt64_2 + Literal UInt64_4 + Function and (children 1) + ExpressionList (children 3) + Literal UInt64_1 + Literal UInt64_2 + Literal UInt64_4 + Function or (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal UInt64_2 + Function or (children 1) + ExpressionList (children 2) + Literal UInt64_2 + Literal UInt64_4 + Function or (children 1) + ExpressionList (children 3) + Literal UInt64_1 + Literal UInt64_2 + Literal UInt64_4 diff --git a/parser/testdata/00552_or_nullable/explain.txt b/parser/testdata/00552_or_nullable/explain.txt new file mode 100644 index 0000000000..ad019f61f4 --- /dev/null +++ b/parser/testdata/00552_or_nullable/explain.txt @@ -0,0 +1,43 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 8) + Function or (children 1) + ExpressionList (children 2) + Literal UInt64_0 + Literal NULL + Function or (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal NULL + Function or (children 1) + ExpressionList (children 2) + Function toNullable (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal NULL + Function or (children 1) + ExpressionList (children 2) + Function toNullable (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Literal NULL + Function or (children 1) + ExpressionList (children 2) + Literal Float64_0 + Literal NULL + Function or (children 1) + ExpressionList (children 2) + Literal Float64_0.1 + Literal NULL + Function or (children 1) + ExpressionList (children 3) + Literal NULL + Literal UInt64_1 + Literal NULL + Function or (children 1) + ExpressionList (children 4) + Literal UInt64_0 + Literal NULL + Literal UInt64_1 + Literal NULL diff --git a/parser/testdata/00552_or_nullable/explain_7.txt b/parser/testdata/00552_or_nullable/explain_7.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/00552_or_nullable/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/00553_buff_exists_materlized_column/explain_10.txt b/parser/testdata/00553_buff_exists_materlized_column/explain_10.txt new file mode 100644 index 0000000000..841341a8b2 --- /dev/null +++ b/parser/testdata/00553_buff_exists_materlized_column/explain_10.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier nums_buf + ExpressionList (children 1) + Identifier n diff --git a/parser/testdata/00553_buff_exists_materlized_column/explain_6.txt b/parser/testdata/00553_buff_exists_materlized_column/explain_6.txt new file mode 100644 index 0000000000..841341a8b2 --- /dev/null +++ b/parser/testdata/00553_buff_exists_materlized_column/explain_6.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier nums_buf + ExpressionList (children 1) + Identifier n diff --git a/parser/testdata/00553_buff_exists_materlized_column/explain_7.txt b/parser/testdata/00553_buff_exists_materlized_column/explain_7.txt new file mode 100644 index 0000000000..841341a8b2 --- /dev/null +++ b/parser/testdata/00553_buff_exists_materlized_column/explain_7.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier nums_buf + ExpressionList (children 1) + Identifier n diff --git a/parser/testdata/00553_buff_exists_materlized_column/explain_8.txt b/parser/testdata/00553_buff_exists_materlized_column/explain_8.txt new file mode 100644 index 0000000000..841341a8b2 --- /dev/null +++ b/parser/testdata/00553_buff_exists_materlized_column/explain_8.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier nums_buf + ExpressionList (children 1) + Identifier n diff --git a/parser/testdata/00553_buff_exists_materlized_column/explain_9.txt b/parser/testdata/00553_buff_exists_materlized_column/explain_9.txt new file mode 100644 index 0000000000..841341a8b2 --- /dev/null +++ b/parser/testdata/00553_buff_exists_materlized_column/explain_9.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier nums_buf + ExpressionList (children 1) + Identifier n diff --git a/parser/testdata/00554_nested_and_table_engines/explain_10.txt b/parser/testdata/00554_nested_and_table_engines/explain_10.txt new file mode 100644 index 0000000000..6c9842c19d --- /dev/null +++ b/parser/testdata/00554_nested_and_table_engines/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nested diff --git a/parser/testdata/00554_nested_and_table_engines/explain_11.txt b/parser/testdata/00554_nested_and_table_engines/explain_11.txt new file mode 100644 index 0000000000..6c9842c19d --- /dev/null +++ b/parser/testdata/00554_nested_and_table_engines/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nested diff --git a/parser/testdata/00554_nested_and_table_engines/explain_17.txt b/parser/testdata/00554_nested_and_table_engines/explain_17.txt new file mode 100644 index 0000000000..6c9842c19d --- /dev/null +++ b/parser/testdata/00554_nested_and_table_engines/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nested diff --git a/parser/testdata/00554_nested_and_table_engines/explain_18.txt b/parser/testdata/00554_nested_and_table_engines/explain_18.txt new file mode 100644 index 0000000000..6c9842c19d --- /dev/null +++ b/parser/testdata/00554_nested_and_table_engines/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nested diff --git a/parser/testdata/00554_nested_and_table_engines/explain_24.txt b/parser/testdata/00554_nested_and_table_engines/explain_24.txt new file mode 100644 index 0000000000..6c9842c19d --- /dev/null +++ b/parser/testdata/00554_nested_and_table_engines/explain_24.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nested diff --git a/parser/testdata/00554_nested_and_table_engines/explain_25.txt b/parser/testdata/00554_nested_and_table_engines/explain_25.txt new file mode 100644 index 0000000000..6c9842c19d --- /dev/null +++ b/parser/testdata/00554_nested_and_table_engines/explain_25.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nested diff --git a/parser/testdata/00554_nested_and_table_engines/explain_3.txt b/parser/testdata/00554_nested_and_table_engines/explain_3.txt new file mode 100644 index 0000000000..6c9842c19d --- /dev/null +++ b/parser/testdata/00554_nested_and_table_engines/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nested diff --git a/parser/testdata/00554_nested_and_table_engines/explain_31.txt b/parser/testdata/00554_nested_and_table_engines/explain_31.txt new file mode 100644 index 0000000000..6c9842c19d --- /dev/null +++ b/parser/testdata/00554_nested_and_table_engines/explain_31.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nested diff --git a/parser/testdata/00554_nested_and_table_engines/explain_32.txt b/parser/testdata/00554_nested_and_table_engines/explain_32.txt new file mode 100644 index 0000000000..6c9842c19d --- /dev/null +++ b/parser/testdata/00554_nested_and_table_engines/explain_32.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nested diff --git a/parser/testdata/00554_nested_and_table_engines/explain_4.txt b/parser/testdata/00554_nested_and_table_engines/explain_4.txt new file mode 100644 index 0000000000..6c9842c19d --- /dev/null +++ b/parser/testdata/00554_nested_and_table_engines/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nested diff --git a/parser/testdata/00560_float_leading_plus_in_exponent/explain_2.txt b/parser/testdata/00560_float_leading_plus_in_exponent/explain_2.txt new file mode 100644 index 0000000000..c267753296 --- /dev/null +++ b/parser/testdata/00560_float_leading_plus_in_exponent/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_float diff --git a/parser/testdata/00561_storage_join/explain_4.txt b/parser/testdata/00561_storage_join/explain_4.txt new file mode 100644 index 0000000000..98c2b3e1a2 --- /dev/null +++ b/parser/testdata/00561_storage_join/explain_4.txt @@ -0,0 +1,8 @@ +InsertQuery (children 2) + Identifier joinbug + ExpressionList (children 5) + Identifier id + Identifier id2 + Identifier val + Identifier val2 + Identifier created diff --git a/parser/testdata/00562_in_subquery_merge_tree/explain_3.txt b/parser/testdata/00562_in_subquery_merge_tree/explain_3.txt new file mode 100644 index 0000000000..0c5f8ebbfb --- /dev/null +++ b/parser/testdata/00562_in_subquery_merge_tree/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier merge_tree_in_subqueries diff --git a/parser/testdata/00562_in_subquery_merge_tree/explain_4.txt b/parser/testdata/00562_in_subquery_merge_tree/explain_4.txt new file mode 100644 index 0000000000..0c5f8ebbfb --- /dev/null +++ b/parser/testdata/00562_in_subquery_merge_tree/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier merge_tree_in_subqueries diff --git a/parser/testdata/00562_in_subquery_merge_tree/explain_5.txt b/parser/testdata/00562_in_subquery_merge_tree/explain_5.txt new file mode 100644 index 0000000000..0c5f8ebbfb --- /dev/null +++ b/parser/testdata/00562_in_subquery_merge_tree/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier merge_tree_in_subqueries diff --git a/parser/testdata/00562_in_subquery_merge_tree/explain_6.txt b/parser/testdata/00562_in_subquery_merge_tree/explain_6.txt new file mode 100644 index 0000000000..0c5f8ebbfb --- /dev/null +++ b/parser/testdata/00562_in_subquery_merge_tree/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier merge_tree_in_subqueries diff --git a/parser/testdata/00562_in_subquery_merge_tree/explain_7.txt b/parser/testdata/00562_in_subquery_merge_tree/explain_7.txt new file mode 100644 index 0000000000..0c5f8ebbfb --- /dev/null +++ b/parser/testdata/00562_in_subquery_merge_tree/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier merge_tree_in_subqueries diff --git a/parser/testdata/00562_rewrite_select_expression_with_union/explain_3.txt b/parser/testdata/00562_rewrite_select_expression_with_union/explain_3.txt new file mode 100644 index 0000000000..f982fe3e1c --- /dev/null +++ b/parser/testdata/00562_rewrite_select_expression_with_union/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_00562 diff --git a/parser/testdata/00563_complex_in_expression/explain_10.txt b/parser/testdata/00563_complex_in_expression/explain_10.txt new file mode 100644 index 0000000000..cdc0995c01 --- /dev/null +++ b/parser/testdata/00563_complex_in_expression/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier join_with_index diff --git a/parser/testdata/00563_complex_in_expression/explain_4.txt b/parser/testdata/00563_complex_in_expression/explain_4.txt new file mode 100644 index 0000000000..e0577ae70c --- /dev/null +++ b/parser/testdata/00563_complex_in_expression/explain_4.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier test_00563 + ExpressionList (children 3) + Identifier dt + Identifier site_id + Identifier site_key diff --git a/parser/testdata/00563_insert_into_remote_and_zookeeper_long/explain_11.txt b/parser/testdata/00563_insert_into_remote_and_zookeeper_long/explain_11.txt new file mode 100644 index 0000000000..921219cf11 --- /dev/null +++ b/parser/testdata/00563_insert_into_remote_and_zookeeper_long/explain_11.txt @@ -0,0 +1,8 @@ +InsertQuery (children 2) + Function remote (children 1) + ExpressionList (children 3) + Literal \'127.0.0.1\' + Function currentDatabase (children 1) + ExpressionList + Literal \'simple\' + Set diff --git a/parser/testdata/00563_insert_into_remote_and_zookeeper_long/explain_12.txt b/parser/testdata/00563_insert_into_remote_and_zookeeper_long/explain_12.txt new file mode 100644 index 0000000000..921219cf11 --- /dev/null +++ b/parser/testdata/00563_insert_into_remote_and_zookeeper_long/explain_12.txt @@ -0,0 +1,8 @@ +InsertQuery (children 2) + Function remote (children 1) + ExpressionList (children 3) + Literal \'127.0.0.1\' + Function currentDatabase (children 1) + ExpressionList + Literal \'simple\' + Set diff --git a/parser/testdata/00563_insert_into_remote_and_zookeeper_long/explain_13.txt b/parser/testdata/00563_insert_into_remote_and_zookeeper_long/explain_13.txt new file mode 100644 index 0000000000..921219cf11 --- /dev/null +++ b/parser/testdata/00563_insert_into_remote_and_zookeeper_long/explain_13.txt @@ -0,0 +1,8 @@ +InsertQuery (children 2) + Function remote (children 1) + ExpressionList (children 3) + Literal \'127.0.0.1\' + Function currentDatabase (children 1) + ExpressionList + Literal \'simple\' + Set diff --git a/parser/testdata/00563_insert_into_remote_and_zookeeper_long/explain_14.txt b/parser/testdata/00563_insert_into_remote_and_zookeeper_long/explain_14.txt new file mode 100644 index 0000000000..921219cf11 --- /dev/null +++ b/parser/testdata/00563_insert_into_remote_and_zookeeper_long/explain_14.txt @@ -0,0 +1,8 @@ +InsertQuery (children 2) + Function remote (children 1) + ExpressionList (children 3) + Literal \'127.0.0.1\' + Function currentDatabase (children 1) + ExpressionList + Literal \'simple\' + Set diff --git a/parser/testdata/00563_insert_into_remote_and_zookeeper_long/explain_4.txt b/parser/testdata/00563_insert_into_remote_and_zookeeper_long/explain_4.txt new file mode 100644 index 0000000000..921219cf11 --- /dev/null +++ b/parser/testdata/00563_insert_into_remote_and_zookeeper_long/explain_4.txt @@ -0,0 +1,8 @@ +InsertQuery (children 2) + Function remote (children 1) + ExpressionList (children 3) + Literal \'127.0.0.1\' + Function currentDatabase (children 1) + ExpressionList + Literal \'simple\' + Set diff --git a/parser/testdata/00563_insert_into_remote_and_zookeeper_long/explain_5.txt b/parser/testdata/00563_insert_into_remote_and_zookeeper_long/explain_5.txt new file mode 100644 index 0000000000..921219cf11 --- /dev/null +++ b/parser/testdata/00563_insert_into_remote_and_zookeeper_long/explain_5.txt @@ -0,0 +1,8 @@ +InsertQuery (children 2) + Function remote (children 1) + ExpressionList (children 3) + Literal \'127.0.0.1\' + Function currentDatabase (children 1) + ExpressionList + Literal \'simple\' + Set diff --git a/parser/testdata/00563_insert_into_remote_and_zookeeper_long/explain_6.txt b/parser/testdata/00563_insert_into_remote_and_zookeeper_long/explain_6.txt new file mode 100644 index 0000000000..921219cf11 --- /dev/null +++ b/parser/testdata/00563_insert_into_remote_and_zookeeper_long/explain_6.txt @@ -0,0 +1,8 @@ +InsertQuery (children 2) + Function remote (children 1) + ExpressionList (children 3) + Literal \'127.0.0.1\' + Function currentDatabase (children 1) + ExpressionList + Literal \'simple\' + Set diff --git a/parser/testdata/00563_insert_into_remote_and_zookeeper_long/explain_7.txt b/parser/testdata/00563_insert_into_remote_and_zookeeper_long/explain_7.txt new file mode 100644 index 0000000000..921219cf11 --- /dev/null +++ b/parser/testdata/00563_insert_into_remote_and_zookeeper_long/explain_7.txt @@ -0,0 +1,8 @@ +InsertQuery (children 2) + Function remote (children 1) + ExpressionList (children 3) + Literal \'127.0.0.1\' + Function currentDatabase (children 1) + ExpressionList + Literal \'simple\' + Set diff --git a/parser/testdata/00563_shard_insert_into_remote/explain_3.txt b/parser/testdata/00563_shard_insert_into_remote/explain_3.txt new file mode 100644 index 0000000000..49d62e7e9f --- /dev/null +++ b/parser/testdata/00563_shard_insert_into_remote/explain_3.txt @@ -0,0 +1,7 @@ +InsertQuery (children 1) + Function remote (children 1) + ExpressionList (children 3) + Literal \'127.0.0.2\' + Function currentDatabase (children 1) + ExpressionList + Identifier tab diff --git a/parser/testdata/00563_shard_insert_into_remote/explain_4.txt b/parser/testdata/00563_shard_insert_into_remote/explain_4.txt new file mode 100644 index 0000000000..d0d4f1ebad --- /dev/null +++ b/parser/testdata/00563_shard_insert_into_remote/explain_4.txt @@ -0,0 +1,7 @@ +InsertQuery (children 1) + Function remote (children 1) + ExpressionList (children 3) + Literal \'127.0.0.{2|3}\' + Function currentDatabase (children 1) + ExpressionList + Identifier tab diff --git a/parser/testdata/00563_shard_insert_into_remote/explain_5.txt b/parser/testdata/00563_shard_insert_into_remote/explain_5.txt new file mode 100644 index 0000000000..01fb77a1d4 --- /dev/null +++ b/parser/testdata/00563_shard_insert_into_remote/explain_5.txt @@ -0,0 +1,7 @@ +InsertQuery (children 1) + Function remote (children 1) + ExpressionList (children 3) + Literal \'127.0.0.{2|3|4}\' + Function currentDatabase (children 1) + ExpressionList + Identifier tab diff --git a/parser/testdata/00564_initial_column_values_with_default_expression/explain_4.txt b/parser/testdata/00564_initial_column_values_with_default_expression/explain_4.txt new file mode 100644 index 0000000000..f1b4c57414 --- /dev/null +++ b/parser/testdata/00564_initial_column_values_with_default_expression/explain_4.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 3) + Identifier id + Identifier track + Identifier codec diff --git a/parser/testdata/00564_initial_column_values_with_default_expression/explain_6.txt b/parser/testdata/00564_initial_column_values_with_default_expression/explain_6.txt new file mode 100644 index 0000000000..239a3ad56b --- /dev/null +++ b/parser/testdata/00564_initial_column_values_with_default_expression/explain_6.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 4) + Identifier id + Identifier track + Identifier codec + Identifier content diff --git a/parser/testdata/00567_parse_datetime_as_unix_timestamp/explain_3.txt b/parser/testdata/00567_parse_datetime_as_unix_timestamp/explain_3.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/00567_parse_datetime_as_unix_timestamp/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/00571_alter_nullable/explain_3.txt b/parser/testdata/00571_alter_nullable/explain_3.txt new file mode 100644 index 0000000000..ec5d84c02d --- /dev/null +++ b/parser/testdata/00571_alter_nullable/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nullable_00571 diff --git a/parser/testdata/00575_merge_and_index_with_function_in_in/explain_4.txt b/parser/testdata/00575_merge_and_index_with_function_in_in/explain_4.txt new file mode 100644 index 0000000000..e87b740648 --- /dev/null +++ b/parser/testdata/00575_merge_and_index_with_function_in_in/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_00575 diff --git a/parser/testdata/00577_replacing_merge_tree_vertical_merge/explain_12.txt b/parser/testdata/00577_replacing_merge_tree_vertical_merge/explain_12.txt new file mode 100644 index 0000000000..a9abe78ac7 --- /dev/null +++ b/parser/testdata/00577_replacing_merge_tree_vertical_merge/explain_12.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier testCleanupR1 + ExpressionList (children 1) + Asterisk diff --git a/parser/testdata/00577_replacing_merge_tree_vertical_merge/explain_13.txt b/parser/testdata/00577_replacing_merge_tree_vertical_merge/explain_13.txt new file mode 100644 index 0000000000..a9abe78ac7 --- /dev/null +++ b/parser/testdata/00577_replacing_merge_tree_vertical_merge/explain_13.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier testCleanupR1 + ExpressionList (children 1) + Asterisk diff --git a/parser/testdata/00577_replacing_merge_tree_vertical_merge/explain_14.txt b/parser/testdata/00577_replacing_merge_tree_vertical_merge/explain_14.txt new file mode 100644 index 0000000000..a9abe78ac7 --- /dev/null +++ b/parser/testdata/00577_replacing_merge_tree_vertical_merge/explain_14.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier testCleanupR1 + ExpressionList (children 1) + Asterisk diff --git a/parser/testdata/00577_replacing_merge_tree_vertical_merge/explain_4.txt b/parser/testdata/00577_replacing_merge_tree_vertical_merge/explain_4.txt new file mode 100644 index 0000000000..e05076d924 --- /dev/null +++ b/parser/testdata/00577_replacing_merge_tree_vertical_merge/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab_00577 diff --git a/parser/testdata/00577_replacing_merge_tree_vertical_merge/explain_5.txt b/parser/testdata/00577_replacing_merge_tree_vertical_merge/explain_5.txt new file mode 100644 index 0000000000..e05076d924 --- /dev/null +++ b/parser/testdata/00577_replacing_merge_tree_vertical_merge/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab_00577 diff --git a/parser/testdata/00578_merge_trees_without_primary_key/explain_14.txt b/parser/testdata/00578_merge_trees_without_primary_key/explain_14.txt new file mode 100644 index 0000000000..37a608363c --- /dev/null +++ b/parser/testdata/00578_merge_trees_without_primary_key/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier unsorted_replacing diff --git a/parser/testdata/00578_merge_trees_without_primary_key/explain_15.txt b/parser/testdata/00578_merge_trees_without_primary_key/explain_15.txt new file mode 100644 index 0000000000..37a608363c --- /dev/null +++ b/parser/testdata/00578_merge_trees_without_primary_key/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier unsorted_replacing diff --git a/parser/testdata/00578_merge_trees_without_primary_key/explain_16.txt b/parser/testdata/00578_merge_trees_without_primary_key/explain_16.txt new file mode 100644 index 0000000000..37a608363c --- /dev/null +++ b/parser/testdata/00578_merge_trees_without_primary_key/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier unsorted_replacing diff --git a/parser/testdata/00578_merge_trees_without_primary_key/explain_25.txt b/parser/testdata/00578_merge_trees_without_primary_key/explain_25.txt new file mode 100644 index 0000000000..92c5adc305 --- /dev/null +++ b/parser/testdata/00578_merge_trees_without_primary_key/explain_25.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier unsorted_collapsing diff --git a/parser/testdata/00578_merge_trees_without_primary_key/explain_26.txt b/parser/testdata/00578_merge_trees_without_primary_key/explain_26.txt new file mode 100644 index 0000000000..92c5adc305 --- /dev/null +++ b/parser/testdata/00578_merge_trees_without_primary_key/explain_26.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier unsorted_collapsing diff --git a/parser/testdata/00578_merge_trees_without_primary_key/explain_27.txt b/parser/testdata/00578_merge_trees_without_primary_key/explain_27.txt new file mode 100644 index 0000000000..92c5adc305 --- /dev/null +++ b/parser/testdata/00578_merge_trees_without_primary_key/explain_27.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier unsorted_collapsing diff --git a/parser/testdata/00578_merge_trees_without_primary_key/explain_4.txt b/parser/testdata/00578_merge_trees_without_primary_key/explain_4.txt new file mode 100644 index 0000000000..97f32cae5a --- /dev/null +++ b/parser/testdata/00578_merge_trees_without_primary_key/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier unsorted diff --git a/parser/testdata/00578_merge_trees_without_primary_key/explain_5.txt b/parser/testdata/00578_merge_trees_without_primary_key/explain_5.txt new file mode 100644 index 0000000000..97f32cae5a --- /dev/null +++ b/parser/testdata/00578_merge_trees_without_primary_key/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier unsorted diff --git a/parser/testdata/00578_merge_trees_without_primary_key/explain_6.txt b/parser/testdata/00578_merge_trees_without_primary_key/explain_6.txt new file mode 100644 index 0000000000..97f32cae5a --- /dev/null +++ b/parser/testdata/00578_merge_trees_without_primary_key/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier unsorted diff --git a/parser/testdata/00579_merge_tree_partition_and_primary_keys_using_same_expression/explain_3.txt b/parser/testdata/00579_merge_tree_partition_and_primary_keys_using_same_expression/explain_3.txt new file mode 100644 index 0000000000..26eb4d5a43 --- /dev/null +++ b/parser/testdata/00579_merge_tree_partition_and_primary_keys_using_same_expression/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier partition_and_primary_keys_using_same_expression diff --git a/parser/testdata/00579_merge_tree_partition_and_primary_keys_using_same_expression/explain_4.txt b/parser/testdata/00579_merge_tree_partition_and_primary_keys_using_same_expression/explain_4.txt new file mode 100644 index 0000000000..26eb4d5a43 --- /dev/null +++ b/parser/testdata/00579_merge_tree_partition_and_primary_keys_using_same_expression/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier partition_and_primary_keys_using_same_expression diff --git a/parser/testdata/00584_view_union_all/explain_4.txt b/parser/testdata/00584_view_union_all/explain_4.txt new file mode 100644 index 0000000000..f59a40dfef --- /dev/null +++ b/parser/testdata/00584_view_union_all/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier Test_00584 diff --git a/parser/testdata/00585_union_all_subquery_aggregation_column_removal/explain_5.txt b/parser/testdata/00585_union_all_subquery_aggregation_column_removal/explain_5.txt new file mode 100644 index 0000000000..5175ab3a47 --- /dev/null +++ b/parser/testdata/00585_union_all_subquery_aggregation_column_removal/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier clicks diff --git a/parser/testdata/00585_union_all_subquery_aggregation_column_removal/explain_6.txt b/parser/testdata/00585_union_all_subquery_aggregation_column_removal/explain_6.txt new file mode 100644 index 0000000000..3f23e283ad --- /dev/null +++ b/parser/testdata/00585_union_all_subquery_aggregation_column_removal/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier transactions diff --git a/parser/testdata/00586_removing_unused_columns_from_subquery/explain_7.txt b/parser/testdata/00586_removing_unused_columns_from_subquery/explain_7.txt new file mode 100644 index 0000000000..fedb5a025a --- /dev/null +++ b/parser/testdata/00586_removing_unused_columns_from_subquery/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier local_statements diff --git a/parser/testdata/00588_shard_distributed_prewhere/explain_4.txt b/parser/testdata/00588_shard_distributed_prewhere/explain_4.txt new file mode 100644 index 0000000000..2de2f0787f --- /dev/null +++ b/parser/testdata/00588_shard_distributed_prewhere/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mergetree_00588 diff --git a/parser/testdata/00591_columns_removal_union_all/explain.txt b/parser/testdata/00591_columns_removal_union_all/explain.txt new file mode 100644 index 0000000000..a80dd430e8 --- /dev/null +++ b/parser/testdata/00591_columns_removal_union_all/explain.txt @@ -0,0 +1,64 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier x + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 2) + SelectQuery (children 2) + ExpressionList (children 3) + Identifier x + Identifier y + Function arrayJoin (children 1) + ExpressionList (children 1) + Identifier z + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 3) + Identifier number (alias x) + Function plus (alias y) (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_1 + Function array (alias z) (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_3 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + SelectQuery (children 1) + ExpressionList (children 3) + Literal UInt64_1 + Literal UInt64_2 + Literal UInt64_3 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier x diff --git a/parser/testdata/00592_union_all_different_aliases/explain.txt b/parser/testdata/00592_union_all_different_aliases/explain.txt index 62e790923a..5216adaee2 100644 --- a/parser/testdata/00592_union_all_different_aliases/explain.txt +++ b/parser/testdata/00592_union_all_different_aliases/explain.txt @@ -1,5 +1,8 @@ SelectWithUnionQuery (children 1) - ExpressionList (children 1) + ExpressionList (children 2) SelectQuery (children 1) ExpressionList (children 1) Literal UInt64_1 (alias a) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 (alias b) diff --git a/parser/testdata/00593_union_all_assert_columns_removed/explain_3.txt b/parser/testdata/00593_union_all_assert_columns_removed/explain_3.txt new file mode 100644 index 0000000000..fc221b1156 --- /dev/null +++ b/parser/testdata/00593_union_all_assert_columns_removed/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier columns diff --git a/parser/testdata/00594_alias_in_distributed/explain_6.txt b/parser/testdata/00594_alias_in_distributed/explain_6.txt new file mode 100644 index 0000000000..3fc270ee73 --- /dev/null +++ b/parser/testdata/00594_alias_in_distributed/explain_6.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier alias_local10 + ExpressionList (children 4) + Identifier Id + Identifier EventDate + Identifier field1 + Identifier field2 diff --git a/parser/testdata/00597_push_down_predicate_long/explain_10.txt b/parser/testdata/00597_push_down_predicate_long/explain_10.txt new file mode 100644 index 0000000000..003bafc370 --- /dev/null +++ b/parser/testdata/00597_push_down_predicate_long/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_00597 diff --git a/parser/testdata/00597_push_down_predicate_long/explain_11.txt b/parser/testdata/00597_push_down_predicate_long/explain_11.txt new file mode 100644 index 0000000000..003bafc370 --- /dev/null +++ b/parser/testdata/00597_push_down_predicate_long/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_00597 diff --git a/parser/testdata/00600_create_temporary_table_if_not_exists/explain_3.txt b/parser/testdata/00600_create_temporary_table_if_not_exists/explain_3.txt new file mode 100644 index 0000000000..8f4e4f871d --- /dev/null +++ b/parser/testdata/00600_create_temporary_table_if_not_exists/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier temporary_table diff --git a/parser/testdata/00604_shard_remote_and_columns_with_defaults/explain_10.txt b/parser/testdata/00604_shard_remote_and_columns_with_defaults/explain_10.txt new file mode 100644 index 0000000000..df4a687bc0 --- /dev/null +++ b/parser/testdata/00604_shard_remote_and_columns_with_defaults/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2 diff --git a/parser/testdata/00604_shard_remote_and_columns_with_defaults/explain_11.txt b/parser/testdata/00604_shard_remote_and_columns_with_defaults/explain_11.txt new file mode 100644 index 0000000000..ffa366159a --- /dev/null +++ b/parser/testdata/00604_shard_remote_and_columns_with_defaults/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t3 diff --git a/parser/testdata/00604_shard_remote_and_columns_with_defaults/explain_12.txt b/parser/testdata/00604_shard_remote_and_columns_with_defaults/explain_12.txt new file mode 100644 index 0000000000..a16e5147b1 --- /dev/null +++ b/parser/testdata/00604_shard_remote_and_columns_with_defaults/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t4 diff --git a/parser/testdata/00604_shard_remote_and_columns_with_defaults/explain_13.txt b/parser/testdata/00604_shard_remote_and_columns_with_defaults/explain_13.txt new file mode 100644 index 0000000000..47690a0d78 --- /dev/null +++ b/parser/testdata/00604_shard_remote_and_columns_with_defaults/explain_13.txt @@ -0,0 +1,7 @@ +InsertQuery (children 1) + Function remote (children 1) + ExpressionList (children 3) + Literal \'127.0.0.2\' + Function currentDatabase (children 1) + ExpressionList + Identifier t1 diff --git a/parser/testdata/00604_shard_remote_and_columns_with_defaults/explain_14.txt b/parser/testdata/00604_shard_remote_and_columns_with_defaults/explain_14.txt new file mode 100644 index 0000000000..a03e1ca733 --- /dev/null +++ b/parser/testdata/00604_shard_remote_and_columns_with_defaults/explain_14.txt @@ -0,0 +1,7 @@ +InsertQuery (children 1) + Function remote (children 1) + ExpressionList (children 3) + Literal \'127.0.0.2\' + Function currentDatabase (children 1) + ExpressionList + Identifier t2 diff --git a/parser/testdata/00604_shard_remote_and_columns_with_defaults/explain_15.txt b/parser/testdata/00604_shard_remote_and_columns_with_defaults/explain_15.txt new file mode 100644 index 0000000000..d18f5e189b --- /dev/null +++ b/parser/testdata/00604_shard_remote_and_columns_with_defaults/explain_15.txt @@ -0,0 +1,7 @@ +InsertQuery (children 1) + Function remote (children 1) + ExpressionList (children 3) + Literal \'127.0.0.2\' + Function currentDatabase (children 1) + ExpressionList + Identifier t4 diff --git a/parser/testdata/00604_shard_remote_and_columns_with_defaults/explain_9.txt b/parser/testdata/00604_shard_remote_and_columns_with_defaults/explain_9.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/00604_shard_remote_and_columns_with_defaults/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/00605_intersections_aggregate_functions/explain_3.txt b/parser/testdata/00605_intersections_aggregate_functions/explain_3.txt new file mode 100644 index 0000000000..aec37a90c2 --- /dev/null +++ b/parser/testdata/00605_intersections_aggregate_functions/explain_3.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 2) + Identifier start + Identifier end diff --git a/parser/testdata/00606_quantiles_and_nans/explain.txt b/parser/testdata/00606_quantiles_and_nans/explain.txt new file mode 100644 index 0000000000..f4890b776f --- /dev/null +++ b/parser/testdata/00606_quantiles_and_nans/explain.txt @@ -0,0 +1,76 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier eq + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 3) + Function range (alias arr) (children 1) + ExpressionList (children 1) + Function plus (children 1) + ExpressionList (children 2) + Literal UInt64_2 + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 + Function arrayMap (alias arr_with_nan) (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function if (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Identifier x + Function intDiv (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 + Literal Float64_nan + Identifier x + Identifier arr + Function arrayFilter (alias arr_filtered) (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function notEquals (children 1) + ExpressionList (children 2) + Identifier x + Function intDiv (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 + Identifier arr + ExpressionList (children 4) + Identifier number + Function arrayReduce (alias q1) (children 1) + ExpressionList (children 2) + Literal \'quantileExact\' + Identifier arr_with_nan + Function arrayReduce (alias q2) (children 1) + ExpressionList (children 2) + Literal \'quantileExact\' + Identifier arr_filtered + Function equals (alias eq) (children 1) + ExpressionList (children 2) + Identifier q1 + Identifier q2 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_100 diff --git a/parser/testdata/00607_index_in_in/explain_3.txt b/parser/testdata/00607_index_in_in/explain_3.txt new file mode 100644 index 0000000000..04f66a3e53 --- /dev/null +++ b/parser/testdata/00607_index_in_in/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier merge_tree diff --git a/parser/testdata/00609_distributed_with_case_when_then/explain_4.txt b/parser/testdata/00609_distributed_with_case_when_then/explain_4.txt new file mode 100644 index 0000000000..aaa87f9fd1 --- /dev/null +++ b/parser/testdata/00609_distributed_with_case_when_then/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mergetree_00609 diff --git a/parser/testdata/00609_mv_index_in_in/explain_4.txt b/parser/testdata/00609_mv_index_in_in/explain_4.txt new file mode 100644 index 0000000000..a730be66a7 --- /dev/null +++ b/parser/testdata/00609_mv_index_in_in/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_00609 diff --git a/parser/testdata/00609_prewhere_and_default/explain_10.txt b/parser/testdata/00609_prewhere_and_default/explain_10.txt index e84a8e5001..0af538d7f1 100644 --- a/parser/testdata/00609_prewhere_and_default/explain_10.txt +++ b/parser/testdata/00609_prewhere_and_default/explain_10.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 4) + SelectQuery (children 3) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 1) @@ -11,6 +11,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 2) Identifier val Literal UInt64_2 - Set Identifier Null Set diff --git a/parser/testdata/00609_prewhere_and_default/explain_11.txt b/parser/testdata/00609_prewhere_and_default/explain_11.txt index e84a8e5001..0af538d7f1 100644 --- a/parser/testdata/00609_prewhere_and_default/explain_11.txt +++ b/parser/testdata/00609_prewhere_and_default/explain_11.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 4) + SelectQuery (children 3) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 1) @@ -11,6 +11,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 2) Identifier val Literal UInt64_2 - Set Identifier Null Set diff --git a/parser/testdata/00609_prewhere_and_default/explain_12.txt b/parser/testdata/00609_prewhere_and_default/explain_12.txt index e84a8e5001..0af538d7f1 100644 --- a/parser/testdata/00609_prewhere_and_default/explain_12.txt +++ b/parser/testdata/00609_prewhere_and_default/explain_12.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 4) + SelectQuery (children 3) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 1) @@ -11,6 +11,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 2) Identifier val Literal UInt64_2 - Set Identifier Null Set diff --git a/parser/testdata/00609_prewhere_and_default/explain_18.txt b/parser/testdata/00609_prewhere_and_default/explain_18.txt index e84a8e5001..0af538d7f1 100644 --- a/parser/testdata/00609_prewhere_and_default/explain_18.txt +++ b/parser/testdata/00609_prewhere_and_default/explain_18.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 4) + SelectQuery (children 3) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 1) @@ -11,6 +11,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 2) Identifier val Literal UInt64_2 - Set Identifier Null Set diff --git a/parser/testdata/00609_prewhere_and_default/explain_19.txt b/parser/testdata/00609_prewhere_and_default/explain_19.txt index e84a8e5001..0af538d7f1 100644 --- a/parser/testdata/00609_prewhere_and_default/explain_19.txt +++ b/parser/testdata/00609_prewhere_and_default/explain_19.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 4) + SelectQuery (children 3) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 1) @@ -11,6 +11,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 2) Identifier val Literal UInt64_2 - Set Identifier Null Set diff --git a/parser/testdata/00609_prewhere_and_default/explain_20.txt b/parser/testdata/00609_prewhere_and_default/explain_20.txt index e84a8e5001..0af538d7f1 100644 --- a/parser/testdata/00609_prewhere_and_default/explain_20.txt +++ b/parser/testdata/00609_prewhere_and_default/explain_20.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 4) + SelectQuery (children 3) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 1) @@ -11,6 +11,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 2) Identifier val Literal UInt64_2 - Set Identifier Null Set diff --git a/parser/testdata/00609_prewhere_and_default/explain_21.txt b/parser/testdata/00609_prewhere_and_default/explain_21.txt index e84a8e5001..0af538d7f1 100644 --- a/parser/testdata/00609_prewhere_and_default/explain_21.txt +++ b/parser/testdata/00609_prewhere_and_default/explain_21.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 4) + SelectQuery (children 3) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 1) @@ -11,6 +11,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 2) Identifier val Literal UInt64_2 - Set Identifier Null Set diff --git a/parser/testdata/00609_prewhere_and_default/explain_22.txt b/parser/testdata/00609_prewhere_and_default/explain_22.txt index e84a8e5001..0af538d7f1 100644 --- a/parser/testdata/00609_prewhere_and_default/explain_22.txt +++ b/parser/testdata/00609_prewhere_and_default/explain_22.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 4) + SelectQuery (children 3) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 1) @@ -11,6 +11,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 2) Identifier val Literal UInt64_2 - Set Identifier Null Set diff --git a/parser/testdata/00609_prewhere_and_default/explain_23.txt b/parser/testdata/00609_prewhere_and_default/explain_23.txt index e84a8e5001..0af538d7f1 100644 --- a/parser/testdata/00609_prewhere_and_default/explain_23.txt +++ b/parser/testdata/00609_prewhere_and_default/explain_23.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 4) + SelectQuery (children 3) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 1) @@ -11,6 +11,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 2) Identifier val Literal UInt64_2 - Set Identifier Null Set diff --git a/parser/testdata/00609_prewhere_and_default/explain_24.txt b/parser/testdata/00609_prewhere_and_default/explain_24.txt index e84a8e5001..0af538d7f1 100644 --- a/parser/testdata/00609_prewhere_and_default/explain_24.txt +++ b/parser/testdata/00609_prewhere_and_default/explain_24.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 4) + SelectQuery (children 3) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 1) @@ -11,6 +11,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 2) Identifier val Literal UInt64_2 - Set Identifier Null Set diff --git a/parser/testdata/00609_prewhere_and_default/explain_6.txt b/parser/testdata/00609_prewhere_and_default/explain_6.txt index e84a8e5001..0af538d7f1 100644 --- a/parser/testdata/00609_prewhere_and_default/explain_6.txt +++ b/parser/testdata/00609_prewhere_and_default/explain_6.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 4) + SelectQuery (children 3) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 1) @@ -11,6 +11,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 2) Identifier val Literal UInt64_2 - Set Identifier Null Set diff --git a/parser/testdata/00609_prewhere_and_default/explain_7.txt b/parser/testdata/00609_prewhere_and_default/explain_7.txt index e84a8e5001..0af538d7f1 100644 --- a/parser/testdata/00609_prewhere_and_default/explain_7.txt +++ b/parser/testdata/00609_prewhere_and_default/explain_7.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 4) + SelectQuery (children 3) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 1) @@ -11,6 +11,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 2) Identifier val Literal UInt64_2 - Set Identifier Null Set diff --git a/parser/testdata/00609_prewhere_and_default/explain_8.txt b/parser/testdata/00609_prewhere_and_default/explain_8.txt index e84a8e5001..0af538d7f1 100644 --- a/parser/testdata/00609_prewhere_and_default/explain_8.txt +++ b/parser/testdata/00609_prewhere_and_default/explain_8.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 4) + SelectQuery (children 3) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 1) @@ -11,6 +11,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 2) Identifier val Literal UInt64_2 - Set Identifier Null Set diff --git a/parser/testdata/00609_prewhere_and_default/explain_9.txt b/parser/testdata/00609_prewhere_and_default/explain_9.txt index e84a8e5001..0af538d7f1 100644 --- a/parser/testdata/00609_prewhere_and_default/explain_9.txt +++ b/parser/testdata/00609_prewhere_and_default/explain_9.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 4) + SelectQuery (children 3) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 1) @@ -11,6 +11,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 2) Identifier val Literal UInt64_2 - Set Identifier Null Set diff --git a/parser/testdata/00610_materialized_view_forward_alter_partition_statements/explain_6.txt b/parser/testdata/00610_materialized_view_forward_alter_partition_statements/explain_6.txt new file mode 100644 index 0000000000..2c527b4a67 --- /dev/null +++ b/parser/testdata/00610_materialized_view_forward_alter_partition_statements/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab_00610 diff --git a/parser/testdata/00612_http_max_query_size_for_distributed/explain_8.txt b/parser/testdata/00612_http_max_query_size_for_distributed/explain_8.txt new file mode 100644 index 0000000000..3517a28b7e --- /dev/null +++ b/parser/testdata/00612_http_max_query_size_for_distributed/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dist_00612 diff --git a/parser/testdata/00612_pk_in_tuple/explain_17.txt b/parser/testdata/00612_pk_in_tuple/explain_17.txt new file mode 100644 index 0000000000..a1b126fa94 --- /dev/null +++ b/parser/testdata/00612_pk_in_tuple/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab_00612 diff --git a/parser/testdata/00612_pk_in_tuple/explain_18.txt b/parser/testdata/00612_pk_in_tuple/explain_18.txt new file mode 100644 index 0000000000..a1b126fa94 --- /dev/null +++ b/parser/testdata/00612_pk_in_tuple/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab_00612 diff --git a/parser/testdata/00612_pk_in_tuple/explain_3.txt b/parser/testdata/00612_pk_in_tuple/explain_3.txt new file mode 100644 index 0000000000..a1b126fa94 --- /dev/null +++ b/parser/testdata/00612_pk_in_tuple/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab_00612 diff --git a/parser/testdata/00612_pk_in_tuple/explain_4.txt b/parser/testdata/00612_pk_in_tuple/explain_4.txt new file mode 100644 index 0000000000..a1b126fa94 --- /dev/null +++ b/parser/testdata/00612_pk_in_tuple/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab_00612 diff --git a/parser/testdata/00612_pk_in_tuple/explain_41.txt b/parser/testdata/00612_pk_in_tuple/explain_41.txt new file mode 100644 index 0000000000..a1b126fa94 --- /dev/null +++ b/parser/testdata/00612_pk_in_tuple/explain_41.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab_00612 diff --git a/parser/testdata/00614_array_nullable/explain_4.txt b/parser/testdata/00614_array_nullable/explain_4.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/00614_array_nullable/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/00614_shard_same_header_for_local_and_remote_node_in_distributed_query/explain_4.txt b/parser/testdata/00614_shard_same_header_for_local_and_remote_node_in_distributed_query/explain_4.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/00614_shard_same_header_for_local_and_remote_node_in_distributed_query/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/00615_nullable_alter_optimize/explain_4.txt b/parser/testdata/00615_nullable_alter_optimize/explain_4.txt new file mode 100644 index 0000000000..2cc60ee566 --- /dev/null +++ b/parser/testdata/00615_nullable_alter_optimize/explain_4.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier test_00615 + ExpressionList (children 4) + Identifier dt + Identifier id + Identifier key + Identifier data diff --git a/parser/testdata/00615_nullable_alter_optimize/explain_7.txt b/parser/testdata/00615_nullable_alter_optimize/explain_7.txt new file mode 100644 index 0000000000..2cc60ee566 --- /dev/null +++ b/parser/testdata/00615_nullable_alter_optimize/explain_7.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier test_00615 + ExpressionList (children 4) + Identifier dt + Identifier id + Identifier key + Identifier data diff --git a/parser/testdata/00616_final_single_part/explain_6.txt b/parser/testdata/00616_final_single_part/explain_6.txt new file mode 100644 index 0000000000..77b0f0ddd1 --- /dev/null +++ b/parser/testdata/00616_final_single_part/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_00616 diff --git a/parser/testdata/00617_array_in/explain_3.txt b/parser/testdata/00617_array_in/explain_3.txt new file mode 100644 index 0000000000..320608147c --- /dev/null +++ b/parser/testdata/00617_array_in/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test_array_ops + ExpressionList (children 1) + Identifier arr diff --git a/parser/testdata/00617_array_in/explain_4.txt b/parser/testdata/00617_array_in/explain_4.txt new file mode 100644 index 0000000000..320608147c --- /dev/null +++ b/parser/testdata/00617_array_in/explain_4.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test_array_ops + ExpressionList (children 1) + Identifier arr diff --git a/parser/testdata/00617_array_in/explain_5.txt b/parser/testdata/00617_array_in/explain_5.txt new file mode 100644 index 0000000000..320608147c --- /dev/null +++ b/parser/testdata/00617_array_in/explain_5.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test_array_ops + ExpressionList (children 1) + Identifier arr diff --git a/parser/testdata/00619_extract/explain_12.txt b/parser/testdata/00619_extract/explain_12.txt new file mode 100644 index 0000000000..75d57ffc14 --- /dev/null +++ b/parser/testdata/00619_extract/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier Orders diff --git a/parser/testdata/00620_optimize_on_nonleader_replica_zookeeper/explain_14.txt b/parser/testdata/00620_optimize_on_nonleader_replica_zookeeper/explain_14.txt new file mode 100644 index 0000000000..78175fb4d5 --- /dev/null +++ b/parser/testdata/00620_optimize_on_nonleader_replica_zookeeper/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rename1 diff --git a/parser/testdata/00620_optimize_on_nonleader_replica_zookeeper/explain_6.txt b/parser/testdata/00620_optimize_on_nonleader_replica_zookeeper/explain_6.txt new file mode 100644 index 0000000000..78175fb4d5 --- /dev/null +++ b/parser/testdata/00620_optimize_on_nonleader_replica_zookeeper/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rename1 diff --git a/parser/testdata/00620_optimize_on_nonleader_replica_zookeeper/explain_7.txt b/parser/testdata/00620_optimize_on_nonleader_replica_zookeeper/explain_7.txt new file mode 100644 index 0000000000..78175fb4d5 --- /dev/null +++ b/parser/testdata/00620_optimize_on_nonleader_replica_zookeeper/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rename1 diff --git a/parser/testdata/00623_in_partition_key/explain_4.txt b/parser/testdata/00623_in_partition_key/explain_4.txt new file mode 100644 index 0000000000..b0db830449 --- /dev/null +++ b/parser/testdata/00623_in_partition_key/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test54378 diff --git a/parser/testdata/00623_replicated_truncate_table_zookeeper_long/explain_16.txt b/parser/testdata/00623_replicated_truncate_table_zookeeper_long/explain_16.txt new file mode 100644 index 0000000000..f7d3c866e4 --- /dev/null +++ b/parser/testdata/00623_replicated_truncate_table_zookeeper_long/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replicated_truncate1 diff --git a/parser/testdata/00623_replicated_truncate_table_zookeeper_long/explain_7.txt b/parser/testdata/00623_replicated_truncate_table_zookeeper_long/explain_7.txt new file mode 100644 index 0000000000..f7d3c866e4 --- /dev/null +++ b/parser/testdata/00623_replicated_truncate_table_zookeeper_long/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replicated_truncate1 diff --git a/parser/testdata/00623_truncate_all_tables/explain_10.txt b/parser/testdata/00623_truncate_all_tables/explain_10.txt new file mode 100644 index 0000000000..580f85f214 --- /dev/null +++ b/parser/testdata/00623_truncate_all_tables/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier truncate_test_memory diff --git a/parser/testdata/00623_truncate_all_tables/explain_11.txt b/parser/testdata/00623_truncate_all_tables/explain_11.txt new file mode 100644 index 0000000000..fa30c70bca --- /dev/null +++ b/parser/testdata/00623_truncate_all_tables/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier truncate_test_tiny_log diff --git a/parser/testdata/00623_truncate_all_tables/explain_12.txt b/parser/testdata/00623_truncate_all_tables/explain_12.txt new file mode 100644 index 0000000000..002064b418 --- /dev/null +++ b/parser/testdata/00623_truncate_all_tables/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier truncate_test_stripe_log diff --git a/parser/testdata/00623_truncate_all_tables/explain_13.txt b/parser/testdata/00623_truncate_all_tables/explain_13.txt new file mode 100644 index 0000000000..39d306023a --- /dev/null +++ b/parser/testdata/00623_truncate_all_tables/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier truncate_test_merge_tree diff --git a/parser/testdata/00623_truncate_all_tables/explain_29.txt b/parser/testdata/00623_truncate_all_tables/explain_29.txt new file mode 100644 index 0000000000..2bfb4e01fe --- /dev/null +++ b/parser/testdata/00623_truncate_all_tables/explain_29.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier truncate_test_set diff --git a/parser/testdata/00623_truncate_all_tables/explain_30.txt b/parser/testdata/00623_truncate_all_tables/explain_30.txt new file mode 100644 index 0000000000..d2899c44b5 --- /dev/null +++ b/parser/testdata/00623_truncate_all_tables/explain_30.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier truncate_test_log diff --git a/parser/testdata/00623_truncate_all_tables/explain_31.txt b/parser/testdata/00623_truncate_all_tables/explain_31.txt new file mode 100644 index 0000000000..580f85f214 --- /dev/null +++ b/parser/testdata/00623_truncate_all_tables/explain_31.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier truncate_test_memory diff --git a/parser/testdata/00623_truncate_all_tables/explain_32.txt b/parser/testdata/00623_truncate_all_tables/explain_32.txt new file mode 100644 index 0000000000..fa30c70bca --- /dev/null +++ b/parser/testdata/00623_truncate_all_tables/explain_32.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier truncate_test_tiny_log diff --git a/parser/testdata/00623_truncate_all_tables/explain_33.txt b/parser/testdata/00623_truncate_all_tables/explain_33.txt new file mode 100644 index 0000000000..002064b418 --- /dev/null +++ b/parser/testdata/00623_truncate_all_tables/explain_33.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier truncate_test_stripe_log diff --git a/parser/testdata/00623_truncate_all_tables/explain_34.txt b/parser/testdata/00623_truncate_all_tables/explain_34.txt new file mode 100644 index 0000000000..39d306023a --- /dev/null +++ b/parser/testdata/00623_truncate_all_tables/explain_34.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier truncate_test_merge_tree diff --git a/parser/testdata/00623_truncate_all_tables/explain_8.txt b/parser/testdata/00623_truncate_all_tables/explain_8.txt new file mode 100644 index 0000000000..2bfb4e01fe --- /dev/null +++ b/parser/testdata/00623_truncate_all_tables/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier truncate_test_set diff --git a/parser/testdata/00623_truncate_all_tables/explain_9.txt b/parser/testdata/00623_truncate_all_tables/explain_9.txt new file mode 100644 index 0000000000..d2899c44b5 --- /dev/null +++ b/parser/testdata/00623_truncate_all_tables/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier truncate_test_log diff --git a/parser/testdata/00623_truncate_table/explain_18.txt b/parser/testdata/00623_truncate_table/explain_18.txt new file mode 100644 index 0000000000..2bfb4e01fe --- /dev/null +++ b/parser/testdata/00623_truncate_table/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier truncate_test_set diff --git a/parser/testdata/00623_truncate_table/explain_19.txt b/parser/testdata/00623_truncate_table/explain_19.txt new file mode 100644 index 0000000000..d2899c44b5 --- /dev/null +++ b/parser/testdata/00623_truncate_table/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier truncate_test_log diff --git a/parser/testdata/00623_truncate_table/explain_20.txt b/parser/testdata/00623_truncate_table/explain_20.txt new file mode 100644 index 0000000000..580f85f214 --- /dev/null +++ b/parser/testdata/00623_truncate_table/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier truncate_test_memory diff --git a/parser/testdata/00623_truncate_table/explain_21.txt b/parser/testdata/00623_truncate_table/explain_21.txt new file mode 100644 index 0000000000..fa30c70bca --- /dev/null +++ b/parser/testdata/00623_truncate_table/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier truncate_test_tiny_log diff --git a/parser/testdata/00623_truncate_table/explain_22.txt b/parser/testdata/00623_truncate_table/explain_22.txt new file mode 100644 index 0000000000..002064b418 --- /dev/null +++ b/parser/testdata/00623_truncate_table/explain_22.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier truncate_test_stripe_log diff --git a/parser/testdata/00623_truncate_table/explain_23.txt b/parser/testdata/00623_truncate_table/explain_23.txt new file mode 100644 index 0000000000..39d306023a --- /dev/null +++ b/parser/testdata/00623_truncate_table/explain_23.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier truncate_test_merge_tree diff --git a/parser/testdata/00623_truncate_table/explain_24.txt b/parser/testdata/00623_truncate_table/explain_24.txt new file mode 100644 index 0000000000..e9861edb4a --- /dev/null +++ b/parser/testdata/00623_truncate_table/explain_24.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier truncate_test_materialized_depend diff --git a/parser/testdata/00623_truncate_table/explain_48.txt b/parser/testdata/00623_truncate_table/explain_48.txt new file mode 100644 index 0000000000..2bfb4e01fe --- /dev/null +++ b/parser/testdata/00623_truncate_table/explain_48.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier truncate_test_set diff --git a/parser/testdata/00623_truncate_table/explain_49.txt b/parser/testdata/00623_truncate_table/explain_49.txt new file mode 100644 index 0000000000..d2899c44b5 --- /dev/null +++ b/parser/testdata/00623_truncate_table/explain_49.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier truncate_test_log diff --git a/parser/testdata/00623_truncate_table/explain_50.txt b/parser/testdata/00623_truncate_table/explain_50.txt new file mode 100644 index 0000000000..580f85f214 --- /dev/null +++ b/parser/testdata/00623_truncate_table/explain_50.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier truncate_test_memory diff --git a/parser/testdata/00623_truncate_table/explain_51.txt b/parser/testdata/00623_truncate_table/explain_51.txt new file mode 100644 index 0000000000..fa30c70bca --- /dev/null +++ b/parser/testdata/00623_truncate_table/explain_51.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier truncate_test_tiny_log diff --git a/parser/testdata/00623_truncate_table/explain_52.txt b/parser/testdata/00623_truncate_table/explain_52.txt new file mode 100644 index 0000000000..002064b418 --- /dev/null +++ b/parser/testdata/00623_truncate_table/explain_52.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier truncate_test_stripe_log diff --git a/parser/testdata/00623_truncate_table/explain_53.txt b/parser/testdata/00623_truncate_table/explain_53.txt new file mode 100644 index 0000000000..39d306023a --- /dev/null +++ b/parser/testdata/00623_truncate_table/explain_53.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier truncate_test_merge_tree diff --git a/parser/testdata/00623_truncate_table/explain_54.txt b/parser/testdata/00623_truncate_table/explain_54.txt new file mode 100644 index 0000000000..e9861edb4a --- /dev/null +++ b/parser/testdata/00623_truncate_table/explain_54.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier truncate_test_materialized_depend diff --git a/parser/testdata/00625_arrays_in_nested/explain_17.txt b/parser/testdata/00625_arrays_in_nested/explain_17.txt new file mode 100644 index 0000000000..6c9842c19d --- /dev/null +++ b/parser/testdata/00625_arrays_in_nested/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nested diff --git a/parser/testdata/00625_arrays_in_nested/explain_21.txt b/parser/testdata/00625_arrays_in_nested/explain_21.txt new file mode 100644 index 0000000000..6c9842c19d --- /dev/null +++ b/parser/testdata/00625_arrays_in_nested/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nested diff --git a/parser/testdata/00625_arrays_in_nested/explain_25.txt b/parser/testdata/00625_arrays_in_nested/explain_25.txt new file mode 100644 index 0000000000..6c9842c19d --- /dev/null +++ b/parser/testdata/00625_arrays_in_nested/explain_25.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nested diff --git a/parser/testdata/00625_arrays_in_nested/explain_29.txt b/parser/testdata/00625_arrays_in_nested/explain_29.txt new file mode 100644 index 0000000000..6c9842c19d --- /dev/null +++ b/parser/testdata/00625_arrays_in_nested/explain_29.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nested diff --git a/parser/testdata/00625_arrays_in_nested/explain_3.txt b/parser/testdata/00625_arrays_in_nested/explain_3.txt new file mode 100644 index 0000000000..6c9842c19d --- /dev/null +++ b/parser/testdata/00625_arrays_in_nested/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nested diff --git a/parser/testdata/00625_arrays_in_nested/explain_8.txt b/parser/testdata/00625_arrays_in_nested/explain_8.txt new file mode 100644 index 0000000000..6c9842c19d --- /dev/null +++ b/parser/testdata/00625_arrays_in_nested/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nested diff --git a/parser/testdata/00626_replace_partition_from_table/explain_10.txt b/parser/testdata/00626_replace_partition_from_table/explain_10.txt new file mode 100644 index 0000000000..7e276cbfc4 --- /dev/null +++ b/parser/testdata/00626_replace_partition_from_table/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dst diff --git a/parser/testdata/00626_replace_partition_from_table/explain_11.txt b/parser/testdata/00626_replace_partition_from_table/explain_11.txt new file mode 100644 index 0000000000..7e276cbfc4 --- /dev/null +++ b/parser/testdata/00626_replace_partition_from_table/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dst diff --git a/parser/testdata/00626_replace_partition_from_table/explain_12.txt b/parser/testdata/00626_replace_partition_from_table/explain_12.txt new file mode 100644 index 0000000000..7e276cbfc4 --- /dev/null +++ b/parser/testdata/00626_replace_partition_from_table/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dst diff --git a/parser/testdata/00626_replace_partition_from_table/explain_26.txt b/parser/testdata/00626_replace_partition_from_table/explain_26.txt new file mode 100644 index 0000000000..7e276cbfc4 --- /dev/null +++ b/parser/testdata/00626_replace_partition_from_table/explain_26.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dst diff --git a/parser/testdata/00626_replace_partition_from_table/explain_38.txt b/parser/testdata/00626_replace_partition_from_table/explain_38.txt new file mode 100644 index 0000000000..37b584e2c2 --- /dev/null +++ b/parser/testdata/00626_replace_partition_from_table/explain_38.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier src diff --git a/parser/testdata/00626_replace_partition_from_table/explain_39.txt b/parser/testdata/00626_replace_partition_from_table/explain_39.txt new file mode 100644 index 0000000000..37b584e2c2 --- /dev/null +++ b/parser/testdata/00626_replace_partition_from_table/explain_39.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier src diff --git a/parser/testdata/00626_replace_partition_from_table/explain_40.txt b/parser/testdata/00626_replace_partition_from_table/explain_40.txt new file mode 100644 index 0000000000..37b584e2c2 --- /dev/null +++ b/parser/testdata/00626_replace_partition_from_table/explain_40.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier src diff --git a/parser/testdata/00626_replace_partition_from_table/explain_41.txt b/parser/testdata/00626_replace_partition_from_table/explain_41.txt new file mode 100644 index 0000000000..37b584e2c2 --- /dev/null +++ b/parser/testdata/00626_replace_partition_from_table/explain_41.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier src diff --git a/parser/testdata/00626_replace_partition_from_table/explain_43.txt b/parser/testdata/00626_replace_partition_from_table/explain_43.txt new file mode 100644 index 0000000000..7e276cbfc4 --- /dev/null +++ b/parser/testdata/00626_replace_partition_from_table/explain_43.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dst diff --git a/parser/testdata/00626_replace_partition_from_table/explain_6.txt b/parser/testdata/00626_replace_partition_from_table/explain_6.txt new file mode 100644 index 0000000000..37b584e2c2 --- /dev/null +++ b/parser/testdata/00626_replace_partition_from_table/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier src diff --git a/parser/testdata/00626_replace_partition_from_table/explain_7.txt b/parser/testdata/00626_replace_partition_from_table/explain_7.txt new file mode 100644 index 0000000000..37b584e2c2 --- /dev/null +++ b/parser/testdata/00626_replace_partition_from_table/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier src diff --git a/parser/testdata/00626_replace_partition_from_table/explain_8.txt b/parser/testdata/00626_replace_partition_from_table/explain_8.txt new file mode 100644 index 0000000000..37b584e2c2 --- /dev/null +++ b/parser/testdata/00626_replace_partition_from_table/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier src diff --git a/parser/testdata/00626_replace_partition_from_table/explain_9.txt b/parser/testdata/00626_replace_partition_from_table/explain_9.txt new file mode 100644 index 0000000000..37b584e2c2 --- /dev/null +++ b/parser/testdata/00626_replace_partition_from_table/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier src diff --git a/parser/testdata/00628_in_lambda_on_merge_table_bug/explain_7.txt b/parser/testdata/00628_in_lambda_on_merge_table_bug/explain_7.txt new file mode 100644 index 0000000000..789768d9f9 --- /dev/null +++ b/parser/testdata/00628_in_lambda_on_merge_table_bug/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_in_tuple_1 diff --git a/parser/testdata/00628_in_lambda_on_merge_table_bug/explain_8.txt b/parser/testdata/00628_in_lambda_on_merge_table_bug/explain_8.txt new file mode 100644 index 0000000000..8a895da54e --- /dev/null +++ b/parser/testdata/00628_in_lambda_on_merge_table_bug/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_in_tuple_2 diff --git a/parser/testdata/00632_aggregation_window_funnel/explain_14.txt b/parser/testdata/00632_aggregation_window_funnel/explain_14.txt new file mode 100644 index 0000000000..3991f1331f --- /dev/null +++ b/parser/testdata/00632_aggregation_window_funnel/explain_14.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier funnel_test2 + ExpressionList (children 2) + Identifier timestamp + Identifier event diff --git a/parser/testdata/00632_aggregation_window_funnel/explain_22.txt b/parser/testdata/00632_aggregation_window_funnel/explain_22.txt new file mode 100644 index 0000000000..cb2d97a81e --- /dev/null +++ b/parser/testdata/00632_aggregation_window_funnel/explain_22.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier funnel_test_u64 + ExpressionList (children 2) + Identifier timestamp + Identifier event diff --git a/parser/testdata/00632_aggregation_window_funnel/explain_3.txt b/parser/testdata/00632_aggregation_window_funnel/explain_3.txt new file mode 100644 index 0000000000..3726452b24 --- /dev/null +++ b/parser/testdata/00632_aggregation_window_funnel/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier funnel_test diff --git a/parser/testdata/00632_aggregation_window_funnel/explain_30.txt b/parser/testdata/00632_aggregation_window_funnel/explain_30.txt new file mode 100644 index 0000000000..f157eb3ad8 --- /dev/null +++ b/parser/testdata/00632_aggregation_window_funnel/explain_30.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier funnel_test_strict diff --git a/parser/testdata/00632_aggregation_window_funnel/explain_39.txt b/parser/testdata/00632_aggregation_window_funnel/explain_39.txt new file mode 100644 index 0000000000..0c6a5944d2 --- /dev/null +++ b/parser/testdata/00632_aggregation_window_funnel/explain_39.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier funnel_test_strict_order diff --git a/parser/testdata/00632_aggregation_window_funnel/explain_40.txt b/parser/testdata/00632_aggregation_window_funnel/explain_40.txt new file mode 100644 index 0000000000..0c6a5944d2 --- /dev/null +++ b/parser/testdata/00632_aggregation_window_funnel/explain_40.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier funnel_test_strict_order diff --git a/parser/testdata/00632_aggregation_window_funnel/explain_41.txt b/parser/testdata/00632_aggregation_window_funnel/explain_41.txt new file mode 100644 index 0000000000..0c6a5944d2 --- /dev/null +++ b/parser/testdata/00632_aggregation_window_funnel/explain_41.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier funnel_test_strict_order diff --git a/parser/testdata/00632_aggregation_window_funnel/explain_42.txt b/parser/testdata/00632_aggregation_window_funnel/explain_42.txt new file mode 100644 index 0000000000..0c6a5944d2 --- /dev/null +++ b/parser/testdata/00632_aggregation_window_funnel/explain_42.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier funnel_test_strict_order diff --git a/parser/testdata/00632_aggregation_window_funnel/explain_43.txt b/parser/testdata/00632_aggregation_window_funnel/explain_43.txt new file mode 100644 index 0000000000..0c6a5944d2 --- /dev/null +++ b/parser/testdata/00632_aggregation_window_funnel/explain_43.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier funnel_test_strict_order diff --git a/parser/testdata/00632_aggregation_window_funnel/explain_44.txt b/parser/testdata/00632_aggregation_window_funnel/explain_44.txt new file mode 100644 index 0000000000..0c6a5944d2 --- /dev/null +++ b/parser/testdata/00632_aggregation_window_funnel/explain_44.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier funnel_test_strict_order diff --git a/parser/testdata/00632_aggregation_window_funnel/explain_48.txt b/parser/testdata/00632_aggregation_window_funnel/explain_48.txt new file mode 100644 index 0000000000..0c6a5944d2 --- /dev/null +++ b/parser/testdata/00632_aggregation_window_funnel/explain_48.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier funnel_test_strict_order diff --git a/parser/testdata/00632_aggregation_window_funnel/explain_53.txt b/parser/testdata/00632_aggregation_window_funnel/explain_53.txt new file mode 100644 index 0000000000..141933cbcc --- /dev/null +++ b/parser/testdata/00632_aggregation_window_funnel/explain_53.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier strict_BiteTheDDDD diff --git a/parser/testdata/00632_aggregation_window_funnel/explain_58.txt b/parser/testdata/00632_aggregation_window_funnel/explain_58.txt new file mode 100644 index 0000000000..ced565b036 --- /dev/null +++ b/parser/testdata/00632_aggregation_window_funnel/explain_58.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier funnel_test_non_null diff --git a/parser/testdata/00632_aggregation_window_funnel/explain_59.txt b/parser/testdata/00632_aggregation_window_funnel/explain_59.txt new file mode 100644 index 0000000000..ced565b036 --- /dev/null +++ b/parser/testdata/00632_aggregation_window_funnel/explain_59.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier funnel_test_non_null diff --git a/parser/testdata/00632_aggregation_window_funnel/explain_60.txt b/parser/testdata/00632_aggregation_window_funnel/explain_60.txt new file mode 100644 index 0000000000..ced565b036 --- /dev/null +++ b/parser/testdata/00632_aggregation_window_funnel/explain_60.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier funnel_test_non_null diff --git a/parser/testdata/00632_aggregation_window_funnel/explain_61.txt b/parser/testdata/00632_aggregation_window_funnel/explain_61.txt new file mode 100644 index 0000000000..ced565b036 --- /dev/null +++ b/parser/testdata/00632_aggregation_window_funnel/explain_61.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier funnel_test_non_null diff --git a/parser/testdata/00632_aggregation_window_funnel/explain_69.txt b/parser/testdata/00632_aggregation_window_funnel/explain_69.txt new file mode 100644 index 0000000000..69c50dbd99 --- /dev/null +++ b/parser/testdata/00632_aggregation_window_funnel/explain_69.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier funnel_test_strict_increase diff --git a/parser/testdata/00633_func_or_in/explain_3.txt b/parser/testdata/00633_func_or_in/explain_3.txt new file mode 100644 index 0000000000..719308247f --- /dev/null +++ b/parser/testdata/00633_func_or_in/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier orin_test diff --git a/parser/testdata/00635_shard_distinct_order_by/explain_3.txt b/parser/testdata/00635_shard_distinct_order_by/explain_3.txt new file mode 100644 index 0000000000..36337a4d9e --- /dev/null +++ b/parser/testdata/00635_shard_distinct_order_by/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data diff --git a/parser/testdata/00639_startsWith/explain_9.txt b/parser/testdata/00639_startsWith/explain_9.txt new file mode 100644 index 0000000000..76948d91b5 --- /dev/null +++ b/parser/testdata/00639_startsWith/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier startsWith_test diff --git a/parser/testdata/00640_endsWith/explain_9.txt b/parser/testdata/00640_endsWith/explain_9.txt new file mode 100644 index 0000000000..d1a1055494 --- /dev/null +++ b/parser/testdata/00640_endsWith/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier endsWith_test diff --git a/parser/testdata/00642_cast/explain_14.txt b/parser/testdata/00642_cast/explain_14.txt new file mode 100644 index 0000000000..a112977c4c --- /dev/null +++ b/parser/testdata/00642_cast/explain_14.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier cast + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00643_cast_zookeeper_long/explain_7.txt b/parser/testdata/00643_cast_zookeeper_long/explain_7.txt new file mode 100644 index 0000000000..0b0d63cb91 --- /dev/null +++ b/parser/testdata/00643_cast_zookeeper_long/explain_7.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier cast1 + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00644_different_expressions_with_same_alias/explain.txt b/parser/testdata/00644_different_expressions_with_same_alias/explain.txt new file mode 100644 index 0000000000..febf7c4f84 --- /dev/null +++ b/parser/testdata/00644_different_expressions_with_same_alias/explain.txt @@ -0,0 +1,42 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 3) + Identifier dummy + Identifier SumDum + Identifier ProblemField + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 3) + Identifier dummy + Function sum (alias SumDum) (children 1) + ExpressionList (children 1) + Identifier dummy + Function divide (alias ProblemField) (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Identifier SumDum + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.one + ExpressionList (children 1) + Identifier dummy + ExpressionList (children 3) + OrderByElement (children 1) + Identifier dummy + OrderByElement (children 1) + Identifier SumDum + OrderByElement (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Function ifNull (children 1) + ExpressionList (children 2) + Identifier ProblemField + Literal Float64_-inf + Literal \'Float64\' diff --git a/parser/testdata/00645_date_time_input_format/explain_3.txt b/parser/testdata/00645_date_time_input_format/explain_3.txt new file mode 100644 index 0000000000..8ca1bb0cf7 --- /dev/null +++ b/parser/testdata/00645_date_time_input_format/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_00645 diff --git a/parser/testdata/00647_histogram_negative/explain_3.txt b/parser/testdata/00647_histogram_negative/explain_3.txt new file mode 100644 index 0000000000..893874a18c --- /dev/null +++ b/parser/testdata/00647_histogram_negative/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier histogram diff --git a/parser/testdata/00647_histogram_negative/explain_4.txt b/parser/testdata/00647_histogram_negative/explain_4.txt new file mode 100644 index 0000000000..893874a18c --- /dev/null +++ b/parser/testdata/00647_histogram_negative/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier histogram diff --git a/parser/testdata/00647_multiply_aggregation_state/explain_10.txt b/parser/testdata/00647_multiply_aggregation_state/explain_10.txt new file mode 100644 index 0000000000..f3caa8064c --- /dev/null +++ b/parser/testdata/00647_multiply_aggregation_state/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mult_aggregation diff --git a/parser/testdata/00647_multiply_aggregation_state/explain_11.txt b/parser/testdata/00647_multiply_aggregation_state/explain_11.txt new file mode 100644 index 0000000000..f3caa8064c --- /dev/null +++ b/parser/testdata/00647_multiply_aggregation_state/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mult_aggregation diff --git a/parser/testdata/00648_replacing_empty_set_from_prewhere/explain_4.txt b/parser/testdata/00648_replacing_empty_set_from_prewhere/explain_4.txt new file mode 100644 index 0000000000..e71f01782e --- /dev/null +++ b/parser/testdata/00648_replacing_empty_set_from_prewhere/explain_4.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier final_test + ExpressionList (children 2) + Identifier id + Identifier version diff --git a/parser/testdata/00650_array_enumerate_uniq_with_tuples/explain_12.txt b/parser/testdata/00650_array_enumerate_uniq_with_tuples/explain_12.txt new file mode 100644 index 0000000000..7fc73016ed --- /dev/null +++ b/parser/testdata/00650_array_enumerate_uniq_with_tuples/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab_00650 diff --git a/parser/testdata/00650_array_enumerate_uniq_with_tuples/explain_3.txt b/parser/testdata/00650_array_enumerate_uniq_with_tuples/explain_3.txt new file mode 100644 index 0000000000..7fc73016ed --- /dev/null +++ b/parser/testdata/00650_array_enumerate_uniq_with_tuples/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab_00650 diff --git a/parser/testdata/00653_monotonic_integer_cast/explain_3.txt b/parser/testdata/00653_monotonic_integer_cast/explain_3.txt new file mode 100644 index 0000000000..7f790e51e6 --- /dev/null +++ b/parser/testdata/00653_monotonic_integer_cast/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_00653 diff --git a/parser/testdata/00660_optimize_final_without_partition/explain_4.txt b/parser/testdata/00660_optimize_final_without_partition/explain_4.txt new file mode 100644 index 0000000000..2a4380aa9b --- /dev/null +++ b/parser/testdata/00660_optimize_final_without_partition/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier partitioned_by_tuple diff --git a/parser/testdata/00660_optimize_final_without_partition/explain_5.txt b/parser/testdata/00660_optimize_final_without_partition/explain_5.txt new file mode 100644 index 0000000000..2a4380aa9b --- /dev/null +++ b/parser/testdata/00660_optimize_final_without_partition/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier partitioned_by_tuple diff --git a/parser/testdata/00660_optimize_final_without_partition/explain_6.txt b/parser/testdata/00660_optimize_final_without_partition/explain_6.txt new file mode 100644 index 0000000000..2a4380aa9b --- /dev/null +++ b/parser/testdata/00660_optimize_final_without_partition/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier partitioned_by_tuple diff --git a/parser/testdata/00661_array_has_silviucpp/explain_3.txt b/parser/testdata/00661_array_has_silviucpp/explain_3.txt new file mode 100644 index 0000000000..37ccf1e90c --- /dev/null +++ b/parser/testdata/00661_array_has_silviucpp/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier has_function + ExpressionList (children 1) + Identifier arr diff --git a/parser/testdata/00661_optimize_final_replicated_without_partition_zookeeper/explain_10.txt b/parser/testdata/00661_optimize_final_replicated_without_partition_zookeeper/explain_10.txt new file mode 100644 index 0000000000..8610c5e924 --- /dev/null +++ b/parser/testdata/00661_optimize_final_replicated_without_partition_zookeeper/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier partitioned_by_tuple_replica1_00661 diff --git a/parser/testdata/00661_optimize_final_replicated_without_partition_zookeeper/explain_8.txt b/parser/testdata/00661_optimize_final_replicated_without_partition_zookeeper/explain_8.txt new file mode 100644 index 0000000000..8610c5e924 --- /dev/null +++ b/parser/testdata/00661_optimize_final_replicated_without_partition_zookeeper/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier partitioned_by_tuple_replica1_00661 diff --git a/parser/testdata/00661_optimize_final_replicated_without_partition_zookeeper/explain_9.txt b/parser/testdata/00661_optimize_final_replicated_without_partition_zookeeper/explain_9.txt new file mode 100644 index 0000000000..8610c5e924 --- /dev/null +++ b/parser/testdata/00661_optimize_final_replicated_without_partition_zookeeper/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier partitioned_by_tuple_replica1_00661 diff --git a/parser/testdata/00662_has_nullable/explain_14.txt b/parser/testdata/00662_has_nullable/explain_14.txt new file mode 100644 index 0000000000..8af37d2cd6 --- /dev/null +++ b/parser/testdata/00662_has_nullable/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 00662_has_nullable diff --git a/parser/testdata/00662_has_nullable/explain_19.txt b/parser/testdata/00662_has_nullable/explain_19.txt new file mode 100644 index 0000000000..8af37d2cd6 --- /dev/null +++ b/parser/testdata/00662_has_nullable/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 00662_has_nullable diff --git a/parser/testdata/00662_has_nullable/explain_4.txt b/parser/testdata/00662_has_nullable/explain_4.txt new file mode 100644 index 0000000000..8af37d2cd6 --- /dev/null +++ b/parser/testdata/00662_has_nullable/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 00662_has_nullable diff --git a/parser/testdata/00662_has_nullable/explain_9.txt b/parser/testdata/00662_has_nullable/explain_9.txt new file mode 100644 index 0000000000..8af37d2cd6 --- /dev/null +++ b/parser/testdata/00662_has_nullable/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 00662_has_nullable diff --git a/parser/testdata/00665_alter_nullable_string_to_nullable_uint8/explain_3.txt b/parser/testdata/00665_alter_nullable_string_to_nullable_uint8/explain_3.txt new file mode 100644 index 0000000000..4675cfac74 --- /dev/null +++ b/parser/testdata/00665_alter_nullable_string_to_nullable_uint8/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier alter_00665 + ExpressionList (children 1) + Identifier boolean_false diff --git a/parser/testdata/00667_compare_arrays_of_different_types/explain.txt b/parser/testdata/00667_compare_arrays_of_different_types/explain.txt new file mode 100644 index 0000000000..516b454c82 --- /dev/null +++ b/parser/testdata/00667_compare_arrays_of_different_types/explain.txt @@ -0,0 +1,89 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 8) + Function less (children 1) + ExpressionList (children 2) + Literal Array_[UInt64_1] + Literal Array_[UInt64_1000] + Function equals (children 1) + ExpressionList (children 2) + Literal Array_[\'abc\'] + Literal Array_[NULL] + Function equals (children 1) + ExpressionList (children 2) + Literal Array_[\'abc\'] + Function array (children 1) + ExpressionList (children 1) + Function toNullable (children 1) + ExpressionList (children 1) + Literal \'abc\' + Function equals (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList + Function array (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList + Function greater (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList + Literal Array_[UInt64_1] + Function array (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList + Function array (children 1) + ExpressionList + Function less (children 1) + ExpressionList (children 2) + Literal Array_[Array_[UInt64_1]] + Function array (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList + Function array (children 1) + ExpressionList + Function greater (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList + Function array (children 1) + ExpressionList + Function array (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList + Function less (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList + Function tuple (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList + Function array (children 1) + ExpressionList + Function array (children 1) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList + Function tuple (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList + Literal Array_[\'hello\'] diff --git a/parser/testdata/00668_compare_arrays_silviucpp/explain_3.txt b/parser/testdata/00668_compare_arrays_silviucpp/explain_3.txt new file mode 100644 index 0000000000..4f79277f43 --- /dev/null +++ b/parser/testdata/00668_compare_arrays_silviucpp/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier array + ExpressionList (children 1) + Identifier arr diff --git a/parser/testdata/00670_truncate_temporary_table/explain_10.txt b/parser/testdata/00670_truncate_temporary_table/explain_10.txt new file mode 100644 index 0000000000..4d4b034074 --- /dev/null +++ b/parser/testdata/00670_truncate_temporary_table/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_00670 diff --git a/parser/testdata/00670_truncate_temporary_table/explain_4.txt b/parser/testdata/00670_truncate_temporary_table/explain_4.txt new file mode 100644 index 0000000000..4d4b034074 --- /dev/null +++ b/parser/testdata/00670_truncate_temporary_table/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_00670 diff --git a/parser/testdata/00671_max_intersections/explain_5.txt b/parser/testdata/00671_max_intersections/explain_5.txt new file mode 100644 index 0000000000..c4d682ad58 --- /dev/null +++ b/parser/testdata/00671_max_intersections/explain_5.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test1_00671 + ExpressionList (children 2) + Identifier start + Identifier end diff --git a/parser/testdata/00671_max_intersections/explain_6.txt b/parser/testdata/00671_max_intersections/explain_6.txt new file mode 100644 index 0000000000..716418acd8 --- /dev/null +++ b/parser/testdata/00671_max_intersections/explain_6.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test2_00671 + ExpressionList (children 2) + Identifier start + Identifier end diff --git a/parser/testdata/00672_arrayDistinct/explain_9.txt b/parser/testdata/00672_arrayDistinct/explain_9.txt new file mode 100644 index 0000000000..791d78fffa --- /dev/null +++ b/parser/testdata/00672_arrayDistinct/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier arrayDistinct_test diff --git a/parser/testdata/00673_subquery_prepared_set_performance/explain_3.txt b/parser/testdata/00673_subquery_prepared_set_performance/explain_3.txt new file mode 100644 index 0000000000..8e6b328fff --- /dev/null +++ b/parser/testdata/00673_subquery_prepared_set_performance/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mergetree_00673 diff --git a/parser/testdata/00674_join_on_syntax/explain_11.txt b/parser/testdata/00674_join_on_syntax/explain_11.txt new file mode 100644 index 0000000000..0b0bc900fb --- /dev/null +++ b/parser/testdata/00674_join_on_syntax/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab1 diff --git a/parser/testdata/00674_join_on_syntax/explain_12.txt b/parser/testdata/00674_join_on_syntax/explain_12.txt new file mode 100644 index 0000000000..53b7a8ab4e --- /dev/null +++ b/parser/testdata/00674_join_on_syntax/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab2 diff --git a/parser/testdata/00674_join_on_syntax/explain_13.txt b/parser/testdata/00674_join_on_syntax/explain_13.txt new file mode 100644 index 0000000000..088994dd53 --- /dev/null +++ b/parser/testdata/00674_join_on_syntax/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab3 diff --git a/parser/testdata/00674_join_on_syntax/explain_14.txt b/parser/testdata/00674_join_on_syntax/explain_14.txt new file mode 100644 index 0000000000..f7274aa6f8 --- /dev/null +++ b/parser/testdata/00674_join_on_syntax/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab1_copy diff --git a/parser/testdata/00675_shard_remote_with_table_function/explain_3.txt b/parser/testdata/00675_shard_remote_with_table_function/explain_3.txt new file mode 100644 index 0000000000..02b44e23cf --- /dev/null +++ b/parser/testdata/00675_shard_remote_with_table_function/explain_3.txt @@ -0,0 +1,7 @@ +InsertQuery (children 1) + Function remote (children 1) + ExpressionList (children 3) + Literal \'127.0.0.1\' + Function currentDatabase (children 1) + ExpressionList + Identifier remote_test diff --git a/parser/testdata/00675_shard_remote_with_table_function/explain_4.txt b/parser/testdata/00675_shard_remote_with_table_function/explain_4.txt new file mode 100644 index 0000000000..02b44e23cf --- /dev/null +++ b/parser/testdata/00675_shard_remote_with_table_function/explain_4.txt @@ -0,0 +1,7 @@ +InsertQuery (children 1) + Function remote (children 1) + ExpressionList (children 3) + Literal \'127.0.0.1\' + Function currentDatabase (children 1) + ExpressionList + Identifier remote_test diff --git a/parser/testdata/00675_shard_remote_with_table_function/explain_5.txt b/parser/testdata/00675_shard_remote_with_table_function/explain_5.txt new file mode 100644 index 0000000000..02b44e23cf --- /dev/null +++ b/parser/testdata/00675_shard_remote_with_table_function/explain_5.txt @@ -0,0 +1,7 @@ +InsertQuery (children 1) + Function remote (children 1) + ExpressionList (children 3) + Literal \'127.0.0.1\' + Function currentDatabase (children 1) + ExpressionList + Identifier remote_test diff --git a/parser/testdata/00675_shard_remote_with_table_function/explain_6.txt b/parser/testdata/00675_shard_remote_with_table_function/explain_6.txt new file mode 100644 index 0000000000..02b44e23cf --- /dev/null +++ b/parser/testdata/00675_shard_remote_with_table_function/explain_6.txt @@ -0,0 +1,7 @@ +InsertQuery (children 1) + Function remote (children 1) + ExpressionList (children 3) + Literal \'127.0.0.1\' + Function currentDatabase (children 1) + ExpressionList + Identifier remote_test diff --git a/parser/testdata/00679_uuid_in_key/explain_2.txt b/parser/testdata/00679_uuid_in_key/explain_2.txt new file mode 100644 index 0000000000..a0fced3778 --- /dev/null +++ b/parser/testdata/00679_uuid_in_key/explain_2.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier uuid + ExpressionList (children 2) + Identifier created_at + Identifier id diff --git a/parser/testdata/00681_duplicate_columns_inside_union_all_stas_sviridov/explain_3.txt b/parser/testdata/00681_duplicate_columns_inside_union_all_stas_sviridov/explain_3.txt new file mode 100644 index 0000000000..93c58329e1 --- /dev/null +++ b/parser/testdata/00681_duplicate_columns_inside_union_all_stas_sviridov/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_00681 diff --git a/parser/testdata/00687_insert_into_mv/explain_9.txt b/parser/testdata/00687_insert_into_mv/explain_9.txt new file mode 100644 index 0000000000..b73200910b --- /dev/null +++ b/parser/testdata/00687_insert_into_mv/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_00687 diff --git a/parser/testdata/00688_case_without_else/explain_3.txt b/parser/testdata/00688_case_without_else/explain_3.txt new file mode 100644 index 0000000000..b8f974f1a1 --- /dev/null +++ b/parser/testdata/00688_case_without_else/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_00688 diff --git a/parser/testdata/00688_low_cardinality_in/explain_14.txt b/parser/testdata/00688_low_cardinality_in/explain_14.txt new file mode 100644 index 0000000000..8bdaf3f537 --- /dev/null +++ b/parser/testdata/00688_low_cardinality_in/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ary_lc_null diff --git a/parser/testdata/00688_low_cardinality_in/explain_4.txt b/parser/testdata/00688_low_cardinality_in/explain_4.txt new file mode 100644 index 0000000000..3d48f6a169 --- /dev/null +++ b/parser/testdata/00688_low_cardinality_in/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier lc_00688 diff --git a/parser/testdata/00688_low_cardinality_nullable_cast/explain_5.txt b/parser/testdata/00688_low_cardinality_nullable_cast/explain_5.txt new file mode 100644 index 0000000000..5921936258 --- /dev/null +++ b/parser/testdata/00688_low_cardinality_nullable_cast/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier lc_null_int8_defnull diff --git a/parser/testdata/00688_low_cardinality_nullable_cast/explain_8.txt b/parser/testdata/00688_low_cardinality_nullable_cast/explain_8.txt new file mode 100644 index 0000000000..5921936258 --- /dev/null +++ b/parser/testdata/00688_low_cardinality_nullable_cast/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier lc_null_int8_defnull diff --git a/parser/testdata/00688_low_cardinality_syntax/explain_49.txt b/parser/testdata/00688_low_cardinality_syntax/explain_49.txt new file mode 100644 index 0000000000..97054e4cf8 --- /dev/null +++ b/parser/testdata/00688_low_cardinality_syntax/explain_49.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier lc_str_uuid diff --git a/parser/testdata/00698_validate_array_sizes_for_nested/explain_4.txt b/parser/testdata/00698_validate_array_sizes_for_nested/explain_4.txt new file mode 100644 index 0000000000..d3ba30bcd0 --- /dev/null +++ b/parser/testdata/00698_validate_array_sizes_for_nested/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mergetree_00698 diff --git a/parser/testdata/00698_validate_array_sizes_for_nested/explain_6.txt b/parser/testdata/00698_validate_array_sizes_for_nested/explain_6.txt new file mode 100644 index 0000000000..d3ba30bcd0 --- /dev/null +++ b/parser/testdata/00698_validate_array_sizes_for_nested/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mergetree_00698 diff --git a/parser/testdata/00698_validate_array_sizes_for_nested_kshvakov/explain_4.txt b/parser/testdata/00698_validate_array_sizes_for_nested_kshvakov/explain_4.txt new file mode 100644 index 0000000000..5eee4a81e5 --- /dev/null +++ b/parser/testdata/00698_validate_array_sizes_for_nested_kshvakov/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier Issue_2231_Invalid_Nested_Columns_Size diff --git a/parser/testdata/00700_decimal_arithm/explain_3.txt b/parser/testdata/00700_decimal_arithm/explain_3.txt new file mode 100644 index 0000000000..df2a1246ee --- /dev/null +++ b/parser/testdata/00700_decimal_arithm/explain_3.txt @@ -0,0 +1,18 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 15) + Identifier a + Identifier b + Identifier c + Identifier d + Identifier e + Identifier f + Identifier g + Identifier h + Identifier i + Identifier j + Identifier k + Identifier l + Identifier m + Identifier n + Identifier o diff --git a/parser/testdata/00700_decimal_arithm/explain_4.txt b/parser/testdata/00700_decimal_arithm/explain_4.txt new file mode 100644 index 0000000000..df2a1246ee --- /dev/null +++ b/parser/testdata/00700_decimal_arithm/explain_4.txt @@ -0,0 +1,18 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 15) + Identifier a + Identifier b + Identifier c + Identifier d + Identifier e + Identifier f + Identifier g + Identifier h + Identifier i + Identifier j + Identifier k + Identifier l + Identifier m + Identifier n + Identifier o diff --git a/parser/testdata/00700_decimal_arithm/explain_5.txt b/parser/testdata/00700_decimal_arithm/explain_5.txt new file mode 100644 index 0000000000..df2a1246ee --- /dev/null +++ b/parser/testdata/00700_decimal_arithm/explain_5.txt @@ -0,0 +1,18 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 15) + Identifier a + Identifier b + Identifier c + Identifier d + Identifier e + Identifier f + Identifier g + Identifier h + Identifier i + Identifier j + Identifier k + Identifier l + Identifier m + Identifier n + Identifier o diff --git a/parser/testdata/00700_decimal_bounds/explain_10.txt b/parser/testdata/00700_decimal_bounds/explain_10.txt new file mode 100644 index 0000000000..3ebf987524 --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_10.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 1) + Identifier c diff --git a/parser/testdata/00700_decimal_bounds/explain_11.txt b/parser/testdata/00700_decimal_bounds/explain_11.txt new file mode 100644 index 0000000000..3ebf987524 --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_11.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 1) + Identifier c diff --git a/parser/testdata/00700_decimal_bounds/explain_12.txt b/parser/testdata/00700_decimal_bounds/explain_12.txt new file mode 100644 index 0000000000..2464ab4312 --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_12.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 1) + Identifier d diff --git a/parser/testdata/00700_decimal_bounds/explain_13.txt b/parser/testdata/00700_decimal_bounds/explain_13.txt new file mode 100644 index 0000000000..2464ab4312 --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_13.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 1) + Identifier d diff --git a/parser/testdata/00700_decimal_bounds/explain_14.txt b/parser/testdata/00700_decimal_bounds/explain_14.txt new file mode 100644 index 0000000000..530687fc21 --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_14.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 1) + Identifier e diff --git a/parser/testdata/00700_decimal_bounds/explain_15.txt b/parser/testdata/00700_decimal_bounds/explain_15.txt new file mode 100644 index 0000000000..530687fc21 --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_15.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 1) + Identifier e diff --git a/parser/testdata/00700_decimal_bounds/explain_16.txt b/parser/testdata/00700_decimal_bounds/explain_16.txt new file mode 100644 index 0000000000..1a4cb107bb --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_16.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 1) + Identifier f diff --git a/parser/testdata/00700_decimal_bounds/explain_17.txt b/parser/testdata/00700_decimal_bounds/explain_17.txt new file mode 100644 index 0000000000..1a4cb107bb --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_17.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 1) + Identifier f diff --git a/parser/testdata/00700_decimal_bounds/explain_18.txt b/parser/testdata/00700_decimal_bounds/explain_18.txt new file mode 100644 index 0000000000..3a1b81f486 --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_18.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 1) + Identifier g diff --git a/parser/testdata/00700_decimal_bounds/explain_19.txt b/parser/testdata/00700_decimal_bounds/explain_19.txt new file mode 100644 index 0000000000..3a1b81f486 --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_19.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 1) + Identifier g diff --git a/parser/testdata/00700_decimal_bounds/explain_20.txt b/parser/testdata/00700_decimal_bounds/explain_20.txt new file mode 100644 index 0000000000..e057537aab --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_20.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 1) + Identifier h diff --git a/parser/testdata/00700_decimal_bounds/explain_21.txt b/parser/testdata/00700_decimal_bounds/explain_21.txt new file mode 100644 index 0000000000..e057537aab --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_21.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 1) + Identifier h diff --git a/parser/testdata/00700_decimal_bounds/explain_22.txt b/parser/testdata/00700_decimal_bounds/explain_22.txt new file mode 100644 index 0000000000..ab2e3f890a --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_22.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 1) + Identifier i diff --git a/parser/testdata/00700_decimal_bounds/explain_23.txt b/parser/testdata/00700_decimal_bounds/explain_23.txt new file mode 100644 index 0000000000..ab2e3f890a --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_23.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 1) + Identifier i diff --git a/parser/testdata/00700_decimal_bounds/explain_24.txt b/parser/testdata/00700_decimal_bounds/explain_24.txt new file mode 100644 index 0000000000..c586c0c80c --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_24.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 1) + Identifier j diff --git a/parser/testdata/00700_decimal_bounds/explain_25.txt b/parser/testdata/00700_decimal_bounds/explain_25.txt new file mode 100644 index 0000000000..c586c0c80c --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_25.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 1) + Identifier j diff --git a/parser/testdata/00700_decimal_bounds/explain_26.txt b/parser/testdata/00700_decimal_bounds/explain_26.txt new file mode 100644 index 0000000000..3dc7164ed4 --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_26.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 1) + Identifier a diff --git a/parser/testdata/00700_decimal_bounds/explain_27.txt b/parser/testdata/00700_decimal_bounds/explain_27.txt new file mode 100644 index 0000000000..3dc7164ed4 --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_27.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 1) + Identifier a diff --git a/parser/testdata/00700_decimal_bounds/explain_28.txt b/parser/testdata/00700_decimal_bounds/explain_28.txt new file mode 100644 index 0000000000..e147df6b5d --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_28.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 1) + Identifier b diff --git a/parser/testdata/00700_decimal_bounds/explain_29.txt b/parser/testdata/00700_decimal_bounds/explain_29.txt new file mode 100644 index 0000000000..e147df6b5d --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_29.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 1) + Identifier b diff --git a/parser/testdata/00700_decimal_bounds/explain_30.txt b/parser/testdata/00700_decimal_bounds/explain_30.txt new file mode 100644 index 0000000000..3ebf987524 --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_30.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 1) + Identifier c diff --git a/parser/testdata/00700_decimal_bounds/explain_31.txt b/parser/testdata/00700_decimal_bounds/explain_31.txt new file mode 100644 index 0000000000..3ebf987524 --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_31.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 1) + Identifier c diff --git a/parser/testdata/00700_decimal_bounds/explain_32.txt b/parser/testdata/00700_decimal_bounds/explain_32.txt new file mode 100644 index 0000000000..2464ab4312 --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_32.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 1) + Identifier d diff --git a/parser/testdata/00700_decimal_bounds/explain_33.txt b/parser/testdata/00700_decimal_bounds/explain_33.txt new file mode 100644 index 0000000000..2464ab4312 --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_33.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 1) + Identifier d diff --git a/parser/testdata/00700_decimal_bounds/explain_34.txt b/parser/testdata/00700_decimal_bounds/explain_34.txt new file mode 100644 index 0000000000..530687fc21 --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_34.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 1) + Identifier e diff --git a/parser/testdata/00700_decimal_bounds/explain_35.txt b/parser/testdata/00700_decimal_bounds/explain_35.txt new file mode 100644 index 0000000000..530687fc21 --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_35.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 1) + Identifier e diff --git a/parser/testdata/00700_decimal_bounds/explain_36.txt b/parser/testdata/00700_decimal_bounds/explain_36.txt new file mode 100644 index 0000000000..1a4cb107bb --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_36.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 1) + Identifier f diff --git a/parser/testdata/00700_decimal_bounds/explain_37.txt b/parser/testdata/00700_decimal_bounds/explain_37.txt new file mode 100644 index 0000000000..1a4cb107bb --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_37.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 1) + Identifier f diff --git a/parser/testdata/00700_decimal_bounds/explain_38.txt b/parser/testdata/00700_decimal_bounds/explain_38.txt new file mode 100644 index 0000000000..3a1b81f486 --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_38.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 1) + Identifier g diff --git a/parser/testdata/00700_decimal_bounds/explain_39.txt b/parser/testdata/00700_decimal_bounds/explain_39.txt new file mode 100644 index 0000000000..3a1b81f486 --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_39.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 1) + Identifier g diff --git a/parser/testdata/00700_decimal_bounds/explain_40.txt b/parser/testdata/00700_decimal_bounds/explain_40.txt new file mode 100644 index 0000000000..e057537aab --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_40.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 1) + Identifier h diff --git a/parser/testdata/00700_decimal_bounds/explain_41.txt b/parser/testdata/00700_decimal_bounds/explain_41.txt new file mode 100644 index 0000000000..e057537aab --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_41.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 1) + Identifier h diff --git a/parser/testdata/00700_decimal_bounds/explain_42.txt b/parser/testdata/00700_decimal_bounds/explain_42.txt new file mode 100644 index 0000000000..ab2e3f890a --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_42.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 1) + Identifier i diff --git a/parser/testdata/00700_decimal_bounds/explain_43.txt b/parser/testdata/00700_decimal_bounds/explain_43.txt new file mode 100644 index 0000000000..ab2e3f890a --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_43.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 1) + Identifier i diff --git a/parser/testdata/00700_decimal_bounds/explain_44.txt b/parser/testdata/00700_decimal_bounds/explain_44.txt new file mode 100644 index 0000000000..c586c0c80c --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_44.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 1) + Identifier j diff --git a/parser/testdata/00700_decimal_bounds/explain_45.txt b/parser/testdata/00700_decimal_bounds/explain_45.txt new file mode 100644 index 0000000000..c586c0c80c --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_45.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 1) + Identifier j diff --git a/parser/testdata/00700_decimal_bounds/explain_46.txt b/parser/testdata/00700_decimal_bounds/explain_46.txt new file mode 100644 index 0000000000..41c7f632aa --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_46.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 4) + Identifier a + Identifier b + Identifier d + Identifier g diff --git a/parser/testdata/00700_decimal_bounds/explain_47.txt b/parser/testdata/00700_decimal_bounds/explain_47.txt new file mode 100644 index 0000000000..41c7f632aa --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_47.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 4) + Identifier a + Identifier b + Identifier d + Identifier g diff --git a/parser/testdata/00700_decimal_bounds/explain_48.txt b/parser/testdata/00700_decimal_bounds/explain_48.txt new file mode 100644 index 0000000000..3ebf987524 --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_48.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 1) + Identifier c diff --git a/parser/testdata/00700_decimal_bounds/explain_49.txt b/parser/testdata/00700_decimal_bounds/explain_49.txt new file mode 100644 index 0000000000..3ebf987524 --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_49.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 1) + Identifier c diff --git a/parser/testdata/00700_decimal_bounds/explain_50.txt b/parser/testdata/00700_decimal_bounds/explain_50.txt new file mode 100644 index 0000000000..1a4cb107bb --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_50.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 1) + Identifier f diff --git a/parser/testdata/00700_decimal_bounds/explain_51.txt b/parser/testdata/00700_decimal_bounds/explain_51.txt new file mode 100644 index 0000000000..1a4cb107bb --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_51.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 1) + Identifier f diff --git a/parser/testdata/00700_decimal_bounds/explain_52.txt b/parser/testdata/00700_decimal_bounds/explain_52.txt new file mode 100644 index 0000000000..36b80a5999 --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_52.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 2) + Identifier e + Identifier h diff --git a/parser/testdata/00700_decimal_bounds/explain_53.txt b/parser/testdata/00700_decimal_bounds/explain_53.txt new file mode 100644 index 0000000000..36b80a5999 --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_53.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 2) + Identifier e + Identifier h diff --git a/parser/testdata/00700_decimal_bounds/explain_54.txt b/parser/testdata/00700_decimal_bounds/explain_54.txt new file mode 100644 index 0000000000..ab2e3f890a --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_54.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 1) + Identifier i diff --git a/parser/testdata/00700_decimal_bounds/explain_55.txt b/parser/testdata/00700_decimal_bounds/explain_55.txt new file mode 100644 index 0000000000..ab2e3f890a --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_55.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 1) + Identifier i diff --git a/parser/testdata/00700_decimal_bounds/explain_56.txt b/parser/testdata/00700_decimal_bounds/explain_56.txt new file mode 100644 index 0000000000..b03df87af8 --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_56.txt @@ -0,0 +1,10 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 7) + Identifier a + Identifier b + Identifier c + Identifier d + Identifier g + Identifier j + Identifier h diff --git a/parser/testdata/00700_decimal_bounds/explain_57.txt b/parser/testdata/00700_decimal_bounds/explain_57.txt new file mode 100644 index 0000000000..b03df87af8 --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_57.txt @@ -0,0 +1,10 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 7) + Identifier a + Identifier b + Identifier c + Identifier d + Identifier g + Identifier j + Identifier h diff --git a/parser/testdata/00700_decimal_bounds/explain_58.txt b/parser/testdata/00700_decimal_bounds/explain_58.txt new file mode 100644 index 0000000000..a995ce92a9 --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_58.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 2) + Identifier e + Identifier f diff --git a/parser/testdata/00700_decimal_bounds/explain_59.txt b/parser/testdata/00700_decimal_bounds/explain_59.txt new file mode 100644 index 0000000000..a995ce92a9 --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_59.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 2) + Identifier e + Identifier f diff --git a/parser/testdata/00700_decimal_bounds/explain_6.txt b/parser/testdata/00700_decimal_bounds/explain_6.txt new file mode 100644 index 0000000000..3dc7164ed4 --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_6.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 1) + Identifier a diff --git a/parser/testdata/00700_decimal_bounds/explain_60.txt b/parser/testdata/00700_decimal_bounds/explain_60.txt new file mode 100644 index 0000000000..ab2e3f890a --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_60.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 1) + Identifier i diff --git a/parser/testdata/00700_decimal_bounds/explain_61.txt b/parser/testdata/00700_decimal_bounds/explain_61.txt new file mode 100644 index 0000000000..ab2e3f890a --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_61.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 1) + Identifier i diff --git a/parser/testdata/00700_decimal_bounds/explain_62.txt b/parser/testdata/00700_decimal_bounds/explain_62.txt new file mode 100644 index 0000000000..00d69353ed --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_62.txt @@ -0,0 +1,13 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 10) + Identifier a + Identifier b + Identifier c + Identifier d + Identifier e + Identifier f + Identifier g + Identifier h + Identifier i + Identifier j diff --git a/parser/testdata/00700_decimal_bounds/explain_63.txt b/parser/testdata/00700_decimal_bounds/explain_63.txt new file mode 100644 index 0000000000..00d69353ed --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_63.txt @@ -0,0 +1,13 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 10) + Identifier a + Identifier b + Identifier c + Identifier d + Identifier e + Identifier f + Identifier g + Identifier h + Identifier i + Identifier j diff --git a/parser/testdata/00700_decimal_bounds/explain_64.txt b/parser/testdata/00700_decimal_bounds/explain_64.txt new file mode 100644 index 0000000000..00d69353ed --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_64.txt @@ -0,0 +1,13 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 10) + Identifier a + Identifier b + Identifier c + Identifier d + Identifier e + Identifier f + Identifier g + Identifier h + Identifier i + Identifier j diff --git a/parser/testdata/00700_decimal_bounds/explain_65.txt b/parser/testdata/00700_decimal_bounds/explain_65.txt new file mode 100644 index 0000000000..00d69353ed --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_65.txt @@ -0,0 +1,13 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 10) + Identifier a + Identifier b + Identifier c + Identifier d + Identifier e + Identifier f + Identifier g + Identifier h + Identifier i + Identifier j diff --git a/parser/testdata/00700_decimal_bounds/explain_66.txt b/parser/testdata/00700_decimal_bounds/explain_66.txt new file mode 100644 index 0000000000..437511be44 --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_66.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 3) + Identifier a + Identifier b + Identifier g diff --git a/parser/testdata/00700_decimal_bounds/explain_67.txt b/parser/testdata/00700_decimal_bounds/explain_67.txt new file mode 100644 index 0000000000..3dc7164ed4 --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_67.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 1) + Identifier a diff --git a/parser/testdata/00700_decimal_bounds/explain_68.txt b/parser/testdata/00700_decimal_bounds/explain_68.txt new file mode 100644 index 0000000000..3dc7164ed4 --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_68.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 1) + Identifier a diff --git a/parser/testdata/00700_decimal_bounds/explain_69.txt b/parser/testdata/00700_decimal_bounds/explain_69.txt new file mode 100644 index 0000000000..482bee6dec --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_69.txt @@ -0,0 +1,9 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 6) + Identifier a + Identifier b + Identifier c + Identifier d + Identifier e + Identifier f diff --git a/parser/testdata/00700_decimal_bounds/explain_7.txt b/parser/testdata/00700_decimal_bounds/explain_7.txt new file mode 100644 index 0000000000..3dc7164ed4 --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_7.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 1) + Identifier a diff --git a/parser/testdata/00700_decimal_bounds/explain_70.txt b/parser/testdata/00700_decimal_bounds/explain_70.txt new file mode 100644 index 0000000000..482bee6dec --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_70.txt @@ -0,0 +1,9 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 6) + Identifier a + Identifier b + Identifier c + Identifier d + Identifier e + Identifier f diff --git a/parser/testdata/00700_decimal_bounds/explain_71.txt b/parser/testdata/00700_decimal_bounds/explain_71.txt new file mode 100644 index 0000000000..482bee6dec --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_71.txt @@ -0,0 +1,9 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 6) + Identifier a + Identifier b + Identifier c + Identifier d + Identifier e + Identifier f diff --git a/parser/testdata/00700_decimal_bounds/explain_72.txt b/parser/testdata/00700_decimal_bounds/explain_72.txt new file mode 100644 index 0000000000..482bee6dec --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_72.txt @@ -0,0 +1,9 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 6) + Identifier a + Identifier b + Identifier c + Identifier d + Identifier e + Identifier f diff --git a/parser/testdata/00700_decimal_bounds/explain_8.txt b/parser/testdata/00700_decimal_bounds/explain_8.txt new file mode 100644 index 0000000000..e147df6b5d --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_8.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 1) + Identifier b diff --git a/parser/testdata/00700_decimal_bounds/explain_9.txt b/parser/testdata/00700_decimal_bounds/explain_9.txt new file mode 100644 index 0000000000..e147df6b5d --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain_9.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 1) + Identifier b diff --git a/parser/testdata/00700_decimal_compare/explain_3.txt b/parser/testdata/00700_decimal_compare/explain_3.txt new file mode 100644 index 0000000000..00d69353ed --- /dev/null +++ b/parser/testdata/00700_decimal_compare/explain_3.txt @@ -0,0 +1,13 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 10) + Identifier a + Identifier b + Identifier c + Identifier d + Identifier e + Identifier f + Identifier g + Identifier h + Identifier i + Identifier j diff --git a/parser/testdata/00700_decimal_compare/explain_4.txt b/parser/testdata/00700_decimal_compare/explain_4.txt new file mode 100644 index 0000000000..00d69353ed --- /dev/null +++ b/parser/testdata/00700_decimal_compare/explain_4.txt @@ -0,0 +1,13 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 10) + Identifier a + Identifier b + Identifier c + Identifier d + Identifier e + Identifier f + Identifier g + Identifier h + Identifier i + Identifier j diff --git a/parser/testdata/00700_decimal_complex_types/explain_3.txt b/parser/testdata/00700_decimal_complex_types/explain_3.txt new file mode 100644 index 0000000000..77454466e0 --- /dev/null +++ b/parser/testdata/00700_decimal_complex_types/explain_3.txt @@ -0,0 +1,10 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 7) + Identifier a + Identifier b + Identifier c + Identifier nest.a + Identifier nest.b + Identifier nest.c + Identifier tup diff --git a/parser/testdata/00700_decimal_defaults/explain_4.txt b/parser/testdata/00700_decimal_defaults/explain_4.txt new file mode 100644 index 0000000000..3dc7164ed4 --- /dev/null +++ b/parser/testdata/00700_decimal_defaults/explain_4.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 1) + Identifier a diff --git a/parser/testdata/00700_decimal_formats/explain_3.txt b/parser/testdata/00700_decimal_formats/explain_3.txt new file mode 100644 index 0000000000..aaf89bc1e4 --- /dev/null +++ b/parser/testdata/00700_decimal_formats/explain_3.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 3) + Identifier a + Identifier b + Identifier c diff --git a/parser/testdata/00700_decimal_formats/explain_4.txt b/parser/testdata/00700_decimal_formats/explain_4.txt new file mode 100644 index 0000000000..aaf89bc1e4 --- /dev/null +++ b/parser/testdata/00700_decimal_formats/explain_4.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 3) + Identifier a + Identifier b + Identifier c diff --git a/parser/testdata/00700_decimal_formats/explain_5.txt b/parser/testdata/00700_decimal_formats/explain_5.txt new file mode 100644 index 0000000000..aaf89bc1e4 --- /dev/null +++ b/parser/testdata/00700_decimal_formats/explain_5.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 3) + Identifier a + Identifier b + Identifier c diff --git a/parser/testdata/00700_decimal_in_keys/explain_3.txt b/parser/testdata/00700_decimal_in_keys/explain_3.txt new file mode 100644 index 0000000000..b1ac70c570 --- /dev/null +++ b/parser/testdata/00700_decimal_in_keys/explain_3.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 3) + Identifier d1 + Identifier d2 + Identifier d3 diff --git a/parser/testdata/00700_decimal_null/explain_22.txt b/parser/testdata/00700_decimal_null/explain_22.txt new file mode 100644 index 0000000000..482bee6dec --- /dev/null +++ b/parser/testdata/00700_decimal_null/explain_22.txt @@ -0,0 +1,9 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 6) + Identifier a + Identifier b + Identifier c + Identifier d + Identifier e + Identifier f diff --git a/parser/testdata/00700_decimal_null/explain_23.txt b/parser/testdata/00700_decimal_null/explain_23.txt new file mode 100644 index 0000000000..55972c311d --- /dev/null +++ b/parser/testdata/00700_decimal_null/explain_23.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 4) + Identifier a + Identifier b + Identifier c + Identifier d diff --git a/parser/testdata/00700_decimal_null/explain_24.txt b/parser/testdata/00700_decimal_null/explain_24.txt new file mode 100644 index 0000000000..a12ac85fe8 --- /dev/null +++ b/parser/testdata/00700_decimal_null/explain_24.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 4) + Identifier a + Identifier b + Identifier c + Identifier e diff --git a/parser/testdata/00700_decimal_null/explain_25.txt b/parser/testdata/00700_decimal_null/explain_25.txt new file mode 100644 index 0000000000..1e76a0f8bc --- /dev/null +++ b/parser/testdata/00700_decimal_null/explain_25.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 4) + Identifier a + Identifier b + Identifier c + Identifier f diff --git a/parser/testdata/00700_decimal_null/explain_26.txt b/parser/testdata/00700_decimal_null/explain_26.txt new file mode 100644 index 0000000000..aaf89bc1e4 --- /dev/null +++ b/parser/testdata/00700_decimal_null/explain_26.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 3) + Identifier a + Identifier b + Identifier c diff --git a/parser/testdata/00700_decimal_with_default_precision_and_scale/explain_3.txt b/parser/testdata/00700_decimal_with_default_precision_and_scale/explain_3.txt new file mode 100644 index 0000000000..b1ac70c570 --- /dev/null +++ b/parser/testdata/00700_decimal_with_default_precision_and_scale/explain_3.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier decimal + ExpressionList (children 3) + Identifier d1 + Identifier d2 + Identifier d3 diff --git a/parser/testdata/00701_join_default_strictness/explain_10.txt b/parser/testdata/00701_join_default_strictness/explain_10.txt new file mode 100644 index 0000000000..f139bdb370 --- /dev/null +++ b/parser/testdata/00701_join_default_strictness/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier a2 diff --git a/parser/testdata/00701_join_default_strictness/explain_11.txt b/parser/testdata/00701_join_default_strictness/explain_11.txt new file mode 100644 index 0000000000..f139bdb370 --- /dev/null +++ b/parser/testdata/00701_join_default_strictness/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier a2 diff --git a/parser/testdata/00701_join_default_strictness/explain_6.txt b/parser/testdata/00701_join_default_strictness/explain_6.txt new file mode 100644 index 0000000000..c88af903d3 --- /dev/null +++ b/parser/testdata/00701_join_default_strictness/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier a1 diff --git a/parser/testdata/00701_join_default_strictness/explain_7.txt b/parser/testdata/00701_join_default_strictness/explain_7.txt new file mode 100644 index 0000000000..c88af903d3 --- /dev/null +++ b/parser/testdata/00701_join_default_strictness/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier a1 diff --git a/parser/testdata/00701_join_default_strictness/explain_8.txt b/parser/testdata/00701_join_default_strictness/explain_8.txt new file mode 100644 index 0000000000..c88af903d3 --- /dev/null +++ b/parser/testdata/00701_join_default_strictness/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier a1 diff --git a/parser/testdata/00701_join_default_strictness/explain_9.txt b/parser/testdata/00701_join_default_strictness/explain_9.txt new file mode 100644 index 0000000000..f139bdb370 --- /dev/null +++ b/parser/testdata/00701_join_default_strictness/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier a2 diff --git a/parser/testdata/00701_rollup/explain_3.txt b/parser/testdata/00701_rollup/explain_3.txt new file mode 100644 index 0000000000..329dcae1f7 --- /dev/null +++ b/parser/testdata/00701_rollup/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rollup diff --git a/parser/testdata/00701_rollup/explain_4.txt b/parser/testdata/00701_rollup/explain_4.txt new file mode 100644 index 0000000000..329dcae1f7 --- /dev/null +++ b/parser/testdata/00701_rollup/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rollup diff --git a/parser/testdata/00701_rollup/explain_5.txt b/parser/testdata/00701_rollup/explain_5.txt new file mode 100644 index 0000000000..329dcae1f7 --- /dev/null +++ b/parser/testdata/00701_rollup/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rollup diff --git a/parser/testdata/00702_join_on_dups/explain_5.txt b/parser/testdata/00702_join_on_dups/explain_5.txt new file mode 100644 index 0000000000..ccb1f3aee1 --- /dev/null +++ b/parser/testdata/00702_join_on_dups/explain_5.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier X + ExpressionList (children 3) + Identifier id + Identifier x_a + Identifier x_b diff --git a/parser/testdata/00702_join_on_dups/explain_6.txt b/parser/testdata/00702_join_on_dups/explain_6.txt new file mode 100644 index 0000000000..f401dc6190 --- /dev/null +++ b/parser/testdata/00702_join_on_dups/explain_6.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier X + ExpressionList (children 2) + Identifier id + Identifier x_a diff --git a/parser/testdata/00702_join_on_dups/explain_7.txt b/parser/testdata/00702_join_on_dups/explain_7.txt new file mode 100644 index 0000000000..b73a8314a9 --- /dev/null +++ b/parser/testdata/00702_join_on_dups/explain_7.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier Y + ExpressionList (children 2) + Identifier id + Identifier y_a diff --git a/parser/testdata/00702_join_on_dups/explain_8.txt b/parser/testdata/00702_join_on_dups/explain_8.txt new file mode 100644 index 0000000000..e10e98fd9a --- /dev/null +++ b/parser/testdata/00702_join_on_dups/explain_8.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier Y + ExpressionList (children 3) + Identifier id + Identifier y_a + Identifier y_b diff --git a/parser/testdata/00702_join_with_using/explain_14.txt b/parser/testdata/00702_join_with_using/explain_14.txt new file mode 100644 index 0000000000..f737e08ab0 --- /dev/null +++ b/parser/testdata/00702_join_with_using/explain_14.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier persons + ExpressionList (children 2) + Identifier id + Identifier name diff --git a/parser/testdata/00702_join_with_using/explain_15.txt b/parser/testdata/00702_join_with_using/explain_15.txt new file mode 100644 index 0000000000..f83dd15f91 --- /dev/null +++ b/parser/testdata/00702_join_with_using/explain_15.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier children + ExpressionList (children 2) + Identifier id + Identifier childName diff --git a/parser/testdata/00702_join_with_using/explain_5.txt b/parser/testdata/00702_join_with_using/explain_5.txt new file mode 100644 index 0000000000..5dabd91aac --- /dev/null +++ b/parser/testdata/00702_join_with_using/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier using1 diff --git a/parser/testdata/00702_join_with_using/explain_6.txt b/parser/testdata/00702_join_with_using/explain_6.txt new file mode 100644 index 0000000000..43d68e918d --- /dev/null +++ b/parser/testdata/00702_join_with_using/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier using2 diff --git a/parser/testdata/00702_join_with_using_dups/explain_5.txt b/parser/testdata/00702_join_with_using_dups/explain_5.txt new file mode 100644 index 0000000000..c624b0159e --- /dev/null +++ b/parser/testdata/00702_join_with_using_dups/explain_5.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier X + ExpressionList (children 2) + Identifier id + Identifier x_name diff --git a/parser/testdata/00702_join_with_using_dups/explain_6.txt b/parser/testdata/00702_join_with_using_dups/explain_6.txt new file mode 100644 index 0000000000..43ec413139 --- /dev/null +++ b/parser/testdata/00702_join_with_using_dups/explain_6.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier Y + ExpressionList (children 2) + Identifier id + Identifier y_name diff --git a/parser/testdata/00702_where_with_quailified_names/explain_3.txt b/parser/testdata/00702_where_with_quailified_names/explain_3.txt new file mode 100644 index 0000000000..551004ad0c --- /dev/null +++ b/parser/testdata/00702_where_with_quailified_names/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier where_qualified diff --git a/parser/testdata/00702_where_with_quailified_names/explain_4.txt b/parser/testdata/00702_where_with_quailified_names/explain_4.txt new file mode 100644 index 0000000000..551004ad0c --- /dev/null +++ b/parser/testdata/00702_where_with_quailified_names/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier where_qualified diff --git a/parser/testdata/00703_join_crash/explain_5.txt b/parser/testdata/00703_join_crash/explain_5.txt new file mode 100644 index 0000000000..0b0bc900fb --- /dev/null +++ b/parser/testdata/00703_join_crash/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab1 diff --git a/parser/testdata/00703_join_crash/explain_6.txt b/parser/testdata/00703_join_crash/explain_6.txt new file mode 100644 index 0000000000..f7274aa6f8 --- /dev/null +++ b/parser/testdata/00703_join_crash/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab1_copy diff --git a/parser/testdata/00704_arrayCumSumLimited_arrayDifference/explain_7.txt b/parser/testdata/00704_arrayCumSumLimited_arrayDifference/explain_7.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/00704_arrayCumSumLimited_arrayDifference/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/00705_aggregate_states_addition/explain_4.txt b/parser/testdata/00705_aggregate_states_addition/explain_4.txt new file mode 100644 index 0000000000..1a2743f497 --- /dev/null +++ b/parser/testdata/00705_aggregate_states_addition/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier add_aggregate diff --git a/parser/testdata/00705_aggregate_states_addition/explain_5.txt b/parser/testdata/00705_aggregate_states_addition/explain_5.txt new file mode 100644 index 0000000000..1a2743f497 --- /dev/null +++ b/parser/testdata/00705_aggregate_states_addition/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier add_aggregate diff --git a/parser/testdata/00707_float_csv_delimiter/explain_3.txt b/parser/testdata/00707_float_csv_delimiter/explain_3.txt new file mode 100644 index 0000000000..a209a65ee5 --- /dev/null +++ b/parser/testdata/00707_float_csv_delimiter/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_00707 diff --git a/parser/testdata/00707_float_csv_delimiter/explain_4.txt b/parser/testdata/00707_float_csv_delimiter/explain_4.txt new file mode 100644 index 0000000000..a209a65ee5 --- /dev/null +++ b/parser/testdata/00707_float_csv_delimiter/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_00707 diff --git a/parser/testdata/00707_float_csv_delimiter/explain_5.txt b/parser/testdata/00707_float_csv_delimiter/explain_5.txt new file mode 100644 index 0000000000..a209a65ee5 --- /dev/null +++ b/parser/testdata/00707_float_csv_delimiter/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_00707 diff --git a/parser/testdata/00707_float_csv_delimiter/explain_6.txt b/parser/testdata/00707_float_csv_delimiter/explain_6.txt new file mode 100644 index 0000000000..a209a65ee5 --- /dev/null +++ b/parser/testdata/00707_float_csv_delimiter/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_00707 diff --git a/parser/testdata/00709_virtual_column_partition_id/explain_4.txt b/parser/testdata/00709_virtual_column_partition_id/explain_4.txt new file mode 100644 index 0000000000..3be365901d --- /dev/null +++ b/parser/testdata/00709_virtual_column_partition_id/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier partition_id diff --git a/parser/testdata/00712_prewhere_with_alias/explain_3.txt b/parser/testdata/00712_prewhere_with_alias/explain_3.txt new file mode 100644 index 0000000000..1cd1f54050 --- /dev/null +++ b/parser/testdata/00712_prewhere_with_alias/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier prewhere_alias diff --git a/parser/testdata/00712_prewhere_with_alias_and_virtual_column/explain_3.txt b/parser/testdata/00712_prewhere_with_alias_and_virtual_column/explain_3.txt new file mode 100644 index 0000000000..2ac0de811d --- /dev/null +++ b/parser/testdata/00712_prewhere_with_alias_and_virtual_column/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab_00712_1 diff --git a/parser/testdata/00712_prewhere_with_alias_bug/explain_3.txt b/parser/testdata/00712_prewhere_with_alias_bug/explain_3.txt new file mode 100644 index 0000000000..1cd1f54050 --- /dev/null +++ b/parser/testdata/00712_prewhere_with_alias_bug/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier prewhere_alias diff --git a/parser/testdata/00712_prewhere_with_final/explain_4.txt b/parser/testdata/00712_prewhere_with_final/explain_4.txt new file mode 100644 index 0000000000..815ac5a21a --- /dev/null +++ b/parser/testdata/00712_prewhere_with_final/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier trepl diff --git a/parser/testdata/00712_prewhere_with_final/explain_9.txt b/parser/testdata/00712_prewhere_with_final/explain_9.txt new file mode 100644 index 0000000000..22ad135385 --- /dev/null +++ b/parser/testdata/00712_prewhere_with_final/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier versioned_collapsing diff --git a/parser/testdata/00712_prewhere_with_missing_columns/explain_3.txt b/parser/testdata/00712_prewhere_with_missing_columns/explain_3.txt new file mode 100644 index 0000000000..b40fdfcebe --- /dev/null +++ b/parser/testdata/00712_prewhere_with_missing_columns/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mergetree_00712 diff --git a/parser/testdata/00712_prewhere_with_missing_columns/explain_6.txt b/parser/testdata/00712_prewhere_with_missing_columns/explain_6.txt new file mode 100644 index 0000000000..b40fdfcebe --- /dev/null +++ b/parser/testdata/00712_prewhere_with_missing_columns/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mergetree_00712 diff --git a/parser/testdata/00712_prewhere_with_missing_columns_2/explain_3.txt b/parser/testdata/00712_prewhere_with_missing_columns_2/explain_3.txt new file mode 100644 index 0000000000..a4a1d5d8d5 --- /dev/null +++ b/parser/testdata/00712_prewhere_with_missing_columns_2/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_00712_1 diff --git a/parser/testdata/00712_prewhere_with_sampling/explain_3.txt b/parser/testdata/00712_prewhere_with_sampling/explain_3.txt new file mode 100644 index 0000000000..58cb5b88f0 --- /dev/null +++ b/parser/testdata/00712_prewhere_with_sampling/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab_00712_2 diff --git a/parser/testdata/00712_prewhere_with_sampling_and_alias/explain_4.txt b/parser/testdata/00712_prewhere_with_sampling_and_alias/explain_4.txt new file mode 100644 index 0000000000..a38bfba965 --- /dev/null +++ b/parser/testdata/00712_prewhere_with_sampling_and_alias/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_00712_2 diff --git a/parser/testdata/00713_collapsing_merge_tree/explain_3.txt b/parser/testdata/00713_collapsing_merge_tree/explain_3.txt new file mode 100644 index 0000000000..07bd9b1dae --- /dev/null +++ b/parser/testdata/00713_collapsing_merge_tree/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier collapsing diff --git a/parser/testdata/00713_collapsing_merge_tree/explain_4.txt b/parser/testdata/00713_collapsing_merge_tree/explain_4.txt new file mode 100644 index 0000000000..07bd9b1dae --- /dev/null +++ b/parser/testdata/00713_collapsing_merge_tree/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier collapsing diff --git a/parser/testdata/00713_collapsing_merge_tree/explain_5.txt b/parser/testdata/00713_collapsing_merge_tree/explain_5.txt new file mode 100644 index 0000000000..07bd9b1dae --- /dev/null +++ b/parser/testdata/00713_collapsing_merge_tree/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier collapsing diff --git a/parser/testdata/00713_collapsing_merge_tree/explain_6.txt b/parser/testdata/00713_collapsing_merge_tree/explain_6.txt new file mode 100644 index 0000000000..07bd9b1dae --- /dev/null +++ b/parser/testdata/00713_collapsing_merge_tree/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier collapsing diff --git a/parser/testdata/00714_alter_uuid/explain_7.txt b/parser/testdata/00714_alter_uuid/explain_7.txt new file mode 100644 index 0000000000..1db7ee21ee --- /dev/null +++ b/parser/testdata/00714_alter_uuid/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier uuid diff --git a/parser/testdata/00715_bounding_ratio/explain_3.txt b/parser/testdata/00715_bounding_ratio/explain_3.txt new file mode 100644 index 0000000000..797db6fb31 --- /dev/null +++ b/parser/testdata/00715_bounding_ratio/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rate_test diff --git a/parser/testdata/00715_bounding_ratio/explain_7.txt b/parser/testdata/00715_bounding_ratio/explain_7.txt new file mode 100644 index 0000000000..71c16ac11b --- /dev/null +++ b/parser/testdata/00715_bounding_ratio/explain_7.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier rate_test2 + ExpressionList (children 2) + Identifier timestamp + Identifier event diff --git a/parser/testdata/00715_bounding_ratio_merge_empty/explain_4.txt b/parser/testdata/00715_bounding_ratio_merge_empty/explain_4.txt new file mode 100644 index 0000000000..797db6fb31 --- /dev/null +++ b/parser/testdata/00715_bounding_ratio_merge_empty/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rate_test diff --git a/parser/testdata/00717_default_join_type/explain_5.txt b/parser/testdata/00717_default_join_type/explain_5.txt new file mode 100644 index 0000000000..7da8ce4bb2 --- /dev/null +++ b/parser/testdata/00717_default_join_type/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier default_join1 diff --git a/parser/testdata/00717_default_join_type/explain_6.txt b/parser/testdata/00717_default_join_type/explain_6.txt new file mode 100644 index 0000000000..7cf5d96632 --- /dev/null +++ b/parser/testdata/00717_default_join_type/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier default_join2 diff --git a/parser/testdata/00717_low_cardinaliry_group_by/explain_3.txt b/parser/testdata/00717_low_cardinaliry_group_by/explain_3.txt new file mode 100644 index 0000000000..bccdf1ee45 --- /dev/null +++ b/parser/testdata/00717_low_cardinaliry_group_by/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab_00717 diff --git a/parser/testdata/00717_merge_and_distributed/explain_13.txt b/parser/testdata/00717_merge_and_distributed/explain_13.txt new file mode 100644 index 0000000000..fa8c295364 --- /dev/null +++ b/parser/testdata/00717_merge_and_distributed/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_local_1 diff --git a/parser/testdata/00717_merge_and_distributed/explain_14.txt b/parser/testdata/00717_merge_and_distributed/explain_14.txt new file mode 100644 index 0000000000..d45c7729f7 --- /dev/null +++ b/parser/testdata/00717_merge_and_distributed/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_local_2 diff --git a/parser/testdata/00717_merge_and_distributed/explain_67.txt b/parser/testdata/00717_merge_and_distributed/explain_67.txt new file mode 100644 index 0000000000..469bd27571 --- /dev/null +++ b/parser/testdata/00717_merge_and_distributed/explain_67.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_s64_local diff --git a/parser/testdata/00717_merge_and_distributed/explain_68.txt b/parser/testdata/00717_merge_and_distributed/explain_68.txt new file mode 100644 index 0000000000..e015df89d9 --- /dev/null +++ b/parser/testdata/00717_merge_and_distributed/explain_68.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_u64_local diff --git a/parser/testdata/00718_low_cardinaliry_alter/explain_4.txt b/parser/testdata/00718_low_cardinaliry_alter/explain_4.txt new file mode 100644 index 0000000000..cc347c07e5 --- /dev/null +++ b/parser/testdata/00718_low_cardinaliry_alter/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab_00718 diff --git a/parser/testdata/00720_with_cube/explain_3.txt b/parser/testdata/00720_with_cube/explain_3.txt new file mode 100644 index 0000000000..7607ba437e --- /dev/null +++ b/parser/testdata/00720_with_cube/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier cube diff --git a/parser/testdata/00720_with_cube/explain_4.txt b/parser/testdata/00720_with_cube/explain_4.txt new file mode 100644 index 0000000000..7607ba437e --- /dev/null +++ b/parser/testdata/00720_with_cube/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier cube diff --git a/parser/testdata/00720_with_cube/explain_5.txt b/parser/testdata/00720_with_cube/explain_5.txt new file mode 100644 index 0000000000..7607ba437e --- /dev/null +++ b/parser/testdata/00720_with_cube/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier cube diff --git a/parser/testdata/00721_force_by_identical_result_after_merge_zookeeper_long/explain_6.txt b/parser/testdata/00721_force_by_identical_result_after_merge_zookeeper_long/explain_6.txt new file mode 100644 index 0000000000..06a66b2234 --- /dev/null +++ b/parser/testdata/00721_force_by_identical_result_after_merge_zookeeper_long/explain_6.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier byte_identical_r1 + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00724_insert_values_datetime_conversion/explain_3.txt b/parser/testdata/00724_insert_values_datetime_conversion/explain_3.txt new file mode 100644 index 0000000000..11be89b226 --- /dev/null +++ b/parser/testdata/00724_insert_values_datetime_conversion/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_00724 diff --git a/parser/testdata/00725_ipv4_ipv6_domains/explain_14.txt b/parser/testdata/00725_ipv4_ipv6_domains/explain_14.txt new file mode 100644 index 0000000000..ef9e95475b --- /dev/null +++ b/parser/testdata/00725_ipv4_ipv6_domains/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ipv6_test diff --git a/parser/testdata/00725_ipv4_ipv6_domains/explain_4.txt b/parser/testdata/00725_ipv4_ipv6_domains/explain_4.txt new file mode 100644 index 0000000000..3147e0028c --- /dev/null +++ b/parser/testdata/00725_ipv4_ipv6_domains/explain_4.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier ipv4_test + ExpressionList (children 1) + Identifier ipv4_ diff --git a/parser/testdata/00725_join_on_bug_1/explain_5.txt b/parser/testdata/00725_join_on_bug_1/explain_5.txt new file mode 100644 index 0000000000..c88af903d3 --- /dev/null +++ b/parser/testdata/00725_join_on_bug_1/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier a1 diff --git a/parser/testdata/00725_join_on_bug_1/explain_6.txt b/parser/testdata/00725_join_on_bug_1/explain_6.txt new file mode 100644 index 0000000000..f139bdb370 --- /dev/null +++ b/parser/testdata/00725_join_on_bug_1/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier a2 diff --git a/parser/testdata/00725_join_on_bug_2/explain_5.txt b/parser/testdata/00725_join_on_bug_2/explain_5.txt new file mode 100644 index 0000000000..a41245c0b5 --- /dev/null +++ b/parser/testdata/00725_join_on_bug_2/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_00725_2 diff --git a/parser/testdata/00725_join_on_bug_2/explain_6.txt b/parser/testdata/00725_join_on_bug_2/explain_6.txt new file mode 100644 index 0000000000..a41245c0b5 --- /dev/null +++ b/parser/testdata/00725_join_on_bug_2/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_00725_2 diff --git a/parser/testdata/00725_join_on_bug_2/explain_8.txt b/parser/testdata/00725_join_on_bug_2/explain_8.txt new file mode 100644 index 0000000000..b92ef0e2e5 --- /dev/null +++ b/parser/testdata/00725_join_on_bug_2/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier s_00725_2 diff --git a/parser/testdata/00725_join_on_bug_3/explain_4.txt b/parser/testdata/00725_join_on_bug_3/explain_4.txt new file mode 100644 index 0000000000..7e17a0f51c --- /dev/null +++ b/parser/testdata/00725_join_on_bug_3/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_00725_3 diff --git a/parser/testdata/00725_join_on_bug_3/explain_5.txt b/parser/testdata/00725_join_on_bug_3/explain_5.txt new file mode 100644 index 0000000000..7e17a0f51c --- /dev/null +++ b/parser/testdata/00725_join_on_bug_3/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_00725_3 diff --git a/parser/testdata/00725_join_on_bug_3/explain_7.txt b/parser/testdata/00725_join_on_bug_3/explain_7.txt new file mode 100644 index 0000000000..f8b956004e --- /dev/null +++ b/parser/testdata/00725_join_on_bug_3/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier z_00725_3 diff --git a/parser/testdata/00725_join_on_bug_4/explain_4.txt b/parser/testdata/00725_join_on_bug_4/explain_4.txt new file mode 100644 index 0000000000..95d5d150f6 --- /dev/null +++ b/parser/testdata/00725_join_on_bug_4/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_00725_4 diff --git a/parser/testdata/00725_join_on_bug_4/explain_6.txt b/parser/testdata/00725_join_on_bug_4/explain_6.txt new file mode 100644 index 0000000000..414b805cbf --- /dev/null +++ b/parser/testdata/00725_join_on_bug_4/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier s_00725_4 diff --git a/parser/testdata/00726_materialized_view_concurrent/explain_10.txt b/parser/testdata/00726_materialized_view_concurrent/explain_10.txt new file mode 100644 index 0000000000..bc66f26bde --- /dev/null +++ b/parser/testdata/00726_materialized_view_concurrent/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier src_00726 diff --git a/parser/testdata/00726_materialized_view_concurrent/explain_8.txt b/parser/testdata/00726_materialized_view_concurrent/explain_8.txt new file mode 100644 index 0000000000..bc66f26bde --- /dev/null +++ b/parser/testdata/00726_materialized_view_concurrent/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier src_00726 diff --git a/parser/testdata/00727_concat/explain_50.txt b/parser/testdata/00727_concat/explain_50.txt new file mode 100644 index 0000000000..c2084bdc49 --- /dev/null +++ b/parser/testdata/00727_concat/explain_50.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier concat_saf_test diff --git a/parser/testdata/00727_concat/explain_57.txt b/parser/testdata/00727_concat/explain_57.txt new file mode 100644 index 0000000000..8e089632d0 --- /dev/null +++ b/parser/testdata/00727_concat/explain_57.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier concat_nested_test diff --git a/parser/testdata/00729_prewhere_array_join/explain_10.txt b/parser/testdata/00729_prewhere_array_join/explain_10.txt new file mode 100644 index 0000000000..a6a44426cd --- /dev/null +++ b/parser/testdata/00729_prewhere_array_join/explain_10.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier t1_00729 + ExpressionList (children 4) + Identifier id + Identifier val + Identifier nid + Identifier eDate diff --git a/parser/testdata/00729_prewhere_array_join/explain_11.txt b/parser/testdata/00729_prewhere_array_join/explain_11.txt new file mode 100644 index 0000000000..a6a44426cd --- /dev/null +++ b/parser/testdata/00729_prewhere_array_join/explain_11.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier t1_00729 + ExpressionList (children 4) + Identifier id + Identifier val + Identifier nid + Identifier eDate diff --git a/parser/testdata/00729_prewhere_array_join/explain_12.txt b/parser/testdata/00729_prewhere_array_join/explain_12.txt new file mode 100644 index 0000000000..a6a44426cd --- /dev/null +++ b/parser/testdata/00729_prewhere_array_join/explain_12.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier t1_00729 + ExpressionList (children 4) + Identifier id + Identifier val + Identifier nid + Identifier eDate diff --git a/parser/testdata/00729_prewhere_array_join/explain_13.txt b/parser/testdata/00729_prewhere_array_join/explain_13.txt new file mode 100644 index 0000000000..a6a44426cd --- /dev/null +++ b/parser/testdata/00729_prewhere_array_join/explain_13.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier t1_00729 + ExpressionList (children 4) + Identifier id + Identifier val + Identifier nid + Identifier eDate diff --git a/parser/testdata/00729_prewhere_array_join/explain_19.txt b/parser/testdata/00729_prewhere_array_join/explain_19.txt new file mode 100644 index 0000000000..a6a44426cd --- /dev/null +++ b/parser/testdata/00729_prewhere_array_join/explain_19.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier t1_00729 + ExpressionList (children 4) + Identifier id + Identifier val + Identifier nid + Identifier eDate diff --git a/parser/testdata/00729_prewhere_array_join/explain_20.txt b/parser/testdata/00729_prewhere_array_join/explain_20.txt new file mode 100644 index 0000000000..a6a44426cd --- /dev/null +++ b/parser/testdata/00729_prewhere_array_join/explain_20.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier t1_00729 + ExpressionList (children 4) + Identifier id + Identifier val + Identifier nid + Identifier eDate diff --git a/parser/testdata/00729_prewhere_array_join/explain_21.txt b/parser/testdata/00729_prewhere_array_join/explain_21.txt new file mode 100644 index 0000000000..a6a44426cd --- /dev/null +++ b/parser/testdata/00729_prewhere_array_join/explain_21.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier t1_00729 + ExpressionList (children 4) + Identifier id + Identifier val + Identifier nid + Identifier eDate diff --git a/parser/testdata/00729_prewhere_array_join/explain_22.txt b/parser/testdata/00729_prewhere_array_join/explain_22.txt new file mode 100644 index 0000000000..a6a44426cd --- /dev/null +++ b/parser/testdata/00729_prewhere_array_join/explain_22.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier t1_00729 + ExpressionList (children 4) + Identifier id + Identifier val + Identifier nid + Identifier eDate diff --git a/parser/testdata/00729_prewhere_array_join/explain_5.txt b/parser/testdata/00729_prewhere_array_join/explain_5.txt new file mode 100644 index 0000000000..a6a44426cd --- /dev/null +++ b/parser/testdata/00729_prewhere_array_join/explain_5.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier t1_00729 + ExpressionList (children 4) + Identifier id + Identifier val + Identifier nid + Identifier eDate diff --git a/parser/testdata/00729_prewhere_array_join/explain_6.txt b/parser/testdata/00729_prewhere_array_join/explain_6.txt new file mode 100644 index 0000000000..a6a44426cd --- /dev/null +++ b/parser/testdata/00729_prewhere_array_join/explain_6.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier t1_00729 + ExpressionList (children 4) + Identifier id + Identifier val + Identifier nid + Identifier eDate diff --git a/parser/testdata/00729_prewhere_array_join/explain_7.txt b/parser/testdata/00729_prewhere_array_join/explain_7.txt new file mode 100644 index 0000000000..a6a44426cd --- /dev/null +++ b/parser/testdata/00729_prewhere_array_join/explain_7.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier t1_00729 + ExpressionList (children 4) + Identifier id + Identifier val + Identifier nid + Identifier eDate diff --git a/parser/testdata/00729_prewhere_array_join/explain_8.txt b/parser/testdata/00729_prewhere_array_join/explain_8.txt new file mode 100644 index 0000000000..a6a44426cd --- /dev/null +++ b/parser/testdata/00729_prewhere_array_join/explain_8.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier t1_00729 + ExpressionList (children 4) + Identifier id + Identifier val + Identifier nid + Identifier eDate diff --git a/parser/testdata/00729_prewhere_array_join/explain_9.txt b/parser/testdata/00729_prewhere_array_join/explain_9.txt new file mode 100644 index 0000000000..a6a44426cd --- /dev/null +++ b/parser/testdata/00729_prewhere_array_join/explain_9.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier t1_00729 + ExpressionList (children 4) + Identifier id + Identifier val + Identifier nid + Identifier eDate diff --git a/parser/testdata/00730_unicode_terminal_format/explain_10.txt b/parser/testdata/00730_unicode_terminal_format/explain_10.txt new file mode 100644 index 0000000000..83a220edf2 --- /dev/null +++ b/parser/testdata/00730_unicode_terminal_format/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier unicode diff --git a/parser/testdata/00730_unicode_terminal_format/explain_11.txt b/parser/testdata/00730_unicode_terminal_format/explain_11.txt new file mode 100644 index 0000000000..83a220edf2 --- /dev/null +++ b/parser/testdata/00730_unicode_terminal_format/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier unicode diff --git a/parser/testdata/00730_unicode_terminal_format/explain_12.txt b/parser/testdata/00730_unicode_terminal_format/explain_12.txt new file mode 100644 index 0000000000..83a220edf2 --- /dev/null +++ b/parser/testdata/00730_unicode_terminal_format/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier unicode diff --git a/parser/testdata/00730_unicode_terminal_format/explain_13.txt b/parser/testdata/00730_unicode_terminal_format/explain_13.txt new file mode 100644 index 0000000000..83a220edf2 --- /dev/null +++ b/parser/testdata/00730_unicode_terminal_format/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier unicode diff --git a/parser/testdata/00730_unicode_terminal_format/explain_14.txt b/parser/testdata/00730_unicode_terminal_format/explain_14.txt new file mode 100644 index 0000000000..83a220edf2 --- /dev/null +++ b/parser/testdata/00730_unicode_terminal_format/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier unicode diff --git a/parser/testdata/00730_unicode_terminal_format/explain_15.txt b/parser/testdata/00730_unicode_terminal_format/explain_15.txt new file mode 100644 index 0000000000..83a220edf2 --- /dev/null +++ b/parser/testdata/00730_unicode_terminal_format/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier unicode diff --git a/parser/testdata/00730_unicode_terminal_format/explain_16.txt b/parser/testdata/00730_unicode_terminal_format/explain_16.txt new file mode 100644 index 0000000000..83a220edf2 --- /dev/null +++ b/parser/testdata/00730_unicode_terminal_format/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier unicode diff --git a/parser/testdata/00730_unicode_terminal_format/explain_17.txt b/parser/testdata/00730_unicode_terminal_format/explain_17.txt new file mode 100644 index 0000000000..83a220edf2 --- /dev/null +++ b/parser/testdata/00730_unicode_terminal_format/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier unicode diff --git a/parser/testdata/00730_unicode_terminal_format/explain_18.txt b/parser/testdata/00730_unicode_terminal_format/explain_18.txt new file mode 100644 index 0000000000..83a220edf2 --- /dev/null +++ b/parser/testdata/00730_unicode_terminal_format/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier unicode diff --git a/parser/testdata/00730_unicode_terminal_format/explain_19.txt b/parser/testdata/00730_unicode_terminal_format/explain_19.txt new file mode 100644 index 0000000000..83a220edf2 --- /dev/null +++ b/parser/testdata/00730_unicode_terminal_format/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier unicode diff --git a/parser/testdata/00730_unicode_terminal_format/explain_20.txt b/parser/testdata/00730_unicode_terminal_format/explain_20.txt new file mode 100644 index 0000000000..83a220edf2 --- /dev/null +++ b/parser/testdata/00730_unicode_terminal_format/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier unicode diff --git a/parser/testdata/00730_unicode_terminal_format/explain_5.txt b/parser/testdata/00730_unicode_terminal_format/explain_5.txt new file mode 100644 index 0000000000..83a220edf2 --- /dev/null +++ b/parser/testdata/00730_unicode_terminal_format/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier unicode diff --git a/parser/testdata/00730_unicode_terminal_format/explain_6.txt b/parser/testdata/00730_unicode_terminal_format/explain_6.txt new file mode 100644 index 0000000000..83a220edf2 --- /dev/null +++ b/parser/testdata/00730_unicode_terminal_format/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier unicode diff --git a/parser/testdata/00730_unicode_terminal_format/explain_7.txt b/parser/testdata/00730_unicode_terminal_format/explain_7.txt new file mode 100644 index 0000000000..83a220edf2 --- /dev/null +++ b/parser/testdata/00730_unicode_terminal_format/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier unicode diff --git a/parser/testdata/00730_unicode_terminal_format/explain_8.txt b/parser/testdata/00730_unicode_terminal_format/explain_8.txt new file mode 100644 index 0000000000..83a220edf2 --- /dev/null +++ b/parser/testdata/00730_unicode_terminal_format/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier unicode diff --git a/parser/testdata/00730_unicode_terminal_format/explain_9.txt b/parser/testdata/00730_unicode_terminal_format/explain_9.txt new file mode 100644 index 0000000000..83a220edf2 --- /dev/null +++ b/parser/testdata/00730_unicode_terminal_format/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier unicode diff --git a/parser/testdata/00732_base64_functions/explain.txt b/parser/testdata/00732_base64_functions/explain.txt index 80b1b35003..11c3ad4960 100644 --- a/parser/testdata/00732_base64_functions/explain.txt +++ b/parser/testdata/00732_base64_functions/explain.txt @@ -4,4 +4,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) Function base64Encode (children 1) ExpressionList -The query succeeded but the server error '42' was expected (query: EXPLAIN AST SELECT base64Encode(); -- { serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH }). diff --git a/parser/testdata/00732_decimal_summing_merge_tree/explain_11.txt b/parser/testdata/00732_decimal_summing_merge_tree/explain_11.txt new file mode 100644 index 0000000000..47bb6c2e3e --- /dev/null +++ b/parser/testdata/00732_decimal_summing_merge_tree/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier decimal_sum diff --git a/parser/testdata/00732_decimal_summing_merge_tree/explain_4.txt b/parser/testdata/00732_decimal_summing_merge_tree/explain_4.txt new file mode 100644 index 0000000000..47bb6c2e3e --- /dev/null +++ b/parser/testdata/00732_decimal_summing_merge_tree/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier decimal_sum diff --git a/parser/testdata/00732_decimal_summing_merge_tree/explain_5.txt b/parser/testdata/00732_decimal_summing_merge_tree/explain_5.txt new file mode 100644 index 0000000000..47bb6c2e3e --- /dev/null +++ b/parser/testdata/00732_decimal_summing_merge_tree/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier decimal_sum diff --git a/parser/testdata/00732_decimal_summing_merge_tree/explain_8.txt b/parser/testdata/00732_decimal_summing_merge_tree/explain_8.txt new file mode 100644 index 0000000000..47bb6c2e3e --- /dev/null +++ b/parser/testdata/00732_decimal_summing_merge_tree/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier decimal_sum diff --git a/parser/testdata/00732_quorum_insert_have_data_before_quorum_zookeeper_long/explain_14.txt b/parser/testdata/00732_quorum_insert_have_data_before_quorum_zookeeper_long/explain_14.txt new file mode 100644 index 0000000000..a33133e256 --- /dev/null +++ b/parser/testdata/00732_quorum_insert_have_data_before_quorum_zookeeper_long/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier quorum1 diff --git a/parser/testdata/00732_quorum_insert_have_data_before_quorum_zookeeper_long/explain_15.txt b/parser/testdata/00732_quorum_insert_have_data_before_quorum_zookeeper_long/explain_15.txt new file mode 100644 index 0000000000..a33133e256 --- /dev/null +++ b/parser/testdata/00732_quorum_insert_have_data_before_quorum_zookeeper_long/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier quorum1 diff --git a/parser/testdata/00732_quorum_insert_have_data_before_quorum_zookeeper_long/explain_16.txt b/parser/testdata/00732_quorum_insert_have_data_before_quorum_zookeeper_long/explain_16.txt new file mode 100644 index 0000000000..a33133e256 --- /dev/null +++ b/parser/testdata/00732_quorum_insert_have_data_before_quorum_zookeeper_long/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier quorum1 diff --git a/parser/testdata/00732_quorum_insert_have_data_before_quorum_zookeeper_long/explain_6.txt b/parser/testdata/00732_quorum_insert_have_data_before_quorum_zookeeper_long/explain_6.txt new file mode 100644 index 0000000000..a33133e256 --- /dev/null +++ b/parser/testdata/00732_quorum_insert_have_data_before_quorum_zookeeper_long/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier quorum1 diff --git a/parser/testdata/00732_quorum_insert_have_data_before_quorum_zookeeper_long/explain_7.txt b/parser/testdata/00732_quorum_insert_have_data_before_quorum_zookeeper_long/explain_7.txt new file mode 100644 index 0000000000..a33133e256 --- /dev/null +++ b/parser/testdata/00732_quorum_insert_have_data_before_quorum_zookeeper_long/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier quorum1 diff --git a/parser/testdata/00732_quorum_insert_have_data_before_quorum_zookeeper_long/explain_8.txt b/parser/testdata/00732_quorum_insert_have_data_before_quorum_zookeeper_long/explain_8.txt new file mode 100644 index 0000000000..a33133e256 --- /dev/null +++ b/parser/testdata/00732_quorum_insert_have_data_before_quorum_zookeeper_long/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier quorum1 diff --git a/parser/testdata/00732_quorum_insert_lost_part_and_alive_part_zookeeper_long/explain_10.txt b/parser/testdata/00732_quorum_insert_lost_part_and_alive_part_zookeeper_long/explain_10.txt new file mode 100644 index 0000000000..a33133e256 --- /dev/null +++ b/parser/testdata/00732_quorum_insert_lost_part_and_alive_part_zookeeper_long/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier quorum1 diff --git a/parser/testdata/00732_quorum_insert_lost_part_and_alive_part_zookeeper_long/explain_13.txt b/parser/testdata/00732_quorum_insert_lost_part_and_alive_part_zookeeper_long/explain_13.txt new file mode 100644 index 0000000000..13a3a3de36 --- /dev/null +++ b/parser/testdata/00732_quorum_insert_lost_part_and_alive_part_zookeeper_long/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier quorum2 diff --git a/parser/testdata/00732_quorum_insert_lost_part_and_alive_part_zookeeper_long/explain_8.txt b/parser/testdata/00732_quorum_insert_lost_part_and_alive_part_zookeeper_long/explain_8.txt new file mode 100644 index 0000000000..a33133e256 --- /dev/null +++ b/parser/testdata/00732_quorum_insert_lost_part_and_alive_part_zookeeper_long/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier quorum1 diff --git a/parser/testdata/00732_quorum_insert_lost_part_and_alive_part_zookeeper_long/explain_9.txt b/parser/testdata/00732_quorum_insert_lost_part_and_alive_part_zookeeper_long/explain_9.txt new file mode 100644 index 0000000000..a33133e256 --- /dev/null +++ b/parser/testdata/00732_quorum_insert_lost_part_and_alive_part_zookeeper_long/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier quorum1 diff --git a/parser/testdata/00732_quorum_insert_lost_part_zookeeper_long/explain_10.txt b/parser/testdata/00732_quorum_insert_lost_part_zookeeper_long/explain_10.txt new file mode 100644 index 0000000000..13a3a3de36 --- /dev/null +++ b/parser/testdata/00732_quorum_insert_lost_part_zookeeper_long/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier quorum2 diff --git a/parser/testdata/00732_quorum_insert_select_with_old_data_and_without_quorum_zookeeper_long/explain_14.txt b/parser/testdata/00732_quorum_insert_select_with_old_data_and_without_quorum_zookeeper_long/explain_14.txt new file mode 100644 index 0000000000..13a3a3de36 --- /dev/null +++ b/parser/testdata/00732_quorum_insert_select_with_old_data_and_without_quorum_zookeeper_long/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier quorum2 diff --git a/parser/testdata/00732_quorum_insert_select_with_old_data_and_without_quorum_zookeeper_long/explain_6.txt b/parser/testdata/00732_quorum_insert_select_with_old_data_and_without_quorum_zookeeper_long/explain_6.txt new file mode 100644 index 0000000000..a33133e256 --- /dev/null +++ b/parser/testdata/00732_quorum_insert_select_with_old_data_and_without_quorum_zookeeper_long/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier quorum1 diff --git a/parser/testdata/00732_quorum_insert_select_with_old_data_and_without_quorum_zookeeper_long/explain_7.txt b/parser/testdata/00732_quorum_insert_select_with_old_data_and_without_quorum_zookeeper_long/explain_7.txt new file mode 100644 index 0000000000..a33133e256 --- /dev/null +++ b/parser/testdata/00732_quorum_insert_select_with_old_data_and_without_quorum_zookeeper_long/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier quorum1 diff --git a/parser/testdata/00732_quorum_insert_select_with_old_data_and_without_quorum_zookeeper_long/explain_8.txt b/parser/testdata/00732_quorum_insert_select_with_old_data_and_without_quorum_zookeeper_long/explain_8.txt new file mode 100644 index 0000000000..a33133e256 --- /dev/null +++ b/parser/testdata/00732_quorum_insert_select_with_old_data_and_without_quorum_zookeeper_long/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier quorum1 diff --git a/parser/testdata/00732_quorum_insert_simple_test_1_parts_zookeeper_long/explain_16.txt b/parser/testdata/00732_quorum_insert_simple_test_1_parts_zookeeper_long/explain_16.txt new file mode 100644 index 0000000000..a33133e256 --- /dev/null +++ b/parser/testdata/00732_quorum_insert_simple_test_1_parts_zookeeper_long/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier quorum1 diff --git a/parser/testdata/00732_quorum_insert_simple_test_1_parts_zookeeper_long/explain_17.txt b/parser/testdata/00732_quorum_insert_simple_test_1_parts_zookeeper_long/explain_17.txt new file mode 100644 index 0000000000..a33133e256 --- /dev/null +++ b/parser/testdata/00732_quorum_insert_simple_test_1_parts_zookeeper_long/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier quorum1 diff --git a/parser/testdata/00732_quorum_insert_simple_test_1_parts_zookeeper_long/explain_8.txt b/parser/testdata/00732_quorum_insert_simple_test_1_parts_zookeeper_long/explain_8.txt new file mode 100644 index 0000000000..a33133e256 --- /dev/null +++ b/parser/testdata/00732_quorum_insert_simple_test_1_parts_zookeeper_long/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier quorum1 diff --git a/parser/testdata/00732_quorum_insert_simple_test_1_parts_zookeeper_long/explain_9.txt b/parser/testdata/00732_quorum_insert_simple_test_1_parts_zookeeper_long/explain_9.txt new file mode 100644 index 0000000000..a33133e256 --- /dev/null +++ b/parser/testdata/00732_quorum_insert_simple_test_1_parts_zookeeper_long/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier quorum1 diff --git a/parser/testdata/00732_quorum_insert_simple_test_2_parts_zookeeper_long/explain_10.txt b/parser/testdata/00732_quorum_insert_simple_test_2_parts_zookeeper_long/explain_10.txt new file mode 100644 index 0000000000..a33133e256 --- /dev/null +++ b/parser/testdata/00732_quorum_insert_simple_test_2_parts_zookeeper_long/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier quorum1 diff --git a/parser/testdata/00732_quorum_insert_simple_test_2_parts_zookeeper_long/explain_8.txt b/parser/testdata/00732_quorum_insert_simple_test_2_parts_zookeeper_long/explain_8.txt new file mode 100644 index 0000000000..a33133e256 --- /dev/null +++ b/parser/testdata/00732_quorum_insert_simple_test_2_parts_zookeeper_long/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier quorum1 diff --git a/parser/testdata/00732_quorum_insert_simple_test_2_parts_zookeeper_long/explain_9.txt b/parser/testdata/00732_quorum_insert_simple_test_2_parts_zookeeper_long/explain_9.txt new file mode 100644 index 0000000000..a33133e256 --- /dev/null +++ b/parser/testdata/00732_quorum_insert_simple_test_2_parts_zookeeper_long/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier quorum1 diff --git a/parser/testdata/00735_or_expr_optimize_bug/explain_3.txt b/parser/testdata/00735_or_expr_optimize_bug/explain_3.txt new file mode 100644 index 0000000000..2e718ce364 --- /dev/null +++ b/parser/testdata/00735_or_expr_optimize_bug/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier or_expr_bug diff --git a/parser/testdata/00736_disjunction_optimisation/explain_3.txt b/parser/testdata/00736_disjunction_optimisation/explain_3.txt new file mode 100644 index 0000000000..831912fc55 --- /dev/null +++ b/parser/testdata/00736_disjunction_optimisation/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier bug diff --git a/parser/testdata/00737_decimal_group_by/explain_12.txt b/parser/testdata/00737_decimal_group_by/explain_12.txt new file mode 100644 index 0000000000..57e0eae2ff --- /dev/null +++ b/parser/testdata/00737_decimal_group_by/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier decimal diff --git a/parser/testdata/00738_nested_merge_multidimensional_array/explain_4.txt b/parser/testdata/00738_nested_merge_multidimensional_array/explain_4.txt new file mode 100644 index 0000000000..e85c14b6f4 --- /dev/null +++ b/parser/testdata/00738_nested_merge_multidimensional_array/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier sites diff --git a/parser/testdata/00738_nested_merge_multidimensional_array/explain_5.txt b/parser/testdata/00738_nested_merge_multidimensional_array/explain_5.txt new file mode 100644 index 0000000000..e85c14b6f4 --- /dev/null +++ b/parser/testdata/00738_nested_merge_multidimensional_array/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier sites diff --git a/parser/testdata/00739_array_element_nullable_string_mattrobenolt/explain_10.txt b/parser/testdata/00739_array_element_nullable_string_mattrobenolt/explain_10.txt new file mode 100644 index 0000000000..a155293678 --- /dev/null +++ b/parser/testdata/00739_array_element_nullable_string_mattrobenolt/explain_10.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier wups + ExpressionList (children 1) + Identifier a diff --git a/parser/testdata/00739_array_element_nullable_string_mattrobenolt/explain_4.txt b/parser/testdata/00739_array_element_nullable_string_mattrobenolt/explain_4.txt new file mode 100644 index 0000000000..a155293678 --- /dev/null +++ b/parser/testdata/00739_array_element_nullable_string_mattrobenolt/explain_4.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier wups + ExpressionList (children 1) + Identifier a diff --git a/parser/testdata/00739_array_element_nullable_string_mattrobenolt/explain_6.txt b/parser/testdata/00739_array_element_nullable_string_mattrobenolt/explain_6.txt new file mode 100644 index 0000000000..a155293678 --- /dev/null +++ b/parser/testdata/00739_array_element_nullable_string_mattrobenolt/explain_6.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier wups + ExpressionList (children 1) + Identifier a diff --git a/parser/testdata/00743_limit_by_not_found_column/explain_8.txt b/parser/testdata/00743_limit_by_not_found_column/explain_8.txt new file mode 100644 index 0000000000..35832408f9 --- /dev/null +++ b/parser/testdata/00743_limit_by_not_found_column/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier commententry1 diff --git a/parser/testdata/00744_join_not_found_column/explain_4.txt b/parser/testdata/00744_join_not_found_column/explain_4.txt new file mode 100644 index 0000000000..b84bec10ad --- /dev/null +++ b/parser/testdata/00744_join_not_found_column/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_00744 diff --git a/parser/testdata/00745_compile_scalar_subquery/explain_13.txt b/parser/testdata/00745_compile_scalar_subquery/explain_13.txt new file mode 100644 index 0000000000..299b925cf2 --- /dev/null +++ b/parser/testdata/00745_compile_scalar_subquery/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dt diff --git a/parser/testdata/00745_compile_scalar_subquery/explain_7.txt b/parser/testdata/00745_compile_scalar_subquery/explain_7.txt new file mode 100644 index 0000000000..299b925cf2 --- /dev/null +++ b/parser/testdata/00745_compile_scalar_subquery/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dt diff --git a/parser/testdata/00745_compile_scalar_subquery/explain_9.txt b/parser/testdata/00745_compile_scalar_subquery/explain_9.txt new file mode 100644 index 0000000000..2d8fb795f1 --- /dev/null +++ b/parser/testdata/00745_compile_scalar_subquery/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier testx diff --git a/parser/testdata/00746_compile_non_deterministic_function/explain_5.txt b/parser/testdata/00746_compile_non_deterministic_function/explain_5.txt new file mode 100644 index 0000000000..e3c459db89 --- /dev/null +++ b/parser/testdata/00746_compile_non_deterministic_function/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier time_table diff --git a/parser/testdata/00746_compile_non_deterministic_function/explain_8.txt b/parser/testdata/00746_compile_non_deterministic_function/explain_8.txt new file mode 100644 index 0000000000..e3c459db89 --- /dev/null +++ b/parser/testdata/00746_compile_non_deterministic_function/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier time_table diff --git a/parser/testdata/00748_insert_array_with_null/explain_5.txt b/parser/testdata/00748_insert_array_with_null/explain_5.txt new file mode 100644 index 0000000000..9c59d50929 --- /dev/null +++ b/parser/testdata/00748_insert_array_with_null/explain_5.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier arraytest + ExpressionList (children 2) + Identifier created_at + Identifier strings diff --git a/parser/testdata/00748_insert_array_with_null/explain_6.txt b/parser/testdata/00748_insert_array_with_null/explain_6.txt new file mode 100644 index 0000000000..9c59d50929 --- /dev/null +++ b/parser/testdata/00748_insert_array_with_null/explain_6.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier arraytest + ExpressionList (children 2) + Identifier created_at + Identifier strings diff --git a/parser/testdata/00749_inner_join_of_unnamed_subqueries/explain_5.txt b/parser/testdata/00749_inner_join_of_unnamed_subqueries/explain_5.txt new file mode 100644 index 0000000000..a09e5420e8 --- /dev/null +++ b/parser/testdata/00749_inner_join_of_unnamed_subqueries/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier left_table diff --git a/parser/testdata/00749_inner_join_of_unnamed_subqueries/explain_7.txt b/parser/testdata/00749_inner_join_of_unnamed_subqueries/explain_7.txt new file mode 100644 index 0000000000..8be7287f39 --- /dev/null +++ b/parser/testdata/00749_inner_join_of_unnamed_subqueries/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier right_table diff --git a/parser/testdata/00750_merge_tree_merge_with_o_direct/explain_3.txt b/parser/testdata/00750_merge_tree_merge_with_o_direct/explain_3.txt new file mode 100644 index 0000000000..3b7135973e --- /dev/null +++ b/parser/testdata/00750_merge_tree_merge_with_o_direct/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier sample_merge_tree diff --git a/parser/testdata/00751_default_databasename_for_view/explain_8.txt b/parser/testdata/00751_default_databasename_for_view/explain_8.txt new file mode 100644 index 0000000000..4c676d12cb --- /dev/null +++ b/parser/testdata/00751_default_databasename_for_view/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier u_00751 diff --git a/parser/testdata/00751_default_databasename_for_view/explain_9.txt b/parser/testdata/00751_default_databasename_for_view/explain_9.txt new file mode 100644 index 0000000000..c6e9015f5b --- /dev/null +++ b/parser/testdata/00751_default_databasename_for_view/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier v_00751 diff --git a/parser/testdata/00752_low_cardinality_lambda_argument/explain_9.txt b/parser/testdata/00752_low_cardinality_lambda_argument/explain_9.txt new file mode 100644 index 0000000000..55f033cd3e --- /dev/null +++ b/parser/testdata/00752_low_cardinality_lambda_argument/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_array diff --git a/parser/testdata/00752_low_cardinality_left_array_join/explain_4.txt b/parser/testdata/00752_low_cardinality_left_array_join/explain_4.txt new file mode 100644 index 0000000000..22ba06811c --- /dev/null +++ b/parser/testdata/00752_low_cardinality_left_array_join/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier lc_left_aj diff --git a/parser/testdata/00752_low_cardinality_mv_1/explain_4.txt b/parser/testdata/00752_low_cardinality_mv_1/explain_4.txt new file mode 100644 index 0000000000..a6d5bd6f35 --- /dev/null +++ b/parser/testdata/00752_low_cardinality_mv_1/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier lc_00752 diff --git a/parser/testdata/00752_low_cardinality_mv_1/explain_7.txt b/parser/testdata/00752_low_cardinality_mv_1/explain_7.txt new file mode 100644 index 0000000000..a6d5bd6f35 --- /dev/null +++ b/parser/testdata/00752_low_cardinality_mv_1/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier lc_00752 diff --git a/parser/testdata/00752_low_cardinality_mv_2/explain_5.txt b/parser/testdata/00752_low_cardinality_mv_2/explain_5.txt new file mode 100644 index 0000000000..2e8c6532e2 --- /dev/null +++ b/parser/testdata/00752_low_cardinality_mv_2/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier radacct diff --git a/parser/testdata/00752_low_cardinality_permute/explain_3.txt b/parser/testdata/00752_low_cardinality_permute/explain_3.txt new file mode 100644 index 0000000000..cf110deb34 --- /dev/null +++ b/parser/testdata/00752_low_cardinality_permute/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier lc_perm diff --git a/parser/testdata/00753_alter_attach/explain_11.txt b/parser/testdata/00753_alter_attach/explain_11.txt new file mode 100644 index 0000000000..d6923319aa --- /dev/null +++ b/parser/testdata/00753_alter_attach/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier alter_attach diff --git a/parser/testdata/00753_alter_attach/explain_20.txt b/parser/testdata/00753_alter_attach/explain_20.txt new file mode 100644 index 0000000000..6315913019 --- /dev/null +++ b/parser/testdata/00753_alter_attach/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier detach_all_no_partition diff --git a/parser/testdata/00753_alter_attach/explain_3.txt b/parser/testdata/00753_alter_attach/explain_3.txt new file mode 100644 index 0000000000..d6923319aa --- /dev/null +++ b/parser/testdata/00753_alter_attach/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier alter_attach diff --git a/parser/testdata/00753_alter_attach/explain_32.txt b/parser/testdata/00753_alter_attach/explain_32.txt new file mode 100644 index 0000000000..70b5d833c3 --- /dev/null +++ b/parser/testdata/00753_alter_attach/explain_32.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replicated_table_detach_all1 diff --git a/parser/testdata/00753_alter_attach/explain_48.txt b/parser/testdata/00753_alter_attach/explain_48.txt new file mode 100644 index 0000000000..9c786f96db --- /dev/null +++ b/parser/testdata/00753_alter_attach/explain_48.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier partition_all diff --git a/parser/testdata/00753_alter_attach/explain_50.txt b/parser/testdata/00753_alter_attach/explain_50.txt new file mode 100644 index 0000000000..b7d4dc3972 --- /dev/null +++ b/parser/testdata/00753_alter_attach/explain_50.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier partition_all2 diff --git a/parser/testdata/00753_alter_attach/explain_6.txt b/parser/testdata/00753_alter_attach/explain_6.txt new file mode 100644 index 0000000000..d6923319aa --- /dev/null +++ b/parser/testdata/00753_alter_attach/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier alter_attach diff --git a/parser/testdata/00753_alter_attach/explain_62.txt b/parser/testdata/00753_alter_attach/explain_62.txt new file mode 100644 index 0000000000..6402ae257e --- /dev/null +++ b/parser/testdata/00753_alter_attach/explain_62.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier partition_attach_all diff --git a/parser/testdata/00753_alter_attach/explain_76.txt b/parser/testdata/00753_alter_attach/explain_76.txt new file mode 100644 index 0000000000..a4f8efa151 --- /dev/null +++ b/parser/testdata/00753_alter_attach/explain_76.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replicated_partition_attach_all diff --git a/parser/testdata/00753_alter_destination_for_storage_buffer/explain_14.txt b/parser/testdata/00753_alter_destination_for_storage_buffer/explain_14.txt new file mode 100644 index 0000000000..423ff4b118 --- /dev/null +++ b/parser/testdata/00753_alter_destination_for_storage_buffer/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier buffer_00753 diff --git a/parser/testdata/00753_alter_destination_for_storage_buffer/explain_6.txt b/parser/testdata/00753_alter_destination_for_storage_buffer/explain_6.txt new file mode 100644 index 0000000000..423ff4b118 --- /dev/null +++ b/parser/testdata/00753_alter_destination_for_storage_buffer/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier buffer_00753 diff --git a/parser/testdata/00753_alter_destination_for_storage_buffer/explain_7.txt b/parser/testdata/00753_alter_destination_for_storage_buffer/explain_7.txt new file mode 100644 index 0000000000..423ff4b118 --- /dev/null +++ b/parser/testdata/00753_alter_destination_for_storage_buffer/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier buffer_00753 diff --git a/parser/testdata/00753_alter_destination_for_storage_buffer/explain_8.txt b/parser/testdata/00753_alter_destination_for_storage_buffer/explain_8.txt new file mode 100644 index 0000000000..423ff4b118 --- /dev/null +++ b/parser/testdata/00753_alter_destination_for_storage_buffer/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier buffer_00753 diff --git a/parser/testdata/00753_quantile_format/explain_3.txt b/parser/testdata/00753_quantile_format/explain_3.txt new file mode 100644 index 0000000000..1ba88b5460 --- /dev/null +++ b/parser/testdata/00753_quantile_format/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier datetime + ExpressionList (children 1) + Identifier d diff --git a/parser/testdata/00753_system_columns_and_system_tables_long/explain_21.txt b/parser/testdata/00753_system_columns_and_system_tables_long/explain_21.txt new file mode 100644 index 0000000000..0501a2f121 --- /dev/null +++ b/parser/testdata/00753_system_columns_and_system_tables_long/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier check_system_tables diff --git a/parser/testdata/00753_system_columns_and_system_tables_long/explain_27.txt b/parser/testdata/00753_system_columns_and_system_tables_long/explain_27.txt new file mode 100644 index 0000000000..0501a2f121 --- /dev/null +++ b/parser/testdata/00753_system_columns_and_system_tables_long/explain_27.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier check_system_tables diff --git a/parser/testdata/00753_system_columns_and_system_tables_long/explain_33.txt b/parser/testdata/00753_system_columns_and_system_tables_long/explain_33.txt new file mode 100644 index 0000000000..0501a2f121 --- /dev/null +++ b/parser/testdata/00753_system_columns_and_system_tables_long/explain_33.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier check_system_tables diff --git a/parser/testdata/00753_system_columns_and_system_tables_long/explain_39.txt b/parser/testdata/00753_system_columns_and_system_tables_long/explain_39.txt new file mode 100644 index 0000000000..0501a2f121 --- /dev/null +++ b/parser/testdata/00753_system_columns_and_system_tables_long/explain_39.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier check_system_tables diff --git a/parser/testdata/00753_system_columns_and_system_tables_long/explain_6.txt b/parser/testdata/00753_system_columns_and_system_tables_long/explain_6.txt new file mode 100644 index 0000000000..0501a2f121 --- /dev/null +++ b/parser/testdata/00753_system_columns_and_system_tables_long/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier check_system_tables diff --git a/parser/testdata/00753_system_columns_and_system_tables_long/explain_78.txt b/parser/testdata/00753_system_columns_and_system_tables_long/explain_78.txt new file mode 100644 index 0000000000..0501a2f121 --- /dev/null +++ b/parser/testdata/00753_system_columns_and_system_tables_long/explain_78.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier check_system_tables diff --git a/parser/testdata/00754_alter_modify_order_by/explain_19.txt b/parser/testdata/00754_alter_modify_order_by/explain_19.txt new file mode 100644 index 0000000000..98329d2962 --- /dev/null +++ b/parser/testdata/00754_alter_modify_order_by/explain_19.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier summing + ExpressionList (children 4) + Identifier x + Identifier y + Identifier z + Identifier val diff --git a/parser/testdata/00754_alter_modify_order_by/explain_22.txt b/parser/testdata/00754_alter_modify_order_by/explain_22.txt new file mode 100644 index 0000000000..98329d2962 --- /dev/null +++ b/parser/testdata/00754_alter_modify_order_by/explain_22.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier summing + ExpressionList (children 4) + Identifier x + Identifier y + Identifier z + Identifier val diff --git a/parser/testdata/00754_alter_modify_order_by_replicated_zookeeper_long/explain_17.txt b/parser/testdata/00754_alter_modify_order_by_replicated_zookeeper_long/explain_17.txt new file mode 100644 index 0000000000..8731996b2a --- /dev/null +++ b/parser/testdata/00754_alter_modify_order_by_replicated_zookeeper_long/explain_17.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier summing_r1 + ExpressionList (children 4) + Identifier x + Identifier y + Identifier z + Identifier val diff --git a/parser/testdata/00754_alter_modify_order_by_replicated_zookeeper_long/explain_21.txt b/parser/testdata/00754_alter_modify_order_by_replicated_zookeeper_long/explain_21.txt new file mode 100644 index 0000000000..8731996b2a --- /dev/null +++ b/parser/testdata/00754_alter_modify_order_by_replicated_zookeeper_long/explain_21.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier summing_r1 + ExpressionList (children 4) + Identifier x + Identifier y + Identifier z + Identifier val diff --git a/parser/testdata/00757_enum_defaults/explain_11.txt b/parser/testdata/00757_enum_defaults/explain_11.txt new file mode 100644 index 0000000000..88bff17465 --- /dev/null +++ b/parser/testdata/00757_enum_defaults/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier auto_assign_enum1 diff --git a/parser/testdata/00757_enum_defaults/explain_17.txt b/parser/testdata/00757_enum_defaults/explain_17.txt new file mode 100644 index 0000000000..328ad48e10 --- /dev/null +++ b/parser/testdata/00757_enum_defaults/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier auto_assign_enum2 diff --git a/parser/testdata/00757_enum_defaults/explain_6.txt b/parser/testdata/00757_enum_defaults/explain_6.txt new file mode 100644 index 0000000000..e5476dcdf2 --- /dev/null +++ b/parser/testdata/00757_enum_defaults/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier auto_assign_enum diff --git a/parser/testdata/00759_kodieg/explain.txt b/parser/testdata/00759_kodieg/explain.txt new file mode 100644 index 0000000000..026d5efc64 --- /dev/null +++ b/parser/testdata/00759_kodieg/explain.txt @@ -0,0 +1,34 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 3) + Literal Array_[UInt64_1, UInt64_2, UInt64_3, UInt64_1, UInt64_3] (alias a) + Function indexOf (alias offset_from_right) (children 1) + ExpressionList (children 2) + Function arrayReverse (children 1) + ExpressionList (children 1) + Function arraySlice (children 1) + ExpressionList (children 3) + Identifier a + Literal UInt64_1 + Literal Int64_-1 + Literal UInt64_3 + Function arraySlice (children 1) + ExpressionList (children 2) + Identifier a + Function multiIf (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Identifier offset_from_right + Literal UInt64_0 + Literal UInt64_1 + Function plus (children 1) + ExpressionList (children 2) + Function minus (children 1) + ExpressionList (children 2) + Function length (children 1) + ExpressionList (children 1) + Identifier a + Identifier offset_from_right + Literal UInt64_1 diff --git a/parser/testdata/00760_insert_json_with_defaults/explain_11.txt b/parser/testdata/00760_insert_json_with_defaults/explain_11.txt new file mode 100644 index 0000000000..c4bde7d911 --- /dev/null +++ b/parser/testdata/00760_insert_json_with_defaults/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier defaults diff --git a/parser/testdata/00760_insert_json_with_defaults/explain_14.txt b/parser/testdata/00760_insert_json_with_defaults/explain_14.txt new file mode 100644 index 0000000000..c4bde7d911 --- /dev/null +++ b/parser/testdata/00760_insert_json_with_defaults/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier defaults diff --git a/parser/testdata/00760_insert_json_with_defaults/explain_15.txt b/parser/testdata/00760_insert_json_with_defaults/explain_15.txt new file mode 100644 index 0000000000..c4bde7d911 --- /dev/null +++ b/parser/testdata/00760_insert_json_with_defaults/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier defaults diff --git a/parser/testdata/00760_insert_json_with_defaults/explain_4.txt b/parser/testdata/00760_insert_json_with_defaults/explain_4.txt new file mode 100644 index 0000000000..c4bde7d911 --- /dev/null +++ b/parser/testdata/00760_insert_json_with_defaults/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier defaults diff --git a/parser/testdata/00760_insert_json_with_defaults/explain_6.txt b/parser/testdata/00760_insert_json_with_defaults/explain_6.txt new file mode 100644 index 0000000000..c4bde7d911 --- /dev/null +++ b/parser/testdata/00760_insert_json_with_defaults/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier defaults diff --git a/parser/testdata/00760_insert_json_with_defaults/explain_7.txt b/parser/testdata/00760_insert_json_with_defaults/explain_7.txt new file mode 100644 index 0000000000..c4bde7d911 --- /dev/null +++ b/parser/testdata/00760_insert_json_with_defaults/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier defaults diff --git a/parser/testdata/00760_insert_json_with_defaults/explain_8.txt b/parser/testdata/00760_insert_json_with_defaults/explain_8.txt new file mode 100644 index 0000000000..c4bde7d911 --- /dev/null +++ b/parser/testdata/00760_insert_json_with_defaults/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier defaults diff --git a/parser/testdata/00765_sql_compatibility_aliases/explain_21.txt b/parser/testdata/00765_sql_compatibility_aliases/explain_21.txt index eb345c5991..5ec9948e24 100644 --- a/parser/testdata/00765_sql_compatibility_aliases/explain_21.txt +++ b/parser/testdata/00765_sql_compatibility_aliases/explain_21.txt @@ -2,14 +2,7 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 1) ExpressionList (children 1) - Function replaceRegexpOne (children 1) - ExpressionList (children 3) + Function trimRight (children 1) + ExpressionList (children 2) Literal \'xxfooxx\' - Function concat (children 1) - ExpressionList (children 3) - Literal \'[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \'x\' - Literal \']+$\' - Literal \'\' + Literal \'x\' diff --git a/parser/testdata/00765_sql_compatibility_aliases/explain_22.txt b/parser/testdata/00765_sql_compatibility_aliases/explain_22.txt index 6a9a424a38..88afba6a41 100644 --- a/parser/testdata/00765_sql_compatibility_aliases/explain_22.txt +++ b/parser/testdata/00765_sql_compatibility_aliases/explain_22.txt @@ -2,14 +2,7 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 1) ExpressionList (children 1) - Function replaceRegexpOne (children 1) - ExpressionList (children 3) + Function trimLeft (children 1) + ExpressionList (children 2) Literal \'abbafooabba\' - Function concat (children 1) - ExpressionList (children 3) - Literal \'^[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \'ab\' - Literal \']+\' - Literal \'\' + Literal \'ab\' diff --git a/parser/testdata/00765_sql_compatibility_aliases/explain_23.txt b/parser/testdata/00765_sql_compatibility_aliases/explain_23.txt index 110d92f29d..8fa1563341 100644 --- a/parser/testdata/00765_sql_compatibility_aliases/explain_23.txt +++ b/parser/testdata/00765_sql_compatibility_aliases/explain_23.txt @@ -2,18 +2,7 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 1) ExpressionList (children 1) - Function replaceRegexpAll (children 1) - ExpressionList (children 3) + Function trimBoth (children 1) + ExpressionList (children 2) Literal \'abbafooabbafooabba\' - Function concat (children 1) - ExpressionList (children 5) - Literal \'^[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \'ab\' - Literal \']+|[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \'ab\' - Literal \']+$\' - Literal \'\' + Literal \'ab\' diff --git a/parser/testdata/00765_sql_compatibility_aliases/explain_24.txt b/parser/testdata/00765_sql_compatibility_aliases/explain_24.txt index 1c41247a6e..a8621f6eb4 100644 --- a/parser/testdata/00765_sql_compatibility_aliases/explain_24.txt +++ b/parser/testdata/00765_sql_compatibility_aliases/explain_24.txt @@ -2,14 +2,7 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 1) ExpressionList (children 1) - Function replaceRegexpOne (children 1) - ExpressionList (children 3) + Function trimLeft (children 1) + ExpressionList (children 2) Literal \'\\\\|[[[}}}*foo*\' - Function concat (children 1) - ExpressionList (children 3) - Literal \'^[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \'*[]{}|\\\\\' - Literal \']+\' - Literal \'\' + Literal \'*[]{}|\\\\\' diff --git a/parser/testdata/00794_materialized_view_with_column_defaults/explain_6.txt b/parser/testdata/00794_materialized_view_with_column_defaults/explain_6.txt new file mode 100644 index 0000000000..c4c0d62f9d --- /dev/null +++ b/parser/testdata/00794_materialized_view_with_column_defaults/explain_6.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier source_table + ExpressionList (children 3) + Identifier date + Identifier datetime + Identifier zoneId diff --git a/parser/testdata/00799_function_dry_run/explain_3.txt b/parser/testdata/00799_function_dry_run/explain_3.txt new file mode 100644 index 0000000000..2a35f0914d --- /dev/null +++ b/parser/testdata/00799_function_dry_run/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier bm diff --git a/parser/testdata/00800_low_cardinality_array_group_by_arg/explain_5.txt b/parser/testdata/00800_low_cardinality_array_group_by_arg/explain_5.txt new file mode 100644 index 0000000000..2136037e75 --- /dev/null +++ b/parser/testdata/00800_low_cardinality_array_group_by_arg/explain_5.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier table1 + ExpressionList (children 3) + Identifier dt + Identifier id + Identifier arr diff --git a/parser/testdata/00800_low_cardinality_array_group_by_arg/explain_6.txt b/parser/testdata/00800_low_cardinality_array_group_by_arg/explain_6.txt new file mode 100644 index 0000000000..03fe2091c7 --- /dev/null +++ b/parser/testdata/00800_low_cardinality_array_group_by_arg/explain_6.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier table2 + ExpressionList (children 3) + Identifier dt + Identifier id + Identifier arr diff --git a/parser/testdata/00800_low_cardinality_distributed_insert/explain_7.txt b/parser/testdata/00800_low_cardinality_distributed_insert/explain_7.txt new file mode 100644 index 0000000000..e52678e8c0 --- /dev/null +++ b/parser/testdata/00800_low_cardinality_distributed_insert/explain_7.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier low_cardinality_all + ExpressionList (children 3) + Identifier d + Identifier x + Identifier s diff --git a/parser/testdata/00800_low_cardinality_empty_array/explain_3.txt b/parser/testdata/00800_low_cardinality_empty_array/explain_3.txt new file mode 100644 index 0000000000..ae21be272b --- /dev/null +++ b/parser/testdata/00800_low_cardinality_empty_array/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier lc_00800_1 diff --git a/parser/testdata/00800_versatile_storage_join/explain_11.txt b/parser/testdata/00800_versatile_storage_join/explain_11.txt new file mode 100644 index 0000000000..65f98a8cee --- /dev/null +++ b/parser/testdata/00800_versatile_storage_join/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier join_any_inner diff --git a/parser/testdata/00800_versatile_storage_join/explain_12.txt b/parser/testdata/00800_versatile_storage_join/explain_12.txt new file mode 100644 index 0000000000..ccf91aa5ab --- /dev/null +++ b/parser/testdata/00800_versatile_storage_join/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier join_any_left diff --git a/parser/testdata/00800_versatile_storage_join/explain_13.txt b/parser/testdata/00800_versatile_storage_join/explain_13.txt new file mode 100644 index 0000000000..1a8d6d1423 --- /dev/null +++ b/parser/testdata/00800_versatile_storage_join/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier join_all_inner diff --git a/parser/testdata/00800_versatile_storage_join/explain_14.txt b/parser/testdata/00800_versatile_storage_join/explain_14.txt new file mode 100644 index 0000000000..98c559744c --- /dev/null +++ b/parser/testdata/00800_versatile_storage_join/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier join_all_left diff --git a/parser/testdata/00800_versatile_storage_join/explain_21.txt b/parser/testdata/00800_versatile_storage_join/explain_21.txt new file mode 100644 index 0000000000..60733ac8dc --- /dev/null +++ b/parser/testdata/00800_versatile_storage_join/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier join_any_left_null diff --git a/parser/testdata/00800_versatile_storage_join/explain_32.txt b/parser/testdata/00800_versatile_storage_join/explain_32.txt new file mode 100644 index 0000000000..7280f04ffb --- /dev/null +++ b/parser/testdata/00800_versatile_storage_join/explain_32.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier join_string_key diff --git a/parser/testdata/00801_daylight_saving_time_hour_underflow/explain.txt b/parser/testdata/00801_daylight_saving_time_hour_underflow/explain.txt new file mode 100644 index 0000000000..576cddc5b7 --- /dev/null +++ b/parser/testdata/00801_daylight_saving_time_hour_underflow/explain.txt @@ -0,0 +1,31 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 4) + Function ignore (children 1) + ExpressionList (children 1) + Function toDateTime (alias t) (children 1) + ExpressionList (children 2) + Literal UInt64_370641600 + Literal \'Asia/Istanbul\' + Function replaceRegexpAll (children 1) + ExpressionList (children 3) + Function toString (children 1) + ExpressionList (children 1) + Identifier t + Literal \'\\\\d\' + Literal \'x\' + Function less (children 1) + ExpressionList (children 2) + Function toHour (children 1) + ExpressionList (children 1) + Identifier t + Literal UInt64_24 + Function replaceRegexpAll (children 1) + ExpressionList (children 3) + Function formatDateTime (children 1) + ExpressionList (children 2) + Identifier t + Literal \'%Y-%m-%d %H:%i:%S; %R:%S; %F %T\' + Literal \'\\\\d\' + Literal \'x\' diff --git a/parser/testdata/00802_system_parts_with_datetime_partition/explain_10.txt b/parser/testdata/00802_system_parts_with_datetime_partition/explain_10.txt new file mode 100644 index 0000000000..5750a6a8ac --- /dev/null +++ b/parser/testdata/00802_system_parts_with_datetime_partition/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier datetime_table diff --git a/parser/testdata/00802_system_parts_with_datetime_partition/explain_11.txt b/parser/testdata/00802_system_parts_with_datetime_partition/explain_11.txt new file mode 100644 index 0000000000..5750a6a8ac --- /dev/null +++ b/parser/testdata/00802_system_parts_with_datetime_partition/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier datetime_table diff --git a/parser/testdata/00802_system_parts_with_datetime_partition/explain_12.txt b/parser/testdata/00802_system_parts_with_datetime_partition/explain_12.txt new file mode 100644 index 0000000000..5750a6a8ac --- /dev/null +++ b/parser/testdata/00802_system_parts_with_datetime_partition/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier datetime_table diff --git a/parser/testdata/00802_system_parts_with_datetime_partition/explain_13.txt b/parser/testdata/00802_system_parts_with_datetime_partition/explain_13.txt new file mode 100644 index 0000000000..5750a6a8ac --- /dev/null +++ b/parser/testdata/00802_system_parts_with_datetime_partition/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier datetime_table diff --git a/parser/testdata/00802_system_parts_with_datetime_partition/explain_17.txt b/parser/testdata/00802_system_parts_with_datetime_partition/explain_17.txt new file mode 100644 index 0000000000..5750a6a8ac --- /dev/null +++ b/parser/testdata/00802_system_parts_with_datetime_partition/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier datetime_table diff --git a/parser/testdata/00802_system_parts_with_datetime_partition/explain_18.txt b/parser/testdata/00802_system_parts_with_datetime_partition/explain_18.txt new file mode 100644 index 0000000000..5750a6a8ac --- /dev/null +++ b/parser/testdata/00802_system_parts_with_datetime_partition/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier datetime_table diff --git a/parser/testdata/00802_system_parts_with_datetime_partition/explain_19.txt b/parser/testdata/00802_system_parts_with_datetime_partition/explain_19.txt new file mode 100644 index 0000000000..5750a6a8ac --- /dev/null +++ b/parser/testdata/00802_system_parts_with_datetime_partition/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier datetime_table diff --git a/parser/testdata/00802_system_parts_with_datetime_partition/explain_20.txt b/parser/testdata/00802_system_parts_with_datetime_partition/explain_20.txt new file mode 100644 index 0000000000..5750a6a8ac --- /dev/null +++ b/parser/testdata/00802_system_parts_with_datetime_partition/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier datetime_table diff --git a/parser/testdata/00802_system_parts_with_datetime_partition/explain_21.txt b/parser/testdata/00802_system_parts_with_datetime_partition/explain_21.txt new file mode 100644 index 0000000000..5750a6a8ac --- /dev/null +++ b/parser/testdata/00802_system_parts_with_datetime_partition/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier datetime_table diff --git a/parser/testdata/00802_system_parts_with_datetime_partition/explain_3.txt b/parser/testdata/00802_system_parts_with_datetime_partition/explain_3.txt new file mode 100644 index 0000000000..5750a6a8ac --- /dev/null +++ b/parser/testdata/00802_system_parts_with_datetime_partition/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier datetime_table diff --git a/parser/testdata/00802_system_parts_with_datetime_partition/explain_4.txt b/parser/testdata/00802_system_parts_with_datetime_partition/explain_4.txt new file mode 100644 index 0000000000..5750a6a8ac --- /dev/null +++ b/parser/testdata/00802_system_parts_with_datetime_partition/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier datetime_table diff --git a/parser/testdata/00802_system_parts_with_datetime_partition/explain_5.txt b/parser/testdata/00802_system_parts_with_datetime_partition/explain_5.txt new file mode 100644 index 0000000000..5750a6a8ac --- /dev/null +++ b/parser/testdata/00802_system_parts_with_datetime_partition/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier datetime_table diff --git a/parser/testdata/00802_system_parts_with_datetime_partition/explain_9.txt b/parser/testdata/00802_system_parts_with_datetime_partition/explain_9.txt new file mode 100644 index 0000000000..5750a6a8ac --- /dev/null +++ b/parser/testdata/00802_system_parts_with_datetime_partition/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier datetime_table diff --git a/parser/testdata/00804_rollup_with_having/explain_3.txt b/parser/testdata/00804_rollup_with_having/explain_3.txt new file mode 100644 index 0000000000..c2a4dc5ba0 --- /dev/null +++ b/parser/testdata/00804_rollup_with_having/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rollup_having diff --git a/parser/testdata/00804_rollup_with_having/explain_4.txt b/parser/testdata/00804_rollup_with_having/explain_4.txt new file mode 100644 index 0000000000..c2a4dc5ba0 --- /dev/null +++ b/parser/testdata/00804_rollup_with_having/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rollup_having diff --git a/parser/testdata/00804_rollup_with_having/explain_5.txt b/parser/testdata/00804_rollup_with_having/explain_5.txt new file mode 100644 index 0000000000..c2a4dc5ba0 --- /dev/null +++ b/parser/testdata/00804_rollup_with_having/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rollup_having diff --git a/parser/testdata/00804_test_alter_compression_codecs/explain_10.txt b/parser/testdata/00804_test_alter_compression_codecs/explain_10.txt new file mode 100644 index 0000000000..0f5731dedc --- /dev/null +++ b/parser/testdata/00804_test_alter_compression_codecs/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier alter_compression_codec diff --git a/parser/testdata/00804_test_alter_compression_codecs/explain_14.txt b/parser/testdata/00804_test_alter_compression_codecs/explain_14.txt new file mode 100644 index 0000000000..0f5731dedc --- /dev/null +++ b/parser/testdata/00804_test_alter_compression_codecs/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier alter_compression_codec diff --git a/parser/testdata/00804_test_alter_compression_codecs/explain_15.txt b/parser/testdata/00804_test_alter_compression_codecs/explain_15.txt new file mode 100644 index 0000000000..0f5731dedc --- /dev/null +++ b/parser/testdata/00804_test_alter_compression_codecs/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier alter_compression_codec diff --git a/parser/testdata/00804_test_alter_compression_codecs/explain_22.txt b/parser/testdata/00804_test_alter_compression_codecs/explain_22.txt new file mode 100644 index 0000000000..0f5731dedc --- /dev/null +++ b/parser/testdata/00804_test_alter_compression_codecs/explain_22.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier alter_compression_codec diff --git a/parser/testdata/00804_test_alter_compression_codecs/explain_23.txt b/parser/testdata/00804_test_alter_compression_codecs/explain_23.txt new file mode 100644 index 0000000000..0f5731dedc --- /dev/null +++ b/parser/testdata/00804_test_alter_compression_codecs/explain_23.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier alter_compression_codec diff --git a/parser/testdata/00804_test_alter_compression_codecs/explain_4.txt b/parser/testdata/00804_test_alter_compression_codecs/explain_4.txt new file mode 100644 index 0000000000..0f5731dedc --- /dev/null +++ b/parser/testdata/00804_test_alter_compression_codecs/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier alter_compression_codec diff --git a/parser/testdata/00804_test_alter_compression_codecs/explain_5.txt b/parser/testdata/00804_test_alter_compression_codecs/explain_5.txt new file mode 100644 index 0000000000..0f5731dedc --- /dev/null +++ b/parser/testdata/00804_test_alter_compression_codecs/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier alter_compression_codec diff --git a/parser/testdata/00804_test_alter_compression_codecs/explain_9.txt b/parser/testdata/00804_test_alter_compression_codecs/explain_9.txt new file mode 100644 index 0000000000..0f5731dedc --- /dev/null +++ b/parser/testdata/00804_test_alter_compression_codecs/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier alter_compression_codec diff --git a/parser/testdata/00804_test_custom_compression_codecs/explain_10.txt b/parser/testdata/00804_test_custom_compression_codecs/explain_10.txt new file mode 100644 index 0000000000..a580763f99 --- /dev/null +++ b/parser/testdata/00804_test_custom_compression_codecs/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier compression_codec diff --git a/parser/testdata/00804_test_custom_compression_codecs/explain_39.txt b/parser/testdata/00804_test_custom_compression_codecs/explain_39.txt new file mode 100644 index 0000000000..4bd1466628 --- /dev/null +++ b/parser/testdata/00804_test_custom_compression_codecs/explain_39.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier compression_codec_multiple diff --git a/parser/testdata/00804_test_custom_compression_codecs/explain_5.txt b/parser/testdata/00804_test_custom_compression_codecs/explain_5.txt new file mode 100644 index 0000000000..a580763f99 --- /dev/null +++ b/parser/testdata/00804_test_custom_compression_codecs/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier compression_codec diff --git a/parser/testdata/00804_test_custom_compression_codecs/explain_52.txt b/parser/testdata/00804_test_custom_compression_codecs/explain_52.txt new file mode 100644 index 0000000000..dab9456b6e --- /dev/null +++ b/parser/testdata/00804_test_custom_compression_codecs/explain_52.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier compression_codec_multiple_more_types diff --git a/parser/testdata/00804_test_custom_compression_codecs/explain_53.txt b/parser/testdata/00804_test_custom_compression_codecs/explain_53.txt new file mode 100644 index 0000000000..dab9456b6e --- /dev/null +++ b/parser/testdata/00804_test_custom_compression_codecs/explain_53.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier compression_codec_multiple_more_types diff --git a/parser/testdata/00804_test_custom_compression_codecs/explain_59.txt b/parser/testdata/00804_test_custom_compression_codecs/explain_59.txt new file mode 100644 index 0000000000..617fa58a5d --- /dev/null +++ b/parser/testdata/00804_test_custom_compression_codecs/explain_59.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier compression_codec_multiple_with_key diff --git a/parser/testdata/00804_test_custom_compression_codecs/explain_6.txt b/parser/testdata/00804_test_custom_compression_codecs/explain_6.txt new file mode 100644 index 0000000000..a580763f99 --- /dev/null +++ b/parser/testdata/00804_test_custom_compression_codecs/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier compression_codec diff --git a/parser/testdata/00804_test_custom_compression_codecs/explain_65.txt b/parser/testdata/00804_test_custom_compression_codecs/explain_65.txt new file mode 100644 index 0000000000..617fa58a5d --- /dev/null +++ b/parser/testdata/00804_test_custom_compression_codecs/explain_65.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier compression_codec_multiple_with_key diff --git a/parser/testdata/00804_test_custom_compression_codecs/explain_7.txt b/parser/testdata/00804_test_custom_compression_codecs/explain_7.txt new file mode 100644 index 0000000000..a580763f99 --- /dev/null +++ b/parser/testdata/00804_test_custom_compression_codecs/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier compression_codec diff --git a/parser/testdata/00804_test_custom_compression_codes_log_storages/explain_10.txt b/parser/testdata/00804_test_custom_compression_codes_log_storages/explain_10.txt new file mode 100644 index 0000000000..211098fd36 --- /dev/null +++ b/parser/testdata/00804_test_custom_compression_codes_log_storages/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier compression_codec_log diff --git a/parser/testdata/00804_test_custom_compression_codes_log_storages/explain_18.txt b/parser/testdata/00804_test_custom_compression_codes_log_storages/explain_18.txt new file mode 100644 index 0000000000..3152fae718 --- /dev/null +++ b/parser/testdata/00804_test_custom_compression_codes_log_storages/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier compression_codec_multiple_log diff --git a/parser/testdata/00804_test_custom_compression_codes_log_storages/explain_30.txt b/parser/testdata/00804_test_custom_compression_codes_log_storages/explain_30.txt new file mode 100644 index 0000000000..1dcb64d198 --- /dev/null +++ b/parser/testdata/00804_test_custom_compression_codes_log_storages/explain_30.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier compression_codec_tiny_log diff --git a/parser/testdata/00804_test_custom_compression_codes_log_storages/explain_31.txt b/parser/testdata/00804_test_custom_compression_codes_log_storages/explain_31.txt new file mode 100644 index 0000000000..1dcb64d198 --- /dev/null +++ b/parser/testdata/00804_test_custom_compression_codes_log_storages/explain_31.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier compression_codec_tiny_log diff --git a/parser/testdata/00804_test_custom_compression_codes_log_storages/explain_32.txt b/parser/testdata/00804_test_custom_compression_codes_log_storages/explain_32.txt new file mode 100644 index 0000000000..1dcb64d198 --- /dev/null +++ b/parser/testdata/00804_test_custom_compression_codes_log_storages/explain_32.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier compression_codec_tiny_log diff --git a/parser/testdata/00804_test_custom_compression_codes_log_storages/explain_34.txt b/parser/testdata/00804_test_custom_compression_codes_log_storages/explain_34.txt new file mode 100644 index 0000000000..1dcb64d198 --- /dev/null +++ b/parser/testdata/00804_test_custom_compression_codes_log_storages/explain_34.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier compression_codec_tiny_log diff --git a/parser/testdata/00804_test_custom_compression_codes_log_storages/explain_42.txt b/parser/testdata/00804_test_custom_compression_codes_log_storages/explain_42.txt new file mode 100644 index 0000000000..957dcf5d45 --- /dev/null +++ b/parser/testdata/00804_test_custom_compression_codes_log_storages/explain_42.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier compression_codec_multiple_tiny_log diff --git a/parser/testdata/00804_test_custom_compression_codes_log_storages/explain_6.txt b/parser/testdata/00804_test_custom_compression_codes_log_storages/explain_6.txt new file mode 100644 index 0000000000..211098fd36 --- /dev/null +++ b/parser/testdata/00804_test_custom_compression_codes_log_storages/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier compression_codec_log diff --git a/parser/testdata/00804_test_custom_compression_codes_log_storages/explain_7.txt b/parser/testdata/00804_test_custom_compression_codes_log_storages/explain_7.txt new file mode 100644 index 0000000000..211098fd36 --- /dev/null +++ b/parser/testdata/00804_test_custom_compression_codes_log_storages/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier compression_codec_log diff --git a/parser/testdata/00804_test_custom_compression_codes_log_storages/explain_8.txt b/parser/testdata/00804_test_custom_compression_codes_log_storages/explain_8.txt new file mode 100644 index 0000000000..211098fd36 --- /dev/null +++ b/parser/testdata/00804_test_custom_compression_codes_log_storages/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier compression_codec_log diff --git a/parser/testdata/00804_test_deflate_qpl_codec_compression/explain_11.txt b/parser/testdata/00804_test_deflate_qpl_codec_compression/explain_11.txt new file mode 100644 index 0000000000..a580763f99 --- /dev/null +++ b/parser/testdata/00804_test_deflate_qpl_codec_compression/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier compression_codec diff --git a/parser/testdata/00804_test_deflate_qpl_codec_compression/explain_6.txt b/parser/testdata/00804_test_deflate_qpl_codec_compression/explain_6.txt new file mode 100644 index 0000000000..a580763f99 --- /dev/null +++ b/parser/testdata/00804_test_deflate_qpl_codec_compression/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier compression_codec diff --git a/parser/testdata/00804_test_deflate_qpl_codec_compression/explain_7.txt b/parser/testdata/00804_test_deflate_qpl_codec_compression/explain_7.txt new file mode 100644 index 0000000000..a580763f99 --- /dev/null +++ b/parser/testdata/00804_test_deflate_qpl_codec_compression/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier compression_codec diff --git a/parser/testdata/00804_test_deflate_qpl_codec_compression/explain_8.txt b/parser/testdata/00804_test_deflate_qpl_codec_compression/explain_8.txt new file mode 100644 index 0000000000..a580763f99 --- /dev/null +++ b/parser/testdata/00804_test_deflate_qpl_codec_compression/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier compression_codec diff --git a/parser/testdata/00804_test_zstd_qat_codec_compression/explain_10.txt b/parser/testdata/00804_test_zstd_qat_codec_compression/explain_10.txt new file mode 100644 index 0000000000..a580763f99 --- /dev/null +++ b/parser/testdata/00804_test_zstd_qat_codec_compression/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier compression_codec diff --git a/parser/testdata/00804_test_zstd_qat_codec_compression/explain_13.txt b/parser/testdata/00804_test_zstd_qat_codec_compression/explain_13.txt new file mode 100644 index 0000000000..a580763f99 --- /dev/null +++ b/parser/testdata/00804_test_zstd_qat_codec_compression/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier compression_codec diff --git a/parser/testdata/00804_test_zstd_qat_codec_compression/explain_8.txt b/parser/testdata/00804_test_zstd_qat_codec_compression/explain_8.txt new file mode 100644 index 0000000000..a580763f99 --- /dev/null +++ b/parser/testdata/00804_test_zstd_qat_codec_compression/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier compression_codec diff --git a/parser/testdata/00804_test_zstd_qat_codec_compression/explain_9.txt b/parser/testdata/00804_test_zstd_qat_codec_compression/explain_9.txt new file mode 100644 index 0000000000..a580763f99 --- /dev/null +++ b/parser/testdata/00804_test_zstd_qat_codec_compression/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier compression_codec diff --git a/parser/testdata/00806_alter_update/explain_4.txt b/parser/testdata/00806_alter_update/explain_4.txt new file mode 100644 index 0000000000..9d285dfd89 --- /dev/null +++ b/parser/testdata/00806_alter_update/explain_4.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier alter_update_00806 + ExpressionList (children 2) + Identifier d + Identifier e diff --git a/parser/testdata/00806_alter_update/explain_5.txt b/parser/testdata/00806_alter_update/explain_5.txt new file mode 100644 index 0000000000..9d285dfd89 --- /dev/null +++ b/parser/testdata/00806_alter_update/explain_5.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier alter_update_00806 + ExpressionList (children 2) + Identifier d + Identifier e diff --git a/parser/testdata/00808_not_optimize_predicate/explain_6.txt b/parser/testdata/00808_not_optimize_predicate/explain_6.txt new file mode 100644 index 0000000000..74e808a04f --- /dev/null +++ b/parser/testdata/00808_not_optimize_predicate/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_00808 diff --git a/parser/testdata/00808_not_optimize_predicate/explain_7.txt b/parser/testdata/00808_not_optimize_predicate/explain_7.txt new file mode 100644 index 0000000000..74e808a04f --- /dev/null +++ b/parser/testdata/00808_not_optimize_predicate/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_00808 diff --git a/parser/testdata/00815_left_join_on_stepanel/explain_5.txt b/parser/testdata/00815_left_join_on_stepanel/explain_5.txt new file mode 100644 index 0000000000..8cc993bfc7 --- /dev/null +++ b/parser/testdata/00815_left_join_on_stepanel/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier fact_cpc_clicks diff --git a/parser/testdata/00815_left_join_on_stepanel/explain_6.txt b/parser/testdata/00815_left_join_on_stepanel/explain_6.txt new file mode 100644 index 0000000000..1a021cee21 --- /dev/null +++ b/parser/testdata/00815_left_join_on_stepanel/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dim_model diff --git a/parser/testdata/00816_join_column_names_sarg/explain_5.txt b/parser/testdata/00816_join_column_names_sarg/explain_5.txt new file mode 100644 index 0000000000..9b73bc8cdf --- /dev/null +++ b/parser/testdata/00816_join_column_names_sarg/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1_00816 diff --git a/parser/testdata/00816_join_column_names_sarg/explain_6.txt b/parser/testdata/00816_join_column_names_sarg/explain_6.txt new file mode 100644 index 0000000000..e2a9fd2159 --- /dev/null +++ b/parser/testdata/00816_join_column_names_sarg/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2_00816 diff --git a/parser/testdata/00818_alias_bug_4110/explain_21.txt b/parser/testdata/00818_alias_bug_4110/explain_21.txt new file mode 100644 index 0000000000..1e47548737 --- /dev/null +++ b/parser/testdata/00818_alias_bug_4110/explain_21.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test_00818 + ExpressionList (children 2) + Identifier field + Identifier not_field diff --git a/parser/testdata/00818_inner_join_bug_3567/explain_7.txt b/parser/testdata/00818_inner_join_bug_3567/explain_7.txt new file mode 100644 index 0000000000..05c1b71925 --- /dev/null +++ b/parser/testdata/00818_inner_join_bug_3567/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table1 diff --git a/parser/testdata/00818_inner_join_bug_3567/explain_8.txt b/parser/testdata/00818_inner_join_bug_3567/explain_8.txt new file mode 100644 index 0000000000..c00312da5a --- /dev/null +++ b/parser/testdata/00818_inner_join_bug_3567/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table2 diff --git a/parser/testdata/00818_join_bug_4271/explain_5.txt b/parser/testdata/00818_join_bug_4271/explain_5.txt new file mode 100644 index 0000000000..85d48ec4fe --- /dev/null +++ b/parser/testdata/00818_join_bug_4271/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_00818 diff --git a/parser/testdata/00818_join_bug_4271/explain_6.txt b/parser/testdata/00818_join_bug_4271/explain_6.txt new file mode 100644 index 0000000000..f699e24f91 --- /dev/null +++ b/parser/testdata/00818_join_bug_4271/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier s_00818 diff --git a/parser/testdata/00820_multiple_joins/explain_28.txt b/parser/testdata/00820_multiple_joins/explain_28.txt new file mode 100644 index 0000000000..375563ab81 --- /dev/null +++ b/parser/testdata/00820_multiple_joins/explain_28.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_set diff --git a/parser/testdata/00826_cross_to_inner_join/explain_10.txt b/parser/testdata/00826_cross_to_inner_join/explain_10.txt new file mode 100644 index 0000000000..e4f9d7849b --- /dev/null +++ b/parser/testdata/00826_cross_to_inner_join/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2_00826 diff --git a/parser/testdata/00826_cross_to_inner_join/explain_11.txt b/parser/testdata/00826_cross_to_inner_join/explain_11.txt new file mode 100644 index 0000000000..aae2724321 --- /dev/null +++ b/parser/testdata/00826_cross_to_inner_join/explain_11.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t2_00826 + ExpressionList (children 1) + Identifier a diff --git a/parser/testdata/00826_cross_to_inner_join/explain_9.txt b/parser/testdata/00826_cross_to_inner_join/explain_9.txt new file mode 100644 index 0000000000..e1bbc86df9 --- /dev/null +++ b/parser/testdata/00826_cross_to_inner_join/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1_00826 diff --git a/parser/testdata/00829_bitmap_function/explain_35.txt b/parser/testdata/00829_bitmap_function/explain_35.txt new file mode 100644 index 0000000000..845165cfb6 --- /dev/null +++ b/parser/testdata/00829_bitmap_function/explain_35.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier bitmap_column_expr_test diff --git a/parser/testdata/00829_bitmap_function/explain_42.txt b/parser/testdata/00829_bitmap_function/explain_42.txt new file mode 100644 index 0000000000..6d94b904b1 --- /dev/null +++ b/parser/testdata/00829_bitmap_function/explain_42.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier bitmap_column_expr_test2 diff --git a/parser/testdata/00829_bitmap_function/explain_43.txt b/parser/testdata/00829_bitmap_function/explain_43.txt new file mode 100644 index 0000000000..6d94b904b1 --- /dev/null +++ b/parser/testdata/00829_bitmap_function/explain_43.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier bitmap_column_expr_test2 diff --git a/parser/testdata/00829_bitmap_function/explain_44.txt b/parser/testdata/00829_bitmap_function/explain_44.txt new file mode 100644 index 0000000000..6d94b904b1 --- /dev/null +++ b/parser/testdata/00829_bitmap_function/explain_44.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier bitmap_column_expr_test2 diff --git a/parser/testdata/00830_join_overwrite/explain_11.txt b/parser/testdata/00830_join_overwrite/explain_11.txt new file mode 100644 index 0000000000..df4a687bc0 --- /dev/null +++ b/parser/testdata/00830_join_overwrite/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2 diff --git a/parser/testdata/00830_join_overwrite/explain_3.txt b/parser/testdata/00830_join_overwrite/explain_3.txt new file mode 100644 index 0000000000..c405acd8bf --- /dev/null +++ b/parser/testdata/00830_join_overwrite/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier kv diff --git a/parser/testdata/00830_join_overwrite/explain_4.txt b/parser/testdata/00830_join_overwrite/explain_4.txt new file mode 100644 index 0000000000..c405acd8bf --- /dev/null +++ b/parser/testdata/00830_join_overwrite/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier kv diff --git a/parser/testdata/00830_join_overwrite/explain_7.txt b/parser/testdata/00830_join_overwrite/explain_7.txt new file mode 100644 index 0000000000..346f0ebbef --- /dev/null +++ b/parser/testdata/00830_join_overwrite/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier kv_overwrite diff --git a/parser/testdata/00830_join_overwrite/explain_8.txt b/parser/testdata/00830_join_overwrite/explain_8.txt new file mode 100644 index 0000000000..346f0ebbef --- /dev/null +++ b/parser/testdata/00830_join_overwrite/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier kv_overwrite diff --git a/parser/testdata/00832_storage_file_lock/explain_4.txt b/parser/testdata/00832_storage_file_lock/explain_4.txt new file mode 100644 index 0000000000..58e92d141c --- /dev/null +++ b/parser/testdata/00832_storage_file_lock/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier file diff --git a/parser/testdata/00833_sleep_overflow/explain.txt b/parser/testdata/00833_sleep_overflow/explain.txt index efd5e35ed6..faffee74d6 100644 --- a/parser/testdata/00833_sleep_overflow/explain.txt +++ b/parser/testdata/00833_sleep_overflow/explain.txt @@ -5,4 +5,3 @@ SelectWithUnionQuery (children 1) Function sleep (children 1) ExpressionList (children 1) Literal Float64_4295.967296 -The query succeeded but the server error '160' was expected (query: EXPLAIN AST SELECT sleep(4295.967296); -- { serverError TOO_SLOW }). diff --git a/parser/testdata/00836_indices_alter/explain_10.txt b/parser/testdata/00836_indices_alter/explain_10.txt new file mode 100644 index 0000000000..de74b6fcc1 --- /dev/null +++ b/parser/testdata/00836_indices_alter/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier minmax_idx diff --git a/parser/testdata/00836_indices_alter/explain_11.txt b/parser/testdata/00836_indices_alter/explain_11.txt new file mode 100644 index 0000000000..de74b6fcc1 --- /dev/null +++ b/parser/testdata/00836_indices_alter/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier minmax_idx diff --git a/parser/testdata/00836_indices_alter/explain_12.txt b/parser/testdata/00836_indices_alter/explain_12.txt new file mode 100644 index 0000000000..de74b6fcc1 --- /dev/null +++ b/parser/testdata/00836_indices_alter/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier minmax_idx diff --git a/parser/testdata/00836_indices_alter/explain_13.txt b/parser/testdata/00836_indices_alter/explain_13.txt new file mode 100644 index 0000000000..de74b6fcc1 --- /dev/null +++ b/parser/testdata/00836_indices_alter/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier minmax_idx diff --git a/parser/testdata/00836_indices_alter/explain_14.txt b/parser/testdata/00836_indices_alter/explain_14.txt new file mode 100644 index 0000000000..de74b6fcc1 --- /dev/null +++ b/parser/testdata/00836_indices_alter/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier minmax_idx diff --git a/parser/testdata/00836_indices_alter/explain_26.txt b/parser/testdata/00836_indices_alter/explain_26.txt new file mode 100644 index 0000000000..1e80bb6936 --- /dev/null +++ b/parser/testdata/00836_indices_alter/explain_26.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier minmax_idx2 diff --git a/parser/testdata/00836_indices_alter/explain_27.txt b/parser/testdata/00836_indices_alter/explain_27.txt new file mode 100644 index 0000000000..1e80bb6936 --- /dev/null +++ b/parser/testdata/00836_indices_alter/explain_27.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier minmax_idx2 diff --git a/parser/testdata/00836_indices_alter/explain_4.txt b/parser/testdata/00836_indices_alter/explain_4.txt new file mode 100644 index 0000000000..de74b6fcc1 --- /dev/null +++ b/parser/testdata/00836_indices_alter/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier minmax_idx diff --git a/parser/testdata/00836_indices_alter_replicated_zookeeper_long/explain_17.txt b/parser/testdata/00836_indices_alter_replicated_zookeeper_long/explain_17.txt new file mode 100644 index 0000000000..de74b6fcc1 --- /dev/null +++ b/parser/testdata/00836_indices_alter_replicated_zookeeper_long/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier minmax_idx diff --git a/parser/testdata/00836_indices_alter_replicated_zookeeper_long/explain_18.txt b/parser/testdata/00836_indices_alter_replicated_zookeeper_long/explain_18.txt new file mode 100644 index 0000000000..8a8a148d04 --- /dev/null +++ b/parser/testdata/00836_indices_alter_replicated_zookeeper_long/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier minmax_idx_r diff --git a/parser/testdata/00836_indices_alter_replicated_zookeeper_long/explain_19.txt b/parser/testdata/00836_indices_alter_replicated_zookeeper_long/explain_19.txt new file mode 100644 index 0000000000..de74b6fcc1 --- /dev/null +++ b/parser/testdata/00836_indices_alter_replicated_zookeeper_long/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier minmax_idx diff --git a/parser/testdata/00836_indices_alter_replicated_zookeeper_long/explain_20.txt b/parser/testdata/00836_indices_alter_replicated_zookeeper_long/explain_20.txt new file mode 100644 index 0000000000..8a8a148d04 --- /dev/null +++ b/parser/testdata/00836_indices_alter_replicated_zookeeper_long/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier minmax_idx_r diff --git a/parser/testdata/00836_indices_alter_replicated_zookeeper_long/explain_21.txt b/parser/testdata/00836_indices_alter_replicated_zookeeper_long/explain_21.txt new file mode 100644 index 0000000000..de74b6fcc1 --- /dev/null +++ b/parser/testdata/00836_indices_alter_replicated_zookeeper_long/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier minmax_idx diff --git a/parser/testdata/00836_indices_alter_replicated_zookeeper_long/explain_44.txt b/parser/testdata/00836_indices_alter_replicated_zookeeper_long/explain_44.txt new file mode 100644 index 0000000000..1e80bb6936 --- /dev/null +++ b/parser/testdata/00836_indices_alter_replicated_zookeeper_long/explain_44.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier minmax_idx2 diff --git a/parser/testdata/00836_indices_alter_replicated_zookeeper_long/explain_45.txt b/parser/testdata/00836_indices_alter_replicated_zookeeper_long/explain_45.txt new file mode 100644 index 0000000000..145c9c01ec --- /dev/null +++ b/parser/testdata/00836_indices_alter_replicated_zookeeper_long/explain_45.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier minmax_idx2_r diff --git a/parser/testdata/00836_indices_alter_replicated_zookeeper_long/explain_8.txt b/parser/testdata/00836_indices_alter_replicated_zookeeper_long/explain_8.txt new file mode 100644 index 0000000000..de74b6fcc1 --- /dev/null +++ b/parser/testdata/00836_indices_alter_replicated_zookeeper_long/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier minmax_idx diff --git a/parser/testdata/00837_insert_select_and_read_prefix/explain_3.txt b/parser/testdata/00837_insert_select_and_read_prefix/explain_3.txt new file mode 100644 index 0000000000..58e92d141c --- /dev/null +++ b/parser/testdata/00837_insert_select_and_read_prefix/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier file diff --git a/parser/testdata/00837_minmax_index_replicated_zookeeper_long/explain_10.txt b/parser/testdata/00837_minmax_index_replicated_zookeeper_long/explain_10.txt new file mode 100644 index 0000000000..b4af7ac6fc --- /dev/null +++ b/parser/testdata/00837_minmax_index_replicated_zookeeper_long/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier minmax_idx1 diff --git a/parser/testdata/00837_minmax_index_replicated_zookeeper_long/explain_13.txt b/parser/testdata/00837_minmax_index_replicated_zookeeper_long/explain_13.txt new file mode 100644 index 0000000000..b4af7ac6fc --- /dev/null +++ b/parser/testdata/00837_minmax_index_replicated_zookeeper_long/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier minmax_idx1 diff --git a/parser/testdata/00837_minmax_index_replicated_zookeeper_long/explain_14.txt b/parser/testdata/00837_minmax_index_replicated_zookeeper_long/explain_14.txt new file mode 100644 index 0000000000..b4af7ac6fc --- /dev/null +++ b/parser/testdata/00837_minmax_index_replicated_zookeeper_long/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier minmax_idx1 diff --git a/parser/testdata/00837_minmax_index_replicated_zookeeper_long/explain_15.txt b/parser/testdata/00837_minmax_index_replicated_zookeeper_long/explain_15.txt new file mode 100644 index 0000000000..b4af7ac6fc --- /dev/null +++ b/parser/testdata/00837_minmax_index_replicated_zookeeper_long/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier minmax_idx1 diff --git a/parser/testdata/00837_minmax_index_replicated_zookeeper_long/explain_16.txt b/parser/testdata/00837_minmax_index_replicated_zookeeper_long/explain_16.txt new file mode 100644 index 0000000000..b4af7ac6fc --- /dev/null +++ b/parser/testdata/00837_minmax_index_replicated_zookeeper_long/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier minmax_idx1 diff --git a/parser/testdata/00837_minmax_index_replicated_zookeeper_long/explain_17.txt b/parser/testdata/00837_minmax_index_replicated_zookeeper_long/explain_17.txt new file mode 100644 index 0000000000..1e80bb6936 --- /dev/null +++ b/parser/testdata/00837_minmax_index_replicated_zookeeper_long/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier minmax_idx2 diff --git a/parser/testdata/00837_minmax_index_replicated_zookeeper_long/explain_18.txt b/parser/testdata/00837_minmax_index_replicated_zookeeper_long/explain_18.txt new file mode 100644 index 0000000000..1e80bb6936 --- /dev/null +++ b/parser/testdata/00837_minmax_index_replicated_zookeeper_long/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier minmax_idx2 diff --git a/parser/testdata/00837_minmax_index_replicated_zookeeper_long/explain_5.txt b/parser/testdata/00837_minmax_index_replicated_zookeeper_long/explain_5.txt new file mode 100644 index 0000000000..b4af7ac6fc --- /dev/null +++ b/parser/testdata/00837_minmax_index_replicated_zookeeper_long/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier minmax_idx1 diff --git a/parser/testdata/00837_minmax_index_replicated_zookeeper_long/explain_6.txt b/parser/testdata/00837_minmax_index_replicated_zookeeper_long/explain_6.txt new file mode 100644 index 0000000000..b4af7ac6fc --- /dev/null +++ b/parser/testdata/00837_minmax_index_replicated_zookeeper_long/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier minmax_idx1 diff --git a/parser/testdata/00837_minmax_index_replicated_zookeeper_long/explain_7.txt b/parser/testdata/00837_minmax_index_replicated_zookeeper_long/explain_7.txt new file mode 100644 index 0000000000..1e80bb6936 --- /dev/null +++ b/parser/testdata/00837_minmax_index_replicated_zookeeper_long/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier minmax_idx2 diff --git a/parser/testdata/00837_minmax_index_replicated_zookeeper_long/explain_8.txt b/parser/testdata/00837_minmax_index_replicated_zookeeper_long/explain_8.txt new file mode 100644 index 0000000000..1e80bb6936 --- /dev/null +++ b/parser/testdata/00837_minmax_index_replicated_zookeeper_long/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier minmax_idx2 diff --git a/parser/testdata/00837_minmax_index_replicated_zookeeper_long/explain_9.txt b/parser/testdata/00837_minmax_index_replicated_zookeeper_long/explain_9.txt new file mode 100644 index 0000000000..1e80bb6936 --- /dev/null +++ b/parser/testdata/00837_minmax_index_replicated_zookeeper_long/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier minmax_idx2 diff --git a/parser/testdata/00841_temporary_table_database/explain_2.txt b/parser/testdata/00841_temporary_table_database/explain_2.txt new file mode 100644 index 0000000000..2d588fee78 --- /dev/null +++ b/parser/testdata/00841_temporary_table_database/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1_00841 diff --git a/parser/testdata/00842_array_with_constant_overflow/explain.txt b/parser/testdata/00842_array_with_constant_overflow/explain.txt index 6171d92f80..e916e85524 100644 --- a/parser/testdata/00842_array_with_constant_overflow/explain.txt +++ b/parser/testdata/00842_array_with_constant_overflow/explain.txt @@ -6,4 +6,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Literal Float64_-231.37104 Literal Int64_-138 -The query succeeded but the server error '128' was expected (query: EXPLAIN AST SELECT arrayWithConstant(-231.37104, -138); -- { serverError TOO_LARGE_ARRAY_SIZE }). diff --git a/parser/testdata/00843_optimize_predicate_and_rename_table/explain_6.txt b/parser/testdata/00843_optimize_predicate_and_rename_table/explain_6.txt new file mode 100644 index 0000000000..c2ada578a2 --- /dev/null +++ b/parser/testdata/00843_optimize_predicate_and_rename_table/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test1_00843 diff --git a/parser/testdata/00844_join_lightee2/explain_5.txt b/parser/testdata/00844_join_lightee2/explain_5.txt new file mode 100644 index 0000000000..b423a9f6c4 --- /dev/null +++ b/parser/testdata/00844_join_lightee2/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1_00844 diff --git a/parser/testdata/00844_join_lightee2/explain_6.txt b/parser/testdata/00844_join_lightee2/explain_6.txt new file mode 100644 index 0000000000..dcce8d6cb5 --- /dev/null +++ b/parser/testdata/00844_join_lightee2/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2_00844 diff --git a/parser/testdata/00847_multiple_join_same_column/explain_7.txt b/parser/testdata/00847_multiple_join_same_column/explain_7.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/00847_multiple_join_same_column/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/00847_multiple_join_same_column/explain_8.txt b/parser/testdata/00847_multiple_join_same_column/explain_8.txt new file mode 100644 index 0000000000..9c1eff95db --- /dev/null +++ b/parser/testdata/00847_multiple_join_same_column/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier s diff --git a/parser/testdata/00847_multiple_join_same_column/explain_9.txt b/parser/testdata/00847_multiple_join_same_column/explain_9.txt new file mode 100644 index 0000000000..5fd3381535 --- /dev/null +++ b/parser/testdata/00847_multiple_join_same_column/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier y diff --git a/parser/testdata/00848_join_use_nulls_segfault/explain_10.txt b/parser/testdata/00848_join_use_nulls_segfault/explain_10.txt new file mode 100644 index 0000000000..cf885d87b6 --- /dev/null +++ b/parser/testdata/00848_join_use_nulls_segfault/explain_10.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t3_00848 + ExpressionList (children 1) + Identifier id diff --git a/parser/testdata/00848_join_use_nulls_segfault/explain_9.txt b/parser/testdata/00848_join_use_nulls_segfault/explain_9.txt new file mode 100644 index 0000000000..36b4d7eff8 --- /dev/null +++ b/parser/testdata/00848_join_use_nulls_segfault/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1_00848 diff --git a/parser/testdata/00849_multiple_comma_join_2/explain_43.txt b/parser/testdata/00849_multiple_comma_join_2/explain_43.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/00849_multiple_comma_join_2/explain_43.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/00849_multiple_comma_join_2/explain_44.txt b/parser/testdata/00849_multiple_comma_join_2/explain_44.txt new file mode 100644 index 0000000000..df4a687bc0 --- /dev/null +++ b/parser/testdata/00849_multiple_comma_join_2/explain_44.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2 diff --git a/parser/testdata/00849_multiple_comma_join_2/explain_45.txt b/parser/testdata/00849_multiple_comma_join_2/explain_45.txt new file mode 100644 index 0000000000..ffa366159a --- /dev/null +++ b/parser/testdata/00849_multiple_comma_join_2/explain_45.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t3 diff --git a/parser/testdata/00849_multiple_comma_join_2/explain_46.txt b/parser/testdata/00849_multiple_comma_join_2/explain_46.txt new file mode 100644 index 0000000000..a16e5147b1 --- /dev/null +++ b/parser/testdata/00849_multiple_comma_join_2/explain_46.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t4 diff --git a/parser/testdata/00850_global_join_dups/explain_7.txt b/parser/testdata/00850_global_join_dups/explain_7.txt new file mode 100644 index 0000000000..8f1c61cc48 --- /dev/null +++ b/parser/testdata/00850_global_join_dups/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_local diff --git a/parser/testdata/00852_any_join_nulls/explain_5.txt b/parser/testdata/00852_any_join_nulls/explain_5.txt new file mode 100644 index 0000000000..05c1b71925 --- /dev/null +++ b/parser/testdata/00852_any_join_nulls/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table1 diff --git a/parser/testdata/00853_join_with_nulls_crash/explain_5.txt b/parser/testdata/00853_join_with_nulls_crash/explain_5.txt new file mode 100644 index 0000000000..26a87bfcf8 --- /dev/null +++ b/parser/testdata/00853_join_with_nulls_crash/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_a diff --git a/parser/testdata/00853_join_with_nulls_crash/explain_6.txt b/parser/testdata/00853_join_with_nulls_crash/explain_6.txt new file mode 100644 index 0000000000..43e00a4d2d --- /dev/null +++ b/parser/testdata/00853_join_with_nulls_crash/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_b diff --git a/parser/testdata/00855_join_with_array_join/explain_13.txt b/parser/testdata/00855_join_with_array_join/explain_13.txt new file mode 100644 index 0000000000..6133bf61c1 --- /dev/null +++ b/parser/testdata/00855_join_with_array_join/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier f diff --git a/parser/testdata/00855_join_with_array_join/explain_15.txt b/parser/testdata/00855_join_with_array_join/explain_15.txt new file mode 100644 index 0000000000..2cc970a43d --- /dev/null +++ b/parser/testdata/00855_join_with_array_join/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier d diff --git a/parser/testdata/00857_global_joinsavel_table_alias/explain_5.txt b/parser/testdata/00857_global_joinsavel_table_alias/explain_5.txt new file mode 100644 index 0000000000..bc0c06a010 --- /dev/null +++ b/parser/testdata/00857_global_joinsavel_table_alias/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier local_table diff --git a/parser/testdata/00857_global_joinsavel_table_alias/explain_6.txt b/parser/testdata/00857_global_joinsavel_table_alias/explain_6.txt new file mode 100644 index 0000000000..bc0c06a010 --- /dev/null +++ b/parser/testdata/00857_global_joinsavel_table_alias/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier local_table diff --git a/parser/testdata/00857_global_joinsavel_table_alias/explain_7.txt b/parser/testdata/00857_global_joinsavel_table_alias/explain_7.txt new file mode 100644 index 0000000000..717035c91a --- /dev/null +++ b/parser/testdata/00857_global_joinsavel_table_alias/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier other_table diff --git a/parser/testdata/00857_global_joinsavel_table_alias/explain_8.txt b/parser/testdata/00857_global_joinsavel_table_alias/explain_8.txt new file mode 100644 index 0000000000..717035c91a --- /dev/null +++ b/parser/testdata/00857_global_joinsavel_table_alias/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier other_table diff --git a/parser/testdata/00858_issue_4756/explain_11.txt b/parser/testdata/00858_issue_4756/explain_11.txt new file mode 100644 index 0000000000..04da7ff28f --- /dev/null +++ b/parser/testdata/00858_issue_4756/explain_11.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier shard1 + ExpressionList (children 1) + Identifier id diff --git a/parser/testdata/00858_issue_4756/explain_12.txt b/parser/testdata/00858_issue_4756/explain_12.txt new file mode 100644 index 0000000000..164671b723 --- /dev/null +++ b/parser/testdata/00858_issue_4756/explain_12.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier shard2 + ExpressionList (children 1) + Identifier id diff --git a/parser/testdata/00860_unknown_identifier_bug/explain_3.txt b/parser/testdata/00860_unknown_identifier_bug/explain_3.txt new file mode 100644 index 0000000000..1ca932d77e --- /dev/null +++ b/parser/testdata/00860_unknown_identifier_bug/explain_3.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier appointment_events + ExpressionList (children 3) + Identifier _appointment_id + Identifier _set_at + Identifier _status diff --git a/parser/testdata/00861_decimal_quoted_csv/explain_3.txt b/parser/testdata/00861_decimal_quoted_csv/explain_3.txt new file mode 100644 index 0000000000..36fefcbca0 --- /dev/null +++ b/parser/testdata/00861_decimal_quoted_csv/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_00861 diff --git a/parser/testdata/00862_decimal_in/explain_3.txt b/parser/testdata/00862_decimal_in/explain_3.txt new file mode 100644 index 0000000000..e61f19f679 --- /dev/null +++ b/parser/testdata/00862_decimal_in/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier temp diff --git a/parser/testdata/00873_t64_codec_date/explain_3.txt b/parser/testdata/00873_t64_codec_date/explain_3.txt new file mode 100644 index 0000000000..48311bc653 --- /dev/null +++ b/parser/testdata/00873_t64_codec_date/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t64 diff --git a/parser/testdata/00873_t64_codec_date/explain_4.txt b/parser/testdata/00873_t64_codec_date/explain_4.txt new file mode 100644 index 0000000000..48311bc653 --- /dev/null +++ b/parser/testdata/00873_t64_codec_date/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t64 diff --git a/parser/testdata/00873_t64_codec_date/explain_5.txt b/parser/testdata/00873_t64_codec_date/explain_5.txt new file mode 100644 index 0000000000..48311bc653 --- /dev/null +++ b/parser/testdata/00873_t64_codec_date/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t64 diff --git a/parser/testdata/00873_t64_codec_date/explain_6.txt b/parser/testdata/00873_t64_codec_date/explain_6.txt new file mode 100644 index 0000000000..48311bc653 --- /dev/null +++ b/parser/testdata/00873_t64_codec_date/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t64 diff --git a/parser/testdata/00874_issue_3495/explain_3.txt b/parser/testdata/00874_issue_3495/explain_3.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/00874_issue_3495/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/00875_join_right_nulls/explain_5.txt b/parser/testdata/00875_join_right_nulls/explain_5.txt new file mode 100644 index 0000000000..92abaf8b44 --- /dev/null +++ b/parser/testdata/00875_join_right_nulls/explain_5.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00875_join_right_nulls/explain_6.txt b/parser/testdata/00875_join_right_nulls/explain_6.txt new file mode 100644 index 0000000000..6cab7667a7 --- /dev/null +++ b/parser/testdata/00875_join_right_nulls/explain_6.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier nt + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00875_join_right_nulls_ors/explain_7.txt b/parser/testdata/00875_join_right_nulls_ors/explain_7.txt new file mode 100644 index 0000000000..92abaf8b44 --- /dev/null +++ b/parser/testdata/00875_join_right_nulls_ors/explain_7.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00875_join_right_nulls_ors/explain_8.txt b/parser/testdata/00875_join_right_nulls_ors/explain_8.txt new file mode 100644 index 0000000000..6cab7667a7 --- /dev/null +++ b/parser/testdata/00875_join_right_nulls_ors/explain_8.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier nt + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00875_join_right_nulls_ors/explain_9.txt b/parser/testdata/00875_join_right_nulls_ors/explain_9.txt new file mode 100644 index 0000000000..214ccc2be0 --- /dev/null +++ b/parser/testdata/00875_join_right_nulls_ors/explain_9.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier ntxy + ExpressionList (children 2) + Identifier x + Identifier y diff --git a/parser/testdata/00878_join_unexpected_results/explain_5.txt b/parser/testdata/00878_join_unexpected_results/explain_5.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/00878_join_unexpected_results/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/00878_join_unexpected_results/explain_6.txt b/parser/testdata/00878_join_unexpected_results/explain_6.txt new file mode 100644 index 0000000000..9c1eff95db --- /dev/null +++ b/parser/testdata/00878_join_unexpected_results/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier s diff --git a/parser/testdata/00879_cast_to_decimal_crash/explain.txt b/parser/testdata/00879_cast_to_decimal_crash/explain.txt index 00c9065891..0f49cf57be 100644 --- a/parser/testdata/00879_cast_to_decimal_crash/explain.txt +++ b/parser/testdata/00879_cast_to_decimal_crash/explain.txt @@ -8,4 +8,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) Literal UInt64_1 Literal \'Nullable(Decimal(10, 10))\' -The query succeeded but the server error '70' was expected (query: EXPLAIN AST select cast(toIntervalDay(1) as Nullable(Decimal(10, 10))); -- { serverError CANNOT_CONVERT_TYPE }). diff --git a/parser/testdata/00882_multiple_join_no_alias/explain_7.txt b/parser/testdata/00882_multiple_join_no_alias/explain_7.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/00882_multiple_join_no_alias/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/00882_multiple_join_no_alias/explain_8.txt b/parser/testdata/00882_multiple_join_no_alias/explain_8.txt new file mode 100644 index 0000000000..9c1eff95db --- /dev/null +++ b/parser/testdata/00882_multiple_join_no_alias/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier s diff --git a/parser/testdata/00882_multiple_join_no_alias/explain_9.txt b/parser/testdata/00882_multiple_join_no_alias/explain_9.txt new file mode 100644 index 0000000000..5fd3381535 --- /dev/null +++ b/parser/testdata/00882_multiple_join_no_alias/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier y diff --git a/parser/testdata/00902_entropy/explain_11.txt b/parser/testdata/00902_entropy/explain_11.txt new file mode 100644 index 0000000000..c4bde7d911 --- /dev/null +++ b/parser/testdata/00902_entropy/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier defaults diff --git a/parser/testdata/00902_entropy/explain_15.txt b/parser/testdata/00902_entropy/explain_15.txt new file mode 100644 index 0000000000..c4bde7d911 --- /dev/null +++ b/parser/testdata/00902_entropy/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier defaults diff --git a/parser/testdata/00902_entropy/explain_19.txt b/parser/testdata/00902_entropy/explain_19.txt new file mode 100644 index 0000000000..c4bde7d911 --- /dev/null +++ b/parser/testdata/00902_entropy/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier defaults diff --git a/parser/testdata/00902_entropy/explain_3.txt b/parser/testdata/00902_entropy/explain_3.txt new file mode 100644 index 0000000000..c4bde7d911 --- /dev/null +++ b/parser/testdata/00902_entropy/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier defaults diff --git a/parser/testdata/00902_entropy/explain_7.txt b/parser/testdata/00902_entropy/explain_7.txt new file mode 100644 index 0000000000..c4bde7d911 --- /dev/null +++ b/parser/testdata/00902_entropy/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier defaults diff --git a/parser/testdata/00905_compile_expressions_compare_big_dates/explain_5.txt b/parser/testdata/00905_compile_expressions_compare_big_dates/explain_5.txt new file mode 100644 index 0000000000..697066a3a8 --- /dev/null +++ b/parser/testdata/00905_compile_expressions_compare_big_dates/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier foo_c diff --git a/parser/testdata/00906_low_cardinality_rollup/explain_3.txt b/parser/testdata/00906_low_cardinality_rollup/explain_3.txt new file mode 100644 index 0000000000..4dcd41414a --- /dev/null +++ b/parser/testdata/00906_low_cardinality_rollup/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier lc diff --git a/parser/testdata/00906_low_cardinality_rollup/explain_4.txt b/parser/testdata/00906_low_cardinality_rollup/explain_4.txt new file mode 100644 index 0000000000..4dcd41414a --- /dev/null +++ b/parser/testdata/00906_low_cardinality_rollup/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier lc diff --git a/parser/testdata/00907_set_index_with_nullable_and_low_cardinality/explain_13.txt b/parser/testdata/00907_set_index_with_nullable_and_low_cardinality/explain_13.txt new file mode 100644 index 0000000000..48aaec4003 --- /dev/null +++ b/parser/testdata/00907_set_index_with_nullable_and_low_cardinality/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nullable_set_index diff --git a/parser/testdata/00907_set_index_with_nullable_and_low_cardinality/explain_14.txt b/parser/testdata/00907_set_index_with_nullable_and_low_cardinality/explain_14.txt new file mode 100644 index 0000000000..48aaec4003 --- /dev/null +++ b/parser/testdata/00907_set_index_with_nullable_and_low_cardinality/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nullable_set_index diff --git a/parser/testdata/00907_set_index_with_nullable_and_low_cardinality/explain_23.txt b/parser/testdata/00907_set_index_with_nullable_and_low_cardinality/explain_23.txt new file mode 100644 index 0000000000..48aaec4003 --- /dev/null +++ b/parser/testdata/00907_set_index_with_nullable_and_low_cardinality/explain_23.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nullable_set_index diff --git a/parser/testdata/00907_set_index_with_nullable_and_low_cardinality/explain_3.txt b/parser/testdata/00907_set_index_with_nullable_and_low_cardinality/explain_3.txt new file mode 100644 index 0000000000..48aaec4003 --- /dev/null +++ b/parser/testdata/00907_set_index_with_nullable_and_low_cardinality/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nullable_set_index diff --git a/parser/testdata/00907_set_index_with_nullable_and_low_cardinality/explain_32.txt b/parser/testdata/00907_set_index_with_nullable_and_low_cardinality/explain_32.txt new file mode 100644 index 0000000000..48aaec4003 --- /dev/null +++ b/parser/testdata/00907_set_index_with_nullable_and_low_cardinality/explain_32.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nullable_set_index diff --git a/parser/testdata/00907_set_index_with_nullable_and_low_cardinality/explain_33.txt b/parser/testdata/00907_set_index_with_nullable_and_low_cardinality/explain_33.txt new file mode 100644 index 0000000000..48aaec4003 --- /dev/null +++ b/parser/testdata/00907_set_index_with_nullable_and_low_cardinality/explain_33.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nullable_set_index diff --git a/parser/testdata/00907_set_index_with_nullable_and_low_cardinality/explain_4.txt b/parser/testdata/00907_set_index_with_nullable_and_low_cardinality/explain_4.txt new file mode 100644 index 0000000000..48aaec4003 --- /dev/null +++ b/parser/testdata/00907_set_index_with_nullable_and_low_cardinality/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nullable_set_index diff --git a/parser/testdata/00907_set_index_with_nullable_and_low_cardinality/explain_42.txt b/parser/testdata/00907_set_index_with_nullable_and_low_cardinality/explain_42.txt new file mode 100644 index 0000000000..48aaec4003 --- /dev/null +++ b/parser/testdata/00907_set_index_with_nullable_and_low_cardinality/explain_42.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nullable_set_index diff --git a/parser/testdata/00907_set_index_with_nullable_and_low_cardinality/explain_43.txt b/parser/testdata/00907_set_index_with_nullable_and_low_cardinality/explain_43.txt new file mode 100644 index 0000000000..48aaec4003 --- /dev/null +++ b/parser/testdata/00907_set_index_with_nullable_and_low_cardinality/explain_43.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nullable_set_index diff --git a/parser/testdata/00907_set_index_with_nullable_and_low_cardinality/explain_52.txt b/parser/testdata/00907_set_index_with_nullable_and_low_cardinality/explain_52.txt new file mode 100644 index 0000000000..48aaec4003 --- /dev/null +++ b/parser/testdata/00907_set_index_with_nullable_and_low_cardinality/explain_52.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nullable_set_index diff --git a/parser/testdata/00907_set_index_with_nullable_and_low_cardinality_bug/explain_3.txt b/parser/testdata/00907_set_index_with_nullable_and_low_cardinality_bug/explain_3.txt new file mode 100644 index 0000000000..8bb45be412 --- /dev/null +++ b/parser/testdata/00907_set_index_with_nullable_and_low_cardinality_bug/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier null_lc_set_index diff --git a/parser/testdata/00907_set_index_with_nullable_and_low_cardinality_bug/explain_4.txt b/parser/testdata/00907_set_index_with_nullable_and_low_cardinality_bug/explain_4.txt new file mode 100644 index 0000000000..8bb45be412 --- /dev/null +++ b/parser/testdata/00907_set_index_with_nullable_and_low_cardinality_bug/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier null_lc_set_index diff --git a/parser/testdata/00909_arrayEnumerateUniq/explain_110.txt b/parser/testdata/00909_arrayEnumerateUniq/explain_110.txt new file mode 100644 index 0000000000..dc57cfd43f --- /dev/null +++ b/parser/testdata/00909_arrayEnumerateUniq/explain_110.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier arrays_test diff --git a/parser/testdata/00909_arrayEnumerateUniq/explain_113.txt b/parser/testdata/00909_arrayEnumerateUniq/explain_113.txt new file mode 100644 index 0000000000..dc57cfd43f --- /dev/null +++ b/parser/testdata/00909_arrayEnumerateUniq/explain_113.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier arrays_test diff --git a/parser/testdata/00909_arrayEnumerateUniq/explain_193.txt b/parser/testdata/00909_arrayEnumerateUniq/explain_193.txt new file mode 100644 index 0000000000..dc57cfd43f --- /dev/null +++ b/parser/testdata/00909_arrayEnumerateUniq/explain_193.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier arrays_test diff --git a/parser/testdata/00909_arrayEnumerateUniq/explain_196.txt b/parser/testdata/00909_arrayEnumerateUniq/explain_196.txt new file mode 100644 index 0000000000..dc57cfd43f --- /dev/null +++ b/parser/testdata/00909_arrayEnumerateUniq/explain_196.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier arrays_test diff --git a/parser/testdata/00909_arrayEnumerateUniq/explain_199.txt b/parser/testdata/00909_arrayEnumerateUniq/explain_199.txt new file mode 100644 index 0000000000..dc57cfd43f --- /dev/null +++ b/parser/testdata/00909_arrayEnumerateUniq/explain_199.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier arrays_test diff --git a/parser/testdata/00909_arrayEnumerateUniq/explain_202.txt b/parser/testdata/00909_arrayEnumerateUniq/explain_202.txt new file mode 100644 index 0000000000..dc57cfd43f --- /dev/null +++ b/parser/testdata/00909_arrayEnumerateUniq/explain_202.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier arrays_test diff --git a/parser/testdata/00909_arrayEnumerateUniq/explain_208.txt b/parser/testdata/00909_arrayEnumerateUniq/explain_208.txt new file mode 100644 index 0000000000..4d4171f4a4 --- /dev/null +++ b/parser/testdata/00909_arrayEnumerateUniq/explain_208.txt @@ -0,0 +1,13 @@ +InsertQuery (children 2) + Identifier arr_tests_visits + ExpressionList (children 10) + Identifier CounterID + Identifier StartDate + Identifier Sign + Identifier VisitID + Identifier UserID + Identifier VisitVersion + Identifier Test.BannerID + Identifier Test.Load + Identifier Test.PuidKey + Identifier Test.PuidVal diff --git a/parser/testdata/00909_arrayEnumerateUniq/explain_86.txt b/parser/testdata/00909_arrayEnumerateUniq/explain_86.txt new file mode 100644 index 0000000000..dc57cfd43f --- /dev/null +++ b/parser/testdata/00909_arrayEnumerateUniq/explain_86.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier arrays_test diff --git a/parser/testdata/00909_arrayEnumerateUniq/explain_87.txt b/parser/testdata/00909_arrayEnumerateUniq/explain_87.txt new file mode 100644 index 0000000000..dc57cfd43f --- /dev/null +++ b/parser/testdata/00909_arrayEnumerateUniq/explain_87.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier arrays_test diff --git a/parser/testdata/00909_arrayEnumerateUniq/explain_88.txt b/parser/testdata/00909_arrayEnumerateUniq/explain_88.txt new file mode 100644 index 0000000000..dc57cfd43f --- /dev/null +++ b/parser/testdata/00909_arrayEnumerateUniq/explain_88.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier arrays_test diff --git a/parser/testdata/00909_ngram_distance/explain_31.txt b/parser/testdata/00909_ngram_distance/explain_31.txt new file mode 100644 index 0000000000..bf104578c8 --- /dev/null +++ b/parser/testdata/00909_ngram_distance/explain_31.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_distance diff --git a/parser/testdata/00910_buffer_prewhere/explain_3.txt b/parser/testdata/00910_buffer_prewhere/explain_3.txt new file mode 100644 index 0000000000..657e743214 --- /dev/null +++ b/parser/testdata/00910_buffer_prewhere/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier buf diff --git a/parser/testdata/00910_buffer_prewhere_different_types/explain_7.txt b/parser/testdata/00910_buffer_prewhere_different_types/explain_7.txt new file mode 100644 index 0000000000..64a1849943 --- /dev/null +++ b/parser/testdata/00910_buffer_prewhere_different_types/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier merge_tree_table1 diff --git a/parser/testdata/00910_decimal_group_array_crash_3783/explain_9.txt b/parser/testdata/00910_decimal_group_array_crash_3783/explain_9.txt new file mode 100644 index 0000000000..e0af6e7c3e --- /dev/null +++ b/parser/testdata/00910_decimal_group_array_crash_3783/explain_9.txt @@ -0,0 +1,11 @@ +InsertQuery (children 2) + Identifier sensor_value + ExpressionList (children 8) + Identifier received_at + Identifier device_id + Identifier sensor_id + Identifier value + Identifier low_warning + Identifier low_critical + Identifier high_warning + Identifier high_critical diff --git a/parser/testdata/00910_zookeeper_custom_compression_codecs_replicated_long/explain_14.txt b/parser/testdata/00910_zookeeper_custom_compression_codecs_replicated_long/explain_14.txt new file mode 100644 index 0000000000..359601855e --- /dev/null +++ b/parser/testdata/00910_zookeeper_custom_compression_codecs_replicated_long/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier compression_codec_replicated1 diff --git a/parser/testdata/00910_zookeeper_custom_compression_codecs_replicated_long/explain_27.txt b/parser/testdata/00910_zookeeper_custom_compression_codecs_replicated_long/explain_27.txt new file mode 100644 index 0000000000..6f741f28eb --- /dev/null +++ b/parser/testdata/00910_zookeeper_custom_compression_codecs_replicated_long/explain_27.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier compression_codec_multiple_replicated2 diff --git a/parser/testdata/00910_zookeeper_custom_compression_codecs_replicated_long/explain_50.txt b/parser/testdata/00910_zookeeper_custom_compression_codecs_replicated_long/explain_50.txt new file mode 100644 index 0000000000..a703152795 --- /dev/null +++ b/parser/testdata/00910_zookeeper_custom_compression_codecs_replicated_long/explain_50.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier compression_codec_multiple_more_types_replicated diff --git a/parser/testdata/00910_zookeeper_custom_compression_codecs_replicated_long/explain_51.txt b/parser/testdata/00910_zookeeper_custom_compression_codecs_replicated_long/explain_51.txt new file mode 100644 index 0000000000..a703152795 --- /dev/null +++ b/parser/testdata/00910_zookeeper_custom_compression_codecs_replicated_long/explain_51.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier compression_codec_multiple_more_types_replicated diff --git a/parser/testdata/00910_zookeeper_custom_compression_codecs_replicated_long/explain_57.txt b/parser/testdata/00910_zookeeper_custom_compression_codecs_replicated_long/explain_57.txt new file mode 100644 index 0000000000..7a27d1e673 --- /dev/null +++ b/parser/testdata/00910_zookeeper_custom_compression_codecs_replicated_long/explain_57.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier compression_codec_multiple_with_key_replicated diff --git a/parser/testdata/00910_zookeeper_custom_compression_codecs_replicated_long/explain_7.txt b/parser/testdata/00910_zookeeper_custom_compression_codecs_replicated_long/explain_7.txt new file mode 100644 index 0000000000..359601855e --- /dev/null +++ b/parser/testdata/00910_zookeeper_custom_compression_codecs_replicated_long/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier compression_codec_replicated1 diff --git a/parser/testdata/00910_zookeeper_custom_compression_codecs_replicated_long/explain_8.txt b/parser/testdata/00910_zookeeper_custom_compression_codecs_replicated_long/explain_8.txt new file mode 100644 index 0000000000..359601855e --- /dev/null +++ b/parser/testdata/00910_zookeeper_custom_compression_codecs_replicated_long/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier compression_codec_replicated1 diff --git a/parser/testdata/00910_zookeeper_custom_compression_codecs_replicated_long/explain_9.txt b/parser/testdata/00910_zookeeper_custom_compression_codecs_replicated_long/explain_9.txt new file mode 100644 index 0000000000..359601855e --- /dev/null +++ b/parser/testdata/00910_zookeeper_custom_compression_codecs_replicated_long/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier compression_codec_replicated1 diff --git a/parser/testdata/00910_zookeeper_test_alter_compression_codecs_long/explain_17.txt b/parser/testdata/00910_zookeeper_test_alter_compression_codecs_long/explain_17.txt new file mode 100644 index 0000000000..45bf620891 --- /dev/null +++ b/parser/testdata/00910_zookeeper_test_alter_compression_codecs_long/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier alter_compression_codec1 diff --git a/parser/testdata/00910_zookeeper_test_alter_compression_codecs_long/explain_18.txt b/parser/testdata/00910_zookeeper_test_alter_compression_codecs_long/explain_18.txt new file mode 100644 index 0000000000..45bf620891 --- /dev/null +++ b/parser/testdata/00910_zookeeper_test_alter_compression_codecs_long/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier alter_compression_codec1 diff --git a/parser/testdata/00910_zookeeper_test_alter_compression_codecs_long/explain_26.txt b/parser/testdata/00910_zookeeper_test_alter_compression_codecs_long/explain_26.txt new file mode 100644 index 0000000000..2f950d305a --- /dev/null +++ b/parser/testdata/00910_zookeeper_test_alter_compression_codecs_long/explain_26.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier alter_compression_codec2 diff --git a/parser/testdata/00910_zookeeper_test_alter_compression_codecs_long/explain_27.txt b/parser/testdata/00910_zookeeper_test_alter_compression_codecs_long/explain_27.txt new file mode 100644 index 0000000000..2f950d305a --- /dev/null +++ b/parser/testdata/00910_zookeeper_test_alter_compression_codecs_long/explain_27.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier alter_compression_codec2 diff --git a/parser/testdata/00910_zookeeper_test_alter_compression_codecs_long/explain_37.txt b/parser/testdata/00910_zookeeper_test_alter_compression_codecs_long/explain_37.txt new file mode 100644 index 0000000000..45bf620891 --- /dev/null +++ b/parser/testdata/00910_zookeeper_test_alter_compression_codecs_long/explain_37.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier alter_compression_codec1 diff --git a/parser/testdata/00910_zookeeper_test_alter_compression_codecs_long/explain_38.txt b/parser/testdata/00910_zookeeper_test_alter_compression_codecs_long/explain_38.txt new file mode 100644 index 0000000000..2f950d305a --- /dev/null +++ b/parser/testdata/00910_zookeeper_test_alter_compression_codecs_long/explain_38.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier alter_compression_codec2 diff --git a/parser/testdata/00910_zookeeper_test_alter_compression_codecs_long/explain_7.txt b/parser/testdata/00910_zookeeper_test_alter_compression_codecs_long/explain_7.txt new file mode 100644 index 0000000000..45bf620891 --- /dev/null +++ b/parser/testdata/00910_zookeeper_test_alter_compression_codecs_long/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier alter_compression_codec1 diff --git a/parser/testdata/00910_zookeeper_test_alter_compression_codecs_long/explain_8.txt b/parser/testdata/00910_zookeeper_test_alter_compression_codecs_long/explain_8.txt new file mode 100644 index 0000000000..45bf620891 --- /dev/null +++ b/parser/testdata/00910_zookeeper_test_alter_compression_codecs_long/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier alter_compression_codec1 diff --git a/parser/testdata/00914_join_bgranvea/explain_5.txt b/parser/testdata/00914_join_bgranvea/explain_5.txt new file mode 100644 index 0000000000..05c1b71925 --- /dev/null +++ b/parser/testdata/00914_join_bgranvea/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table1 diff --git a/parser/testdata/00914_join_bgranvea/explain_6.txt b/parser/testdata/00914_join_bgranvea/explain_6.txt new file mode 100644 index 0000000000..c00312da5a --- /dev/null +++ b/parser/testdata/00914_join_bgranvea/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table2 diff --git a/parser/testdata/00915_simple_aggregate_function/explain_14.txt b/parser/testdata/00915_simple_aggregate_function/explain_14.txt new file mode 100644 index 0000000000..241d2446ac --- /dev/null +++ b/parser/testdata/00915_simple_aggregate_function/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier simple diff --git a/parser/testdata/00915_simple_aggregate_function/explain_15.txt b/parser/testdata/00915_simple_aggregate_function/explain_15.txt new file mode 100644 index 0000000000..241d2446ac --- /dev/null +++ b/parser/testdata/00915_simple_aggregate_function/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier simple diff --git a/parser/testdata/00915_simple_aggregate_function/explain_16.txt b/parser/testdata/00915_simple_aggregate_function/explain_16.txt new file mode 100644 index 0000000000..241d2446ac --- /dev/null +++ b/parser/testdata/00915_simple_aggregate_function/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier simple diff --git a/parser/testdata/00915_simple_aggregate_function/explain_17.txt b/parser/testdata/00915_simple_aggregate_function/explain_17.txt new file mode 100644 index 0000000000..241d2446ac --- /dev/null +++ b/parser/testdata/00915_simple_aggregate_function/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier simple diff --git a/parser/testdata/00915_simple_aggregate_function_summing_merge_tree/explain_14.txt b/parser/testdata/00915_simple_aggregate_function_summing_merge_tree/explain_14.txt new file mode 100644 index 0000000000..241d2446ac --- /dev/null +++ b/parser/testdata/00915_simple_aggregate_function_summing_merge_tree/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier simple diff --git a/parser/testdata/00915_simple_aggregate_function_summing_merge_tree/explain_15.txt b/parser/testdata/00915_simple_aggregate_function_summing_merge_tree/explain_15.txt new file mode 100644 index 0000000000..241d2446ac --- /dev/null +++ b/parser/testdata/00915_simple_aggregate_function_summing_merge_tree/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier simple diff --git a/parser/testdata/00915_simple_aggregate_function_summing_merge_tree/explain_16.txt b/parser/testdata/00915_simple_aggregate_function_summing_merge_tree/explain_16.txt new file mode 100644 index 0000000000..241d2446ac --- /dev/null +++ b/parser/testdata/00915_simple_aggregate_function_summing_merge_tree/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier simple diff --git a/parser/testdata/00915_simple_aggregate_function_summing_merge_tree/explain_17.txt b/parser/testdata/00915_simple_aggregate_function_summing_merge_tree/explain_17.txt new file mode 100644 index 0000000000..241d2446ac --- /dev/null +++ b/parser/testdata/00915_simple_aggregate_function_summing_merge_tree/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier simple diff --git a/parser/testdata/00917_multiple_joins_denny_crane/explain_4.txt b/parser/testdata/00917_multiple_joins_denny_crane/explain_4.txt new file mode 100644 index 0000000000..6649b9e454 --- /dev/null +++ b/parser/testdata/00917_multiple_joins_denny_crane/explain_4.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier ANIMAL + ExpressionList (children 1) + Identifier ANIMAL diff --git a/parser/testdata/00918_has_unsufficient_type_check/explain.txt b/parser/testdata/00918_has_unsufficient_type_check/explain.txt index 28e8fe1633..b9c7dfbaad 100644 --- a/parser/testdata/00918_has_unsufficient_type_check/explain.txt +++ b/parser/testdata/00918_has_unsufficient_type_check/explain.txt @@ -11,4 +11,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) Function array (children 1) ExpressionList -The query succeeded but the server error '386' was expected (query: EXPLAIN AST SELECT hasAny([['Hello, world']], [[[]]]); -- { serverError NO_COMMON_TYPE }). diff --git a/parser/testdata/00921_datetime64_basic/explain_19.txt b/parser/testdata/00921_datetime64_basic/explain_19.txt new file mode 100644 index 0000000000..b3ce46d5d9 --- /dev/null +++ b/parser/testdata/00921_datetime64_basic/explain_19.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier A + ExpressionList (children 1) + Identifier t diff --git a/parser/testdata/00926_adaptive_index_granularity_collapsing_merge_tree/explain_14.txt b/parser/testdata/00926_adaptive_index_granularity_collapsing_merge_tree/explain_14.txt new file mode 100644 index 0000000000..9a7bd8ff36 --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_collapsing_merge_tree/explain_14.txt @@ -0,0 +1,8 @@ +InsertQuery (children 2) + Identifier four_rows_per_granule + ExpressionList (children 5) + Identifier p + Identifier k + Identifier v1 + Identifier v2 + Identifier Sign diff --git a/parser/testdata/00926_adaptive_index_granularity_collapsing_merge_tree/explain_17.txt b/parser/testdata/00926_adaptive_index_granularity_collapsing_merge_tree/explain_17.txt new file mode 100644 index 0000000000..9a7bd8ff36 --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_collapsing_merge_tree/explain_17.txt @@ -0,0 +1,8 @@ +InsertQuery (children 2) + Identifier four_rows_per_granule + ExpressionList (children 5) + Identifier p + Identifier k + Identifier v1 + Identifier v2 + Identifier Sign diff --git a/parser/testdata/00926_adaptive_index_granularity_collapsing_merge_tree/explain_21.txt b/parser/testdata/00926_adaptive_index_granularity_collapsing_merge_tree/explain_21.txt new file mode 100644 index 0000000000..9a7bd8ff36 --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_collapsing_merge_tree/explain_21.txt @@ -0,0 +1,8 @@ +InsertQuery (children 2) + Identifier four_rows_per_granule + ExpressionList (children 5) + Identifier p + Identifier k + Identifier v1 + Identifier v2 + Identifier Sign diff --git a/parser/testdata/00926_adaptive_index_granularity_collapsing_merge_tree/explain_22.txt b/parser/testdata/00926_adaptive_index_granularity_collapsing_merge_tree/explain_22.txt new file mode 100644 index 0000000000..9a7bd8ff36 --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_collapsing_merge_tree/explain_22.txt @@ -0,0 +1,8 @@ +InsertQuery (children 2) + Identifier four_rows_per_granule + ExpressionList (children 5) + Identifier p + Identifier k + Identifier v1 + Identifier v2 + Identifier Sign diff --git a/parser/testdata/00926_adaptive_index_granularity_collapsing_merge_tree/explain_23.txt b/parser/testdata/00926_adaptive_index_granularity_collapsing_merge_tree/explain_23.txt new file mode 100644 index 0000000000..9a7bd8ff36 --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_collapsing_merge_tree/explain_23.txt @@ -0,0 +1,8 @@ +InsertQuery (children 2) + Identifier four_rows_per_granule + ExpressionList (children 5) + Identifier p + Identifier k + Identifier v1 + Identifier v2 + Identifier Sign diff --git a/parser/testdata/00926_adaptive_index_granularity_collapsing_merge_tree/explain_3.txt b/parser/testdata/00926_adaptive_index_granularity_collapsing_merge_tree/explain_3.txt new file mode 100644 index 0000000000..7c2496b6d4 --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_collapsing_merge_tree/explain_3.txt @@ -0,0 +1,8 @@ +InsertQuery (children 2) + Identifier zero_rows_per_granule + ExpressionList (children 5) + Identifier p + Identifier k + Identifier v1 + Identifier v2 + Identifier Sign diff --git a/parser/testdata/00926_adaptive_index_granularity_collapsing_merge_tree/explain_6.txt b/parser/testdata/00926_adaptive_index_granularity_collapsing_merge_tree/explain_6.txt new file mode 100644 index 0000000000..7c2496b6d4 --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_collapsing_merge_tree/explain_6.txt @@ -0,0 +1,8 @@ +InsertQuery (children 2) + Identifier zero_rows_per_granule + ExpressionList (children 5) + Identifier p + Identifier k + Identifier v1 + Identifier v2 + Identifier Sign diff --git a/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_104.txt b/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_104.txt new file mode 100644 index 0000000000..7a90e733b4 --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_104.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier four_rows_per_granule + ExpressionList (children 4) + Identifier p + Identifier k + Identifier v1 + Identifier v2 diff --git a/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_114.txt b/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_114.txt new file mode 100644 index 0000000000..dd58a092d4 --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_114.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier huge_granularity_small_blocks + ExpressionList (children 4) + Identifier p + Identifier k + Identifier v1 + Identifier v2 diff --git a/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_117.txt b/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_117.txt new file mode 100644 index 0000000000..dd58a092d4 --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_117.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier huge_granularity_small_blocks + ExpressionList (children 4) + Identifier p + Identifier k + Identifier v1 + Identifier v2 diff --git a/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_127.txt b/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_127.txt new file mode 100644 index 0000000000..6d337b2af5 --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_127.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier adaptive_granularity_alter + ExpressionList (children 4) + Identifier p + Identifier k + Identifier v1 + Identifier v2 diff --git a/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_136.txt b/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_136.txt new file mode 100644 index 0000000000..6d337b2af5 --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_136.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier adaptive_granularity_alter + ExpressionList (children 4) + Identifier p + Identifier k + Identifier v1 + Identifier v2 diff --git a/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_142.txt b/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_142.txt new file mode 100644 index 0000000000..6d337b2af5 --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_142.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier adaptive_granularity_alter + ExpressionList (children 4) + Identifier p + Identifier k + Identifier v1 + Identifier v2 diff --git a/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_15.txt b/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_15.txt new file mode 100644 index 0000000000..2d2772e14a --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_15.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier two_rows_per_granule + ExpressionList (children 4) + Identifier p + Identifier k + Identifier v1 + Identifier v2 diff --git a/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_18.txt b/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_18.txt new file mode 100644 index 0000000000..2d2772e14a --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_18.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier two_rows_per_granule + ExpressionList (children 4) + Identifier p + Identifier k + Identifier v1 + Identifier v2 diff --git a/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_26.txt b/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_26.txt new file mode 100644 index 0000000000..7a90e733b4 --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_26.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier four_rows_per_granule + ExpressionList (children 4) + Identifier p + Identifier k + Identifier v1 + Identifier v2 diff --git a/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_31.txt b/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_31.txt new file mode 100644 index 0000000000..7a90e733b4 --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_31.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier four_rows_per_granule + ExpressionList (children 4) + Identifier p + Identifier k + Identifier v1 + Identifier v2 diff --git a/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_4.txt b/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_4.txt new file mode 100644 index 0000000000..d991327c06 --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_4.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier zero_rows_per_granule + ExpressionList (children 4) + Identifier p + Identifier k + Identifier v1 + Identifier v2 diff --git a/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_41.txt b/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_41.txt new file mode 100644 index 0000000000..dd58a092d4 --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_41.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier huge_granularity_small_blocks + ExpressionList (children 4) + Identifier p + Identifier k + Identifier v1 + Identifier v2 diff --git a/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_44.txt b/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_44.txt new file mode 100644 index 0000000000..dd58a092d4 --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_44.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier huge_granularity_small_blocks + ExpressionList (children 4) + Identifier p + Identifier k + Identifier v1 + Identifier v2 diff --git a/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_54.txt b/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_54.txt new file mode 100644 index 0000000000..6d337b2af5 --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_54.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier adaptive_granularity_alter + ExpressionList (children 4) + Identifier p + Identifier k + Identifier v1 + Identifier v2 diff --git a/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_63.txt b/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_63.txt new file mode 100644 index 0000000000..6d337b2af5 --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_63.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier adaptive_granularity_alter + ExpressionList (children 4) + Identifier p + Identifier k + Identifier v1 + Identifier v2 diff --git a/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_69.txt b/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_69.txt new file mode 100644 index 0000000000..6d337b2af5 --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_69.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier adaptive_granularity_alter + ExpressionList (children 4) + Identifier p + Identifier k + Identifier v1 + Identifier v2 diff --git a/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_7.txt b/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_7.txt new file mode 100644 index 0000000000..d991327c06 --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_7.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier zero_rows_per_granule + ExpressionList (children 4) + Identifier p + Identifier k + Identifier v1 + Identifier v2 diff --git a/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_77.txt b/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_77.txt new file mode 100644 index 0000000000..d991327c06 --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_77.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier zero_rows_per_granule + ExpressionList (children 4) + Identifier p + Identifier k + Identifier v1 + Identifier v2 diff --git a/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_80.txt b/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_80.txt new file mode 100644 index 0000000000..d991327c06 --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_80.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier zero_rows_per_granule + ExpressionList (children 4) + Identifier p + Identifier k + Identifier v1 + Identifier v2 diff --git a/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_88.txt b/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_88.txt new file mode 100644 index 0000000000..2d2772e14a --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_88.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier two_rows_per_granule + ExpressionList (children 4) + Identifier p + Identifier k + Identifier v1 + Identifier v2 diff --git a/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_91.txt b/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_91.txt new file mode 100644 index 0000000000..2d2772e14a --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_91.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier two_rows_per_granule + ExpressionList (children 4) + Identifier p + Identifier k + Identifier v1 + Identifier v2 diff --git a/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_99.txt b/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_99.txt new file mode 100644 index 0000000000..7a90e733b4 --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain_99.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier four_rows_per_granule + ExpressionList (children 4) + Identifier p + Identifier k + Identifier v1 + Identifier v2 diff --git a/parser/testdata/00926_adaptive_index_granularity_pk/explain_23.txt b/parser/testdata/00926_adaptive_index_granularity_pk/explain_23.txt new file mode 100644 index 0000000000..04f66a3e53 --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_pk/explain_23.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier merge_tree diff --git a/parser/testdata/00926_adaptive_index_granularity_pk/explain_5.txt b/parser/testdata/00926_adaptive_index_granularity_pk/explain_5.txt new file mode 100644 index 0000000000..e6fc84e488 --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_pk/explain_5.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier pk + ExpressionList (children 3) + Identifier x + Identifier y + Identifier z diff --git a/parser/testdata/00926_adaptive_index_granularity_replacing_merge_tree/explain_14.txt b/parser/testdata/00926_adaptive_index_granularity_replacing_merge_tree/explain_14.txt new file mode 100644 index 0000000000..2d2772e14a --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_replacing_merge_tree/explain_14.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier two_rows_per_granule + ExpressionList (children 4) + Identifier p + Identifier k + Identifier v1 + Identifier v2 diff --git a/parser/testdata/00926_adaptive_index_granularity_replacing_merge_tree/explain_17.txt b/parser/testdata/00926_adaptive_index_granularity_replacing_merge_tree/explain_17.txt new file mode 100644 index 0000000000..2d2772e14a --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_replacing_merge_tree/explain_17.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier two_rows_per_granule + ExpressionList (children 4) + Identifier p + Identifier k + Identifier v1 + Identifier v2 diff --git a/parser/testdata/00926_adaptive_index_granularity_replacing_merge_tree/explain_25.txt b/parser/testdata/00926_adaptive_index_granularity_replacing_merge_tree/explain_25.txt new file mode 100644 index 0000000000..7a90e733b4 --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_replacing_merge_tree/explain_25.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier four_rows_per_granule + ExpressionList (children 4) + Identifier p + Identifier k + Identifier v1 + Identifier v2 diff --git a/parser/testdata/00926_adaptive_index_granularity_replacing_merge_tree/explain_3.txt b/parser/testdata/00926_adaptive_index_granularity_replacing_merge_tree/explain_3.txt new file mode 100644 index 0000000000..d991327c06 --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_replacing_merge_tree/explain_3.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier zero_rows_per_granule + ExpressionList (children 4) + Identifier p + Identifier k + Identifier v1 + Identifier v2 diff --git a/parser/testdata/00926_adaptive_index_granularity_replacing_merge_tree/explain_30.txt b/parser/testdata/00926_adaptive_index_granularity_replacing_merge_tree/explain_30.txt new file mode 100644 index 0000000000..7a90e733b4 --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_replacing_merge_tree/explain_30.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier four_rows_per_granule + ExpressionList (children 4) + Identifier p + Identifier k + Identifier v1 + Identifier v2 diff --git a/parser/testdata/00926_adaptive_index_granularity_replacing_merge_tree/explain_31.txt b/parser/testdata/00926_adaptive_index_granularity_replacing_merge_tree/explain_31.txt new file mode 100644 index 0000000000..7a90e733b4 --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_replacing_merge_tree/explain_31.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier four_rows_per_granule + ExpressionList (children 4) + Identifier p + Identifier k + Identifier v1 + Identifier v2 diff --git a/parser/testdata/00926_adaptive_index_granularity_replacing_merge_tree/explain_32.txt b/parser/testdata/00926_adaptive_index_granularity_replacing_merge_tree/explain_32.txt new file mode 100644 index 0000000000..7a90e733b4 --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_replacing_merge_tree/explain_32.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier four_rows_per_granule + ExpressionList (children 4) + Identifier p + Identifier k + Identifier v1 + Identifier v2 diff --git a/parser/testdata/00926_adaptive_index_granularity_replacing_merge_tree/explain_33.txt b/parser/testdata/00926_adaptive_index_granularity_replacing_merge_tree/explain_33.txt new file mode 100644 index 0000000000..7a90e733b4 --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_replacing_merge_tree/explain_33.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier four_rows_per_granule + ExpressionList (children 4) + Identifier p + Identifier k + Identifier v1 + Identifier v2 diff --git a/parser/testdata/00926_adaptive_index_granularity_replacing_merge_tree/explain_44.txt b/parser/testdata/00926_adaptive_index_granularity_replacing_merge_tree/explain_44.txt new file mode 100644 index 0000000000..dd58a092d4 --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_replacing_merge_tree/explain_44.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier huge_granularity_small_blocks + ExpressionList (children 4) + Identifier p + Identifier k + Identifier v1 + Identifier v2 diff --git a/parser/testdata/00926_adaptive_index_granularity_replacing_merge_tree/explain_47.txt b/parser/testdata/00926_adaptive_index_granularity_replacing_merge_tree/explain_47.txt new file mode 100644 index 0000000000..dd58a092d4 --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_replacing_merge_tree/explain_47.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier huge_granularity_small_blocks + ExpressionList (children 4) + Identifier p + Identifier k + Identifier v1 + Identifier v2 diff --git a/parser/testdata/00926_adaptive_index_granularity_replacing_merge_tree/explain_57.txt b/parser/testdata/00926_adaptive_index_granularity_replacing_merge_tree/explain_57.txt new file mode 100644 index 0000000000..6d337b2af5 --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_replacing_merge_tree/explain_57.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier adaptive_granularity_alter + ExpressionList (children 4) + Identifier p + Identifier k + Identifier v1 + Identifier v2 diff --git a/parser/testdata/00926_adaptive_index_granularity_replacing_merge_tree/explain_6.txt b/parser/testdata/00926_adaptive_index_granularity_replacing_merge_tree/explain_6.txt new file mode 100644 index 0000000000..d991327c06 --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_replacing_merge_tree/explain_6.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier zero_rows_per_granule + ExpressionList (children 4) + Identifier p + Identifier k + Identifier v1 + Identifier v2 diff --git a/parser/testdata/00926_adaptive_index_granularity_replacing_merge_tree/explain_65.txt b/parser/testdata/00926_adaptive_index_granularity_replacing_merge_tree/explain_65.txt new file mode 100644 index 0000000000..6d337b2af5 --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_replacing_merge_tree/explain_65.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier adaptive_granularity_alter + ExpressionList (children 4) + Identifier p + Identifier k + Identifier v1 + Identifier v2 diff --git a/parser/testdata/00926_adaptive_index_granularity_replacing_merge_tree/explain_72.txt b/parser/testdata/00926_adaptive_index_granularity_replacing_merge_tree/explain_72.txt new file mode 100644 index 0000000000..6d337b2af5 --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_replacing_merge_tree/explain_72.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier adaptive_granularity_alter + ExpressionList (children 4) + Identifier p + Identifier k + Identifier v1 + Identifier v2 diff --git a/parser/testdata/00926_adaptive_index_granularity_versioned_collapsing_merge_tree/explain_14.txt b/parser/testdata/00926_adaptive_index_granularity_versioned_collapsing_merge_tree/explain_14.txt new file mode 100644 index 0000000000..27b1aa0bc8 --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_versioned_collapsing_merge_tree/explain_14.txt @@ -0,0 +1,9 @@ +InsertQuery (children 2) + Identifier four_rows_per_granule + ExpressionList (children 6) + Identifier p + Identifier k + Identifier v1 + Identifier v2 + Identifier Sign + Identifier Version diff --git a/parser/testdata/00926_adaptive_index_granularity_versioned_collapsing_merge_tree/explain_17.txt b/parser/testdata/00926_adaptive_index_granularity_versioned_collapsing_merge_tree/explain_17.txt new file mode 100644 index 0000000000..27b1aa0bc8 --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_versioned_collapsing_merge_tree/explain_17.txt @@ -0,0 +1,9 @@ +InsertQuery (children 2) + Identifier four_rows_per_granule + ExpressionList (children 6) + Identifier p + Identifier k + Identifier v1 + Identifier v2 + Identifier Sign + Identifier Version diff --git a/parser/testdata/00926_adaptive_index_granularity_versioned_collapsing_merge_tree/explain_21.txt b/parser/testdata/00926_adaptive_index_granularity_versioned_collapsing_merge_tree/explain_21.txt new file mode 100644 index 0000000000..27b1aa0bc8 --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_versioned_collapsing_merge_tree/explain_21.txt @@ -0,0 +1,9 @@ +InsertQuery (children 2) + Identifier four_rows_per_granule + ExpressionList (children 6) + Identifier p + Identifier k + Identifier v1 + Identifier v2 + Identifier Sign + Identifier Version diff --git a/parser/testdata/00926_adaptive_index_granularity_versioned_collapsing_merge_tree/explain_22.txt b/parser/testdata/00926_adaptive_index_granularity_versioned_collapsing_merge_tree/explain_22.txt new file mode 100644 index 0000000000..27b1aa0bc8 --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_versioned_collapsing_merge_tree/explain_22.txt @@ -0,0 +1,9 @@ +InsertQuery (children 2) + Identifier four_rows_per_granule + ExpressionList (children 6) + Identifier p + Identifier k + Identifier v1 + Identifier v2 + Identifier Sign + Identifier Version diff --git a/parser/testdata/00926_adaptive_index_granularity_versioned_collapsing_merge_tree/explain_23.txt b/parser/testdata/00926_adaptive_index_granularity_versioned_collapsing_merge_tree/explain_23.txt new file mode 100644 index 0000000000..27b1aa0bc8 --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_versioned_collapsing_merge_tree/explain_23.txt @@ -0,0 +1,9 @@ +InsertQuery (children 2) + Identifier four_rows_per_granule + ExpressionList (children 6) + Identifier p + Identifier k + Identifier v1 + Identifier v2 + Identifier Sign + Identifier Version diff --git a/parser/testdata/00926_adaptive_index_granularity_versioned_collapsing_merge_tree/explain_3.txt b/parser/testdata/00926_adaptive_index_granularity_versioned_collapsing_merge_tree/explain_3.txt new file mode 100644 index 0000000000..cd83fef05c --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_versioned_collapsing_merge_tree/explain_3.txt @@ -0,0 +1,9 @@ +InsertQuery (children 2) + Identifier zero_rows_per_granule + ExpressionList (children 6) + Identifier p + Identifier k + Identifier v1 + Identifier v2 + Identifier Sign + Identifier Version diff --git a/parser/testdata/00926_adaptive_index_granularity_versioned_collapsing_merge_tree/explain_31.txt b/parser/testdata/00926_adaptive_index_granularity_versioned_collapsing_merge_tree/explain_31.txt new file mode 100644 index 0000000000..2056a8c499 --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_versioned_collapsing_merge_tree/explain_31.txt @@ -0,0 +1,9 @@ +InsertQuery (children 2) + Identifier six_rows_per_granule + ExpressionList (children 6) + Identifier p + Identifier k + Identifier v1 + Identifier v2 + Identifier Sign + Identifier Version diff --git a/parser/testdata/00926_adaptive_index_granularity_versioned_collapsing_merge_tree/explain_32.txt b/parser/testdata/00926_adaptive_index_granularity_versioned_collapsing_merge_tree/explain_32.txt new file mode 100644 index 0000000000..2056a8c499 --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_versioned_collapsing_merge_tree/explain_32.txt @@ -0,0 +1,9 @@ +InsertQuery (children 2) + Identifier six_rows_per_granule + ExpressionList (children 6) + Identifier p + Identifier k + Identifier v1 + Identifier v2 + Identifier Sign + Identifier Version diff --git a/parser/testdata/00926_adaptive_index_granularity_versioned_collapsing_merge_tree/explain_33.txt b/parser/testdata/00926_adaptive_index_granularity_versioned_collapsing_merge_tree/explain_33.txt new file mode 100644 index 0000000000..2056a8c499 --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_versioned_collapsing_merge_tree/explain_33.txt @@ -0,0 +1,9 @@ +InsertQuery (children 2) + Identifier six_rows_per_granule + ExpressionList (children 6) + Identifier p + Identifier k + Identifier v1 + Identifier v2 + Identifier Sign + Identifier Version diff --git a/parser/testdata/00926_adaptive_index_granularity_versioned_collapsing_merge_tree/explain_37.txt b/parser/testdata/00926_adaptive_index_granularity_versioned_collapsing_merge_tree/explain_37.txt new file mode 100644 index 0000000000..2056a8c499 --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_versioned_collapsing_merge_tree/explain_37.txt @@ -0,0 +1,9 @@ +InsertQuery (children 2) + Identifier six_rows_per_granule + ExpressionList (children 6) + Identifier p + Identifier k + Identifier v1 + Identifier v2 + Identifier Sign + Identifier Version diff --git a/parser/testdata/00926_adaptive_index_granularity_versioned_collapsing_merge_tree/explain_38.txt b/parser/testdata/00926_adaptive_index_granularity_versioned_collapsing_merge_tree/explain_38.txt new file mode 100644 index 0000000000..2056a8c499 --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_versioned_collapsing_merge_tree/explain_38.txt @@ -0,0 +1,9 @@ +InsertQuery (children 2) + Identifier six_rows_per_granule + ExpressionList (children 6) + Identifier p + Identifier k + Identifier v1 + Identifier v2 + Identifier Sign + Identifier Version diff --git a/parser/testdata/00926_adaptive_index_granularity_versioned_collapsing_merge_tree/explain_39.txt b/parser/testdata/00926_adaptive_index_granularity_versioned_collapsing_merge_tree/explain_39.txt new file mode 100644 index 0000000000..2056a8c499 --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_versioned_collapsing_merge_tree/explain_39.txt @@ -0,0 +1,9 @@ +InsertQuery (children 2) + Identifier six_rows_per_granule + ExpressionList (children 6) + Identifier p + Identifier k + Identifier v1 + Identifier v2 + Identifier Sign + Identifier Version diff --git a/parser/testdata/00926_adaptive_index_granularity_versioned_collapsing_merge_tree/explain_6.txt b/parser/testdata/00926_adaptive_index_granularity_versioned_collapsing_merge_tree/explain_6.txt new file mode 100644 index 0000000000..cd83fef05c --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_versioned_collapsing_merge_tree/explain_6.txt @@ -0,0 +1,9 @@ +InsertQuery (children 2) + Identifier zero_rows_per_granule + ExpressionList (children 6) + Identifier p + Identifier k + Identifier v1 + Identifier v2 + Identifier Sign + Identifier Version diff --git a/parser/testdata/00926_geo_to_h3/explain_3.txt b/parser/testdata/00926_geo_to_h3/explain_3.txt new file mode 100644 index 0000000000..05c1b71925 --- /dev/null +++ b/parser/testdata/00926_geo_to_h3/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table1 diff --git a/parser/testdata/00926_geo_to_h3/explain_4.txt b/parser/testdata/00926_geo_to_h3/explain_4.txt new file mode 100644 index 0000000000..05c1b71925 --- /dev/null +++ b/parser/testdata/00926_geo_to_h3/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table1 diff --git a/parser/testdata/00926_geo_to_h3/explain_5.txt b/parser/testdata/00926_geo_to_h3/explain_5.txt new file mode 100644 index 0000000000..05c1b71925 --- /dev/null +++ b/parser/testdata/00926_geo_to_h3/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table1 diff --git a/parser/testdata/00926_geo_to_h3/explain_6.txt b/parser/testdata/00926_geo_to_h3/explain_6.txt new file mode 100644 index 0000000000..05c1b71925 --- /dev/null +++ b/parser/testdata/00926_geo_to_h3/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table1 diff --git a/parser/testdata/00926_geo_to_h3/explain_7.txt b/parser/testdata/00926_geo_to_h3/explain_7.txt new file mode 100644 index 0000000000..05c1b71925 --- /dev/null +++ b/parser/testdata/00926_geo_to_h3/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table1 diff --git a/parser/testdata/00926_zookeeper_adaptive_index_granularity_replicated_merge_tree_long/explain_13.txt b/parser/testdata/00926_zookeeper_adaptive_index_granularity_replicated_merge_tree_long/explain_13.txt new file mode 100644 index 0000000000..29eb289d5e --- /dev/null +++ b/parser/testdata/00926_zookeeper_adaptive_index_granularity_replicated_merge_tree_long/explain_13.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier zero_rows_per_granule2 + ExpressionList (children 4) + Identifier p + Identifier k + Identifier v1 + Identifier v2 diff --git a/parser/testdata/00926_zookeeper_adaptive_index_granularity_replicated_merge_tree_long/explain_32.txt b/parser/testdata/00926_zookeeper_adaptive_index_granularity_replicated_merge_tree_long/explain_32.txt new file mode 100644 index 0000000000..7165e8a789 --- /dev/null +++ b/parser/testdata/00926_zookeeper_adaptive_index_granularity_replicated_merge_tree_long/explain_32.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier four_rows_per_granule1 + ExpressionList (children 4) + Identifier p + Identifier k + Identifier v1 + Identifier v2 diff --git a/parser/testdata/00926_zookeeper_adaptive_index_granularity_replicated_merge_tree_long/explain_42.txt b/parser/testdata/00926_zookeeper_adaptive_index_granularity_replicated_merge_tree_long/explain_42.txt new file mode 100644 index 0000000000..eeff185716 --- /dev/null +++ b/parser/testdata/00926_zookeeper_adaptive_index_granularity_replicated_merge_tree_long/explain_42.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier four_rows_per_granule2 + ExpressionList (children 4) + Identifier p + Identifier k + Identifier v1 + Identifier v2 diff --git a/parser/testdata/00926_zookeeper_adaptive_index_granularity_replicated_merge_tree_long/explain_6.txt b/parser/testdata/00926_zookeeper_adaptive_index_granularity_replicated_merge_tree_long/explain_6.txt new file mode 100644 index 0000000000..1214d809c6 --- /dev/null +++ b/parser/testdata/00926_zookeeper_adaptive_index_granularity_replicated_merge_tree_long/explain_6.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier zero_rows_per_granule1 + ExpressionList (children 4) + Identifier p + Identifier k + Identifier v1 + Identifier v2 diff --git a/parser/testdata/00926_zookeeper_adaptive_index_granularity_replicated_merge_tree_long/explain_61.txt b/parser/testdata/00926_zookeeper_adaptive_index_granularity_replicated_merge_tree_long/explain_61.txt new file mode 100644 index 0000000000..76870887db --- /dev/null +++ b/parser/testdata/00926_zookeeper_adaptive_index_granularity_replicated_merge_tree_long/explain_61.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier adaptive_granularity_alter1 + ExpressionList (children 4) + Identifier p + Identifier k + Identifier v1 + Identifier v2 diff --git a/parser/testdata/00926_zookeeper_adaptive_index_granularity_replicated_merge_tree_long/explain_77.txt b/parser/testdata/00926_zookeeper_adaptive_index_granularity_replicated_merge_tree_long/explain_77.txt new file mode 100644 index 0000000000..76870887db --- /dev/null +++ b/parser/testdata/00926_zookeeper_adaptive_index_granularity_replicated_merge_tree_long/explain_77.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier adaptive_granularity_alter1 + ExpressionList (children 4) + Identifier p + Identifier k + Identifier v1 + Identifier v2 diff --git a/parser/testdata/00926_zookeeper_adaptive_index_granularity_replicated_merge_tree_long/explain_86.txt b/parser/testdata/00926_zookeeper_adaptive_index_granularity_replicated_merge_tree_long/explain_86.txt new file mode 100644 index 0000000000..76870887db --- /dev/null +++ b/parser/testdata/00926_zookeeper_adaptive_index_granularity_replicated_merge_tree_long/explain_86.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier adaptive_granularity_alter1 + ExpressionList (children 4) + Identifier p + Identifier k + Identifier v1 + Identifier v2 diff --git a/parser/testdata/00927_asof_join_correct_bt/explain_10.txt b/parser/testdata/00927_asof_join_correct_bt/explain_10.txt new file mode 100644 index 0000000000..16e12ff64a --- /dev/null +++ b/parser/testdata/00927_asof_join_correct_bt/explain_10.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier B3 + ExpressionList (children 3) + Identifier k + Identifier t + Identifier b diff --git a/parser/testdata/00927_asof_join_correct_bt/explain_4.txt b/parser/testdata/00927_asof_join_correct_bt/explain_4.txt new file mode 100644 index 0000000000..4aa7ce4eba --- /dev/null +++ b/parser/testdata/00927_asof_join_correct_bt/explain_4.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier A + ExpressionList (children 3) + Identifier k + Identifier t + Identifier a diff --git a/parser/testdata/00927_asof_join_correct_bt/explain_6.txt b/parser/testdata/00927_asof_join_correct_bt/explain_6.txt new file mode 100644 index 0000000000..161339e1b4 --- /dev/null +++ b/parser/testdata/00927_asof_join_correct_bt/explain_6.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier B1 + ExpressionList (children 3) + Identifier k + Identifier t + Identifier b diff --git a/parser/testdata/00927_asof_join_correct_bt/explain_8.txt b/parser/testdata/00927_asof_join_correct_bt/explain_8.txt new file mode 100644 index 0000000000..8302512f27 --- /dev/null +++ b/parser/testdata/00927_asof_join_correct_bt/explain_8.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier B2 + ExpressionList (children 3) + Identifier k + Identifier t + Identifier b diff --git a/parser/testdata/00927_asof_join_noninclusive/explain_4.txt b/parser/testdata/00927_asof_join_noninclusive/explain_4.txt new file mode 100644 index 0000000000..4aa7ce4eba --- /dev/null +++ b/parser/testdata/00927_asof_join_noninclusive/explain_4.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier A + ExpressionList (children 3) + Identifier k + Identifier t + Identifier a diff --git a/parser/testdata/00927_asof_join_noninclusive/explain_5.txt b/parser/testdata/00927_asof_join_noninclusive/explain_5.txt new file mode 100644 index 0000000000..4aa7ce4eba --- /dev/null +++ b/parser/testdata/00927_asof_join_noninclusive/explain_5.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier A + ExpressionList (children 3) + Identifier k + Identifier t + Identifier a diff --git a/parser/testdata/00927_asof_join_noninclusive/explain_6.txt b/parser/testdata/00927_asof_join_noninclusive/explain_6.txt new file mode 100644 index 0000000000..4aa7ce4eba --- /dev/null +++ b/parser/testdata/00927_asof_join_noninclusive/explain_6.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier A + ExpressionList (children 3) + Identifier k + Identifier t + Identifier a diff --git a/parser/testdata/00927_asof_join_noninclusive/explain_8.txt b/parser/testdata/00927_asof_join_noninclusive/explain_8.txt new file mode 100644 index 0000000000..d858f62c57 --- /dev/null +++ b/parser/testdata/00927_asof_join_noninclusive/explain_8.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier B + ExpressionList (children 3) + Identifier k + Identifier t + Identifier b diff --git a/parser/testdata/00927_asof_join_noninclusive/explain_9.txt b/parser/testdata/00927_asof_join_noninclusive/explain_9.txt new file mode 100644 index 0000000000..d858f62c57 --- /dev/null +++ b/parser/testdata/00927_asof_join_noninclusive/explain_9.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier B + ExpressionList (children 3) + Identifier k + Identifier t + Identifier b diff --git a/parser/testdata/00927_asof_joins/explain_4.txt b/parser/testdata/00927_asof_joins/explain_4.txt new file mode 100644 index 0000000000..3904660c07 --- /dev/null +++ b/parser/testdata/00927_asof_joins/explain_4.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier md + ExpressionList (children 4) + Identifier key + Identifier t + Identifier bid + Identifier ask diff --git a/parser/testdata/00927_asof_joins/explain_5.txt b/parser/testdata/00927_asof_joins/explain_5.txt new file mode 100644 index 0000000000..3904660c07 --- /dev/null +++ b/parser/testdata/00927_asof_joins/explain_5.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier md + ExpressionList (children 4) + Identifier key + Identifier t + Identifier bid + Identifier ask diff --git a/parser/testdata/00927_asof_joins/explain_7.txt b/parser/testdata/00927_asof_joins/explain_7.txt new file mode 100644 index 0000000000..17b2f034cd --- /dev/null +++ b/parser/testdata/00927_asof_joins/explain_7.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier tv + ExpressionList (children 3) + Identifier key + Identifier t + Identifier tv diff --git a/parser/testdata/00927_asof_joins/explain_8.txt b/parser/testdata/00927_asof_joins/explain_8.txt new file mode 100644 index 0000000000..17b2f034cd --- /dev/null +++ b/parser/testdata/00927_asof_joins/explain_8.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier tv + ExpressionList (children 3) + Identifier key + Identifier t + Identifier tv diff --git a/parser/testdata/00930_arrayIntersect/explain_3.txt b/parser/testdata/00930_arrayIntersect/explain_3.txt new file mode 100644 index 0000000000..08950a270c --- /dev/null +++ b/parser/testdata/00930_arrayIntersect/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier array_intersect diff --git a/parser/testdata/00930_arrayIntersect/explain_4.txt b/parser/testdata/00930_arrayIntersect/explain_4.txt new file mode 100644 index 0000000000..08950a270c --- /dev/null +++ b/parser/testdata/00930_arrayIntersect/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier array_intersect diff --git a/parser/testdata/00930_arrayIntersect/explain_5.txt b/parser/testdata/00930_arrayIntersect/explain_5.txt new file mode 100644 index 0000000000..08950a270c --- /dev/null +++ b/parser/testdata/00930_arrayIntersect/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier array_intersect diff --git a/parser/testdata/00930_arrayIntersect/explain_6.txt b/parser/testdata/00930_arrayIntersect/explain_6.txt new file mode 100644 index 0000000000..08950a270c --- /dev/null +++ b/parser/testdata/00930_arrayIntersect/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier array_intersect diff --git a/parser/testdata/00931_low_cardinality_set_index_in_key_condition/explain_3.txt b/parser/testdata/00931_low_cardinality_set_index_in_key_condition/explain_3.txt new file mode 100644 index 0000000000..c1871fa6ca --- /dev/null +++ b/parser/testdata/00931_low_cardinality_set_index_in_key_condition/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_in diff --git a/parser/testdata/00932_geohash_support/explain_3.txt b/parser/testdata/00932_geohash_support/explain_3.txt new file mode 100644 index 0000000000..3013967d40 --- /dev/null +++ b/parser/testdata/00932_geohash_support/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geohash_test_data diff --git a/parser/testdata/00933_alter_ttl/explain_6.txt b/parser/testdata/00933_alter_ttl/explain_6.txt new file mode 100644 index 0000000000..3166a14b01 --- /dev/null +++ b/parser/testdata/00933_alter_ttl/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl diff --git a/parser/testdata/00933_alter_ttl/explain_7.txt b/parser/testdata/00933_alter_ttl/explain_7.txt new file mode 100644 index 0000000000..3166a14b01 --- /dev/null +++ b/parser/testdata/00933_alter_ttl/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl diff --git a/parser/testdata/00933_alter_ttl/explain_8.txt b/parser/testdata/00933_alter_ttl/explain_8.txt new file mode 100644 index 0000000000..3166a14b01 --- /dev/null +++ b/parser/testdata/00933_alter_ttl/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl diff --git a/parser/testdata/00933_alter_ttl/explain_9.txt b/parser/testdata/00933_alter_ttl/explain_9.txt new file mode 100644 index 0000000000..3166a14b01 --- /dev/null +++ b/parser/testdata/00933_alter_ttl/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl diff --git a/parser/testdata/00933_ttl_formatting/explain.txt b/parser/testdata/00933_ttl_formatting/explain.txt index 592a453d4b..1920b6adb9 100644 --- a/parser/testdata/00933_ttl_formatting/explain.txt +++ b/parser/testdata/00933_ttl_formatting/explain.txt @@ -17,4 +17,3 @@ CreateQuery tab (children 3) ExpressionList (children 1) Literal UInt64_2 Literal UInt64_1 -The query succeeded but the server error '36' was expected (query: EXPLAIN AST CREATE TABLE tab(col Int) ENGINE = MergeTree() ORDER BY tuple() TTL greater(materialize(2), 1); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/00933_ttl_simple/explain_12.txt b/parser/testdata/00933_ttl_simple/explain_12.txt new file mode 100644 index 0000000000..4491267bb0 --- /dev/null +++ b/parser/testdata/00933_ttl_simple/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl_00933_1 diff --git a/parser/testdata/00933_ttl_simple/explain_13.txt b/parser/testdata/00933_ttl_simple/explain_13.txt new file mode 100644 index 0000000000..4491267bb0 --- /dev/null +++ b/parser/testdata/00933_ttl_simple/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl_00933_1 diff --git a/parser/testdata/00933_ttl_simple/explain_14.txt b/parser/testdata/00933_ttl_simple/explain_14.txt new file mode 100644 index 0000000000..4491267bb0 --- /dev/null +++ b/parser/testdata/00933_ttl_simple/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl_00933_1 diff --git a/parser/testdata/00933_ttl_simple/explain_20.txt b/parser/testdata/00933_ttl_simple/explain_20.txt new file mode 100644 index 0000000000..4491267bb0 --- /dev/null +++ b/parser/testdata/00933_ttl_simple/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl_00933_1 diff --git a/parser/testdata/00933_ttl_simple/explain_21.txt b/parser/testdata/00933_ttl_simple/explain_21.txt new file mode 100644 index 0000000000..4491267bb0 --- /dev/null +++ b/parser/testdata/00933_ttl_simple/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl_00933_1 diff --git a/parser/testdata/00933_ttl_simple/explain_22.txt b/parser/testdata/00933_ttl_simple/explain_22.txt new file mode 100644 index 0000000000..4491267bb0 --- /dev/null +++ b/parser/testdata/00933_ttl_simple/explain_22.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl_00933_1 diff --git a/parser/testdata/00933_ttl_simple/explain_27.txt b/parser/testdata/00933_ttl_simple/explain_27.txt new file mode 100644 index 0000000000..4491267bb0 --- /dev/null +++ b/parser/testdata/00933_ttl_simple/explain_27.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl_00933_1 diff --git a/parser/testdata/00933_ttl_simple/explain_28.txt b/parser/testdata/00933_ttl_simple/explain_28.txt new file mode 100644 index 0000000000..4491267bb0 --- /dev/null +++ b/parser/testdata/00933_ttl_simple/explain_28.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl_00933_1 diff --git a/parser/testdata/00933_ttl_simple/explain_29.txt b/parser/testdata/00933_ttl_simple/explain_29.txt new file mode 100644 index 0000000000..4491267bb0 --- /dev/null +++ b/parser/testdata/00933_ttl_simple/explain_29.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl_00933_1 diff --git a/parser/testdata/00933_ttl_simple/explain_34.txt b/parser/testdata/00933_ttl_simple/explain_34.txt new file mode 100644 index 0000000000..4491267bb0 --- /dev/null +++ b/parser/testdata/00933_ttl_simple/explain_34.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl_00933_1 diff --git a/parser/testdata/00933_ttl_simple/explain_35.txt b/parser/testdata/00933_ttl_simple/explain_35.txt new file mode 100644 index 0000000000..4491267bb0 --- /dev/null +++ b/parser/testdata/00933_ttl_simple/explain_35.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl_00933_1 diff --git a/parser/testdata/00933_ttl_simple/explain_41.txt b/parser/testdata/00933_ttl_simple/explain_41.txt new file mode 100644 index 0000000000..4491267bb0 --- /dev/null +++ b/parser/testdata/00933_ttl_simple/explain_41.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl_00933_1 diff --git a/parser/testdata/00933_ttl_simple/explain_47.txt b/parser/testdata/00933_ttl_simple/explain_47.txt new file mode 100644 index 0000000000..4491267bb0 --- /dev/null +++ b/parser/testdata/00933_ttl_simple/explain_47.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl_00933_1 diff --git a/parser/testdata/00933_ttl_simple/explain_5.txt b/parser/testdata/00933_ttl_simple/explain_5.txt new file mode 100644 index 0000000000..4491267bb0 --- /dev/null +++ b/parser/testdata/00933_ttl_simple/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl_00933_1 diff --git a/parser/testdata/00933_ttl_simple/explain_53.txt b/parser/testdata/00933_ttl_simple/explain_53.txt new file mode 100644 index 0000000000..4491267bb0 --- /dev/null +++ b/parser/testdata/00933_ttl_simple/explain_53.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl_00933_1 diff --git a/parser/testdata/00933_ttl_simple/explain_59.txt b/parser/testdata/00933_ttl_simple/explain_59.txt new file mode 100644 index 0000000000..4491267bb0 --- /dev/null +++ b/parser/testdata/00933_ttl_simple/explain_59.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl_00933_1 diff --git a/parser/testdata/00933_ttl_simple/explain_6.txt b/parser/testdata/00933_ttl_simple/explain_6.txt new file mode 100644 index 0000000000..4491267bb0 --- /dev/null +++ b/parser/testdata/00933_ttl_simple/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl_00933_1 diff --git a/parser/testdata/00933_ttl_with_default/explain_11.txt b/parser/testdata/00933_ttl_with_default/explain_11.txt new file mode 100644 index 0000000000..ecfabf2a14 --- /dev/null +++ b/parser/testdata/00933_ttl_with_default/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl_00933_2 diff --git a/parser/testdata/00933_ttl_with_default/explain_12.txt b/parser/testdata/00933_ttl_with_default/explain_12.txt new file mode 100644 index 0000000000..ecfabf2a14 --- /dev/null +++ b/parser/testdata/00933_ttl_with_default/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl_00933_2 diff --git a/parser/testdata/00933_ttl_with_default/explain_13.txt b/parser/testdata/00933_ttl_with_default/explain_13.txt new file mode 100644 index 0000000000..ecfabf2a14 --- /dev/null +++ b/parser/testdata/00933_ttl_with_default/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl_00933_2 diff --git a/parser/testdata/00933_ttl_with_default/explain_14.txt b/parser/testdata/00933_ttl_with_default/explain_14.txt new file mode 100644 index 0000000000..ecfabf2a14 --- /dev/null +++ b/parser/testdata/00933_ttl_with_default/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl_00933_2 diff --git a/parser/testdata/00933_ttl_with_default/explain_19.txt b/parser/testdata/00933_ttl_with_default/explain_19.txt new file mode 100644 index 0000000000..ecfabf2a14 --- /dev/null +++ b/parser/testdata/00933_ttl_with_default/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl_00933_2 diff --git a/parser/testdata/00933_ttl_with_default/explain_20.txt b/parser/testdata/00933_ttl_with_default/explain_20.txt new file mode 100644 index 0000000000..ecfabf2a14 --- /dev/null +++ b/parser/testdata/00933_ttl_with_default/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl_00933_2 diff --git a/parser/testdata/00933_ttl_with_default/explain_21.txt b/parser/testdata/00933_ttl_with_default/explain_21.txt new file mode 100644 index 0000000000..ecfabf2a14 --- /dev/null +++ b/parser/testdata/00933_ttl_with_default/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl_00933_2 diff --git a/parser/testdata/00933_ttl_with_default/explain_22.txt b/parser/testdata/00933_ttl_with_default/explain_22.txt new file mode 100644 index 0000000000..ecfabf2a14 --- /dev/null +++ b/parser/testdata/00933_ttl_with_default/explain_22.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl_00933_2 diff --git a/parser/testdata/00933_ttl_with_default/explain_3.txt b/parser/testdata/00933_ttl_with_default/explain_3.txt new file mode 100644 index 0000000000..ecfabf2a14 --- /dev/null +++ b/parser/testdata/00933_ttl_with_default/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl_00933_2 diff --git a/parser/testdata/00933_ttl_with_default/explain_4.txt b/parser/testdata/00933_ttl_with_default/explain_4.txt new file mode 100644 index 0000000000..ecfabf2a14 --- /dev/null +++ b/parser/testdata/00933_ttl_with_default/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl_00933_2 diff --git a/parser/testdata/00933_ttl_with_default/explain_5.txt b/parser/testdata/00933_ttl_with_default/explain_5.txt new file mode 100644 index 0000000000..ecfabf2a14 --- /dev/null +++ b/parser/testdata/00933_ttl_with_default/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl_00933_2 diff --git a/parser/testdata/00933_ttl_with_default/explain_6.txt b/parser/testdata/00933_ttl_with_default/explain_6.txt new file mode 100644 index 0000000000..ecfabf2a14 --- /dev/null +++ b/parser/testdata/00933_ttl_with_default/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl_00933_2 diff --git a/parser/testdata/00936_crc_functions/explain_3.txt b/parser/testdata/00936_crc_functions/explain_3.txt new file mode 100644 index 0000000000..05c1b71925 --- /dev/null +++ b/parser/testdata/00936_crc_functions/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table1 diff --git a/parser/testdata/00936_crc_functions/explain_4.txt b/parser/testdata/00936_crc_functions/explain_4.txt new file mode 100644 index 0000000000..05c1b71925 --- /dev/null +++ b/parser/testdata/00936_crc_functions/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table1 diff --git a/parser/testdata/00936_crc_functions/explain_5.txt b/parser/testdata/00936_crc_functions/explain_5.txt new file mode 100644 index 0000000000..05c1b71925 --- /dev/null +++ b/parser/testdata/00936_crc_functions/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table1 diff --git a/parser/testdata/00936_crc_functions/explain_6.txt b/parser/testdata/00936_crc_functions/explain_6.txt new file mode 100644 index 0000000000..05c1b71925 --- /dev/null +++ b/parser/testdata/00936_crc_functions/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table1 diff --git a/parser/testdata/00936_crc_functions/explain_7.txt b/parser/testdata/00936_crc_functions/explain_7.txt new file mode 100644 index 0000000000..05c1b71925 --- /dev/null +++ b/parser/testdata/00936_crc_functions/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table1 diff --git a/parser/testdata/00936_function_result_with_operator_in/explain_4.txt b/parser/testdata/00936_function_result_with_operator_in/explain_4.txt new file mode 100644 index 0000000000..68ae79b1a3 --- /dev/null +++ b/parser/testdata/00936_function_result_with_operator_in/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier samples diff --git a/parser/testdata/00937_ipv4_cidr_range/explain_4.txt b/parser/testdata/00937_ipv4_cidr_range/explain_4.txt new file mode 100644 index 0000000000..e3e4cb65b1 --- /dev/null +++ b/parser/testdata/00937_ipv4_cidr_range/explain_4.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier ipv4_range + ExpressionList (children 2) + Identifier ip + Identifier cidr diff --git a/parser/testdata/00938_dataset_test/explain_3.txt b/parser/testdata/00938_dataset_test/explain_3.txt new file mode 100644 index 0000000000..c4bde7d911 --- /dev/null +++ b/parser/testdata/00938_dataset_test/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier defaults diff --git a/parser/testdata/00938_ipv6_cidr_range/explain_9.txt b/parser/testdata/00938_ipv6_cidr_range/explain_9.txt new file mode 100644 index 0000000000..f17b049aca --- /dev/null +++ b/parser/testdata/00938_ipv6_cidr_range/explain_9.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier ipv6_range + ExpressionList (children 2) + Identifier ip + Identifier cidr diff --git a/parser/testdata/00939_limit_by_offset/explain_3.txt b/parser/testdata/00939_limit_by_offset/explain_3.txt new file mode 100644 index 0000000000..26606d5a06 --- /dev/null +++ b/parser/testdata/00939_limit_by_offset/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier limit_by diff --git a/parser/testdata/00939_test_null_in/explain_3.txt b/parser/testdata/00939_test_null_in/explain_3.txt new file mode 100644 index 0000000000..7c20d29968 --- /dev/null +++ b/parser/testdata/00939_test_null_in/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nullt diff --git a/parser/testdata/00940_order_by_read_in_order/explain_4.txt b/parser/testdata/00940_order_by_read_in_order/explain_4.txt new file mode 100644 index 0000000000..1a34d04db6 --- /dev/null +++ b/parser/testdata/00940_order_by_read_in_order/explain_4.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier pk_order + ExpressionList (children 4) + Identifier a + Identifier b + Identifier c + Identifier d diff --git a/parser/testdata/00940_order_by_read_in_order/explain_5.txt b/parser/testdata/00940_order_by_read_in_order/explain_5.txt new file mode 100644 index 0000000000..1a34d04db6 --- /dev/null +++ b/parser/testdata/00940_order_by_read_in_order/explain_5.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier pk_order + ExpressionList (children 4) + Identifier a + Identifier b + Identifier c + Identifier d diff --git a/parser/testdata/00940_order_by_read_in_order/explain_6.txt b/parser/testdata/00940_order_by_read_in_order/explain_6.txt new file mode 100644 index 0000000000..1a34d04db6 --- /dev/null +++ b/parser/testdata/00940_order_by_read_in_order/explain_6.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier pk_order + ExpressionList (children 4) + Identifier a + Identifier b + Identifier c + Identifier d diff --git a/parser/testdata/00942_mv_rename_table/explain_6.txt b/parser/testdata/00942_mv_rename_table/explain_6.txt new file mode 100644 index 0000000000..1ddb5ecc07 --- /dev/null +++ b/parser/testdata/00942_mv_rename_table/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier src_00942 diff --git a/parser/testdata/00943_mv_rename_without_inner_table/explain_11.txt b/parser/testdata/00943_mv_rename_without_inner_table/explain_11.txt new file mode 100644 index 0000000000..37b584e2c2 --- /dev/null +++ b/parser/testdata/00943_mv_rename_without_inner_table/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier src diff --git a/parser/testdata/00943_mv_rename_without_inner_table/explain_8.txt b/parser/testdata/00943_mv_rename_without_inner_table/explain_8.txt new file mode 100644 index 0000000000..37b584e2c2 --- /dev/null +++ b/parser/testdata/00943_mv_rename_without_inner_table/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier src diff --git a/parser/testdata/00944_minmax_nan/explain_4.txt b/parser/testdata/00944_minmax_nan/explain_4.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/00944_minmax_nan/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/00944_minmax_null/explain_3.txt b/parser/testdata/00944_minmax_null/explain_3.txt new file mode 100644 index 0000000000..5db2f12b41 --- /dev/null +++ b/parser/testdata/00944_minmax_null/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier min_max_with_nullable_string + ExpressionList (children 1) + Identifier t diff --git a/parser/testdata/00944_minmax_null/explain_5.txt b/parser/testdata/00944_minmax_null/explain_5.txt new file mode 100644 index 0000000000..1a2aaf0d8c --- /dev/null +++ b/parser/testdata/00944_minmax_null/explain_5.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier min_max_with_nullable_string + ExpressionList (children 2) + Identifier t + Identifier nullable_str diff --git a/parser/testdata/00944_minmax_null/explain_7.txt b/parser/testdata/00944_minmax_null/explain_7.txt new file mode 100644 index 0000000000..1a2aaf0d8c --- /dev/null +++ b/parser/testdata/00944_minmax_null/explain_7.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier min_max_with_nullable_string + ExpressionList (children 2) + Identifier t + Identifier nullable_str diff --git a/parser/testdata/00944_ml_test/explain_3.txt b/parser/testdata/00944_ml_test/explain_3.txt new file mode 100644 index 0000000000..c4bde7d911 --- /dev/null +++ b/parser/testdata/00944_ml_test/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier defaults diff --git a/parser/testdata/00945_bloom_filter_index/explain_241.txt b/parser/testdata/00945_bloom_filter_index/explain_241.txt new file mode 100644 index 0000000000..a3b5536ec8 --- /dev/null +++ b/parser/testdata/00945_bloom_filter_index/explain_241.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_bf_indexOf diff --git a/parser/testdata/00945_bloom_filter_index/explain_242.txt b/parser/testdata/00945_bloom_filter_index/explain_242.txt new file mode 100644 index 0000000000..a3b5536ec8 --- /dev/null +++ b/parser/testdata/00945_bloom_filter_index/explain_242.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_bf_indexOf diff --git a/parser/testdata/00945_ml_test/explain_3.txt b/parser/testdata/00945_ml_test/explain_3.txt new file mode 100644 index 0000000000..c4bde7d911 --- /dev/null +++ b/parser/testdata/00945_ml_test/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier defaults diff --git a/parser/testdata/00946_ml_test/explain_3.txt b/parser/testdata/00946_ml_test/explain_3.txt new file mode 100644 index 0000000000..c4bde7d911 --- /dev/null +++ b/parser/testdata/00946_ml_test/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier defaults diff --git a/parser/testdata/00947_ml_test/explain_12.txt b/parser/testdata/00947_ml_test/explain_12.txt new file mode 100644 index 0000000000..920af83561 --- /dev/null +++ b/parser/testdata/00947_ml_test/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier grouptest diff --git a/parser/testdata/00947_ml_test/explain_3.txt b/parser/testdata/00947_ml_test/explain_3.txt new file mode 100644 index 0000000000..c4bde7d911 --- /dev/null +++ b/parser/testdata/00947_ml_test/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier defaults diff --git a/parser/testdata/00948_values_interpreter_template/explain_11.txt b/parser/testdata/00948_values_interpreter_template/explain_11.txt new file mode 100644 index 0000000000..c1989ec6c8 --- /dev/null +++ b/parser/testdata/00948_values_interpreter_template/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier type_names diff --git a/parser/testdata/00948_values_interpreter_template/explain_12.txt b/parser/testdata/00948_values_interpreter_template/explain_12.txt new file mode 100644 index 0000000000..156786485c --- /dev/null +++ b/parser/testdata/00948_values_interpreter_template/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier values_template diff --git a/parser/testdata/00948_values_interpreter_template/explain_13.txt b/parser/testdata/00948_values_interpreter_template/explain_13.txt new file mode 100644 index 0000000000..1519a21a3f --- /dev/null +++ b/parser/testdata/00948_values_interpreter_template/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier values_template_nullable diff --git a/parser/testdata/00948_values_interpreter_template/explain_14.txt b/parser/testdata/00948_values_interpreter_template/explain_14.txt new file mode 100644 index 0000000000..e385fad533 --- /dev/null +++ b/parser/testdata/00948_values_interpreter_template/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier values_template_fallback diff --git a/parser/testdata/00948_values_interpreter_template/explain_15.txt b/parser/testdata/00948_values_interpreter_template/explain_15.txt new file mode 100644 index 0000000000..e385fad533 --- /dev/null +++ b/parser/testdata/00948_values_interpreter_template/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier values_template_fallback diff --git a/parser/testdata/00948_values_interpreter_template/explain_16.txt b/parser/testdata/00948_values_interpreter_template/explain_16.txt new file mode 100644 index 0000000000..e385fad533 --- /dev/null +++ b/parser/testdata/00948_values_interpreter_template/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier values_template_fallback diff --git a/parser/testdata/00948_values_interpreter_template/explain_17.txt b/parser/testdata/00948_values_interpreter_template/explain_17.txt new file mode 100644 index 0000000000..e385fad533 --- /dev/null +++ b/parser/testdata/00948_values_interpreter_template/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier values_template_fallback diff --git a/parser/testdata/00948_values_interpreter_template/explain_19.txt b/parser/testdata/00948_values_interpreter_template/explain_19.txt new file mode 100644 index 0000000000..c1989ec6c8 --- /dev/null +++ b/parser/testdata/00948_values_interpreter_template/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier type_names diff --git a/parser/testdata/00948_values_interpreter_template/explain_21.txt b/parser/testdata/00948_values_interpreter_template/explain_21.txt new file mode 100644 index 0000000000..e385fad533 --- /dev/null +++ b/parser/testdata/00948_values_interpreter_template/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier values_template_fallback diff --git a/parser/testdata/00948_values_interpreter_template/explain_22.txt b/parser/testdata/00948_values_interpreter_template/explain_22.txt new file mode 100644 index 0000000000..e385fad533 --- /dev/null +++ b/parser/testdata/00948_values_interpreter_template/explain_22.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier values_template_fallback diff --git a/parser/testdata/00950_default_prewhere/explain_3.txt b/parser/testdata/00950_default_prewhere/explain_3.txt new file mode 100644 index 0000000000..dd14086b83 --- /dev/null +++ b/parser/testdata/00950_default_prewhere/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_generic_events_all diff --git a/parser/testdata/00950_default_prewhere/explain_9.txt b/parser/testdata/00950_default_prewhere/explain_9.txt new file mode 100644 index 0000000000..dd14086b83 --- /dev/null +++ b/parser/testdata/00950_default_prewhere/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_generic_events_all diff --git a/parser/testdata/00950_dict_get/explain_10.txt b/parser/testdata/00950_dict_get/explain_10.txt new file mode 100644 index 0000000000..f1330d7314 --- /dev/null +++ b/parser/testdata/00950_dict_get/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier decimals diff --git a/parser/testdata/00950_dict_get/explain_8.txt b/parser/testdata/00950_dict_get/explain_8.txt new file mode 100644 index 0000000000..07e073732f --- /dev/null +++ b/parser/testdata/00950_dict_get/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ints diff --git a/parser/testdata/00950_dict_get/explain_9.txt b/parser/testdata/00950_dict_get/explain_9.txt new file mode 100644 index 0000000000..3f6f5e6452 --- /dev/null +++ b/parser/testdata/00950_dict_get/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier strings diff --git a/parser/testdata/00950_test_double_delta_codec/explain_3.txt b/parser/testdata/00950_test_double_delta_codec/explain_3.txt new file mode 100644 index 0000000000..b58c7a7ce7 --- /dev/null +++ b/parser/testdata/00950_test_double_delta_codec/explain_3.txt @@ -0,0 +1,8 @@ +InsertQuery (children 2) + Identifier codecTest + ExpressionList (children 5) + Identifier key + Identifier ref_valueU64 + Identifier valueU64 + Identifier ref_valueI64 + Identifier valueI64 diff --git a/parser/testdata/00950_test_double_delta_codec_types/explain_11.txt b/parser/testdata/00950_test_double_delta_codec_types/explain_11.txt new file mode 100644 index 0000000000..1d7b34349f --- /dev/null +++ b/parser/testdata/00950_test_double_delta_codec_types/explain_11.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier tab + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/00950_test_double_delta_codec_types/explain_12.txt b/parser/testdata/00950_test_double_delta_codec_types/explain_12.txt new file mode 100644 index 0000000000..1d7b34349f --- /dev/null +++ b/parser/testdata/00950_test_double_delta_codec_types/explain_12.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier tab + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/00950_test_double_delta_codec_types/explain_17.txt b/parser/testdata/00950_test_double_delta_codec_types/explain_17.txt new file mode 100644 index 0000000000..567f667323 --- /dev/null +++ b/parser/testdata/00950_test_double_delta_codec_types/explain_17.txt @@ -0,0 +1,19 @@ +CreateQuery v0 (children 5) + Identifier v0 + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration c0 (children 2) + DataType String + Function CODEC (children 1) + ExpressionList (children 1) + Function DoubleDelta (children 1) + ExpressionList (children 1) + Literal UInt64_2 + Refresh strategy definition (children 1) + TimeInterval + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'a\' (alias c0) + ViewTargets diff --git a/parser/testdata/00950_test_double_delta_codec_types/explain_8.txt b/parser/testdata/00950_test_double_delta_codec_types/explain_8.txt new file mode 100644 index 0000000000..1d7b34349f --- /dev/null +++ b/parser/testdata/00950_test_double_delta_codec_types/explain_8.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier tab + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/00951_ngram_search/explain_31.txt b/parser/testdata/00951_ngram_search/explain_31.txt new file mode 100644 index 0000000000..513217eb7e --- /dev/null +++ b/parser/testdata/00951_ngram_search/explain_31.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_entry_distance diff --git a/parser/testdata/00952_insert_into_distributed_with_materialized_column/explain_10.txt b/parser/testdata/00952_insert_into_distributed_with_materialized_column/explain_10.txt new file mode 100644 index 0000000000..7194b86139 --- /dev/null +++ b/parser/testdata/00952_insert_into_distributed_with_materialized_column/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier distributed_00952 diff --git a/parser/testdata/00952_insert_into_distributed_with_materialized_column/explain_22.txt b/parser/testdata/00952_insert_into_distributed_with_materialized_column/explain_22.txt new file mode 100644 index 0000000000..7194b86139 --- /dev/null +++ b/parser/testdata/00952_insert_into_distributed_with_materialized_column/explain_22.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier distributed_00952 diff --git a/parser/testdata/00952_insert_into_distributed_with_materialized_column/explain_35.txt b/parser/testdata/00952_insert_into_distributed_with_materialized_column/explain_35.txt new file mode 100644 index 0000000000..2d0fc81f0b --- /dev/null +++ b/parser/testdata/00952_insert_into_distributed_with_materialized_column/explain_35.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier distributed_00952 + ExpressionList (children 2) + Identifier date + Identifier value diff --git a/parser/testdata/00952_insert_into_distributed_with_materialized_column/explain_47.txt b/parser/testdata/00952_insert_into_distributed_with_materialized_column/explain_47.txt new file mode 100644 index 0000000000..2d0fc81f0b --- /dev/null +++ b/parser/testdata/00952_insert_into_distributed_with_materialized_column/explain_47.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier distributed_00952 + ExpressionList (children 2) + Identifier date + Identifier value diff --git a/parser/testdata/00952_part_frozen_info/explain_11.txt b/parser/testdata/00952_part_frozen_info/explain_11.txt new file mode 100644 index 0000000000..852eaa3f52 --- /dev/null +++ b/parser/testdata/00952_part_frozen_info/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier part_info diff --git a/parser/testdata/00952_part_frozen_info/explain_3.txt b/parser/testdata/00952_part_frozen_info/explain_3.txt new file mode 100644 index 0000000000..852eaa3f52 --- /dev/null +++ b/parser/testdata/00952_part_frozen_info/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier part_info diff --git a/parser/testdata/00955_test_final_mark/explain_15.txt b/parser/testdata/00955_test_final_mark/explain_15.txt new file mode 100644 index 0000000000..7d95b8a4e2 --- /dev/null +++ b/parser/testdata/00955_test_final_mark/explain_15.txt @@ -0,0 +1,9 @@ +InsertQuery (children 2) + Identifier mt_with_pk + ExpressionList (children 6) + Identifier d + Identifier x + Identifier y + Identifier z + Identifier n.Age + Identifier n.Name diff --git a/parser/testdata/00955_test_final_mark/explain_27.txt b/parser/testdata/00955_test_final_mark/explain_27.txt new file mode 100644 index 0000000000..7d4146fa95 --- /dev/null +++ b/parser/testdata/00955_test_final_mark/explain_27.txt @@ -0,0 +1,10 @@ +InsertQuery (children 2) + Identifier mt_with_pk + ExpressionList (children 7) + Identifier d + Identifier x + Identifier y + Identifier z + Identifier n.Age + Identifier n.Name + Identifier w diff --git a/parser/testdata/00955_test_final_mark/explain_35.txt b/parser/testdata/00955_test_final_mark/explain_35.txt new file mode 100644 index 0000000000..d6923319aa --- /dev/null +++ b/parser/testdata/00955_test_final_mark/explain_35.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier alter_attach diff --git a/parser/testdata/00955_test_final_mark/explain_38.txt b/parser/testdata/00955_test_final_mark/explain_38.txt new file mode 100644 index 0000000000..d6923319aa --- /dev/null +++ b/parser/testdata/00955_test_final_mark/explain_38.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier alter_attach diff --git a/parser/testdata/00955_test_final_mark/explain_43.txt b/parser/testdata/00955_test_final_mark/explain_43.txt new file mode 100644 index 0000000000..d6923319aa --- /dev/null +++ b/parser/testdata/00955_test_final_mark/explain_43.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier alter_attach diff --git a/parser/testdata/00955_test_final_mark/explain_5.txt b/parser/testdata/00955_test_final_mark/explain_5.txt new file mode 100644 index 0000000000..7d95b8a4e2 --- /dev/null +++ b/parser/testdata/00955_test_final_mark/explain_5.txt @@ -0,0 +1,9 @@ +InsertQuery (children 2) + Identifier mt_with_pk + ExpressionList (children 6) + Identifier d + Identifier x + Identifier y + Identifier z + Identifier n.Age + Identifier n.Name diff --git a/parser/testdata/00955_test_final_mark/explain_51.txt b/parser/testdata/00955_test_final_mark/explain_51.txt new file mode 100644 index 0000000000..9d285dfd89 --- /dev/null +++ b/parser/testdata/00955_test_final_mark/explain_51.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier alter_update_00806 + ExpressionList (children 2) + Identifier d + Identifier e diff --git a/parser/testdata/00955_test_final_mark/explain_52.txt b/parser/testdata/00955_test_final_mark/explain_52.txt new file mode 100644 index 0000000000..9d285dfd89 --- /dev/null +++ b/parser/testdata/00955_test_final_mark/explain_52.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier alter_update_00806 + ExpressionList (children 2) + Identifier d + Identifier e diff --git a/parser/testdata/00955_test_final_mark/explain_59.txt b/parser/testdata/00955_test_final_mark/explain_59.txt new file mode 100644 index 0000000000..7de899fdc8 --- /dev/null +++ b/parser/testdata/00955_test_final_mark/explain_59.txt @@ -0,0 +1,9 @@ +InsertQuery (children 2) + Identifier mt_without_pk + ExpressionList (children 6) + Identifier d + Identifier x + Identifier y + Identifier z + Identifier n.Age + Identifier n.Name diff --git a/parser/testdata/00955_test_final_mark/explain_62.txt b/parser/testdata/00955_test_final_mark/explain_62.txt new file mode 100644 index 0000000000..7de899fdc8 --- /dev/null +++ b/parser/testdata/00955_test_final_mark/explain_62.txt @@ -0,0 +1,9 @@ +InsertQuery (children 2) + Identifier mt_without_pk + ExpressionList (children 6) + Identifier d + Identifier x + Identifier y + Identifier z + Identifier n.Age + Identifier n.Name diff --git a/parser/testdata/00955_test_final_mark/explain_70.txt b/parser/testdata/00955_test_final_mark/explain_70.txt new file mode 100644 index 0000000000..b448515cfd --- /dev/null +++ b/parser/testdata/00955_test_final_mark/explain_70.txt @@ -0,0 +1,9 @@ +InsertQuery (children 2) + Identifier mt_with_small_granularity + ExpressionList (children 6) + Identifier d + Identifier x + Identifier y + Identifier z + Identifier n.Age + Identifier n.Name diff --git a/parser/testdata/00955_test_final_mark/explain_73.txt b/parser/testdata/00955_test_final_mark/explain_73.txt new file mode 100644 index 0000000000..b448515cfd --- /dev/null +++ b/parser/testdata/00955_test_final_mark/explain_73.txt @@ -0,0 +1,9 @@ +InsertQuery (children 2) + Identifier mt_with_small_granularity + ExpressionList (children 6) + Identifier d + Identifier x + Identifier y + Identifier z + Identifier n.Age + Identifier n.Name diff --git a/parser/testdata/00955_test_final_mark/explain_9.txt b/parser/testdata/00955_test_final_mark/explain_9.txt new file mode 100644 index 0000000000..7d95b8a4e2 --- /dev/null +++ b/parser/testdata/00955_test_final_mark/explain_9.txt @@ -0,0 +1,9 @@ +InsertQuery (children 2) + Identifier mt_with_pk + ExpressionList (children 6) + Identifier d + Identifier x + Identifier y + Identifier z + Identifier n.Age + Identifier n.Name diff --git a/parser/testdata/00957_delta_diff_bug/explain_4.txt b/parser/testdata/00957_delta_diff_bug/explain_4.txt new file mode 100644 index 0000000000..48f5315a8d --- /dev/null +++ b/parser/testdata/00957_delta_diff_bug/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier segfault_table diff --git a/parser/testdata/00961_check_table/explain_15.txt b/parser/testdata/00961_check_table/explain_15.txt new file mode 100644 index 0000000000..ff67614a63 --- /dev/null +++ b/parser/testdata/00961_check_table/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mt_table diff --git a/parser/testdata/00961_check_table/explain_18.txt b/parser/testdata/00961_check_table/explain_18.txt new file mode 100644 index 0000000000..ff67614a63 --- /dev/null +++ b/parser/testdata/00961_check_table/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mt_table diff --git a/parser/testdata/00961_check_table/explain_5.txt b/parser/testdata/00961_check_table/explain_5.txt new file mode 100644 index 0000000000..ff67614a63 --- /dev/null +++ b/parser/testdata/00961_check_table/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mt_table diff --git a/parser/testdata/00961_check_table/explain_6.txt b/parser/testdata/00961_check_table/explain_6.txt new file mode 100644 index 0000000000..ff67614a63 --- /dev/null +++ b/parser/testdata/00961_check_table/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mt_table diff --git a/parser/testdata/00961_check_table/explain_8.txt b/parser/testdata/00961_check_table/explain_8.txt new file mode 100644 index 0000000000..ff67614a63 --- /dev/null +++ b/parser/testdata/00961_check_table/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mt_table diff --git a/parser/testdata/00961_checksums_in_system_parts_columns_table/explain_3.txt b/parser/testdata/00961_checksums_in_system_parts_columns_table/explain_3.txt new file mode 100644 index 0000000000..edc2ecba16 --- /dev/null +++ b/parser/testdata/00961_checksums_in_system_parts_columns_table/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_00961 diff --git a/parser/testdata/00962_enumNotExect/explain_3.txt b/parser/testdata/00962_enumNotExect/explain_3.txt new file mode 100644 index 0000000000..845452c751 --- /dev/null +++ b/parser/testdata/00962_enumNotExect/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_enum8 diff --git a/parser/testdata/00962_enumNotExect/explain_9.txt b/parser/testdata/00962_enumNotExect/explain_9.txt new file mode 100644 index 0000000000..f53cd54256 --- /dev/null +++ b/parser/testdata/00962_enumNotExect/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_enum16 diff --git a/parser/testdata/00963_startsWith_force_primary_key/explain_3.txt b/parser/testdata/00963_startsWith_force_primary_key/explain_3.txt new file mode 100644 index 0000000000..2e784ac9b9 --- /dev/null +++ b/parser/testdata/00963_startsWith_force_primary_key/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test_startsWith + ExpressionList (children 1) + Identifier a diff --git a/parser/testdata/00969_columns_clause/explain_3.txt b/parser/testdata/00969_columns_clause/explain_3.txt new file mode 100644 index 0000000000..b819baf94d --- /dev/null +++ b/parser/testdata/00969_columns_clause/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ColumnsClauseTest diff --git a/parser/testdata/00973_uniq_non_associativity/explain.txt b/parser/testdata/00973_uniq_non_associativity/explain.txt new file mode 100644 index 0000000000..9d0a506ae4 --- /dev/null +++ b/parser/testdata/00973_uniq_non_associativity/explain.txt @@ -0,0 +1,2 @@ +DropQuery part_a (children 1) + Identifier part_a diff --git a/parser/testdata/00974_bitmapContains_with_primary_key/explain_3.txt b/parser/testdata/00974_bitmapContains_with_primary_key/explain_3.txt new file mode 100644 index 0000000000..b7b144d40e --- /dev/null +++ b/parser/testdata/00974_bitmapContains_with_primary_key/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 1) + Identifier num diff --git a/parser/testdata/00974_distributed_join_on/explain_7.txt b/parser/testdata/00974_distributed_join_on/explain_7.txt new file mode 100644 index 0000000000..4cb166b037 --- /dev/null +++ b/parser/testdata/00974_distributed_join_on/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier source_table1 diff --git a/parser/testdata/00974_distributed_join_on/explain_8.txt b/parser/testdata/00974_distributed_join_on/explain_8.txt new file mode 100644 index 0000000000..f61f092e1c --- /dev/null +++ b/parser/testdata/00974_distributed_join_on/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier source_table2 diff --git a/parser/testdata/00974_final_predicate_push_down/explain_4.txt b/parser/testdata/00974_final_predicate_push_down/explain_4.txt new file mode 100644 index 0000000000..9774826166 --- /dev/null +++ b/parser/testdata/00974_final_predicate_push_down/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_00974 diff --git a/parser/testdata/00974_final_predicate_push_down/explain_5.txt b/parser/testdata/00974_final_predicate_push_down/explain_5.txt new file mode 100644 index 0000000000..9774826166 --- /dev/null +++ b/parser/testdata/00974_final_predicate_push_down/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_00974 diff --git a/parser/testdata/00974_fix_join_on/explain_7.txt b/parser/testdata/00974_fix_join_on/explain_7.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/00974_fix_join_on/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/00974_fix_join_on/explain_8.txt b/parser/testdata/00974_fix_join_on/explain_8.txt new file mode 100644 index 0000000000..df4a687bc0 --- /dev/null +++ b/parser/testdata/00974_fix_join_on/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2 diff --git a/parser/testdata/00974_fix_join_on/explain_9.txt b/parser/testdata/00974_fix_join_on/explain_9.txt new file mode 100644 index 0000000000..ffa366159a --- /dev/null +++ b/parser/testdata/00974_fix_join_on/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t3 diff --git a/parser/testdata/00974_full_outer_join/explain.txt b/parser/testdata/00974_full_outer_join/explain.txt new file mode 100644 index 0000000000..0652302e42 --- /dev/null +++ b/parser/testdata/00974_full_outer_join/explain.txt @@ -0,0 +1,68 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 3) + Identifier q0.dt + Identifier q0.cnt + Identifier q1.cnt2 + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias q0) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Function toDate (alias dt) (children 1) + ExpressionList (children 1) + Function addDays (children 1) + ExpressionList (children 2) + Function toDate (children 1) + ExpressionList (children 1) + Literal \'2015-12-01\' + Identifier number + Function sum (alias cnt) (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_2 + ExpressionList (children 1) + Identifier dt + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias q1) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Function toDate (alias dt) (children 1) + ExpressionList (children 1) + Function addDays (children 1) + ExpressionList (children 2) + Function toDate (children 1) + ExpressionList (children 1) + Literal \'2015-12-01\' + Identifier number + Function sum (alias cnt2) (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_5 + ExpressionList (children 1) + Identifier dt + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier q0.dt + Identifier q1.dt + ExpressionList (children 1) + OrderByElement (children 1) + Identifier q1.cnt2 diff --git a/parser/testdata/00974_query_profiler/explain_16.txt b/parser/testdata/00974_query_profiler/explain_16.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/00974_query_profiler/explain_16.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/00974_query_profiler/explain_8.txt b/parser/testdata/00974_query_profiler/explain_8.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/00974_query_profiler/explain_8.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/00975_recursive_materialized_view/explain_9.txt b/parser/testdata/00975_recursive_materialized_view/explain_9.txt new file mode 100644 index 0000000000..37b584e2c2 --- /dev/null +++ b/parser/testdata/00975_recursive_materialized_view/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier src diff --git a/parser/testdata/00975_sample_prewhere_distributed/explain_2.txt b/parser/testdata/00975_sample_prewhere_distributed/explain_2.txt new file mode 100644 index 0000000000..59c9754e7c --- /dev/null +++ b/parser/testdata/00975_sample_prewhere_distributed/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier sample_prewhere diff --git a/parser/testdata/00975_sample_prewhere_distributed/explain_3.txt b/parser/testdata/00975_sample_prewhere_distributed/explain_3.txt new file mode 100644 index 0000000000..59c9754e7c --- /dev/null +++ b/parser/testdata/00975_sample_prewhere_distributed/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier sample_prewhere diff --git a/parser/testdata/00975_sample_prewhere_distributed/explain_4.txt b/parser/testdata/00975_sample_prewhere_distributed/explain_4.txt new file mode 100644 index 0000000000..59c9754e7c --- /dev/null +++ b/parser/testdata/00975_sample_prewhere_distributed/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier sample_prewhere diff --git a/parser/testdata/00976_shard_low_cardinality_achimbab/explain_3.txt b/parser/testdata/00976_shard_low_cardinality_achimbab/explain_3.txt new file mode 100644 index 0000000000..d5878435f0 --- /dev/null +++ b/parser/testdata/00976_shard_low_cardinality_achimbab/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier han_1 diff --git a/parser/testdata/00976_system_stop_ttl_merges/explain_4.txt b/parser/testdata/00976_system_stop_ttl_merges/explain_4.txt new file mode 100644 index 0000000000..3166a14b01 --- /dev/null +++ b/parser/testdata/00976_system_stop_ttl_merges/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl diff --git a/parser/testdata/00976_system_stop_ttl_merges/explain_5.txt b/parser/testdata/00976_system_stop_ttl_merges/explain_5.txt new file mode 100644 index 0000000000..3166a14b01 --- /dev/null +++ b/parser/testdata/00976_system_stop_ttl_merges/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl diff --git a/parser/testdata/00976_ttl_with_old_parts/explain_3.txt b/parser/testdata/00976_ttl_with_old_parts/explain_3.txt new file mode 100644 index 0000000000..3166a14b01 --- /dev/null +++ b/parser/testdata/00976_ttl_with_old_parts/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl diff --git a/parser/testdata/00976_ttl_with_old_parts/explain_4.txt b/parser/testdata/00976_ttl_with_old_parts/explain_4.txt new file mode 100644 index 0000000000..3166a14b01 --- /dev/null +++ b/parser/testdata/00976_ttl_with_old_parts/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl diff --git a/parser/testdata/00976_ttl_with_old_parts/explain_5.txt b/parser/testdata/00976_ttl_with_old_parts/explain_5.txt new file mode 100644 index 0000000000..3166a14b01 --- /dev/null +++ b/parser/testdata/00976_ttl_with_old_parts/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl diff --git a/parser/testdata/00976_ttl_with_old_parts/explain_6.txt b/parser/testdata/00976_ttl_with_old_parts/explain_6.txt new file mode 100644 index 0000000000..3166a14b01 --- /dev/null +++ b/parser/testdata/00976_ttl_with_old_parts/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl diff --git a/parser/testdata/00977_int_div/explain.txt b/parser/testdata/00977_int_div/explain.txt new file mode 100644 index 0000000000..5f36d12281 --- /dev/null +++ b/parser/testdata/00977_int_div/explain.txt @@ -0,0 +1,47 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 3) + Function sum (alias asd) (children 1) + ExpressionList (children 1) + Identifier ASD + Function intDiv (alias int_div_with_abs) (children 1) + ExpressionList (children 2) + Function toInt64 (children 1) + ExpressionList (children 1) + Identifier asd + Function abs (children 1) + ExpressionList (children 1) + Function toInt64 (children 1) + ExpressionList (children 1) + Identifier asd + Function intDiv (alias int_div_without_abs) (children 1) + ExpressionList (children 2) + Function toInt64 (children 1) + ExpressionList (children 1) + Identifier asd + Function toInt64 (children 1) + ExpressionList (children 1) + Identifier asd + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier ASD + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal Array_[Int64_-1000, Int64_-1000] (alias asds) + TablesInSelectQueryElement (children 1) + ArrayJoin (children 1) + ExpressionList (children 1) + Identifier asds (alias ASD) diff --git a/parser/testdata/00977_join_use_nulls_denny_crane/explain_15.txt b/parser/testdata/00977_join_use_nulls_denny_crane/explain_15.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/00977_join_use_nulls_denny_crane/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/00977_join_use_nulls_denny_crane/explain_16.txt b/parser/testdata/00977_join_use_nulls_denny_crane/explain_16.txt new file mode 100644 index 0000000000..9c1eff95db --- /dev/null +++ b/parser/testdata/00977_join_use_nulls_denny_crane/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier s diff --git a/parser/testdata/00977_join_use_nulls_denny_crane/explain_25.txt b/parser/testdata/00977_join_use_nulls_denny_crane/explain_25.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/00977_join_use_nulls_denny_crane/explain_25.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/00977_join_use_nulls_denny_crane/explain_26.txt b/parser/testdata/00977_join_use_nulls_denny_crane/explain_26.txt new file mode 100644 index 0000000000..9c1eff95db --- /dev/null +++ b/parser/testdata/00977_join_use_nulls_denny_crane/explain_26.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier s diff --git a/parser/testdata/00977_join_use_nulls_denny_crane/explain_35.txt b/parser/testdata/00977_join_use_nulls_denny_crane/explain_35.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/00977_join_use_nulls_denny_crane/explain_35.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/00977_join_use_nulls_denny_crane/explain_36.txt b/parser/testdata/00977_join_use_nulls_denny_crane/explain_36.txt new file mode 100644 index 0000000000..9c1eff95db --- /dev/null +++ b/parser/testdata/00977_join_use_nulls_denny_crane/explain_36.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier s diff --git a/parser/testdata/00977_join_use_nulls_denny_crane/explain_45.txt b/parser/testdata/00977_join_use_nulls_denny_crane/explain_45.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/00977_join_use_nulls_denny_crane/explain_45.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/00977_join_use_nulls_denny_crane/explain_46.txt b/parser/testdata/00977_join_use_nulls_denny_crane/explain_46.txt new file mode 100644 index 0000000000..9c1eff95db --- /dev/null +++ b/parser/testdata/00977_join_use_nulls_denny_crane/explain_46.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier s diff --git a/parser/testdata/00977_join_use_nulls_denny_crane/explain_5.txt b/parser/testdata/00977_join_use_nulls_denny_crane/explain_5.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/00977_join_use_nulls_denny_crane/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/00977_join_use_nulls_denny_crane/explain_6.txt b/parser/testdata/00977_join_use_nulls_denny_crane/explain_6.txt new file mode 100644 index 0000000000..9c1eff95db --- /dev/null +++ b/parser/testdata/00977_join_use_nulls_denny_crane/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier s diff --git a/parser/testdata/00978_ml_math/explain.txt b/parser/testdata/00978_ml_math/explain.txt new file mode 100644 index 0000000000..fe5983b14d --- /dev/null +++ b/parser/testdata/00978_ml_math/explain.txt @@ -0,0 +1,59 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 6) + Function round (children 1) + ExpressionList (children 2) + Function sigmoid (children 1) + ExpressionList (children 1) + Identifier x + Literal UInt64_5 + Function round (children 1) + ExpressionList (children 2) + Function sigmoid (children 1) + ExpressionList (children 1) + Function toFloat32 (children 1) + ExpressionList (children 1) + Identifier x + Literal UInt64_5 + Function round (children 1) + ExpressionList (children 2) + Function sigmoid (children 1) + ExpressionList (children 1) + Function toFloat64 (children 1) + ExpressionList (children 1) + Identifier x + Literal UInt64_5 + Function round (children 1) + ExpressionList (children 2) + Function tanh (children 1) + ExpressionList (children 1) + Identifier x + Literal UInt64_5 + Function round (children 1) + ExpressionList (children 2) + Function TANH (children 1) + ExpressionList (children 1) + Function toFloat32 (children 1) + ExpressionList (children 1) + Identifier x + Literal UInt64_5 + Function round (children 1) + ExpressionList (children 2) + Function TANh (children 1) + ExpressionList (children 1) + Function toFloat64 (children 1) + ExpressionList (children 1) + Identifier x + Literal UInt64_5 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayJoin (alias x) (children 1) + ExpressionList (children 1) + Literal Array_[Int64_-1, UInt64_0, UInt64_1] diff --git a/parser/testdata/00979_set_index_not/explain_3.txt b/parser/testdata/00979_set_index_not/explain_3.txt new file mode 100644 index 0000000000..5782739bd1 --- /dev/null +++ b/parser/testdata/00979_set_index_not/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier set_index_not diff --git a/parser/testdata/00979_toFloat_monotonicity/explain_10.txt b/parser/testdata/00979_toFloat_monotonicity/explain_10.txt new file mode 100644 index 0000000000..03ab9cb667 --- /dev/null +++ b/parser/testdata/00979_toFloat_monotonicity/explain_10.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Identifier n + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test1 + Function equals (children 1) + ExpressionList (children 2) + Function toFloat32 (children 1) + ExpressionList (children 1) + Identifier n + Literal Float64_7777 + Set diff --git a/parser/testdata/00979_toFloat_monotonicity/explain_15.txt b/parser/testdata/00979_toFloat_monotonicity/explain_15.txt new file mode 100644 index 0000000000..e758c6fcee --- /dev/null +++ b/parser/testdata/00979_toFloat_monotonicity/explain_15.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Identifier d + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test3 + Function equals (children 1) + ExpressionList (children 2) + Function toFloat64 (children 1) + ExpressionList (children 1) + Identifier d + Literal Float64_7777 + Set diff --git a/parser/testdata/00979_toFloat_monotonicity/explain_16.txt b/parser/testdata/00979_toFloat_monotonicity/explain_16.txt new file mode 100644 index 0000000000..c2942dd617 --- /dev/null +++ b/parser/testdata/00979_toFloat_monotonicity/explain_16.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Identifier d + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test3 + Function equals (children 1) + ExpressionList (children 2) + Function toFloat32 (children 1) + ExpressionList (children 1) + Identifier d + Literal Float64_7777 + Set diff --git a/parser/testdata/00979_toFloat_monotonicity/explain_9.txt b/parser/testdata/00979_toFloat_monotonicity/explain_9.txt new file mode 100644 index 0000000000..6311e6ddb9 --- /dev/null +++ b/parser/testdata/00979_toFloat_monotonicity/explain_9.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Identifier n + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test1 + Function equals (children 1) + ExpressionList (children 2) + Function toFloat64 (children 1) + ExpressionList (children 1) + Identifier n + Literal Float64_7777 + Set diff --git a/parser/testdata/00979_yandex_consistent_hash_fpe/explain.txt b/parser/testdata/00979_yandex_consistent_hash_fpe/explain.txt index 74e4b3993e..5de373432c 100644 --- a/parser/testdata/00979_yandex_consistent_hash_fpe/explain.txt +++ b/parser/testdata/00979_yandex_consistent_hash_fpe/explain.txt @@ -6,4 +6,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Literal Int64_-1 Literal UInt64_40000 -The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT kostikConsistentHash(-1, 40000); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/00980_full_join_crash_fancyqlx/explain_3.txt b/parser/testdata/00980_full_join_crash_fancyqlx/explain_3.txt new file mode 100644 index 0000000000..16e6395fb0 --- /dev/null +++ b/parser/testdata/00980_full_join_crash_fancyqlx/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_join diff --git a/parser/testdata/00980_full_join_crash_fancyqlx/explain_4.txt b/parser/testdata/00980_full_join_crash_fancyqlx/explain_4.txt new file mode 100644 index 0000000000..16e6395fb0 --- /dev/null +++ b/parser/testdata/00980_full_join_crash_fancyqlx/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_join diff --git a/parser/testdata/00980_full_join_crash_fancyqlx/explain_5.txt b/parser/testdata/00980_full_join_crash_fancyqlx/explain_5.txt new file mode 100644 index 0000000000..16e6395fb0 --- /dev/null +++ b/parser/testdata/00980_full_join_crash_fancyqlx/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_join diff --git a/parser/testdata/00980_full_join_crash_fancyqlx/explain_6.txt b/parser/testdata/00980_full_join_crash_fancyqlx/explain_6.txt new file mode 100644 index 0000000000..16e6395fb0 --- /dev/null +++ b/parser/testdata/00980_full_join_crash_fancyqlx/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_join diff --git a/parser/testdata/00980_merge_alter_settings/explain_11.txt b/parser/testdata/00980_merge_alter_settings/explain_11.txt new file mode 100644 index 0000000000..c6625b0f81 --- /dev/null +++ b/parser/testdata/00980_merge_alter_settings/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_for_alter diff --git a/parser/testdata/00980_merge_alter_settings/explain_12.txt b/parser/testdata/00980_merge_alter_settings/explain_12.txt new file mode 100644 index 0000000000..c6625b0f81 --- /dev/null +++ b/parser/testdata/00980_merge_alter_settings/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_for_alter diff --git a/parser/testdata/00980_merge_alter_settings/explain_15.txt b/parser/testdata/00980_merge_alter_settings/explain_15.txt new file mode 100644 index 0000000000..c6625b0f81 --- /dev/null +++ b/parser/testdata/00980_merge_alter_settings/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_for_alter diff --git a/parser/testdata/00980_merge_alter_settings/explain_18.txt b/parser/testdata/00980_merge_alter_settings/explain_18.txt new file mode 100644 index 0000000000..c6625b0f81 --- /dev/null +++ b/parser/testdata/00980_merge_alter_settings/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_for_alter diff --git a/parser/testdata/00980_merge_alter_settings/explain_30.txt b/parser/testdata/00980_merge_alter_settings/explain_30.txt new file mode 100644 index 0000000000..1cca73c8d3 --- /dev/null +++ b/parser/testdata/00980_merge_alter_settings/explain_30.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_for_reset_setting diff --git a/parser/testdata/00980_merge_alter_settings/explain_31.txt b/parser/testdata/00980_merge_alter_settings/explain_31.txt new file mode 100644 index 0000000000..1cca73c8d3 --- /dev/null +++ b/parser/testdata/00980_merge_alter_settings/explain_31.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_for_reset_setting diff --git a/parser/testdata/00980_merge_alter_settings/explain_34.txt b/parser/testdata/00980_merge_alter_settings/explain_34.txt new file mode 100644 index 0000000000..1cca73c8d3 --- /dev/null +++ b/parser/testdata/00980_merge_alter_settings/explain_34.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_for_reset_setting diff --git a/parser/testdata/00980_merge_alter_settings/explain_37.txt b/parser/testdata/00980_merge_alter_settings/explain_37.txt new file mode 100644 index 0000000000..1cca73c8d3 --- /dev/null +++ b/parser/testdata/00980_merge_alter_settings/explain_37.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_for_reset_setting diff --git a/parser/testdata/00980_merge_alter_settings/explain_38.txt b/parser/testdata/00980_merge_alter_settings/explain_38.txt new file mode 100644 index 0000000000..1cca73c8d3 --- /dev/null +++ b/parser/testdata/00980_merge_alter_settings/explain_38.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_for_reset_setting diff --git a/parser/testdata/00980_skip_unused_shards_without_sharding_key/explain_5.txt b/parser/testdata/00980_skip_unused_shards_without_sharding_key/explain_5.txt new file mode 100644 index 0000000000..8f1c61cc48 --- /dev/null +++ b/parser/testdata/00980_skip_unused_shards_without_sharding_key/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_local diff --git a/parser/testdata/00980_zookeeper_merge_tree_alter_settings/explain_12.txt b/parser/testdata/00980_zookeeper_merge_tree_alter_settings/explain_12.txt new file mode 100644 index 0000000000..c0c9be5347 --- /dev/null +++ b/parser/testdata/00980_zookeeper_merge_tree_alter_settings/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replicated_table_for_alter1 diff --git a/parser/testdata/00980_zookeeper_merge_tree_alter_settings/explain_23.txt b/parser/testdata/00980_zookeeper_merge_tree_alter_settings/explain_23.txt new file mode 100644 index 0000000000..b003539758 --- /dev/null +++ b/parser/testdata/00980_zookeeper_merge_tree_alter_settings/explain_23.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replicated_table_for_alter2 diff --git a/parser/testdata/00980_zookeeper_merge_tree_alter_settings/explain_24.txt b/parser/testdata/00980_zookeeper_merge_tree_alter_settings/explain_24.txt new file mode 100644 index 0000000000..c0c9be5347 --- /dev/null +++ b/parser/testdata/00980_zookeeper_merge_tree_alter_settings/explain_24.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replicated_table_for_alter1 diff --git a/parser/testdata/00980_zookeeper_merge_tree_alter_settings/explain_9.txt b/parser/testdata/00980_zookeeper_merge_tree_alter_settings/explain_9.txt new file mode 100644 index 0000000000..b003539758 --- /dev/null +++ b/parser/testdata/00980_zookeeper_merge_tree_alter_settings/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replicated_table_for_alter2 diff --git a/parser/testdata/00983_summing_merge_tree_not_an_identifier/explain.txt b/parser/testdata/00983_summing_merge_tree_not_an_identifier/explain.txt index 8aa030750b..a794aa9aa0 100644 --- a/parser/testdata/00983_summing_merge_tree_not_an_identifier/explain.txt +++ b/parser/testdata/00983_summing_merge_tree_not_an_identifier/explain.txt @@ -12,7 +12,7 @@ CreateQuery xx (children 3) DataType Float64 ColumnDeclaration spend (children 1) DataType Float64 - Storage definition (children 4) + Storage definition (children 5) Function SummingMergeTree (children 1) ExpressionList (children 1) Function array (children 1) @@ -23,4 +23,5 @@ CreateQuery xx (children 3) ExpressionList (children 1) Identifier date Identifier id + Identifier id Set diff --git a/parser/testdata/00984_materialized_view_to_columns/explain_7.txt b/parser/testdata/00984_materialized_view_to_columns/explain_7.txt new file mode 100644 index 0000000000..f67968f237 --- /dev/null +++ b/parser/testdata/00984_materialized_view_to_columns/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test2 diff --git a/parser/testdata/00986_materialized_view_stack_overflow/explain_9.txt b/parser/testdata/00986_materialized_view_stack_overflow/explain_9.txt new file mode 100644 index 0000000000..42958894ce --- /dev/null +++ b/parser/testdata/00986_materialized_view_stack_overflow/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test1 diff --git a/parser/testdata/00988_constraints_replication_zookeeper_long/explain_11.txt b/parser/testdata/00988_constraints_replication_zookeeper_long/explain_11.txt new file mode 100644 index 0000000000..24934e74eb --- /dev/null +++ b/parser/testdata/00988_constraints_replication_zookeeper_long/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replicated_constraints1 diff --git a/parser/testdata/00988_constraints_replication_zookeeper_long/explain_12.txt b/parser/testdata/00988_constraints_replication_zookeeper_long/explain_12.txt new file mode 100644 index 0000000000..aebf1739d9 --- /dev/null +++ b/parser/testdata/00988_constraints_replication_zookeeper_long/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replicated_constraints2 diff --git a/parser/testdata/00988_constraints_replication_zookeeper_long/explain_15.txt b/parser/testdata/00988_constraints_replication_zookeeper_long/explain_15.txt new file mode 100644 index 0000000000..24934e74eb --- /dev/null +++ b/parser/testdata/00988_constraints_replication_zookeeper_long/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replicated_constraints1 diff --git a/parser/testdata/00988_constraints_replication_zookeeper_long/explain_16.txt b/parser/testdata/00988_constraints_replication_zookeeper_long/explain_16.txt new file mode 100644 index 0000000000..aebf1739d9 --- /dev/null +++ b/parser/testdata/00988_constraints_replication_zookeeper_long/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replicated_constraints2 diff --git a/parser/testdata/00988_constraints_replication_zookeeper_long/explain_5.txt b/parser/testdata/00988_constraints_replication_zookeeper_long/explain_5.txt new file mode 100644 index 0000000000..24934e74eb --- /dev/null +++ b/parser/testdata/00988_constraints_replication_zookeeper_long/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replicated_constraints1 diff --git a/parser/testdata/00988_constraints_replication_zookeeper_long/explain_6.txt b/parser/testdata/00988_constraints_replication_zookeeper_long/explain_6.txt new file mode 100644 index 0000000000..aebf1739d9 --- /dev/null +++ b/parser/testdata/00988_constraints_replication_zookeeper_long/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replicated_constraints2 diff --git a/parser/testdata/00988_constraints_replication_zookeeper_long/explain_9.txt b/parser/testdata/00988_constraints_replication_zookeeper_long/explain_9.txt new file mode 100644 index 0000000000..24934e74eb --- /dev/null +++ b/parser/testdata/00988_constraints_replication_zookeeper_long/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replicated_constraints1 diff --git a/parser/testdata/00990_hasToken_and_tokenbf/explain_34.txt b/parser/testdata/00990_hasToken_and_tokenbf/explain_34.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/00990_hasToken_and_tokenbf/explain_34.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/00990_request_splitting/explain.txt b/parser/testdata/00990_request_splitting/explain.txt index 465121b9cb..05ec1b401b 100644 --- a/parser/testdata/00990_request_splitting/explain.txt +++ b/parser/testdata/00990_request_splitting/explain.txt @@ -11,4 +11,3 @@ SelectWithUnionQuery (children 1) Literal \'http://127.0.0.1:1337/? HTTP/1.1\\r\\nTest: test\' Identifier CSV Literal \'column1 String\' -The query succeeded but the server error '1000' was expected (query: EXPLAIN AST SELECT * FROM url('http://127.0.0.1:1337/? HTTP/1.1\r\nTest: test', CSV, 'column1 String'); -- { serverError POCO_EXCEPTION }). diff --git a/parser/testdata/00995_order_by_with_fill/explain_12.txt b/parser/testdata/00995_order_by_with_fill/explain_12.txt new file mode 100644 index 0000000000..8d4dc6654d --- /dev/null +++ b/parser/testdata/00995_order_by_with_fill/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier fill diff --git a/parser/testdata/00995_order_by_with_fill/explain_3.txt b/parser/testdata/00995_order_by_with_fill/explain_3.txt new file mode 100644 index 0000000000..8d4dc6654d --- /dev/null +++ b/parser/testdata/00995_order_by_with_fill/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier fill diff --git a/parser/testdata/00996_limit_with_ties/explain_3.txt b/parser/testdata/00996_limit_with_ties/explain_3.txt new file mode 100644 index 0000000000..08442391f3 --- /dev/null +++ b/parser/testdata/00996_limit_with_ties/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ties diff --git a/parser/testdata/00997_trim/explain.txt b/parser/testdata/00997_trim/explain.txt new file mode 100644 index 0000000000..c2d94a4653 --- /dev/null +++ b/parser/testdata/00997_trim/explain.txt @@ -0,0 +1,124 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 9) + Literal \'0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\' (alias x) + Function replaceRegexpAll (alias spaces) (children 1) + ExpressionList (children 3) + Identifier x + Literal \'.\' + Literal \' \' + Function concat (alias s) (children 1) + ExpressionList (children 3) + Function substring (children 1) + ExpressionList (children 3) + Identifier spaces + Literal UInt64_1 + Function modulo (children 1) + ExpressionList (children 2) + Function rand (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Literal UInt64_62 + Function substring (children 1) + ExpressionList (children 3) + Identifier x + Literal UInt64_1 + Function modulo (children 1) + ExpressionList (children 2) + Function rand (children 1) + ExpressionList (children 1) + Literal UInt64_2 + Literal UInt64_62 + Function substring (children 1) + ExpressionList (children 3) + Identifier spaces + Literal UInt64_1 + Function modulo (children 1) + ExpressionList (children 2) + Function rand (children 1) + ExpressionList (children 1) + Literal UInt64_3 + Literal UInt64_62 + Function trimLeft (alias sl) (children 1) + ExpressionList (children 1) + Identifier s + Function trimRight (alias sr) (children 1) + ExpressionList (children 1) + Identifier s + Function trimBoth (alias t) (children 1) + ExpressionList (children 1) + Identifier s + Function replaceRegexpOne (alias slr) (children 1) + ExpressionList (children 3) + Identifier s + Literal \'^ +\' + Literal \'\' + Function replaceRegexpOne (alias srr) (children 1) + ExpressionList (children 3) + Identifier s + Literal \' +$\' + Literal \'\' + Function replaceRegexpOne (alias tr) (children 1) + ExpressionList (children 3) + Identifier s + Literal \'^ *(.*?) *$\' + Literal \'\\\\1\' + ExpressionList (children 7) + Function replaceAll (children 1) + ExpressionList (children 3) + Identifier s + Literal \' \' + Literal \'_\' + Function replaceAll (children 1) + ExpressionList (children 3) + Identifier sl + Literal \' \' + Literal \'_\' + Function replaceAll (children 1) + ExpressionList (children 3) + Identifier slr + Literal \' \' + Literal \'_\' + Function replaceAll (children 1) + ExpressionList (children 3) + Identifier sr + Literal \' \' + Literal \'_\' + Function replaceAll (children 1) + ExpressionList (children 3) + Identifier srr + Literal \' \' + Literal \'_\' + Function replaceAll (children 1) + ExpressionList (children 3) + Identifier t + Literal \' \' + Literal \'_\' + Function replaceAll (children 1) + ExpressionList (children 3) + Identifier tr + Literal \' \' + Literal \'_\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_100000 + Function not (children 1) + ExpressionList (children 1) + Function and (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Identifier sl + Identifier slr + Function equals (children 1) + ExpressionList (children 2) + Identifier sr + Identifier srr + Function equals (children 1) + ExpressionList (children 2) + Identifier t + Identifier tr diff --git a/parser/testdata/00998_constraints_all_tables/explain_10.txt b/parser/testdata/00998_constraints_all_tables/explain_10.txt new file mode 100644 index 0000000000..0fbc2df027 --- /dev/null +++ b/parser/testdata/00998_constraints_all_tables/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier constrained diff --git a/parser/testdata/00998_constraints_all_tables/explain_12.txt b/parser/testdata/00998_constraints_all_tables/explain_12.txt new file mode 100644 index 0000000000..0fbc2df027 --- /dev/null +++ b/parser/testdata/00998_constraints_all_tables/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier constrained diff --git a/parser/testdata/00998_constraints_all_tables/explain_16.txt b/parser/testdata/00998_constraints_all_tables/explain_16.txt new file mode 100644 index 0000000000..0fbc2df027 --- /dev/null +++ b/parser/testdata/00998_constraints_all_tables/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier constrained diff --git a/parser/testdata/00998_constraints_all_tables/explain_18.txt b/parser/testdata/00998_constraints_all_tables/explain_18.txt new file mode 100644 index 0000000000..0fbc2df027 --- /dev/null +++ b/parser/testdata/00998_constraints_all_tables/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier constrained diff --git a/parser/testdata/00998_constraints_all_tables/explain_20.txt b/parser/testdata/00998_constraints_all_tables/explain_20.txt new file mode 100644 index 0000000000..0fbc2df027 --- /dev/null +++ b/parser/testdata/00998_constraints_all_tables/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier constrained diff --git a/parser/testdata/00998_constraints_all_tables/explain_24.txt b/parser/testdata/00998_constraints_all_tables/explain_24.txt new file mode 100644 index 0000000000..0fbc2df027 --- /dev/null +++ b/parser/testdata/00998_constraints_all_tables/explain_24.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier constrained diff --git a/parser/testdata/00998_constraints_all_tables/explain_26.txt b/parser/testdata/00998_constraints_all_tables/explain_26.txt new file mode 100644 index 0000000000..0fbc2df027 --- /dev/null +++ b/parser/testdata/00998_constraints_all_tables/explain_26.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier constrained diff --git a/parser/testdata/00998_constraints_all_tables/explain_28.txt b/parser/testdata/00998_constraints_all_tables/explain_28.txt new file mode 100644 index 0000000000..0fbc2df027 --- /dev/null +++ b/parser/testdata/00998_constraints_all_tables/explain_28.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier constrained diff --git a/parser/testdata/00998_constraints_all_tables/explain_3.txt b/parser/testdata/00998_constraints_all_tables/explain_3.txt new file mode 100644 index 0000000000..0fbc2df027 --- /dev/null +++ b/parser/testdata/00998_constraints_all_tables/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier constrained diff --git a/parser/testdata/00998_constraints_all_tables/explain_32.txt b/parser/testdata/00998_constraints_all_tables/explain_32.txt new file mode 100644 index 0000000000..0fbc2df027 --- /dev/null +++ b/parser/testdata/00998_constraints_all_tables/explain_32.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier constrained diff --git a/parser/testdata/00998_constraints_all_tables/explain_34.txt b/parser/testdata/00998_constraints_all_tables/explain_34.txt new file mode 100644 index 0000000000..0fbc2df027 --- /dev/null +++ b/parser/testdata/00998_constraints_all_tables/explain_34.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier constrained diff --git a/parser/testdata/00998_constraints_all_tables/explain_36.txt b/parser/testdata/00998_constraints_all_tables/explain_36.txt new file mode 100644 index 0000000000..0fbc2df027 --- /dev/null +++ b/parser/testdata/00998_constraints_all_tables/explain_36.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier constrained diff --git a/parser/testdata/00998_constraints_all_tables/explain_4.txt b/parser/testdata/00998_constraints_all_tables/explain_4.txt new file mode 100644 index 0000000000..0fbc2df027 --- /dev/null +++ b/parser/testdata/00998_constraints_all_tables/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier constrained diff --git a/parser/testdata/00998_constraints_all_tables/explain_44.txt b/parser/testdata/00998_constraints_all_tables/explain_44.txt new file mode 100644 index 0000000000..0fbc2df027 --- /dev/null +++ b/parser/testdata/00998_constraints_all_tables/explain_44.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier constrained diff --git a/parser/testdata/00998_constraints_all_tables/explain_45.txt b/parser/testdata/00998_constraints_all_tables/explain_45.txt new file mode 100644 index 0000000000..ddac2dbfaf --- /dev/null +++ b/parser/testdata/00998_constraints_all_tables/explain_45.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier constrained2 diff --git a/parser/testdata/00998_constraints_all_tables/explain_5.txt b/parser/testdata/00998_constraints_all_tables/explain_5.txt new file mode 100644 index 0000000000..0fbc2df027 --- /dev/null +++ b/parser/testdata/00998_constraints_all_tables/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier constrained diff --git a/parser/testdata/00998_constraints_all_tables/explain_8.txt b/parser/testdata/00998_constraints_all_tables/explain_8.txt new file mode 100644 index 0000000000..0fbc2df027 --- /dev/null +++ b/parser/testdata/00998_constraints_all_tables/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier constrained diff --git a/parser/testdata/00999_join_on_expression/explain_5.txt b/parser/testdata/00999_join_on_expression/explain_5.txt new file mode 100644 index 0000000000..b10403d4ad --- /dev/null +++ b/parser/testdata/00999_join_on_expression/explain_5.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier X + ExpressionList (children 1) + Identifier id diff --git a/parser/testdata/00999_join_on_expression/explain_6.txt b/parser/testdata/00999_join_on_expression/explain_6.txt new file mode 100644 index 0000000000..6bd01414f3 --- /dev/null +++ b/parser/testdata/00999_join_on_expression/explain_6.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier Y + ExpressionList (children 1) + Identifier id diff --git a/parser/testdata/00999_nullable_nested_types_4877/explain_20.txt b/parser/testdata/00999_nullable_nested_types_4877/explain_20.txt new file mode 100644 index 0000000000..bfcd4c150b --- /dev/null +++ b/parser/testdata/00999_nullable_nested_types_4877/explain_20.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier l + ExpressionList (children 2) + Identifier a + Identifier b diff --git a/parser/testdata/00999_nullable_nested_types_4877/explain_21.txt b/parser/testdata/00999_nullable_nested_types_4877/explain_21.txt new file mode 100644 index 0000000000..838990b336 --- /dev/null +++ b/parser/testdata/00999_nullable_nested_types_4877/explain_21.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier r + ExpressionList (children 2) + Identifier a + Identifier c diff --git a/parser/testdata/00999_nullable_nested_types_4877/explain_5.txt b/parser/testdata/00999_nullable_nested_types_4877/explain_5.txt new file mode 100644 index 0000000000..bfcd4c150b --- /dev/null +++ b/parser/testdata/00999_nullable_nested_types_4877/explain_5.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier l + ExpressionList (children 2) + Identifier a + Identifier b diff --git a/parser/testdata/00999_nullable_nested_types_4877/explain_6.txt b/parser/testdata/00999_nullable_nested_types_4877/explain_6.txt new file mode 100644 index 0000000000..838990b336 --- /dev/null +++ b/parser/testdata/00999_nullable_nested_types_4877/explain_6.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier r + ExpressionList (children 2) + Identifier a + Identifier c diff --git a/parser/testdata/01006_ttl_with_default_2/explain_3.txt b/parser/testdata/01006_ttl_with_default_2/explain_3.txt new file mode 100644 index 0000000000..9aaa26c2bb --- /dev/null +++ b/parser/testdata/01006_ttl_with_default_2/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl_with_default diff --git a/parser/testdata/01008_materialized_view_henyihanwobushi/explain_7.txt b/parser/testdata/01008_materialized_view_henyihanwobushi/explain_7.txt new file mode 100644 index 0000000000..a3ffa5831d --- /dev/null +++ b/parser/testdata/01008_materialized_view_henyihanwobushi/explain_7.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier bar + ExpressionList (children 3) + Identifier id + Identifier n + Identifier foo_id diff --git a/parser/testdata/01008_materialized_view_henyihanwobushi/explain_9.txt b/parser/testdata/01008_materialized_view_henyihanwobushi/explain_9.txt new file mode 100644 index 0000000000..a3ffa5831d --- /dev/null +++ b/parser/testdata/01008_materialized_view_henyihanwobushi/explain_9.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier bar + ExpressionList (children 3) + Identifier id + Identifier n + Identifier foo_id diff --git a/parser/testdata/01009_global_array_join_names/explain_5.txt b/parser/testdata/01009_global_array_join_names/explain_5.txt new file mode 100644 index 0000000000..42958894ce --- /dev/null +++ b/parser/testdata/01009_global_array_join_names/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test1 diff --git a/parser/testdata/01010_partial_merge_join/explain_65.txt b/parser/testdata/01010_partial_merge_join/explain_65.txt new file mode 100644 index 0000000000..d8b514ee04 --- /dev/null +++ b/parser/testdata/01010_partial_merge_join/explain_65.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 2) + Identifier x + Identifier y diff --git a/parser/testdata/01010_partial_merge_join/explain_66.txt b/parser/testdata/01010_partial_merge_join/explain_66.txt new file mode 100644 index 0000000000..d8b514ee04 --- /dev/null +++ b/parser/testdata/01010_partial_merge_join/explain_66.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 2) + Identifier x + Identifier y diff --git a/parser/testdata/01010_partial_merge_join/explain_67.txt b/parser/testdata/01010_partial_merge_join/explain_67.txt new file mode 100644 index 0000000000..2ee6e4ce67 --- /dev/null +++ b/parser/testdata/01010_partial_merge_join/explain_67.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t2 + ExpressionList (children 2) + Identifier x + Identifier y diff --git a/parser/testdata/01010_partial_merge_join/explain_68.txt b/parser/testdata/01010_partial_merge_join/explain_68.txt new file mode 100644 index 0000000000..2ee6e4ce67 --- /dev/null +++ b/parser/testdata/01010_partial_merge_join/explain_68.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t2 + ExpressionList (children 2) + Identifier x + Identifier y diff --git a/parser/testdata/01010_partial_merge_join/explain_7.txt b/parser/testdata/01010_partial_merge_join/explain_7.txt new file mode 100644 index 0000000000..d8b514ee04 --- /dev/null +++ b/parser/testdata/01010_partial_merge_join/explain_7.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 2) + Identifier x + Identifier y diff --git a/parser/testdata/01010_pmj_one_row_blocks/explain_10.txt b/parser/testdata/01010_pmj_one_row_blocks/explain_10.txt new file mode 100644 index 0000000000..d8b514ee04 --- /dev/null +++ b/parser/testdata/01010_pmj_one_row_blocks/explain_10.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 2) + Identifier x + Identifier y diff --git a/parser/testdata/01010_pmj_one_row_blocks/explain_11.txt b/parser/testdata/01010_pmj_one_row_blocks/explain_11.txt new file mode 100644 index 0000000000..d8b514ee04 --- /dev/null +++ b/parser/testdata/01010_pmj_one_row_blocks/explain_11.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 2) + Identifier x + Identifier y diff --git a/parser/testdata/01010_pmj_one_row_blocks/explain_12.txt b/parser/testdata/01010_pmj_one_row_blocks/explain_12.txt new file mode 100644 index 0000000000..d8b514ee04 --- /dev/null +++ b/parser/testdata/01010_pmj_one_row_blocks/explain_12.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 2) + Identifier x + Identifier y diff --git a/parser/testdata/01010_pmj_one_row_blocks/explain_13.txt b/parser/testdata/01010_pmj_one_row_blocks/explain_13.txt new file mode 100644 index 0000000000..2ee6e4ce67 --- /dev/null +++ b/parser/testdata/01010_pmj_one_row_blocks/explain_13.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t2 + ExpressionList (children 2) + Identifier x + Identifier y diff --git a/parser/testdata/01010_pmj_one_row_blocks/explain_14.txt b/parser/testdata/01010_pmj_one_row_blocks/explain_14.txt new file mode 100644 index 0000000000..2ee6e4ce67 --- /dev/null +++ b/parser/testdata/01010_pmj_one_row_blocks/explain_14.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t2 + ExpressionList (children 2) + Identifier x + Identifier y diff --git a/parser/testdata/01010_pmj_skip_blocks/explain_10.txt b/parser/testdata/01010_pmj_skip_blocks/explain_10.txt new file mode 100644 index 0000000000..d8b514ee04 --- /dev/null +++ b/parser/testdata/01010_pmj_skip_blocks/explain_10.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 2) + Identifier x + Identifier y diff --git a/parser/testdata/01010_pmj_skip_blocks/explain_11.txt b/parser/testdata/01010_pmj_skip_blocks/explain_11.txt new file mode 100644 index 0000000000..d8b514ee04 --- /dev/null +++ b/parser/testdata/01010_pmj_skip_blocks/explain_11.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 2) + Identifier x + Identifier y diff --git a/parser/testdata/01010_pmj_skip_blocks/explain_12.txt b/parser/testdata/01010_pmj_skip_blocks/explain_12.txt new file mode 100644 index 0000000000..d8b514ee04 --- /dev/null +++ b/parser/testdata/01010_pmj_skip_blocks/explain_12.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 2) + Identifier x + Identifier y diff --git a/parser/testdata/01010_pmj_skip_blocks/explain_13.txt b/parser/testdata/01010_pmj_skip_blocks/explain_13.txt new file mode 100644 index 0000000000..2ee6e4ce67 --- /dev/null +++ b/parser/testdata/01010_pmj_skip_blocks/explain_13.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t2 + ExpressionList (children 2) + Identifier x + Identifier y diff --git a/parser/testdata/01010_pmj_skip_blocks/explain_14.txt b/parser/testdata/01010_pmj_skip_blocks/explain_14.txt new file mode 100644 index 0000000000..2ee6e4ce67 --- /dev/null +++ b/parser/testdata/01010_pmj_skip_blocks/explain_14.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t2 + ExpressionList (children 2) + Identifier x + Identifier y diff --git a/parser/testdata/01013_repeat_function/explain_4.txt b/parser/testdata/01013_repeat_function/explain_4.txt new file mode 100644 index 0000000000..c4bde7d911 --- /dev/null +++ b/parser/testdata/01013_repeat_function/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier defaults diff --git a/parser/testdata/01014_count_of_merges_metrics/explain_4.txt b/parser/testdata/01014_count_of_merges_metrics/explain_4.txt new file mode 100644 index 0000000000..392d18afec --- /dev/null +++ b/parser/testdata/01014_count_of_merges_metrics/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier new_table_test diff --git a/parser/testdata/01016_index_tuple_field_type/explain_11.txt b/parser/testdata/01016_index_tuple_field_type/explain_11.txt new file mode 100644 index 0000000000..0a02e8bff7 --- /dev/null +++ b/parser/testdata/01016_index_tuple_field_type/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tuple_01016 diff --git a/parser/testdata/01016_index_tuple_field_type/explain_3.txt b/parser/testdata/01016_index_tuple_field_type/explain_3.txt new file mode 100644 index 0000000000..0a02e8bff7 --- /dev/null +++ b/parser/testdata/01016_index_tuple_field_type/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tuple_01016 diff --git a/parser/testdata/01016_index_tuple_field_type/explain_5.txt b/parser/testdata/01016_index_tuple_field_type/explain_5.txt new file mode 100644 index 0000000000..0a02e8bff7 --- /dev/null +++ b/parser/testdata/01016_index_tuple_field_type/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tuple_01016 diff --git a/parser/testdata/01016_index_tuple_field_type/explain_7.txt b/parser/testdata/01016_index_tuple_field_type/explain_7.txt new file mode 100644 index 0000000000..0a02e8bff7 --- /dev/null +++ b/parser/testdata/01016_index_tuple_field_type/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tuple_01016 diff --git a/parser/testdata/01016_index_tuple_field_type/explain_9.txt b/parser/testdata/01016_index_tuple_field_type/explain_9.txt new file mode 100644 index 0000000000..0a02e8bff7 --- /dev/null +++ b/parser/testdata/01016_index_tuple_field_type/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tuple_01016 diff --git a/parser/testdata/01016_null_part_minmax/explain_3.txt b/parser/testdata/01016_null_part_minmax/explain_3.txt new file mode 100644 index 0000000000..3735a90aa5 --- /dev/null +++ b/parser/testdata/01016_null_part_minmax/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier null_01016 diff --git a/parser/testdata/01016_simhash_minhash/explain_21.txt b/parser/testdata/01016_simhash_minhash/explain_21.txt new file mode 100644 index 0000000000..c4bde7d911 --- /dev/null +++ b/parser/testdata/01016_simhash_minhash/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier defaults diff --git a/parser/testdata/01016_simhash_minhash_ppc/explain_21.txt b/parser/testdata/01016_simhash_minhash_ppc/explain_21.txt new file mode 100644 index 0000000000..c4bde7d911 --- /dev/null +++ b/parser/testdata/01016_simhash_minhash_ppc/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier defaults diff --git a/parser/testdata/01017_bithamming_distance/explain_13.txt b/parser/testdata/01017_bithamming_distance/explain_13.txt new file mode 100644 index 0000000000..bb0bef1da4 --- /dev/null +++ b/parser/testdata/01017_bithamming_distance/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_string diff --git a/parser/testdata/01017_bithamming_distance/explain_6.txt b/parser/testdata/01017_bithamming_distance/explain_6.txt new file mode 100644 index 0000000000..c4bde7d911 --- /dev/null +++ b/parser/testdata/01017_bithamming_distance/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier defaults diff --git a/parser/testdata/01017_tuplehamming_distance/explain_6.txt b/parser/testdata/01017_tuplehamming_distance/explain_6.txt new file mode 100644 index 0000000000..c4bde7d911 --- /dev/null +++ b/parser/testdata/01017_tuplehamming_distance/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier defaults diff --git a/parser/testdata/01018_Distributed__shard_num/explain_10.txt b/parser/testdata/01018_Distributed__shard_num/explain_10.txt new file mode 100644 index 0000000000..ad2f4349b3 --- /dev/null +++ b/parser/testdata/01018_Distributed__shard_num/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mem1 diff --git a/parser/testdata/01018_Distributed__shard_num/explain_12.txt b/parser/testdata/01018_Distributed__shard_num/explain_12.txt new file mode 100644 index 0000000000..95305db7e8 --- /dev/null +++ b/parser/testdata/01018_Distributed__shard_num/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dist_1 diff --git a/parser/testdata/01018_Distributed__shard_num/explain_14.txt b/parser/testdata/01018_Distributed__shard_num/explain_14.txt new file mode 100644 index 0000000000..b59a32fb65 --- /dev/null +++ b/parser/testdata/01018_Distributed__shard_num/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mem2 diff --git a/parser/testdata/01018_Distributed__shard_num/explain_17.txt b/parser/testdata/01018_Distributed__shard_num/explain_17.txt new file mode 100644 index 0000000000..2b149673ab --- /dev/null +++ b/parser/testdata/01018_Distributed__shard_num/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mem3 diff --git a/parser/testdata/01018_Distributed__shard_num/explain_39.txt b/parser/testdata/01018_Distributed__shard_num/explain_39.txt new file mode 100644 index 0000000000..08ba522fe0 --- /dev/null +++ b/parser/testdata/01018_Distributed__shard_num/explain_39.txt @@ -0,0 +1,21 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 2) + Identifier _shard_num + Identifier key + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 3) + Literal \'127.0.0.1\' + Function currentDatabase (children 1) + ExpressionList + Identifier dist_2 + ExpressionList (children 2) + OrderByElement (children 1) + Identifier _shard_num + OrderByElement (children 1) + Identifier key + Set diff --git a/parser/testdata/01018_Distributed__shard_num/explain_41.txt b/parser/testdata/01018_Distributed__shard_num/explain_41.txt new file mode 100644 index 0000000000..08ba522fe0 --- /dev/null +++ b/parser/testdata/01018_Distributed__shard_num/explain_41.txt @@ -0,0 +1,21 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 2) + Identifier _shard_num + Identifier key + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 3) + Literal \'127.0.0.1\' + Function currentDatabase (children 1) + ExpressionList + Identifier dist_2 + ExpressionList (children 2) + OrderByElement (children 1) + Identifier _shard_num + OrderByElement (children 1) + Identifier key + Set diff --git a/parser/testdata/01018_ddl_dictionaries_create/explain_7.txt b/parser/testdata/01018_ddl_dictionaries_create/explain_7.txt new file mode 100644 index 0000000000..407011d10d --- /dev/null +++ b/parser/testdata/01018_ddl_dictionaries_create/explain_7.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier database_for_dict_01018 + Identifier table_for_dict diff --git a/parser/testdata/01018_optimize_read_in_order_with_in_subquery/explain_5.txt b/parser/testdata/01018_optimize_read_in_order_with_in_subquery/explain_5.txt new file mode 100644 index 0000000000..ed818f361e --- /dev/null +++ b/parser/testdata/01018_optimize_read_in_order_with_in_subquery/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier TESTTABLE4 diff --git a/parser/testdata/01019_alter_materialized_view_query/explain_10.txt b/parser/testdata/01019_alter_materialized_view_query/explain_10.txt new file mode 100644 index 0000000000..41747c3801 --- /dev/null +++ b/parser/testdata/01019_alter_materialized_view_query/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier src_01019 diff --git a/parser/testdata/01019_alter_materialized_view_query/explain_13.txt b/parser/testdata/01019_alter_materialized_view_query/explain_13.txt new file mode 100644 index 0000000000..41747c3801 --- /dev/null +++ b/parser/testdata/01019_alter_materialized_view_query/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier src_01019 diff --git a/parser/testdata/01019_alter_materialized_view_query/explain_7.txt b/parser/testdata/01019_alter_materialized_view_query/explain_7.txt new file mode 100644 index 0000000000..41747c3801 --- /dev/null +++ b/parser/testdata/01019_alter_materialized_view_query/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier src_01019 diff --git a/parser/testdata/01019_materialized_view_select_extra_columns/explain_8.txt b/parser/testdata/01019_materialized_view_select_extra_columns/explain_8.txt new file mode 100644 index 0000000000..18d517ba3b --- /dev/null +++ b/parser/testdata/01019_materialized_view_select_extra_columns/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mv_extra_columns_src diff --git a/parser/testdata/01020_function_char/explain.txt b/parser/testdata/01020_function_char/explain.txt new file mode 100644 index 0000000000..bb8826348e --- /dev/null +++ b/parser/testdata/01020_function_char/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function char (children 1) + ExpressionList (children 11) + Literal UInt64_65 + Literal Float64_66.1 + Literal Float64_67.2 + Literal Float64_68.3 + Literal Float64_97.4 + Literal Float64_98.5 + Literal Float64_99.6 + Literal Float64_100.7 + Literal Float64_101 + Literal Float64_102 + Literal Float64_103 diff --git a/parser/testdata/01021_tuple_parser/explain_5.txt b/parser/testdata/01021_tuple_parser/explain_5.txt new file mode 100644 index 0000000000..76fc5c2554 --- /dev/null +++ b/parser/testdata/01021_tuple_parser/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tuple_values diff --git a/parser/testdata/01023_materialized_view_query_context/explain_13.txt b/parser/testdata/01023_materialized_view_query_context/explain_13.txt new file mode 100644 index 0000000000..0f7bfbae38 --- /dev/null +++ b/parser/testdata/01023_materialized_view_query_context/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier input diff --git a/parser/testdata/01024__getScalar/explain.txt b/parser/testdata/01024__getScalar/explain.txt index 989922bfc8..9fd176b2f9 100644 --- a/parser/testdata/01024__getScalar/explain.txt +++ b/parser/testdata/01024__getScalar/explain.txt @@ -12,4 +12,3 @@ CreateQuery foo (children 3) Storage definition (children 1) Function Null (children 1) ExpressionList -The query succeeded but the server error '43' was expected (query: EXPLAIN AST CREATE TABLE foo (key String, macro String MATERIALIZED __getScalar(key)) Engine=Null(); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }). diff --git a/parser/testdata/01030_incorrect_count_summing_merge_tree/explain_27.txt b/parser/testdata/01030_incorrect_count_summing_merge_tree/explain_27.txt new file mode 100644 index 0000000000..250006ba9a --- /dev/null +++ b/parser/testdata/01030_incorrect_count_summing_merge_tree/explain_27.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tst diff --git a/parser/testdata/01030_incorrect_count_summing_merge_tree/explain_49.txt b/parser/testdata/01030_incorrect_count_summing_merge_tree/explain_49.txt new file mode 100644 index 0000000000..250006ba9a --- /dev/null +++ b/parser/testdata/01030_incorrect_count_summing_merge_tree/explain_49.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tst diff --git a/parser/testdata/01030_incorrect_count_summing_merge_tree/explain_5.txt b/parser/testdata/01030_incorrect_count_summing_merge_tree/explain_5.txt new file mode 100644 index 0000000000..250006ba9a --- /dev/null +++ b/parser/testdata/01030_incorrect_count_summing_merge_tree/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tst diff --git a/parser/testdata/01030_incorrect_count_summing_merge_tree/explain_72.txt b/parser/testdata/01030_incorrect_count_summing_merge_tree/explain_72.txt new file mode 100644 index 0000000000..250006ba9a --- /dev/null +++ b/parser/testdata/01030_incorrect_count_summing_merge_tree/explain_72.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tst diff --git a/parser/testdata/01030_storage_set_supports_read/explain_4.txt b/parser/testdata/01030_storage_set_supports_read/explain_4.txt new file mode 100644 index 0000000000..b13f9e8e3d --- /dev/null +++ b/parser/testdata/01030_storage_set_supports_read/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier userid_test diff --git a/parser/testdata/01030_storage_set_supports_read/explain_7.txt b/parser/testdata/01030_storage_set_supports_read/explain_7.txt new file mode 100644 index 0000000000..25868316da --- /dev/null +++ b/parser/testdata/01030_storage_set_supports_read/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier userid_set diff --git a/parser/testdata/01031_pmj_new_any_semi_join/explain_5.txt b/parser/testdata/01031_pmj_new_any_semi_join/explain_5.txt new file mode 100644 index 0000000000..163be9e218 --- /dev/null +++ b/parser/testdata/01031_pmj_new_any_semi_join/explain_5.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 2) + Identifier x + Identifier s diff --git a/parser/testdata/01031_pmj_new_any_semi_join/explain_6.txt b/parser/testdata/01031_pmj_new_any_semi_join/explain_6.txt new file mode 100644 index 0000000000..1aae5c69a2 --- /dev/null +++ b/parser/testdata/01031_pmj_new_any_semi_join/explain_6.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t2 + ExpressionList (children 2) + Identifier x + Identifier s diff --git a/parser/testdata/01031_semi_anti_join/explain_5.txt b/parser/testdata/01031_semi_anti_join/explain_5.txt new file mode 100644 index 0000000000..163be9e218 --- /dev/null +++ b/parser/testdata/01031_semi_anti_join/explain_5.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 2) + Identifier x + Identifier s diff --git a/parser/testdata/01031_semi_anti_join/explain_6.txt b/parser/testdata/01031_semi_anti_join/explain_6.txt new file mode 100644 index 0000000000..1aae5c69a2 --- /dev/null +++ b/parser/testdata/01031_semi_anti_join/explain_6.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t2 + ExpressionList (children 2) + Identifier x + Identifier s diff --git a/parser/testdata/01032_duplicate_column_insert_query/explain_3.txt b/parser/testdata/01032_duplicate_column_insert_query/explain_3.txt new file mode 100644 index 0000000000..8e4a92b0e6 --- /dev/null +++ b/parser/testdata/01032_duplicate_column_insert_query/explain_3.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier sometable + ExpressionList (children 3) + Identifier date + Identifier time + Identifier value diff --git a/parser/testdata/01032_duplicate_column_insert_query/explain_5.txt b/parser/testdata/01032_duplicate_column_insert_query/explain_5.txt new file mode 100644 index 0000000000..4f79d2e5a1 --- /dev/null +++ b/parser/testdata/01032_duplicate_column_insert_query/explain_5.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier sometable + ExpressionList (children 4) + Identifier date + Identifier time + Identifier value + Identifier time diff --git a/parser/testdata/01033_function_substring/explain_17.txt b/parser/testdata/01033_function_substring/explain_17.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/01033_function_substring/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/01033_function_substring/explain_50.txt b/parser/testdata/01033_function_substring/explain_50.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/01033_function_substring/explain_50.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/01033_function_substring/explain_57.txt b/parser/testdata/01033_function_substring/explain_57.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/01033_function_substring/explain_57.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/01033_function_substring/explain_78.txt b/parser/testdata/01033_function_substring/explain_78.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/01033_function_substring/explain_78.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/01033_function_substring/explain_86.txt b/parser/testdata/01033_function_substring/explain_86.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/01033_function_substring/explain_86.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/01034_JSONCompactEachRow/explain_19.txt b/parser/testdata/01034_JSONCompactEachRow/explain_19.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/01034_JSONCompactEachRow/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/01034_JSONCompactEachRow/explain_24.txt b/parser/testdata/01034_JSONCompactEachRow/explain_24.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/01034_JSONCompactEachRow/explain_24.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/01034_JSONCompactEachRow/explain_29.txt b/parser/testdata/01034_JSONCompactEachRow/explain_29.txt new file mode 100644 index 0000000000..324602be3f --- /dev/null +++ b/parser/testdata/01034_JSONCompactEachRow/explain_29.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_2 diff --git a/parser/testdata/01034_JSONCompactEachRow/explain_34.txt b/parser/testdata/01034_JSONCompactEachRow/explain_34.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/01034_JSONCompactEachRow/explain_34.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/01034_JSONCompactEachRow/explain_35.txt b/parser/testdata/01034_JSONCompactEachRow/explain_35.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/01034_JSONCompactEachRow/explain_35.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/01034_JSONCompactEachRow/explain_40.txt b/parser/testdata/01034_JSONCompactEachRow/explain_40.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/01034_JSONCompactEachRow/explain_40.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/01034_JSONCompactEachRow/explain_41.txt b/parser/testdata/01034_JSONCompactEachRow/explain_41.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/01034_JSONCompactEachRow/explain_41.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/01034_JSONCompactEachRow/explain_46.txt b/parser/testdata/01034_JSONCompactEachRow/explain_46.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/01034_JSONCompactEachRow/explain_46.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/01034_JSONCompactEachRow/explain_47.txt b/parser/testdata/01034_JSONCompactEachRow/explain_47.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/01034_JSONCompactEachRow/explain_47.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/01034_JSONCompactEachRow/explain_51.txt b/parser/testdata/01034_JSONCompactEachRow/explain_51.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/01034_JSONCompactEachRow/explain_51.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/01034_JSONCompactEachRow/explain_55.txt b/parser/testdata/01034_JSONCompactEachRow/explain_55.txt new file mode 100644 index 0000000000..324602be3f --- /dev/null +++ b/parser/testdata/01034_JSONCompactEachRow/explain_55.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_2 diff --git a/parser/testdata/01034_JSONCompactEachRow/explain_56.txt b/parser/testdata/01034_JSONCompactEachRow/explain_56.txt new file mode 100644 index 0000000000..324602be3f --- /dev/null +++ b/parser/testdata/01034_JSONCompactEachRow/explain_56.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_2 diff --git a/parser/testdata/01034_JSONCompactEachRow/explain_6.txt b/parser/testdata/01034_JSONCompactEachRow/explain_6.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/01034_JSONCompactEachRow/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/01034_unknown_qualified_column_in_join/explain.txt b/parser/testdata/01034_unknown_qualified_column_in_join/explain.txt index 290f0ccb64..df7a0dd312 100644 --- a/parser/testdata/01034_unknown_qualified_column_in_join/explain.txt +++ b/parser/testdata/01034_unknown_qualified_column_in_join/explain.txt @@ -25,4 +25,3 @@ SelectWithUnionQuery (children 1) TableJoin (children 1) ExpressionList (children 1) Identifier b -The query succeeded but the server error '47' was expected (query: EXPLAIN AST SELECT l.c FROM (SELECT 1 AS a, 2 AS b) AS l join (SELECT 2 AS b, 3 AS c) AS r USING b; -- { serverError UNKNOWN_IDENTIFIER }). diff --git a/parser/testdata/01035_avg/explain.txt b/parser/testdata/01035_avg/explain.txt new file mode 100644 index 0000000000..c706a5146e --- /dev/null +++ b/parser/testdata/01035_avg/explain.txt @@ -0,0 +1,110 @@ +CreateQuery test_01035_avg (children 3) + Identifier test_01035_avg + Columns definition (children 1) + ExpressionList (children 18) + ColumnDeclaration i8 (children 2) + DataType Int8 + Identifier i64 + ColumnDeclaration i16 (children 2) + DataType Int16 + Identifier i64 + ColumnDeclaration i32 (children 2) + DataType Int32 + Identifier i64 + ColumnDeclaration i64 (children 2) + DataType Int64 + Function if (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier u64 + Literal UInt64_2 + Literal UInt64_0 + Function toInt64 (children 1) + ExpressionList (children 1) + Identifier u64 + Function toInt64 (children 1) + ExpressionList (children 1) + Function negate (children 1) + ExpressionList (children 1) + Identifier u64 + ColumnDeclaration i128 (children 2) + DataType Int128 + Identifier i64 + ColumnDeclaration i256 (children 2) + DataType Int256 + Identifier i64 + ColumnDeclaration u8 (children 2) + DataType UInt8 + Identifier u64 + ColumnDeclaration u16 (children 2) + DataType UInt16 + Identifier u64 + ColumnDeclaration u32 (children 2) + DataType UInt32 + Identifier u64 + ColumnDeclaration u64 (children 1) + DataType UInt64 + ColumnDeclaration u128 (children 2) + DataType UInt128 + Identifier u64 + ColumnDeclaration u256 (children 2) + DataType UInt256 + Identifier u64 + ColumnDeclaration f32 (children 2) + DataType Float32 + Identifier u64 + ColumnDeclaration f64 (children 2) + DataType Float64 + Identifier u64 + ColumnDeclaration d32 (children 2) + DataType Decimal32 (children 1) + ExpressionList (children 1) + Literal UInt64_4 + Function toDecimal32 (children 1) + ExpressionList (children 2) + Function divide (children 1) + ExpressionList (children 2) + Identifier i32 + Literal UInt64_1000 + Literal UInt64_4 + ColumnDeclaration d64 (children 2) + DataType Decimal64 (children 1) + ExpressionList (children 1) + Literal UInt64_18 + Function toDecimal64 (children 1) + ExpressionList (children 2) + Function divide (children 1) + ExpressionList (children 2) + Identifier u64 + Literal UInt64_1000000 + Literal UInt64_8 + ColumnDeclaration d128 (children 2) + DataType Decimal128 (children 1) + ExpressionList (children 1) + Literal UInt64_20 + Function toDecimal128 (children 1) + ExpressionList (children 2) + Function divide (children 1) + ExpressionList (children 2) + Identifier i128 + Literal UInt64_100000 + Literal UInt64_20 + ColumnDeclaration d256 (children 2) + DataType Decimal256 (children 1) + ExpressionList (children 1) + Literal UInt64_40 + Function toDecimal256 (children 1) + ExpressionList (children 2) + Function divide (children 1) + ExpressionList (children 2) + Identifier i256 + Literal UInt64_100000 + Literal UInt64_40 + Storage definition (children 3) + Function MergeTree (children 1) + ExpressionList + Identifier i64 + Set diff --git a/parser/testdata/01036_union_different_columns/explain.txt b/parser/testdata/01036_union_different_columns/explain.txt index b8c85f7141..22e1d89db7 100644 --- a/parser/testdata/01036_union_different_columns/explain.txt +++ b/parser/testdata/01036_union_different_columns/explain.txt @@ -14,4 +14,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Literal UInt64_1 (alias c1) Literal UInt64_2 (alias c2) -The query succeeded but the server error '258' was expected (query: EXPLAIN AST select 1 as c1, 2 as c2, 3 as c3 union all (select 1 as c1, 2 as c2, 3 as c3 union all select 1 as c1, 2 as c2) -- { serverError UNION_ALL_RESULT_STRUCTURES_MISMATCH }). diff --git a/parser/testdata/01037_zookeeper_check_table_empty_pk/explain_11.txt b/parser/testdata/01037_zookeeper_check_table_empty_pk/explain_11.txt new file mode 100644 index 0000000000..990ff8ac29 --- /dev/null +++ b/parser/testdata/01037_zookeeper_check_table_empty_pk/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replicated_mt_without_pk diff --git a/parser/testdata/01037_zookeeper_check_table_empty_pk/explain_6.txt b/parser/testdata/01037_zookeeper_check_table_empty_pk/explain_6.txt new file mode 100644 index 0000000000..690eee2c22 --- /dev/null +++ b/parser/testdata/01037_zookeeper_check_table_empty_pk/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mt_without_pk diff --git a/parser/testdata/01038_array_of_unnamed_tuples/explain_4.txt b/parser/testdata/01038_array_of_unnamed_tuples/explain_4.txt new file mode 100644 index 0000000000..68b5869bdc --- /dev/null +++ b/parser/testdata/01038_array_of_unnamed_tuples/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier array_of_tuples diff --git a/parser/testdata/01042_h3_k_ring/explain_10.txt b/parser/testdata/01042_h3_k_ring/explain_10.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/01042_h3_k_ring/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/01042_h3_k_ring/explain_11.txt b/parser/testdata/01042_h3_k_ring/explain_11.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/01042_h3_k_ring/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/01042_h3_k_ring/explain_12.txt b/parser/testdata/01042_h3_k_ring/explain_12.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/01042_h3_k_ring/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/01042_h3_k_ring/explain_13.txt b/parser/testdata/01042_h3_k_ring/explain_13.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/01042_h3_k_ring/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/01042_h3_k_ring/explain_14.txt b/parser/testdata/01042_h3_k_ring/explain_14.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/01042_h3_k_ring/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/01042_h3_k_ring/explain_15.txt b/parser/testdata/01042_h3_k_ring/explain_15.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/01042_h3_k_ring/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/01042_h3_k_ring/explain_16.txt b/parser/testdata/01042_h3_k_ring/explain_16.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/01042_h3_k_ring/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/01042_h3_k_ring/explain_17.txt b/parser/testdata/01042_h3_k_ring/explain_17.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/01042_h3_k_ring/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/01042_h3_k_ring/explain_18.txt b/parser/testdata/01042_h3_k_ring/explain_18.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/01042_h3_k_ring/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/01042_h3_k_ring/explain_19.txt b/parser/testdata/01042_h3_k_ring/explain_19.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/01042_h3_k_ring/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/01042_h3_k_ring/explain_20.txt b/parser/testdata/01042_h3_k_ring/explain_20.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/01042_h3_k_ring/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/01042_h3_k_ring/explain_21.txt b/parser/testdata/01042_h3_k_ring/explain_21.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/01042_h3_k_ring/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/01042_h3_k_ring/explain_22.txt b/parser/testdata/01042_h3_k_ring/explain_22.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/01042_h3_k_ring/explain_22.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/01042_h3_k_ring/explain_23.txt b/parser/testdata/01042_h3_k_ring/explain_23.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/01042_h3_k_ring/explain_23.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/01042_h3_k_ring/explain_24.txt b/parser/testdata/01042_h3_k_ring/explain_24.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/01042_h3_k_ring/explain_24.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/01042_h3_k_ring/explain_25.txt b/parser/testdata/01042_h3_k_ring/explain_25.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/01042_h3_k_ring/explain_25.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/01043_categorical_iv/explain.txt b/parser/testdata/01043_categorical_iv/explain.txt new file mode 100644 index 0000000000..c883ea9f96 --- /dev/null +++ b/parser/testdata/01043_categorical_iv/explain.txt @@ -0,0 +1,29 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function categoricalInformationValue (children 1) + ExpressionList (children 2) + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_1 + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_2 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayJoin (alias x) (children 1) + ExpressionList (children 1) + Function arrayPopBack (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 1) + Literal Tuple_(UInt64_1, UInt64_0) diff --git a/parser/testdata/01045_bloom_filter_null_array/explain_3.txt b/parser/testdata/01045_bloom_filter_null_array/explain_3.txt new file mode 100644 index 0000000000..12304bc93d --- /dev/null +++ b/parser/testdata/01045_bloom_filter_null_array/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier bloom_filter_null_array diff --git a/parser/testdata/01045_bloom_filter_null_array/explain_4.txt b/parser/testdata/01045_bloom_filter_null_array/explain_4.txt new file mode 100644 index 0000000000..12304bc93d --- /dev/null +++ b/parser/testdata/01045_bloom_filter_null_array/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier bloom_filter_null_array diff --git a/parser/testdata/01045_bloom_filter_null_array/explain_5.txt b/parser/testdata/01045_bloom_filter_null_array/explain_5.txt new file mode 100644 index 0000000000..12304bc93d --- /dev/null +++ b/parser/testdata/01045_bloom_filter_null_array/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier bloom_filter_null_array diff --git a/parser/testdata/01046_trivial_count_query_distributed/explain_3.txt b/parser/testdata/01046_trivial_count_query_distributed/explain_3.txt new file mode 100644 index 0000000000..830538b37b --- /dev/null +++ b/parser/testdata/01046_trivial_count_query_distributed/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_count diff --git a/parser/testdata/01047_no_alias_columns_with_table_aliases/explain_3.txt b/parser/testdata/01047_no_alias_columns_with_table_aliases/explain_3.txt new file mode 100644 index 0000000000..68d090eabf --- /dev/null +++ b/parser/testdata/01047_no_alias_columns_with_table_aliases/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier requests + ExpressionList (children 1) + Identifier event_time diff --git a/parser/testdata/01047_simple_aggregate_sizes_of_columns_bug/explain_3.txt b/parser/testdata/01047_simple_aggregate_sizes_of_columns_bug/explain_3.txt new file mode 100644 index 0000000000..e9a707786a --- /dev/null +++ b/parser/testdata/01047_simple_aggregate_sizes_of_columns_bug/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier column_size_bug diff --git a/parser/testdata/01047_simple_aggregate_sizes_of_columns_bug/explain_4.txt b/parser/testdata/01047_simple_aggregate_sizes_of_columns_bug/explain_4.txt new file mode 100644 index 0000000000..e9a707786a --- /dev/null +++ b/parser/testdata/01047_simple_aggregate_sizes_of_columns_bug/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier column_size_bug diff --git a/parser/testdata/01049_join_low_card_crash/explain_5.txt b/parser/testdata/01049_join_low_card_crash/explain_5.txt new file mode 100644 index 0000000000..a333c2e149 --- /dev/null +++ b/parser/testdata/01049_join_low_card_crash/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier Alpha diff --git a/parser/testdata/01049_join_low_card_crash/explain_6.txt b/parser/testdata/01049_join_low_card_crash/explain_6.txt new file mode 100644 index 0000000000..e56022892e --- /dev/null +++ b/parser/testdata/01049_join_low_card_crash/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier Beta diff --git a/parser/testdata/01050_engine_join_crash/explain_16.txt b/parser/testdata/01050_engine_join_crash/explain_16.txt new file mode 100644 index 0000000000..f22093191a --- /dev/null +++ b/parser/testdata/01050_engine_join_crash/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier master diff --git a/parser/testdata/01050_engine_join_crash/explain_17.txt b/parser/testdata/01050_engine_join_crash/explain_17.txt new file mode 100644 index 0000000000..6cb26c3970 --- /dev/null +++ b/parser/testdata/01050_engine_join_crash/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier transaction diff --git a/parser/testdata/01050_engine_join_crash/explain_5.txt b/parser/testdata/01050_engine_join_crash/explain_5.txt new file mode 100644 index 0000000000..ef02207450 --- /dev/null +++ b/parser/testdata/01050_engine_join_crash/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier testJoinTable diff --git a/parser/testdata/01050_engine_join_view_crash/explain_10.txt b/parser/testdata/01050_engine_join_view_crash/explain_10.txt new file mode 100644 index 0000000000..5fd7a9d15e --- /dev/null +++ b/parser/testdata/01050_engine_join_view_crash/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier id2 diff --git a/parser/testdata/01050_engine_join_view_crash/explain_8.txt b/parser/testdata/01050_engine_join_view_crash/explain_8.txt new file mode 100644 index 0000000000..b99677bd61 --- /dev/null +++ b/parser/testdata/01050_engine_join_view_crash/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier a diff --git a/parser/testdata/01050_engine_join_view_crash/explain_9.txt b/parser/testdata/01050_engine_join_view_crash/explain_9.txt new file mode 100644 index 0000000000..fb1b8db57b --- /dev/null +++ b/parser/testdata/01050_engine_join_view_crash/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier id1 diff --git a/parser/testdata/01051_all_join_engine/explain_11.txt b/parser/testdata/01051_all_join_engine/explain_11.txt new file mode 100644 index 0000000000..e9ae89ebae --- /dev/null +++ b/parser/testdata/01051_all_join_engine/explain_11.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 2) + Identifier x + Identifier str diff --git a/parser/testdata/01051_all_join_engine/explain_12.txt b/parser/testdata/01051_all_join_engine/explain_12.txt new file mode 100644 index 0000000000..aa9a6abdd5 --- /dev/null +++ b/parser/testdata/01051_all_join_engine/explain_12.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier left_join + ExpressionList (children 2) + Identifier x + Identifier s diff --git a/parser/testdata/01051_all_join_engine/explain_13.txt b/parser/testdata/01051_all_join_engine/explain_13.txt new file mode 100644 index 0000000000..2eefbcb1da --- /dev/null +++ b/parser/testdata/01051_all_join_engine/explain_13.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier inner_join + ExpressionList (children 2) + Identifier x + Identifier s diff --git a/parser/testdata/01051_all_join_engine/explain_14.txt b/parser/testdata/01051_all_join_engine/explain_14.txt new file mode 100644 index 0000000000..2b996e70d5 --- /dev/null +++ b/parser/testdata/01051_all_join_engine/explain_14.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier right_join + ExpressionList (children 2) + Identifier x + Identifier s diff --git a/parser/testdata/01051_all_join_engine/explain_15.txt b/parser/testdata/01051_all_join_engine/explain_15.txt new file mode 100644 index 0000000000..5f7236f1de --- /dev/null +++ b/parser/testdata/01051_all_join_engine/explain_15.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier full_join + ExpressionList (children 2) + Identifier x + Identifier s diff --git a/parser/testdata/01051_all_join_engine/explain_40.txt b/parser/testdata/01051_all_join_engine/explain_40.txt new file mode 100644 index 0000000000..aa9a6abdd5 --- /dev/null +++ b/parser/testdata/01051_all_join_engine/explain_40.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier left_join + ExpressionList (children 2) + Identifier x + Identifier s diff --git a/parser/testdata/01051_all_join_engine/explain_41.txt b/parser/testdata/01051_all_join_engine/explain_41.txt new file mode 100644 index 0000000000..2eefbcb1da --- /dev/null +++ b/parser/testdata/01051_all_join_engine/explain_41.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier inner_join + ExpressionList (children 2) + Identifier x + Identifier s diff --git a/parser/testdata/01051_all_join_engine/explain_42.txt b/parser/testdata/01051_all_join_engine/explain_42.txt new file mode 100644 index 0000000000..2b996e70d5 --- /dev/null +++ b/parser/testdata/01051_all_join_engine/explain_42.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier right_join + ExpressionList (children 2) + Identifier x + Identifier s diff --git a/parser/testdata/01051_all_join_engine/explain_43.txt b/parser/testdata/01051_all_join_engine/explain_43.txt new file mode 100644 index 0000000000..5f7236f1de --- /dev/null +++ b/parser/testdata/01051_all_join_engine/explain_43.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier full_join + ExpressionList (children 2) + Identifier x + Identifier s diff --git a/parser/testdata/01051_new_any_join_engine/explain_18.txt b/parser/testdata/01051_new_any_join_engine/explain_18.txt new file mode 100644 index 0000000000..e9ae89ebae --- /dev/null +++ b/parser/testdata/01051_new_any_join_engine/explain_18.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 2) + Identifier x + Identifier str diff --git a/parser/testdata/01051_new_any_join_engine/explain_19.txt b/parser/testdata/01051_new_any_join_engine/explain_19.txt new file mode 100644 index 0000000000..a89552e3cb --- /dev/null +++ b/parser/testdata/01051_new_any_join_engine/explain_19.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier any_left_join + ExpressionList (children 2) + Identifier x + Identifier s diff --git a/parser/testdata/01051_new_any_join_engine/explain_20.txt b/parser/testdata/01051_new_any_join_engine/explain_20.txt new file mode 100644 index 0000000000..bc7d4035e8 --- /dev/null +++ b/parser/testdata/01051_new_any_join_engine/explain_20.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier any_inner_join + ExpressionList (children 2) + Identifier x + Identifier s diff --git a/parser/testdata/01051_new_any_join_engine/explain_21.txt b/parser/testdata/01051_new_any_join_engine/explain_21.txt new file mode 100644 index 0000000000..d9a46fc509 --- /dev/null +++ b/parser/testdata/01051_new_any_join_engine/explain_21.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier any_right_join + ExpressionList (children 2) + Identifier x + Identifier s diff --git a/parser/testdata/01051_new_any_join_engine/explain_22.txt b/parser/testdata/01051_new_any_join_engine/explain_22.txt new file mode 100644 index 0000000000..62fa0eb6d3 --- /dev/null +++ b/parser/testdata/01051_new_any_join_engine/explain_22.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier semi_left_join + ExpressionList (children 2) + Identifier x + Identifier s diff --git a/parser/testdata/01051_new_any_join_engine/explain_23.txt b/parser/testdata/01051_new_any_join_engine/explain_23.txt new file mode 100644 index 0000000000..94bdd998b7 --- /dev/null +++ b/parser/testdata/01051_new_any_join_engine/explain_23.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier semi_right_join + ExpressionList (children 2) + Identifier x + Identifier s diff --git a/parser/testdata/01051_new_any_join_engine/explain_24.txt b/parser/testdata/01051_new_any_join_engine/explain_24.txt new file mode 100644 index 0000000000..ebccb3016d --- /dev/null +++ b/parser/testdata/01051_new_any_join_engine/explain_24.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier anti_left_join + ExpressionList (children 2) + Identifier x + Identifier s diff --git a/parser/testdata/01051_new_any_join_engine/explain_25.txt b/parser/testdata/01051_new_any_join_engine/explain_25.txt new file mode 100644 index 0000000000..33c5015439 --- /dev/null +++ b/parser/testdata/01051_new_any_join_engine/explain_25.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier anti_right_join + ExpressionList (children 2) + Identifier x + Identifier s diff --git a/parser/testdata/01051_scalar_optimization/explain.txt b/parser/testdata/01051_scalar_optimization/explain.txt index 01898d49c1..e29c421aab 100644 --- a/parser/testdata/01051_scalar_optimization/explain.txt +++ b/parser/testdata/01051_scalar_optimization/explain.txt @@ -1,7 +1,23 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 1) - ExpressionList (children 1) + ExpressionList (children 2) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_100 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier number + Literal UInt64_1 Subquery (children 1) SelectWithUnionQuery (children 1) ExpressionList (children 1) diff --git a/parser/testdata/01052_array_reduce_exception/explain.txt b/parser/testdata/01052_array_reduce_exception/explain.txt index d63535e21e..df3ef57f74 100644 --- a/parser/testdata/01052_array_reduce_exception/explain.txt +++ b/parser/testdata/01052_array_reduce_exception/explain.txt @@ -16,4 +16,3 @@ SelectWithUnionQuery (children 2) TableExpression (children 1) TableIdentifier system.numbers Identifier Null -The query succeeded but the server error '503' was expected (query: EXPLAIN AST SELECT arrayReduce('aggThrow(0.0001)', range(number % 10)) FROM system.numbers FORMAT Null; -- { serverError AGGREGATE_FUNCTION_THROW }). diff --git a/parser/testdata/01054_cache_dictionary_overflow_cell/explain_10.txt b/parser/testdata/01054_cache_dictionary_overflow_cell/explain_10.txt new file mode 100644 index 0000000000..076b971730 --- /dev/null +++ b/parser/testdata/01054_cache_dictionary_overflow_cell/explain_10.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier test_01054_overflow + Identifier ints diff --git a/parser/testdata/01054_cache_dictionary_overflow_cell/explain_11.txt b/parser/testdata/01054_cache_dictionary_overflow_cell/explain_11.txt new file mode 100644 index 0000000000..076b971730 --- /dev/null +++ b/parser/testdata/01054_cache_dictionary_overflow_cell/explain_11.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier test_01054_overflow + Identifier ints diff --git a/parser/testdata/01054_cache_dictionary_overflow_cell/explain_12.txt b/parser/testdata/01054_cache_dictionary_overflow_cell/explain_12.txt new file mode 100644 index 0000000000..076b971730 --- /dev/null +++ b/parser/testdata/01054_cache_dictionary_overflow_cell/explain_12.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier test_01054_overflow + Identifier ints diff --git a/parser/testdata/01054_cache_dictionary_overflow_cell/explain_13.txt b/parser/testdata/01054_cache_dictionary_overflow_cell/explain_13.txt new file mode 100644 index 0000000000..076b971730 --- /dev/null +++ b/parser/testdata/01054_cache_dictionary_overflow_cell/explain_13.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier test_01054_overflow + Identifier ints diff --git a/parser/testdata/01054_cache_dictionary_overflow_cell/explain_14.txt b/parser/testdata/01054_cache_dictionary_overflow_cell/explain_14.txt new file mode 100644 index 0000000000..076b971730 --- /dev/null +++ b/parser/testdata/01054_cache_dictionary_overflow_cell/explain_14.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier test_01054_overflow + Identifier ints diff --git a/parser/testdata/01054_cache_dictionary_overflow_cell/explain_15.txt b/parser/testdata/01054_cache_dictionary_overflow_cell/explain_15.txt new file mode 100644 index 0000000000..076b971730 --- /dev/null +++ b/parser/testdata/01054_cache_dictionary_overflow_cell/explain_15.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier test_01054_overflow + Identifier ints diff --git a/parser/testdata/01054_cache_dictionary_overflow_cell/explain_16.txt b/parser/testdata/01054_cache_dictionary_overflow_cell/explain_16.txt new file mode 100644 index 0000000000..076b971730 --- /dev/null +++ b/parser/testdata/01054_cache_dictionary_overflow_cell/explain_16.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier test_01054_overflow + Identifier ints diff --git a/parser/testdata/01054_cache_dictionary_overflow_cell/explain_17.txt b/parser/testdata/01054_cache_dictionary_overflow_cell/explain_17.txt new file mode 100644 index 0000000000..076b971730 --- /dev/null +++ b/parser/testdata/01054_cache_dictionary_overflow_cell/explain_17.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier test_01054_overflow + Identifier ints diff --git a/parser/testdata/01054_cache_dictionary_overflow_cell/explain_18.txt b/parser/testdata/01054_cache_dictionary_overflow_cell/explain_18.txt new file mode 100644 index 0000000000..076b971730 --- /dev/null +++ b/parser/testdata/01054_cache_dictionary_overflow_cell/explain_18.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier test_01054_overflow + Identifier ints diff --git a/parser/testdata/01054_cache_dictionary_overflow_cell/explain_19.txt b/parser/testdata/01054_cache_dictionary_overflow_cell/explain_19.txt new file mode 100644 index 0000000000..076b971730 --- /dev/null +++ b/parser/testdata/01054_cache_dictionary_overflow_cell/explain_19.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier test_01054_overflow + Identifier ints diff --git a/parser/testdata/01054_cache_dictionary_overflow_cell/explain_20.txt b/parser/testdata/01054_cache_dictionary_overflow_cell/explain_20.txt new file mode 100644 index 0000000000..076b971730 --- /dev/null +++ b/parser/testdata/01054_cache_dictionary_overflow_cell/explain_20.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier test_01054_overflow + Identifier ints diff --git a/parser/testdata/01054_cache_dictionary_overflow_cell/explain_21.txt b/parser/testdata/01054_cache_dictionary_overflow_cell/explain_21.txt new file mode 100644 index 0000000000..076b971730 --- /dev/null +++ b/parser/testdata/01054_cache_dictionary_overflow_cell/explain_21.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier test_01054_overflow + Identifier ints diff --git a/parser/testdata/01054_cache_dictionary_overflow_cell/explain_22.txt b/parser/testdata/01054_cache_dictionary_overflow_cell/explain_22.txt new file mode 100644 index 0000000000..076b971730 --- /dev/null +++ b/parser/testdata/01054_cache_dictionary_overflow_cell/explain_22.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier test_01054_overflow + Identifier ints diff --git a/parser/testdata/01054_cache_dictionary_overflow_cell/explain_23.txt b/parser/testdata/01054_cache_dictionary_overflow_cell/explain_23.txt new file mode 100644 index 0000000000..076b971730 --- /dev/null +++ b/parser/testdata/01054_cache_dictionary_overflow_cell/explain_23.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier test_01054_overflow + Identifier ints diff --git a/parser/testdata/01054_cache_dictionary_overflow_cell/explain_4.txt b/parser/testdata/01054_cache_dictionary_overflow_cell/explain_4.txt new file mode 100644 index 0000000000..076b971730 --- /dev/null +++ b/parser/testdata/01054_cache_dictionary_overflow_cell/explain_4.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier test_01054_overflow + Identifier ints diff --git a/parser/testdata/01054_cache_dictionary_overflow_cell/explain_5.txt b/parser/testdata/01054_cache_dictionary_overflow_cell/explain_5.txt new file mode 100644 index 0000000000..076b971730 --- /dev/null +++ b/parser/testdata/01054_cache_dictionary_overflow_cell/explain_5.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier test_01054_overflow + Identifier ints diff --git a/parser/testdata/01054_cache_dictionary_overflow_cell/explain_6.txt b/parser/testdata/01054_cache_dictionary_overflow_cell/explain_6.txt new file mode 100644 index 0000000000..076b971730 --- /dev/null +++ b/parser/testdata/01054_cache_dictionary_overflow_cell/explain_6.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier test_01054_overflow + Identifier ints diff --git a/parser/testdata/01054_cache_dictionary_overflow_cell/explain_7.txt b/parser/testdata/01054_cache_dictionary_overflow_cell/explain_7.txt new file mode 100644 index 0000000000..076b971730 --- /dev/null +++ b/parser/testdata/01054_cache_dictionary_overflow_cell/explain_7.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier test_01054_overflow + Identifier ints diff --git a/parser/testdata/01054_cache_dictionary_overflow_cell/explain_8.txt b/parser/testdata/01054_cache_dictionary_overflow_cell/explain_8.txt new file mode 100644 index 0000000000..076b971730 --- /dev/null +++ b/parser/testdata/01054_cache_dictionary_overflow_cell/explain_8.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier test_01054_overflow + Identifier ints diff --git a/parser/testdata/01054_cache_dictionary_overflow_cell/explain_9.txt b/parser/testdata/01054_cache_dictionary_overflow_cell/explain_9.txt new file mode 100644 index 0000000000..076b971730 --- /dev/null +++ b/parser/testdata/01054_cache_dictionary_overflow_cell/explain_9.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier test_01054_overflow + Identifier ints diff --git a/parser/testdata/01055_compact_parts_1/explain.txt b/parser/testdata/01055_compact_parts_1/explain.txt index 254d5b97bc..5e7736ab14 100644 --- a/parser/testdata/01055_compact_parts_1/explain.txt +++ b/parser/testdata/01055_compact_parts_1/explain.txt @@ -6,7 +6,8 @@ CreateQuery mt_compact (children 3) DataType Int ColumnDeclaration s (children 1) DataType String - Storage definition (children 3) + Storage definition (children 4) Function MergeTree Identifier a Identifier a + Set diff --git a/parser/testdata/01055_compact_parts_1/explain_5.txt b/parser/testdata/01055_compact_parts_1/explain_5.txt new file mode 100644 index 0000000000..1f0fe0853b --- /dev/null +++ b/parser/testdata/01055_compact_parts_1/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mt_compact_2 diff --git a/parser/testdata/01055_prewhere_bugs/explain_4.txt b/parser/testdata/01055_prewhere_bugs/explain_4.txt new file mode 100644 index 0000000000..08cf79a203 --- /dev/null +++ b/parser/testdata/01055_prewhere_bugs/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_prewhere_default_column diff --git a/parser/testdata/01055_prewhere_bugs/explain_8.txt b/parser/testdata/01055_prewhere_bugs/explain_8.txt new file mode 100644 index 0000000000..b52a254820 --- /dev/null +++ b/parser/testdata/01055_prewhere_bugs/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_prewhere_column_type diff --git a/parser/testdata/01056_negative_with_bloom_filter/explain_3.txt b/parser/testdata/01056_negative_with_bloom_filter/explain_3.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/01056_negative_with_bloom_filter/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/01056_predicate_optimizer_bugs/explain_18.txt b/parser/testdata/01056_predicate_optimizer_bugs/explain_18.txt new file mode 100644 index 0000000000..98adeb5fe0 --- /dev/null +++ b/parser/testdata/01056_predicate_optimizer_bugs/explain_18.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 2) + Identifier id + Identifier value1 diff --git a/parser/testdata/01056_predicate_optimizer_bugs/explain_19.txt b/parser/testdata/01056_predicate_optimizer_bugs/explain_19.txt new file mode 100644 index 0000000000..59971e104b --- /dev/null +++ b/parser/testdata/01056_predicate_optimizer_bugs/explain_19.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t2 + ExpressionList (children 2) + Identifier id + Identifier value2 diff --git a/parser/testdata/01056_predicate_optimizer_bugs/explain_20.txt b/parser/testdata/01056_predicate_optimizer_bugs/explain_20.txt new file mode 100644 index 0000000000..b24cb5081d --- /dev/null +++ b/parser/testdata/01056_predicate_optimizer_bugs/explain_20.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t3 + ExpressionList (children 2) + Identifier id + Identifier value3 diff --git a/parser/testdata/01056_predicate_optimizer_bugs/explain_39.txt b/parser/testdata/01056_predicate_optimizer_bugs/explain_39.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/01056_predicate_optimizer_bugs/explain_39.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/01060_defaults_all_columns/explain_3.txt b/parser/testdata/01060_defaults_all_columns/explain_3.txt new file mode 100644 index 0000000000..cd37600739 --- /dev/null +++ b/parser/testdata/01060_defaults_all_columns/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier defaults_all_columns diff --git a/parser/testdata/01060_defaults_all_columns/explain_4.txt b/parser/testdata/01060_defaults_all_columns/explain_4.txt new file mode 100644 index 0000000000..cd37600739 --- /dev/null +++ b/parser/testdata/01060_defaults_all_columns/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier defaults_all_columns diff --git a/parser/testdata/01061_alter_codec_with_type/explain_6.txt b/parser/testdata/01061_alter_codec_with_type/explain_6.txt new file mode 100644 index 0000000000..e31185d640 --- /dev/null +++ b/parser/testdata/01061_alter_codec_with_type/explain_6.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier alter_bug + ExpressionList (children 1) + Identifier _time_dec diff --git a/parser/testdata/01062_alter_on_mutataion_zookeeper_long/explain_31.txt b/parser/testdata/01062_alter_on_mutataion_zookeeper_long/explain_31.txt new file mode 100644 index 0000000000..63782db473 --- /dev/null +++ b/parser/testdata/01062_alter_on_mutataion_zookeeper_long/explain_31.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nested_alter diff --git a/parser/testdata/01069_database_memory/explain_6.txt b/parser/testdata/01069_database_memory/explain_6.txt new file mode 100644 index 0000000000..c3bfc827fa --- /dev/null +++ b/parser/testdata/01069_database_memory/explain_6.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier memory_01069 + Identifier mt diff --git a/parser/testdata/01069_database_memory/explain_7.txt b/parser/testdata/01069_database_memory/explain_7.txt new file mode 100644 index 0000000000..8df0134d04 --- /dev/null +++ b/parser/testdata/01069_database_memory/explain_7.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier memory_01069 + Identifier file diff --git a/parser/testdata/01069_insert_float_as_nullable_unit8/explain_2.txt b/parser/testdata/01069_insert_float_as_nullable_unit8/explain_2.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/01069_insert_float_as_nullable_unit8/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/01069_insert_float_as_nullable_unit8/explain_5.txt b/parser/testdata/01069_insert_float_as_nullable_unit8/explain_5.txt new file mode 100644 index 0000000000..df4a687bc0 --- /dev/null +++ b/parser/testdata/01069_insert_float_as_nullable_unit8/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2 diff --git a/parser/testdata/01069_materialized_view_alter_target_table/explain_7.txt b/parser/testdata/01069_materialized_view_alter_target_table/explain_7.txt new file mode 100644 index 0000000000..c4cdfb1b25 --- /dev/null +++ b/parser/testdata/01069_materialized_view_alter_target_table/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mv_source diff --git a/parser/testdata/01069_materialized_view_alter_target_table/explain_9.txt b/parser/testdata/01069_materialized_view_alter_target_table/explain_9.txt new file mode 100644 index 0000000000..c4cdfb1b25 --- /dev/null +++ b/parser/testdata/01069_materialized_view_alter_target_table/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mv_source diff --git a/parser/testdata/01069_materialized_view_alter_target_table_with_default_expression/explain_7.txt b/parser/testdata/01069_materialized_view_alter_target_table_with_default_expression/explain_7.txt new file mode 100644 index 0000000000..c4cdfb1b25 --- /dev/null +++ b/parser/testdata/01069_materialized_view_alter_target_table_with_default_expression/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mv_source diff --git a/parser/testdata/01069_materialized_view_alter_target_table_with_default_expression/explain_9.txt b/parser/testdata/01069_materialized_view_alter_target_table_with_default_expression/explain_9.txt new file mode 100644 index 0000000000..c4cdfb1b25 --- /dev/null +++ b/parser/testdata/01069_materialized_view_alter_target_table_with_default_expression/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mv_source diff --git a/parser/testdata/01069_set_in_group_by/explain_3.txt b/parser/testdata/01069_set_in_group_by/explain_3.txt new file mode 100644 index 0000000000..25a0e268bb --- /dev/null +++ b/parser/testdata/01069_set_in_group_by/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier testmt diff --git a/parser/testdata/01070_exception_code_in_query_log_table/explain_5.txt b/parser/testdata/01070_exception_code_in_query_log_table/explain_5.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01070_exception_code_in_query_log_table/explain_5.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01070_h3_to_children/explain.txt b/parser/testdata/01070_h3_to_children/explain.txt index 05d2781d21..038aa80e11 100644 --- a/parser/testdata/01070_h3_to_children/explain.txt +++ b/parser/testdata/01070_h3_to_children/explain.txt @@ -6,4 +6,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Literal UInt64_599405990164561919 Literal UInt64_16 -The query succeeded but the server error '69' was expected (query: EXPLAIN AST SELECT h3ToChildren(599405990164561919, 16); -- { serverError ARGUMENT_OUT_OF_BOUND }). diff --git a/parser/testdata/01070_h3_to_children/explain_4.txt b/parser/testdata/01070_h3_to_children/explain_4.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/01070_h3_to_children/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/01070_h3_to_children/explain_5.txt b/parser/testdata/01070_h3_to_children/explain_5.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/01070_h3_to_children/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/01070_h3_to_children/explain_6.txt b/parser/testdata/01070_h3_to_children/explain_6.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/01070_h3_to_children/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/01070_materialize_ttl/explain_16.txt b/parser/testdata/01070_materialize_ttl/explain_16.txt new file mode 100644 index 0000000000..3166a14b01 --- /dev/null +++ b/parser/testdata/01070_materialize_ttl/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl diff --git a/parser/testdata/01070_materialize_ttl/explain_25.txt b/parser/testdata/01070_materialize_ttl/explain_25.txt new file mode 100644 index 0000000000..3166a14b01 --- /dev/null +++ b/parser/testdata/01070_materialize_ttl/explain_25.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl diff --git a/parser/testdata/01070_materialize_ttl/explain_35.txt b/parser/testdata/01070_materialize_ttl/explain_35.txt new file mode 100644 index 0000000000..3166a14b01 --- /dev/null +++ b/parser/testdata/01070_materialize_ttl/explain_35.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl diff --git a/parser/testdata/01070_materialize_ttl/explain_4.txt b/parser/testdata/01070_materialize_ttl/explain_4.txt new file mode 100644 index 0000000000..3166a14b01 --- /dev/null +++ b/parser/testdata/01070_materialize_ttl/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl diff --git a/parser/testdata/01070_materialize_ttl/explain_5.txt b/parser/testdata/01070_materialize_ttl/explain_5.txt new file mode 100644 index 0000000000..3166a14b01 --- /dev/null +++ b/parser/testdata/01070_materialize_ttl/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl diff --git a/parser/testdata/01070_materialize_ttl/explain_6.txt b/parser/testdata/01070_materialize_ttl/explain_6.txt new file mode 100644 index 0000000000..3166a14b01 --- /dev/null +++ b/parser/testdata/01070_materialize_ttl/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl diff --git a/parser/testdata/01070_materialize_ttl/explain_7.txt b/parser/testdata/01070_materialize_ttl/explain_7.txt new file mode 100644 index 0000000000..3166a14b01 --- /dev/null +++ b/parser/testdata/01070_materialize_ttl/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl diff --git a/parser/testdata/01070_modify_ttl/explain_14.txt b/parser/testdata/01070_modify_ttl/explain_14.txt new file mode 100644 index 0000000000..3166a14b01 --- /dev/null +++ b/parser/testdata/01070_modify_ttl/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl diff --git a/parser/testdata/01070_modify_ttl/explain_23.txt b/parser/testdata/01070_modify_ttl/explain_23.txt new file mode 100644 index 0000000000..3166a14b01 --- /dev/null +++ b/parser/testdata/01070_modify_ttl/explain_23.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl diff --git a/parser/testdata/01070_modify_ttl/explain_32.txt b/parser/testdata/01070_modify_ttl/explain_32.txt new file mode 100644 index 0000000000..3166a14b01 --- /dev/null +++ b/parser/testdata/01070_modify_ttl/explain_32.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl diff --git a/parser/testdata/01070_modify_ttl/explain_4.txt b/parser/testdata/01070_modify_ttl/explain_4.txt new file mode 100644 index 0000000000..3166a14b01 --- /dev/null +++ b/parser/testdata/01070_modify_ttl/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl diff --git a/parser/testdata/01070_modify_ttl/explain_41.txt b/parser/testdata/01070_modify_ttl/explain_41.txt new file mode 100644 index 0000000000..3166a14b01 --- /dev/null +++ b/parser/testdata/01070_modify_ttl/explain_41.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl diff --git a/parser/testdata/01070_modify_ttl/explain_5.txt b/parser/testdata/01070_modify_ttl/explain_5.txt new file mode 100644 index 0000000000..3166a14b01 --- /dev/null +++ b/parser/testdata/01070_modify_ttl/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl diff --git a/parser/testdata/01070_modify_ttl/explain_6.txt b/parser/testdata/01070_modify_ttl/explain_6.txt new file mode 100644 index 0000000000..3166a14b01 --- /dev/null +++ b/parser/testdata/01070_modify_ttl/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl diff --git a/parser/testdata/01070_modify_ttl/explain_7.txt b/parser/testdata/01070_modify_ttl/explain_7.txt new file mode 100644 index 0000000000..3166a14b01 --- /dev/null +++ b/parser/testdata/01070_modify_ttl/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl diff --git a/parser/testdata/01070_modify_ttl_recalc_only/explain_18.txt b/parser/testdata/01070_modify_ttl_recalc_only/explain_18.txt new file mode 100644 index 0000000000..3166a14b01 --- /dev/null +++ b/parser/testdata/01070_modify_ttl_recalc_only/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl diff --git a/parser/testdata/01070_modify_ttl_recalc_only/explain_33.txt b/parser/testdata/01070_modify_ttl_recalc_only/explain_33.txt new file mode 100644 index 0000000000..3166a14b01 --- /dev/null +++ b/parser/testdata/01070_modify_ttl_recalc_only/explain_33.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl diff --git a/parser/testdata/01070_modify_ttl_recalc_only/explain_46.txt b/parser/testdata/01070_modify_ttl_recalc_only/explain_46.txt new file mode 100644 index 0000000000..3166a14b01 --- /dev/null +++ b/parser/testdata/01070_modify_ttl_recalc_only/explain_46.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl diff --git a/parser/testdata/01070_modify_ttl_recalc_only/explain_6.txt b/parser/testdata/01070_modify_ttl_recalc_only/explain_6.txt new file mode 100644 index 0000000000..3166a14b01 --- /dev/null +++ b/parser/testdata/01070_modify_ttl_recalc_only/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl diff --git a/parser/testdata/01070_modify_ttl_recalc_only/explain_60.txt b/parser/testdata/01070_modify_ttl_recalc_only/explain_60.txt new file mode 100644 index 0000000000..3166a14b01 --- /dev/null +++ b/parser/testdata/01070_modify_ttl_recalc_only/explain_60.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl diff --git a/parser/testdata/01070_modify_ttl_recalc_only/explain_7.txt b/parser/testdata/01070_modify_ttl_recalc_only/explain_7.txt new file mode 100644 index 0000000000..3166a14b01 --- /dev/null +++ b/parser/testdata/01070_modify_ttl_recalc_only/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl diff --git a/parser/testdata/01070_modify_ttl_recalc_only/explain_8.txt b/parser/testdata/01070_modify_ttl_recalc_only/explain_8.txt new file mode 100644 index 0000000000..3166a14b01 --- /dev/null +++ b/parser/testdata/01070_modify_ttl_recalc_only/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl diff --git a/parser/testdata/01070_modify_ttl_recalc_only/explain_9.txt b/parser/testdata/01070_modify_ttl_recalc_only/explain_9.txt new file mode 100644 index 0000000000..3166a14b01 --- /dev/null +++ b/parser/testdata/01070_modify_ttl_recalc_only/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl diff --git a/parser/testdata/01070_mutations_with_dependencies/explain_13.txt b/parser/testdata/01070_mutations_with_dependencies/explain_13.txt new file mode 100644 index 0000000000..3166a14b01 --- /dev/null +++ b/parser/testdata/01070_mutations_with_dependencies/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl diff --git a/parser/testdata/01070_mutations_with_dependencies/explain_24.txt b/parser/testdata/01070_mutations_with_dependencies/explain_24.txt new file mode 100644 index 0000000000..3166a14b01 --- /dev/null +++ b/parser/testdata/01070_mutations_with_dependencies/explain_24.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl diff --git a/parser/testdata/01070_mutations_with_dependencies/explain_4.txt b/parser/testdata/01070_mutations_with_dependencies/explain_4.txt new file mode 100644 index 0000000000..3166a14b01 --- /dev/null +++ b/parser/testdata/01070_mutations_with_dependencies/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl diff --git a/parser/testdata/01070_template_empty_file/explain.txt b/parser/testdata/01070_template_empty_file/explain.txt index 4dfc7674f6..9bdc7dcdbb 100644 --- a/parser/testdata/01070_template_empty_file/explain.txt +++ b/parser/testdata/01070_template_empty_file/explain.txt @@ -5,4 +5,3 @@ SelectWithUnionQuery (children 3) Literal UInt64_1 Identifier Template Set -The query succeeded but the client error '107' was expected (query: EXPLAIN AST select 1 format Template settings format_template_row='01070_nonexistent_file.txt'; -- { clientError FILE_DOESNT_EXIST }). diff --git a/parser/testdata/01070_template_empty_file/explain_2.txt b/parser/testdata/01070_template_empty_file/explain_2.txt index 0812e0d670..9bdc7dcdbb 100644 --- a/parser/testdata/01070_template_empty_file/explain_2.txt +++ b/parser/testdata/01070_template_empty_file/explain_2.txt @@ -1,8 +1,7 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 2) + SelectQuery (children 1) ExpressionList (children 1) Literal UInt64_1 - Set Identifier Template Set diff --git a/parser/testdata/01070_to_decimal_or_null_exception/explain.txt b/parser/testdata/01070_to_decimal_or_null_exception/explain.txt index 6b593c8699..fa6fccbb7e 100644 --- a/parser/testdata/01070_to_decimal_or_null_exception/explain.txt +++ b/parser/testdata/01070_to_decimal_or_null_exception/explain.txt @@ -6,4 +6,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Literal \'e\' Literal UInt64_1 -The query succeeded but the server error '72' was expected (query: EXPLAIN AST SELECT toDecimal32('e', 1); -- { serverError CANNOT_PARSE_NUMBER }). diff --git a/parser/testdata/01072_json_each_row_data_in_square_brackets/explain_3.txt b/parser/testdata/01072_json_each_row_data_in_square_brackets/explain_3.txt new file mode 100644 index 0000000000..c1604b9399 --- /dev/null +++ b/parser/testdata/01072_json_each_row_data_in_square_brackets/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier json_square_brackets diff --git a/parser/testdata/01072_json_each_row_data_in_square_brackets/explain_4.txt b/parser/testdata/01072_json_each_row_data_in_square_brackets/explain_4.txt new file mode 100644 index 0000000000..c1604b9399 --- /dev/null +++ b/parser/testdata/01072_json_each_row_data_in_square_brackets/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier json_square_brackets diff --git a/parser/testdata/01072_json_each_row_data_in_square_brackets/explain_5.txt b/parser/testdata/01072_json_each_row_data_in_square_brackets/explain_5.txt new file mode 100644 index 0000000000..c1604b9399 --- /dev/null +++ b/parser/testdata/01072_json_each_row_data_in_square_brackets/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier json_square_brackets diff --git a/parser/testdata/01072_nullable_jit/explain_4.txt b/parser/testdata/01072_nullable_jit/explain_4.txt new file mode 100644 index 0000000000..2b33f6d05c --- /dev/null +++ b/parser/testdata/01072_nullable_jit/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier foo diff --git a/parser/testdata/01073_bad_alter_partition/explain_3.txt b/parser/testdata/01073_bad_alter_partition/explain_3.txt new file mode 100644 index 0000000000..04f66a3e53 --- /dev/null +++ b/parser/testdata/01073_bad_alter_partition/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier merge_tree diff --git a/parser/testdata/01073_crlf_end_of_line/explain_3.txt b/parser/testdata/01073_crlf_end_of_line/explain_3.txt new file mode 100644 index 0000000000..8a465994a6 --- /dev/null +++ b/parser/testdata/01073_crlf_end_of_line/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_01073_crlf_end_of_line diff --git a/parser/testdata/01073_crlf_end_of_line/explain_4.txt b/parser/testdata/01073_crlf_end_of_line/explain_4.txt index 3b723fd351..5c11480024 100644 --- a/parser/testdata/01073_crlf_end_of_line/explain_4.txt +++ b/parser/testdata/01073_crlf_end_of_line/explain_4.txt @@ -1,12 +1,11 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) TableIdentifier test_01073_crlf_end_of_line - Set Identifier CSV Set diff --git a/parser/testdata/01073_crlf_end_of_line/explain_5.txt b/parser/testdata/01073_crlf_end_of_line/explain_5.txt index 3b723fd351..5c11480024 100644 --- a/parser/testdata/01073_crlf_end_of_line/explain_5.txt +++ b/parser/testdata/01073_crlf_end_of_line/explain_5.txt @@ -1,12 +1,11 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) TableIdentifier test_01073_crlf_end_of_line - Set Identifier CSV Set diff --git a/parser/testdata/01073_crlf_end_of_line/explain_6.txt b/parser/testdata/01073_crlf_end_of_line/explain_6.txt index 925787e453..5a862820b7 100644 --- a/parser/testdata/01073_crlf_end_of_line/explain_6.txt +++ b/parser/testdata/01073_crlf_end_of_line/explain_6.txt @@ -1,12 +1,11 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) TableIdentifier test_01073_crlf_end_of_line - Set Identifier TSV Set diff --git a/parser/testdata/01073_crlf_end_of_line/explain_7.txt b/parser/testdata/01073_crlf_end_of_line/explain_7.txt index 925787e453..5a862820b7 100644 --- a/parser/testdata/01073_crlf_end_of_line/explain_7.txt +++ b/parser/testdata/01073_crlf_end_of_line/explain_7.txt @@ -1,12 +1,11 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) TableIdentifier test_01073_crlf_end_of_line - Set Identifier TSV Set diff --git a/parser/testdata/01074_h3_range_check/explain.txt b/parser/testdata/01074_h3_range_check/explain.txt index a0ab931b57..b9174d0d07 100644 --- a/parser/testdata/01074_h3_range_check/explain.txt +++ b/parser/testdata/01074_h3_range_check/explain.txt @@ -5,4 +5,3 @@ SelectWithUnionQuery (children 1) Function h3EdgeLengthM (children 1) ExpressionList (children 1) Literal UInt64_100 -The query succeeded but the server error '69' was expected (query: EXPLAIN AST SELECT h3EdgeLengthM(100); -- { serverError ARGUMENT_OUT_OF_BOUND }). diff --git a/parser/testdata/01076_array_join_prewhere_const_folding/explain_3.txt b/parser/testdata/01076_array_join_prewhere_const_folding/explain_3.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01076_array_join_prewhere_const_folding/explain_3.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01078_bloom_filter_operator_not_has/explain_3.txt b/parser/testdata/01078_bloom_filter_operator_not_has/explain_3.txt new file mode 100644 index 0000000000..9c1fc4f6d7 --- /dev/null +++ b/parser/testdata/01078_bloom_filter_operator_not_has/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier bloom_filter_not_has diff --git a/parser/testdata/01078_bloom_filter_operator_not_has/explain_4.txt b/parser/testdata/01078_bloom_filter_operator_not_has/explain_4.txt new file mode 100644 index 0000000000..9c1fc4f6d7 --- /dev/null +++ b/parser/testdata/01078_bloom_filter_operator_not_has/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier bloom_filter_not_has diff --git a/parser/testdata/01080_join_get_null/explain_3.txt b/parser/testdata/01080_join_get_null/explain_3.txt new file mode 100644 index 0000000000..fca04c6965 --- /dev/null +++ b/parser/testdata/01080_join_get_null/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_joinGet diff --git a/parser/testdata/01083_cross_to_inner_with_in_bug/explain_5.txt b/parser/testdata/01083_cross_to_inner_with_in_bug/explain_5.txt new file mode 100644 index 0000000000..8d5a55e129 --- /dev/null +++ b/parser/testdata/01083_cross_to_inner_with_in_bug/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ax diff --git a/parser/testdata/01083_cross_to_inner_with_in_bug/explain_6.txt b/parser/testdata/01083_cross_to_inner_with_in_bug/explain_6.txt new file mode 100644 index 0000000000..ec30c7397e --- /dev/null +++ b/parser/testdata/01083_cross_to_inner_with_in_bug/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier bx diff --git a/parser/testdata/01083_expressions_in_engine_arguments/explain_18.txt b/parser/testdata/01083_expressions_in_engine_arguments/explain_18.txt new file mode 100644 index 0000000000..776aae6371 --- /dev/null +++ b/parser/testdata/01083_expressions_in_engine_arguments/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier buffer diff --git a/parser/testdata/01083_expressions_in_engine_arguments/explain_36.txt b/parser/testdata/01083_expressions_in_engine_arguments/explain_36.txt new file mode 100644 index 0000000000..776aae6371 --- /dev/null +++ b/parser/testdata/01083_expressions_in_engine_arguments/explain_36.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier buffer diff --git a/parser/testdata/01083_expressions_in_engine_arguments/explain_37.txt b/parser/testdata/01083_expressions_in_engine_arguments/explain_37.txt new file mode 100644 index 0000000000..7734964ada --- /dev/null +++ b/parser/testdata/01083_expressions_in_engine_arguments/explain_37.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function sum (children 1) + ExpressionList (children 1) + Identifier n + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier rich_syntax + Set diff --git a/parser/testdata/01083_expressions_in_engine_arguments/explain_38.txt b/parser/testdata/01083_expressions_in_engine_arguments/explain_38.txt new file mode 100644 index 0000000000..7734964ada --- /dev/null +++ b/parser/testdata/01083_expressions_in_engine_arguments/explain_38.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function sum (children 1) + ExpressionList (children 1) + Identifier n + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier rich_syntax + Set diff --git a/parser/testdata/01083_functional_index_in_mergetree/explain_3.txt b/parser/testdata/01083_functional_index_in_mergetree/explain_3.txt new file mode 100644 index 0000000000..3d02f2b553 --- /dev/null +++ b/parser/testdata/01083_functional_index_in_mergetree/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier functional_index_mergetree diff --git a/parser/testdata/01084_defaults_on_aliases/explain_13.txt b/parser/testdata/01084_defaults_on_aliases/explain_13.txt new file mode 100644 index 0000000000..13eef28e15 --- /dev/null +++ b/parser/testdata/01084_defaults_on_aliases/explain_13.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier table_with_defaults_on_aliases + ExpressionList (children 1) + Identifier col1 diff --git a/parser/testdata/01084_defaults_on_aliases/explain_4.txt b/parser/testdata/01084_defaults_on_aliases/explain_4.txt new file mode 100644 index 0000000000..13eef28e15 --- /dev/null +++ b/parser/testdata/01084_defaults_on_aliases/explain_4.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier table_with_defaults_on_aliases + ExpressionList (children 1) + Identifier col1 diff --git a/parser/testdata/01084_defaults_on_aliases/explain_9.txt b/parser/testdata/01084_defaults_on_aliases/explain_9.txt new file mode 100644 index 0000000000..13eef28e15 --- /dev/null +++ b/parser/testdata/01084_defaults_on_aliases/explain_9.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier table_with_defaults_on_aliases + ExpressionList (children 1) + Identifier col1 diff --git a/parser/testdata/01085_simdjson_uint64/explain.txt b/parser/testdata/01085_simdjson_uint64/explain.txt new file mode 100644 index 0000000000..85692bcf4e --- /dev/null +++ b/parser/testdata/01085_simdjson_uint64/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Literal \'{"a": "hello", "b": 12345678901234567890}\' (alias json) + ExpressionList (children 1) + Function JSONExtractRaw (children 1) + ExpressionList (children 2) + Identifier json + Literal \'a\' diff --git a/parser/testdata/01087_index_set_ubsan/explain_3.txt b/parser/testdata/01087_index_set_ubsan/explain_3.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/01087_index_set_ubsan/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/01087_table_function_generate/explain.txt b/parser/testdata/01087_table_function_generate/explain.txt new file mode 100644 index 0000000000..47263435dc --- /dev/null +++ b/parser/testdata/01087_table_function_generate/explain.txt @@ -0,0 +1,35 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 8) + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier ui64 + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier i64 + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier ui32 + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier i32 + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier ui16 + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier i16 + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier ui8 + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier i8 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function generateRandom (children 1) + ExpressionList (children 1) + Literal \'ui64 UInt64, i64 Int64, ui32 UInt32, i32 Int32, ui16 UInt16, i16 Int16, ui8 UInt8, i8 Int8\' + Literal UInt64_1 diff --git a/parser/testdata/01090_zookeeper_mutations_and_insert_quorum_long/explain_6.txt b/parser/testdata/01090_zookeeper_mutations_and_insert_quorum_long/explain_6.txt new file mode 100644 index 0000000000..6bc49fd1b3 --- /dev/null +++ b/parser/testdata/01090_zookeeper_mutations_and_insert_quorum_long/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mutations_and_quorum1 diff --git a/parser/testdata/01091_insert_with_default_json/explain_3.txt b/parser/testdata/01091_insert_with_default_json/explain_3.txt new file mode 100644 index 0000000000..7ee082b9c8 --- /dev/null +++ b/parser/testdata/01091_insert_with_default_json/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_with_complex_default diff --git a/parser/testdata/01091_insert_with_default_json/explain_7.txt b/parser/testdata/01091_insert_with_default_json/explain_7.txt new file mode 100644 index 0000000000..9f8a953f29 --- /dev/null +++ b/parser/testdata/01091_insert_with_default_json/explain_7.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test_default_using_alias + ExpressionList (children 1) + Identifier what diff --git a/parser/testdata/01091_num_threads/explain_12.txt b/parser/testdata/01091_num_threads/explain_12.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01091_num_threads/explain_12.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01091_num_threads/explain_6.txt b/parser/testdata/01091_num_threads/explain_6.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01091_num_threads/explain_6.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01091_num_threads/explain_9.txt b/parser/testdata/01091_num_threads/explain_9.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01091_num_threads/explain_9.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01092_memory_profiler/explain_6.txt b/parser/testdata/01092_memory_profiler/explain_6.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01092_memory_profiler/explain_6.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01096_array_reduce_in_ranges/explain.txt b/parser/testdata/01096_array_reduce_in_ranges/explain.txt new file mode 100644 index 0000000000..b91d54efd5 --- /dev/null +++ b/parser/testdata/01096_array_reduce_in_ranges/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayReduceInRanges (children 1) + ExpressionList (children 3) + Literal \'groupArray\' + Function array (children 1) + ExpressionList (children 3) + Literal Tuple_(UInt64_1, UInt64_3) + Literal Tuple_(UInt64_2, UInt64_3) + Literal Tuple_(UInt64_3, UInt64_3) + Literal Array_[\'a\', \'b\', \'c\', \'d\', \'e\'] diff --git a/parser/testdata/01097_one_more_range_reader_test/explain_3.txt b/parser/testdata/01097_one_more_range_reader_test/explain_3.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/01097_one_more_range_reader_test/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/01097_one_more_range_reader_test/explain_8.txt b/parser/testdata/01097_one_more_range_reader_test/explain_8.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/01097_one_more_range_reader_test/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/01097_one_more_range_reader_test_wide_part/explain_3.txt b/parser/testdata/01097_one_more_range_reader_test_wide_part/explain_3.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/01097_one_more_range_reader_test_wide_part/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/01097_one_more_range_reader_test_wide_part/explain_8.txt b/parser/testdata/01097_one_more_range_reader_test_wide_part/explain_8.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/01097_one_more_range_reader_test_wide_part/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/01101_prewhere_after_alter/explain_10.txt b/parser/testdata/01101_prewhere_after_alter/explain_10.txt new file mode 100644 index 0000000000..b470e3d5aa --- /dev/null +++ b/parser/testdata/01101_prewhere_after_alter/explain_10.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier test_a + ExpressionList (children 3) + Identifier OldColumn + Identifier NewColumn + Identifier EventTime diff --git a/parser/testdata/01101_prewhere_after_alter/explain_6.txt b/parser/testdata/01101_prewhere_after_alter/explain_6.txt new file mode 100644 index 0000000000..7bc37840f2 --- /dev/null +++ b/parser/testdata/01101_prewhere_after_alter/explain_6.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test_a + ExpressionList (children 2) + Identifier OldColumn + Identifier EventTime diff --git a/parser/testdata/01101_prewhere_after_alter/explain_7.txt b/parser/testdata/01101_prewhere_after_alter/explain_7.txt new file mode 100644 index 0000000000..51e7d9c222 --- /dev/null +++ b/parser/testdata/01101_prewhere_after_alter/explain_7.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier test_b + ExpressionList (children 3) + Identifier OldColumn + Identifier NewColumn + Identifier EventTime diff --git a/parser/testdata/01101_prewhere_after_alter/explain_8.txt b/parser/testdata/01101_prewhere_after_alter/explain_8.txt new file mode 100644 index 0000000000..51e7d9c222 --- /dev/null +++ b/parser/testdata/01101_prewhere_after_alter/explain_8.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier test_b + ExpressionList (children 3) + Identifier OldColumn + Identifier NewColumn + Identifier EventTime diff --git a/parser/testdata/01103_distributed_product_mode_local_column_renames/explain_11.txt b/parser/testdata/01103_distributed_product_mode_local_column_renames/explain_11.txt new file mode 100644 index 0000000000..e4508d9ff9 --- /dev/null +++ b/parser/testdata/01103_distributed_product_mode_local_column_renames/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1_shard diff --git a/parser/testdata/01103_distributed_product_mode_local_column_renames/explain_12.txt b/parser/testdata/01103_distributed_product_mode_local_column_renames/explain_12.txt new file mode 100644 index 0000000000..6fd9cc1ec6 --- /dev/null +++ b/parser/testdata/01103_distributed_product_mode_local_column_renames/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2_shard diff --git a/parser/testdata/01104_distributed_numbers_test/explain.txt b/parser/testdata/01104_distributed_numbers_test/explain.txt index 170fce5a5e..d8ab74d725 100644 --- a/parser/testdata/01104_distributed_numbers_test/explain.txt +++ b/parser/testdata/01104_distributed_numbers_test/explain.txt @@ -1,6 +1,6 @@ -SelectWithUnionQuery (children 3) +SelectWithUnionQuery (children 2) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 4) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 1) @@ -32,5 +32,5 @@ SelectWithUnionQuery (children 3) Identifier number Literal UInt64_100 Literal UInt64_2 + Set Identifier Null - Set diff --git a/parser/testdata/01107_join_right_table_totals/explain_13.txt b/parser/testdata/01107_join_right_table_totals/explain_13.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/01107_join_right_table_totals/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/01110_dictionary_layout_without_arguments/explain_4.txt b/parser/testdata/01110_dictionary_layout_without_arguments/explain_4.txt new file mode 100644 index 0000000000..84929fd908 --- /dev/null +++ b/parser/testdata/01110_dictionary_layout_without_arguments/explain_4.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier db_for_dict + Identifier table_for_dict diff --git a/parser/testdata/01112_check_table_with_index/explain_4.txt b/parser/testdata/01112_check_table_with_index/explain_4.txt new file mode 100644 index 0000000000..6eab4a4eb5 --- /dev/null +++ b/parser/testdata/01112_check_table_with_index/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier check_table_with_indices diff --git a/parser/testdata/01113_local_dictionary_type_conversion/explain.txt b/parser/testdata/01113_local_dictionary_type_conversion/explain.txt new file mode 100644 index 0000000000..45e0199bef --- /dev/null +++ b/parser/testdata/01113_local_dictionary_type_conversion/explain.txt @@ -0,0 +1,34 @@ +CreateQuery table_for_dict (children 3) + Identifier table_for_dict + Columns definition (children 1) + ExpressionList (children 3) + ColumnDeclaration CompanyID (children 1) + DataType String + ColumnDeclaration OSType (children 1) + DataType Enum (children 1) + ExpressionList (children 5) + Function equals (children 1) + ExpressionList (children 2) + Literal \'UNKNOWN\' + Literal UInt64_0 + Function equals (children 1) + ExpressionList (children 2) + Literal \'WINDOWS\' + Literal UInt64_1 + Function equals (children 1) + ExpressionList (children 2) + Literal \'LINUX\' + Literal UInt64_2 + Function equals (children 1) + ExpressionList (children 2) + Literal \'ANDROID\' + Literal UInt64_3 + Function equals (children 1) + ExpressionList (children 2) + Literal \'MAC\' + Literal UInt64_4 + ColumnDeclaration SomeID (children 1) + DataType Int32 + Storage definition (children 1) + Function Memory (children 1) + ExpressionList diff --git a/parser/testdata/01113_local_dictionary_type_conversion/explain_2.txt b/parser/testdata/01113_local_dictionary_type_conversion/explain_2.txt new file mode 100644 index 0000000000..53c599b6ce --- /dev/null +++ b/parser/testdata/01113_local_dictionary_type_conversion/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_for_dict diff --git a/parser/testdata/01114_clear_column_compact_parts/explain_3.txt b/parser/testdata/01114_clear_column_compact_parts/explain_3.txt new file mode 100644 index 0000000000..f0969ef70e --- /dev/null +++ b/parser/testdata/01114_clear_column_compact_parts/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier clear_column diff --git a/parser/testdata/01114_materialize_clear_index_compact_parts/explain_6.txt b/parser/testdata/01114_materialize_clear_index_compact_parts/explain_6.txt new file mode 100644 index 0000000000..9791b189ab --- /dev/null +++ b/parser/testdata/01114_materialize_clear_index_compact_parts/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier minmax_compact diff --git a/parser/testdata/01115_prewhere_array_join/explain_8.txt b/parser/testdata/01115_prewhere_array_join/explain_8.txt new file mode 100644 index 0000000000..4c17629741 --- /dev/null +++ b/parser/testdata/01115_prewhere_array_join/explain_8.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier testtable + ExpressionList (children 1) + Asterisk diff --git a/parser/testdata/01116_asof_join_dolbyzerr/explain_3.txt b/parser/testdata/01116_asof_join_dolbyzerr/explain_3.txt new file mode 100644 index 0000000000..f5c0bc8dc8 --- /dev/null +++ b/parser/testdata/01116_asof_join_dolbyzerr/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier sessions diff --git a/parser/testdata/01116_asof_join_dolbyzerr/explain_4.txt b/parser/testdata/01116_asof_join_dolbyzerr/explain_4.txt new file mode 100644 index 0000000000..d2d300ec04 --- /dev/null +++ b/parser/testdata/01116_asof_join_dolbyzerr/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier orders diff --git a/parser/testdata/01116_cross_count_asterisks/explain.txt b/parser/testdata/01116_cross_count_asterisks/explain.txt index ed217e5158..a92cfaf98b 100644 --- a/parser/testdata/01116_cross_count_asterisks/explain.txt +++ b/parser/testdata/01116_cross_count_asterisks/explain.txt @@ -11,16 +11,18 @@ SelectWithUnionQuery (children 1) Function numbers (alias n1) (children 1) ExpressionList (children 1) Literal UInt64_2 - TablesInSelectQueryElement (children 1) + TablesInSelectQueryElement (children 2) TableExpression (children 1) Function numbers (alias n2) (children 1) ExpressionList (children 1) Literal UInt64_3 - TablesInSelectQueryElement (children 1) + TableJoin + TablesInSelectQueryElement (children 2) TableExpression (children 1) Function numbers (alias n3) (children 1) ExpressionList (children 1) Literal UInt64_4 + TableJoin Function and (children 1) ExpressionList (children 2) Function equals (children 1) diff --git a/parser/testdata/01117_chain_finalize_bug/explain.txt b/parser/testdata/01117_chain_finalize_bug/explain.txt index 5419d5b60b..eadd100c75 100644 --- a/parser/testdata/01117_chain_finalize_bug/explain.txt +++ b/parser/testdata/01117_chain_finalize_bug/explain.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) - SelectQuery (children 1) + SelectQuery (children 4) ExpressionList (children 2) Function arrayJoin (alias index) (children 1) ExpressionList (children 1) @@ -19,3 +19,16 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) Literal UInt64_2 Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_2 + ExpressionList (children 1) + Identifier number + ExpressionList (children 2) + OrderByElement (children 1) + Identifier index + OrderByElement (children 1) + Identifier number diff --git a/parser/testdata/01120_join_constants/explain.txt b/parser/testdata/01120_join_constants/explain.txt new file mode 100644 index 0000000000..f8c659c18f --- /dev/null +++ b/parser/testdata/01120_join_constants/explain.txt @@ -0,0 +1,43 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 4) + QualifiedAsterisk (children 1) + Identifier t1 + QualifiedAsterisk (children 1) + Identifier t2 + Literal \'world\' (alias constant) + Function isConstant (children 1) + ExpressionList (children 1) + Literal \'world\' + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias t1) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function arrayJoin (alias k) (children 1) + ExpressionList (children 1) + Literal Array_[UInt64_1, UInt64_2] + Literal \'hello\' + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias t2) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function arrayJoin (alias k) (children 1) + ExpressionList (children 1) + Literal Array_[UInt64_1, UInt64_3] + Literal \'world\' + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier t1.k + Identifier t2.k + ExpressionList (children 1) + OrderByElement (children 1) + Identifier t1.k diff --git a/parser/testdata/01122_totals_rollup_having_block_header/explain_3.txt b/parser/testdata/01122_totals_rollup_having_block_header/explain_3.txt new file mode 100644 index 0000000000..c2a4dc5ba0 --- /dev/null +++ b/parser/testdata/01122_totals_rollup_having_block_header/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rollup_having diff --git a/parser/testdata/01122_totals_rollup_having_block_header/explain_4.txt b/parser/testdata/01122_totals_rollup_having_block_header/explain_4.txt new file mode 100644 index 0000000000..c2a4dc5ba0 --- /dev/null +++ b/parser/testdata/01122_totals_rollup_having_block_header/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rollup_having diff --git a/parser/testdata/01122_totals_rollup_having_block_header/explain_5.txt b/parser/testdata/01122_totals_rollup_having_block_header/explain_5.txt new file mode 100644 index 0000000000..c2a4dc5ba0 --- /dev/null +++ b/parser/testdata/01122_totals_rollup_having_block_header/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rollup_having diff --git a/parser/testdata/01125_dict_ddl_cannot_add_column/explain_2.txt b/parser/testdata/01125_dict_ddl_cannot_add_column/explain_2.txt new file mode 100644 index 0000000000..f25193c794 --- /dev/null +++ b/parser/testdata/01125_dict_ddl_cannot_add_column/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier date_table diff --git a/parser/testdata/01126_month_partitioning_consistent_code/explain_4.txt b/parser/testdata/01126_month_partitioning_consistent_code/explain_4.txt new file mode 100644 index 0000000000..31c8e6f23c --- /dev/null +++ b/parser/testdata/01126_month_partitioning_consistent_code/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mt diff --git a/parser/testdata/01127_month_partitioning_consistency_select/explain_3.txt b/parser/testdata/01127_month_partitioning_consistency_select/explain_3.txt new file mode 100644 index 0000000000..31c8e6f23c --- /dev/null +++ b/parser/testdata/01127_month_partitioning_consistency_select/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mt diff --git a/parser/testdata/01135_default_and_alter_zookeeper/explain_3.txt b/parser/testdata/01135_default_and_alter_zookeeper/explain_3.txt new file mode 100644 index 0000000000..7e9c376d84 --- /dev/null +++ b/parser/testdata/01135_default_and_alter_zookeeper/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier default_table diff --git a/parser/testdata/01135_default_and_alter_zookeeper/explain_5.txt b/parser/testdata/01135_default_and_alter_zookeeper/explain_5.txt new file mode 100644 index 0000000000..7beb574606 --- /dev/null +++ b/parser/testdata/01135_default_and_alter_zookeeper/explain_5.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier default_table + ExpressionList (children 1) + Identifier id diff --git a/parser/testdata/01136_multiple_sets/explain_3.txt b/parser/testdata/01136_multiple_sets/explain_3.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/01136_multiple_sets/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/01140_select_from_storage_join_fix/explain_10.txt b/parser/testdata/01140_select_from_storage_join_fix/explain_10.txt new file mode 100644 index 0000000000..df4a687bc0 --- /dev/null +++ b/parser/testdata/01140_select_from_storage_join_fix/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2 diff --git a/parser/testdata/01140_select_from_storage_join_fix/explain_11.txt b/parser/testdata/01140_select_from_storage_join_fix/explain_11.txt new file mode 100644 index 0000000000..ffa366159a --- /dev/null +++ b/parser/testdata/01140_select_from_storage_join_fix/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t3 diff --git a/parser/testdata/01140_select_from_storage_join_fix/explain_12.txt b/parser/testdata/01140_select_from_storage_join_fix/explain_12.txt new file mode 100644 index 0000000000..a16e5147b1 --- /dev/null +++ b/parser/testdata/01140_select_from_storage_join_fix/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t4 diff --git a/parser/testdata/01140_select_from_storage_join_fix/explain_9.txt b/parser/testdata/01140_select_from_storage_join_fix/explain_9.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/01140_select_from_storage_join_fix/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/01142_join_lc_and_nullable_in_key/explain_5.txt b/parser/testdata/01142_join_lc_and_nullable_in_key/explain_5.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/01142_join_lc_and_nullable_in_key/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/01142_join_lc_and_nullable_in_key/explain_6.txt b/parser/testdata/01142_join_lc_and_nullable_in_key/explain_6.txt new file mode 100644 index 0000000000..ebfd74f464 --- /dev/null +++ b/parser/testdata/01142_join_lc_and_nullable_in_key/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nr diff --git a/parser/testdata/01142_merge_join_lc_and_nullable_in_key/explain_6.txt b/parser/testdata/01142_merge_join_lc_and_nullable_in_key/explain_6.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/01142_merge_join_lc_and_nullable_in_key/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/01142_merge_join_lc_and_nullable_in_key/explain_7.txt b/parser/testdata/01142_merge_join_lc_and_nullable_in_key/explain_7.txt new file mode 100644 index 0000000000..ebfd74f464 --- /dev/null +++ b/parser/testdata/01142_merge_join_lc_and_nullable_in_key/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nr diff --git a/parser/testdata/01144_join_rewrite_with_ambiguous_column_and_view/explain_10.txt b/parser/testdata/01144_join_rewrite_with_ambiguous_column_and_view/explain_10.txt new file mode 100644 index 0000000000..b24cb5081d --- /dev/null +++ b/parser/testdata/01144_join_rewrite_with_ambiguous_column_and_view/explain_10.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t3 + ExpressionList (children 2) + Identifier id + Identifier value3 diff --git a/parser/testdata/01144_join_rewrite_with_ambiguous_column_and_view/explain_8.txt b/parser/testdata/01144_join_rewrite_with_ambiguous_column_and_view/explain_8.txt new file mode 100644 index 0000000000..98adeb5fe0 --- /dev/null +++ b/parser/testdata/01144_join_rewrite_with_ambiguous_column_and_view/explain_8.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 2) + Identifier id + Identifier value1 diff --git a/parser/testdata/01144_join_rewrite_with_ambiguous_column_and_view/explain_9.txt b/parser/testdata/01144_join_rewrite_with_ambiguous_column_and_view/explain_9.txt new file mode 100644 index 0000000000..59971e104b --- /dev/null +++ b/parser/testdata/01144_join_rewrite_with_ambiguous_column_and_view/explain_9.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t2 + ExpressionList (children 2) + Identifier id + Identifier value2 diff --git a/parser/testdata/01144_multiple_joins_rewriter_v2_and_lambdas/explain.txt b/parser/testdata/01144_multiple_joins_rewriter_v2_and_lambdas/explain.txt new file mode 100644 index 0000000000..98934afaf6 --- /dev/null +++ b/parser/testdata/01144_multiple_joins_rewriter_v2_and_lambdas/explain.txt @@ -0,0 +1,63 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 3) + Function arrayMap (alias diff_percent) (children 1) + ExpressionList (children 3) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 2) + Identifier x + Identifier y + Function floor (children 1) + ExpressionList (children 2) + Function divide (children 1) + ExpressionList (children 2) + Function minus (children 1) + ExpressionList (children 2) + Identifier y + Identifier x + Identifier x + Literal UInt64_3 + Identifier l + Identifier r + Identifier test + Identifier query + TablesInSelectQuery (children 4) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias s1) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal Array_[UInt64_1] (alias l) + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias s2) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal Array_[UInt64_2] (alias r) + TableJoin + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias any_query) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal \'test\' (alias test) + Literal \'query\' (alias query) + TableJoin + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias check_single_query) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 + TableJoin diff --git a/parser/testdata/01144_multiword_data_types/explain_5.txt b/parser/testdata/01144_multiword_data_types/explain_5.txt new file mode 100644 index 0000000000..18af1b7786 --- /dev/null +++ b/parser/testdata/01144_multiword_data_types/explain_5.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier multiword_types + ExpressionList (children 1) + Identifier a diff --git a/parser/testdata/01144_multiword_data_types/explain_9.txt b/parser/testdata/01144_multiword_data_types/explain_9.txt new file mode 100644 index 0000000000..7f8266f130 --- /dev/null +++ b/parser/testdata/01144_multiword_data_types/explain_9.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier unsigned_types + ExpressionList (children 1) + Identifier a diff --git a/parser/testdata/01145_with_fill_const/explain.txt b/parser/testdata/01145_with_fill_const/explain.txt new file mode 100644 index 0000000000..07765de066 --- /dev/null +++ b/parser/testdata/01145_with_fill_const/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function toDateTime (alias date_time) (children 1) + ExpressionList (children 1) + Literal \'2020-06-16 03:00:00\' + ExpressionList (children 1) + Identifier date_time + ExpressionList (children 1) + OrderByElement (children 4) + Identifier date_time + Function toDateTime (children 1) + ExpressionList (children 1) + Literal \'2020-06-16 00:00:00\' + Function toDateTime (children 1) + ExpressionList (children 1) + Literal \'2020-06-16 10:00:00\' + Literal UInt64_1800 diff --git a/parser/testdata/01147_partial_merge_full_join/explain_68.txt b/parser/testdata/01147_partial_merge_full_join/explain_68.txt new file mode 100644 index 0000000000..d8b514ee04 --- /dev/null +++ b/parser/testdata/01147_partial_merge_full_join/explain_68.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 2) + Identifier x + Identifier y diff --git a/parser/testdata/01147_partial_merge_full_join/explain_69.txt b/parser/testdata/01147_partial_merge_full_join/explain_69.txt new file mode 100644 index 0000000000..d8b514ee04 --- /dev/null +++ b/parser/testdata/01147_partial_merge_full_join/explain_69.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 2) + Identifier x + Identifier y diff --git a/parser/testdata/01147_partial_merge_full_join/explain_7.txt b/parser/testdata/01147_partial_merge_full_join/explain_7.txt new file mode 100644 index 0000000000..d8b514ee04 --- /dev/null +++ b/parser/testdata/01147_partial_merge_full_join/explain_7.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 2) + Identifier x + Identifier y diff --git a/parser/testdata/01147_partial_merge_full_join/explain_70.txt b/parser/testdata/01147_partial_merge_full_join/explain_70.txt new file mode 100644 index 0000000000..2ee6e4ce67 --- /dev/null +++ b/parser/testdata/01147_partial_merge_full_join/explain_70.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t2 + ExpressionList (children 2) + Identifier x + Identifier y diff --git a/parser/testdata/01147_partial_merge_full_join/explain_71.txt b/parser/testdata/01147_partial_merge_full_join/explain_71.txt new file mode 100644 index 0000000000..2ee6e4ce67 --- /dev/null +++ b/parser/testdata/01147_partial_merge_full_join/explain_71.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t2 + ExpressionList (children 2) + Identifier x + Identifier y diff --git a/parser/testdata/01149_zookeeper_mutation_stuck_after_replace_partition/explain_24.txt b/parser/testdata/01149_zookeeper_mutation_stuck_after_replace_partition/explain_24.txt new file mode 100644 index 0000000000..c651852bd1 --- /dev/null +++ b/parser/testdata/01149_zookeeper_mutation_stuck_after_replace_partition/explain_24.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rmt diff --git a/parser/testdata/01149_zookeeper_mutation_stuck_after_replace_partition/explain_6.txt b/parser/testdata/01149_zookeeper_mutation_stuck_after_replace_partition/explain_6.txt new file mode 100644 index 0000000000..31c8e6f23c --- /dev/null +++ b/parser/testdata/01149_zookeeper_mutation_stuck_after_replace_partition/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mt diff --git a/parser/testdata/01149_zookeeper_mutation_stuck_after_replace_partition/explain_8.txt b/parser/testdata/01149_zookeeper_mutation_stuck_after_replace_partition/explain_8.txt new file mode 100644 index 0000000000..c651852bd1 --- /dev/null +++ b/parser/testdata/01149_zookeeper_mutation_stuck_after_replace_partition/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rmt diff --git a/parser/testdata/01151_storage_merge_filter_tables_by_virtual_column/explain_10.txt b/parser/testdata/01151_storage_merge_filter_tables_by_virtual_column/explain_10.txt new file mode 100644 index 0000000000..2341f89c14 --- /dev/null +++ b/parser/testdata/01151_storage_merge_filter_tables_by_virtual_column/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tmp diff --git a/parser/testdata/01152_cross_replication/explain_19.txt b/parser/testdata/01152_cross_replication/explain_19.txt new file mode 100644 index 0000000000..6b8c71a47c --- /dev/null +++ b/parser/testdata/01152_cross_replication/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier demo_loan_01568_dist diff --git a/parser/testdata/01153_attach_mv_uuid/explain_10.txt b/parser/testdata/01153_attach_mv_uuid/explain_10.txt new file mode 100644 index 0000000000..37b584e2c2 --- /dev/null +++ b/parser/testdata/01153_attach_mv_uuid/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier src diff --git a/parser/testdata/01153_attach_mv_uuid/explain_18.txt b/parser/testdata/01153_attach_mv_uuid/explain_18.txt new file mode 100644 index 0000000000..37b584e2c2 --- /dev/null +++ b/parser/testdata/01153_attach_mv_uuid/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier src diff --git a/parser/testdata/01153_attach_mv_uuid/explain_23.txt b/parser/testdata/01153_attach_mv_uuid/explain_23.txt new file mode 100644 index 0000000000..37b584e2c2 --- /dev/null +++ b/parser/testdata/01153_attach_mv_uuid/explain_23.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier src diff --git a/parser/testdata/01153_attach_mv_uuid/explain_29.txt b/parser/testdata/01153_attach_mv_uuid/explain_29.txt new file mode 100644 index 0000000000..37b584e2c2 --- /dev/null +++ b/parser/testdata/01153_attach_mv_uuid/explain_29.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier src diff --git a/parser/testdata/01153_attach_mv_uuid/explain_34.txt b/parser/testdata/01153_attach_mv_uuid/explain_34.txt new file mode 100644 index 0000000000..37b584e2c2 --- /dev/null +++ b/parser/testdata/01153_attach_mv_uuid/explain_34.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier src diff --git a/parser/testdata/01153_attach_mv_uuid/explain_6.txt b/parser/testdata/01153_attach_mv_uuid/explain_6.txt new file mode 100644 index 0000000000..37b584e2c2 --- /dev/null +++ b/parser/testdata/01153_attach_mv_uuid/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier src diff --git a/parser/testdata/01155_rename_move_materialized_view/explain_15.txt b/parser/testdata/01155_rename_move_materialized_view/explain_15.txt new file mode 100644 index 0000000000..b50a2fc014 --- /dev/null +++ b/parser/testdata/01155_rename_move_materialized_view/explain_15.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier dist + ExpressionList (children 1) + Identifier s diff --git a/parser/testdata/01155_rename_move_materialized_view/explain_41.txt b/parser/testdata/01155_rename_move_materialized_view/explain_41.txt new file mode 100644 index 0000000000..59367f5c6c --- /dev/null +++ b/parser/testdata/01155_rename_move_materialized_view/explain_41.txt @@ -0,0 +1,5 @@ +InsertQuery (children 3) + Identifier test_01155_atomic + Identifier src + ExpressionList (children 1) + Identifier s diff --git a/parser/testdata/01155_rename_move_materialized_view/explain_46.txt b/parser/testdata/01155_rename_move_materialized_view/explain_46.txt new file mode 100644 index 0000000000..b50a2fc014 --- /dev/null +++ b/parser/testdata/01155_rename_move_materialized_view/explain_46.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier dist + ExpressionList (children 1) + Identifier s diff --git a/parser/testdata/01155_rename_move_materialized_view/explain_65.txt b/parser/testdata/01155_rename_move_materialized_view/explain_65.txt new file mode 100644 index 0000000000..b50a2fc014 --- /dev/null +++ b/parser/testdata/01155_rename_move_materialized_view/explain_65.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier dist + ExpressionList (children 1) + Identifier s diff --git a/parser/testdata/01157_replace_table/explain_10.txt b/parser/testdata/01157_replace_table/explain_10.txt new file mode 100644 index 0000000000..657e743214 --- /dev/null +++ b/parser/testdata/01157_replace_table/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier buf diff --git a/parser/testdata/01157_replace_table/explain_14.txt b/parser/testdata/01157_replace_table/explain_14.txt new file mode 100644 index 0000000000..657e743214 --- /dev/null +++ b/parser/testdata/01157_replace_table/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier buf diff --git a/parser/testdata/01157_replace_table/explain_18.txt b/parser/testdata/01157_replace_table/explain_18.txt new file mode 100644 index 0000000000..657e743214 --- /dev/null +++ b/parser/testdata/01157_replace_table/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier buf diff --git a/parser/testdata/01157_replace_table/explain_27.txt b/parser/testdata/01157_replace_table/explain_27.txt new file mode 100644 index 0000000000..ba2db559bd --- /dev/null +++ b/parser/testdata/01157_replace_table/explain_27.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 1) + Identifier n diff --git a/parser/testdata/01158_zookeeper_log_long/explain_16.txt b/parser/testdata/01158_zookeeper_log_long/explain_16.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01158_zookeeper_log_long/explain_16.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01158_zookeeper_log_long/explain_19.txt b/parser/testdata/01158_zookeeper_log_long/explain_19.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01158_zookeeper_log_long/explain_19.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01158_zookeeper_log_long/explain_5.txt b/parser/testdata/01158_zookeeper_log_long/explain_5.txt new file mode 100644 index 0000000000..c651852bd1 --- /dev/null +++ b/parser/testdata/01158_zookeeper_log_long/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rmt diff --git a/parser/testdata/01158_zookeeper_log_long/explain_6.txt b/parser/testdata/01158_zookeeper_log_long/explain_6.txt new file mode 100644 index 0000000000..c651852bd1 --- /dev/null +++ b/parser/testdata/01158_zookeeper_log_long/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rmt diff --git a/parser/testdata/01158_zookeeper_log_long/explain_8.txt b/parser/testdata/01158_zookeeper_log_long/explain_8.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01158_zookeeper_log_long/explain_8.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01165_lost_part_empty_partition/explain_12.txt b/parser/testdata/01165_lost_part_empty_partition/explain_12.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01165_lost_part_empty_partition/explain_12.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01165_lost_part_empty_partition/explain_17.txt b/parser/testdata/01165_lost_part_empty_partition/explain_17.txt new file mode 100644 index 0000000000..362251ec0c --- /dev/null +++ b/parser/testdata/01165_lost_part_empty_partition/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rmt1 diff --git a/parser/testdata/01165_lost_part_empty_partition/explain_22.txt b/parser/testdata/01165_lost_part_empty_partition/explain_22.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01165_lost_part_empty_partition/explain_22.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01165_lost_part_empty_partition/explain_27.txt b/parser/testdata/01165_lost_part_empty_partition/explain_27.txt new file mode 100644 index 0000000000..362251ec0c --- /dev/null +++ b/parser/testdata/01165_lost_part_empty_partition/explain_27.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rmt1 diff --git a/parser/testdata/01165_lost_part_empty_partition/explain_28.txt b/parser/testdata/01165_lost_part_empty_partition/explain_28.txt new file mode 100644 index 0000000000..362251ec0c --- /dev/null +++ b/parser/testdata/01165_lost_part_empty_partition/explain_28.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rmt1 diff --git a/parser/testdata/01165_lost_part_empty_partition/explain_29.txt b/parser/testdata/01165_lost_part_empty_partition/explain_29.txt new file mode 100644 index 0000000000..362251ec0c --- /dev/null +++ b/parser/testdata/01165_lost_part_empty_partition/explain_29.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rmt1 diff --git a/parser/testdata/01165_lost_part_empty_partition/explain_5.txt b/parser/testdata/01165_lost_part_empty_partition/explain_5.txt new file mode 100644 index 0000000000..362251ec0c --- /dev/null +++ b/parser/testdata/01165_lost_part_empty_partition/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rmt1 diff --git a/parser/testdata/01165_lost_part_empty_partition/explain_7.txt b/parser/testdata/01165_lost_part_empty_partition/explain_7.txt new file mode 100644 index 0000000000..362251ec0c --- /dev/null +++ b/parser/testdata/01165_lost_part_empty_partition/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rmt1 diff --git a/parser/testdata/01172_transaction_counters/explain_13.txt b/parser/testdata/01172_transaction_counters/explain_13.txt new file mode 100644 index 0000000000..dddb3bad3f --- /dev/null +++ b/parser/testdata/01172_transaction_counters/explain_13.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier txn_counters + ExpressionList (children 1) + Identifier n diff --git a/parser/testdata/01172_transaction_counters/explain_21.txt b/parser/testdata/01172_transaction_counters/explain_21.txt new file mode 100644 index 0000000000..dddb3bad3f --- /dev/null +++ b/parser/testdata/01172_transaction_counters/explain_21.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier txn_counters + ExpressionList (children 1) + Identifier n diff --git a/parser/testdata/01172_transaction_counters/explain_27.txt b/parser/testdata/01172_transaction_counters/explain_27.txt new file mode 100644 index 0000000000..dddb3bad3f --- /dev/null +++ b/parser/testdata/01172_transaction_counters/explain_27.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier txn_counters + ExpressionList (children 1) + Identifier n diff --git a/parser/testdata/01172_transaction_counters/explain_3.txt b/parser/testdata/01172_transaction_counters/explain_3.txt new file mode 100644 index 0000000000..dddb3bad3f --- /dev/null +++ b/parser/testdata/01172_transaction_counters/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier txn_counters + ExpressionList (children 1) + Identifier n diff --git a/parser/testdata/01172_transaction_counters/explain_30.txt b/parser/testdata/01172_transaction_counters/explain_30.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01172_transaction_counters/explain_30.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01172_transaction_counters/explain_8.txt b/parser/testdata/01172_transaction_counters/explain_8.txt new file mode 100644 index 0000000000..dddb3bad3f --- /dev/null +++ b/parser/testdata/01172_transaction_counters/explain_8.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier txn_counters + ExpressionList (children 1) + Identifier n diff --git a/parser/testdata/01173_transaction_control_queries/explain_13.txt b/parser/testdata/01173_transaction_control_queries/explain_13.txt new file mode 100644 index 0000000000..78291d567a --- /dev/null +++ b/parser/testdata/01173_transaction_control_queries/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mt1 diff --git a/parser/testdata/01173_transaction_control_queries/explain_14.txt b/parser/testdata/01173_transaction_control_queries/explain_14.txt new file mode 100644 index 0000000000..3595e71ff6 --- /dev/null +++ b/parser/testdata/01173_transaction_control_queries/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mt2 diff --git a/parser/testdata/01173_transaction_control_queries/explain_22.txt b/parser/testdata/01173_transaction_control_queries/explain_22.txt new file mode 100644 index 0000000000..78291d567a --- /dev/null +++ b/parser/testdata/01173_transaction_control_queries/explain_22.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mt1 diff --git a/parser/testdata/01173_transaction_control_queries/explain_23.txt b/parser/testdata/01173_transaction_control_queries/explain_23.txt new file mode 100644 index 0000000000..3595e71ff6 --- /dev/null +++ b/parser/testdata/01173_transaction_control_queries/explain_23.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mt2 diff --git a/parser/testdata/01173_transaction_control_queries/explain_30.txt b/parser/testdata/01173_transaction_control_queries/explain_30.txt new file mode 100644 index 0000000000..78291d567a --- /dev/null +++ b/parser/testdata/01173_transaction_control_queries/explain_30.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mt1 diff --git a/parser/testdata/01173_transaction_control_queries/explain_31.txt b/parser/testdata/01173_transaction_control_queries/explain_31.txt new file mode 100644 index 0000000000..3595e71ff6 --- /dev/null +++ b/parser/testdata/01173_transaction_control_queries/explain_31.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mt2 diff --git a/parser/testdata/01173_transaction_control_queries/explain_35.txt b/parser/testdata/01173_transaction_control_queries/explain_35.txt new file mode 100644 index 0000000000..78291d567a --- /dev/null +++ b/parser/testdata/01173_transaction_control_queries/explain_35.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mt1 diff --git a/parser/testdata/01173_transaction_control_queries/explain_36.txt b/parser/testdata/01173_transaction_control_queries/explain_36.txt new file mode 100644 index 0000000000..3595e71ff6 --- /dev/null +++ b/parser/testdata/01173_transaction_control_queries/explain_36.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mt2 diff --git a/parser/testdata/01173_transaction_control_queries/explain_40.txt b/parser/testdata/01173_transaction_control_queries/explain_40.txt new file mode 100644 index 0000000000..78291d567a --- /dev/null +++ b/parser/testdata/01173_transaction_control_queries/explain_40.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mt1 diff --git a/parser/testdata/01173_transaction_control_queries/explain_41.txt b/parser/testdata/01173_transaction_control_queries/explain_41.txt new file mode 100644 index 0000000000..3595e71ff6 --- /dev/null +++ b/parser/testdata/01173_transaction_control_queries/explain_41.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mt2 diff --git a/parser/testdata/01173_transaction_control_queries/explain_43.txt b/parser/testdata/01173_transaction_control_queries/explain_43.txt new file mode 100644 index 0000000000..78291d567a --- /dev/null +++ b/parser/testdata/01173_transaction_control_queries/explain_43.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mt1 diff --git a/parser/testdata/01173_transaction_control_queries/explain_46.txt b/parser/testdata/01173_transaction_control_queries/explain_46.txt new file mode 100644 index 0000000000..78291d567a --- /dev/null +++ b/parser/testdata/01173_transaction_control_queries/explain_46.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mt1 diff --git a/parser/testdata/01173_transaction_control_queries/explain_47.txt b/parser/testdata/01173_transaction_control_queries/explain_47.txt new file mode 100644 index 0000000000..3595e71ff6 --- /dev/null +++ b/parser/testdata/01173_transaction_control_queries/explain_47.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mt2 diff --git a/parser/testdata/01173_transaction_control_queries/explain_71.txt b/parser/testdata/01173_transaction_control_queries/explain_71.txt new file mode 100644 index 0000000000..96a5522bb4 --- /dev/null +++ b/parser/testdata/01173_transaction_control_queries/explain_71.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier m diff --git a/parser/testdata/01173_transaction_control_queries/explain_8.txt b/parser/testdata/01173_transaction_control_queries/explain_8.txt new file mode 100644 index 0000000000..78291d567a --- /dev/null +++ b/parser/testdata/01173_transaction_control_queries/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mt1 diff --git a/parser/testdata/01173_transaction_control_queries/explain_9.txt b/parser/testdata/01173_transaction_control_queries/explain_9.txt new file mode 100644 index 0000000000..3595e71ff6 --- /dev/null +++ b/parser/testdata/01173_transaction_control_queries/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mt2 diff --git a/parser/testdata/01178_int_field_to_decimal/explain.txt b/parser/testdata/01178_int_field_to_decimal/explain.txt index 479db44a08..3d9f290082 100644 --- a/parser/testdata/01178_int_field_to_decimal/explain.txt +++ b/parser/testdata/01178_int_field_to_decimal/explain.txt @@ -15,4 +15,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Identifier d Literal Tuple_(Int64_-1, UInt64_0) -The query succeeded but the server error '69' was expected (query: EXPLAIN AST select d from values('d Decimal(8, 8)', 0, 1) where d not in (-1, 0); -- { serverError ARGUMENT_OUT_OF_BOUND }). diff --git a/parser/testdata/01185_create_or_replace_table/explain_14.txt b/parser/testdata/01185_create_or_replace_table/explain_14.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/01185_create_or_replace_table/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/01185_create_or_replace_table/explain_7.txt b/parser/testdata/01185_create_or_replace_table/explain_7.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/01185_create_or_replace_table/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/01185_create_or_replace_table/explain_9.txt b/parser/testdata/01185_create_or_replace_table/explain_9.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/01185_create_or_replace_table/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/01188_attach_table_from_path/explain_16.txt b/parser/testdata/01188_attach_table_from_path/explain_16.txt new file mode 100644 index 0000000000..31c8e6f23c --- /dev/null +++ b/parser/testdata/01188_attach_table_from_path/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mt diff --git a/parser/testdata/01188_attach_table_from_path/explain_8.txt b/parser/testdata/01188_attach_table_from_path/explain_8.txt new file mode 100644 index 0000000000..3635b7f0ea --- /dev/null +++ b/parser/testdata/01188_attach_table_from_path/explain_8.txt @@ -0,0 +1,6 @@ +InsertQuery (children 1) + Function file (children 1) + ExpressionList (children 3) + Literal \'01188_attach/file/data.TSV\' + Literal \'TSV\' + Literal \'s String, n UInt8\' diff --git a/parser/testdata/01191_rename_dictionary/explain_6.txt b/parser/testdata/01191_rename_dictionary/explain_6.txt new file mode 100644 index 0000000000..adeb203c20 --- /dev/null +++ b/parser/testdata/01191_rename_dictionary/explain_6.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier test_01191 + Identifier _ diff --git a/parser/testdata/01200_mutations_memory_consumption/explain_13.txt b/parser/testdata/01200_mutations_memory_consumption/explain_13.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01200_mutations_memory_consumption/explain_13.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01200_mutations_memory_consumption/explain_20.txt b/parser/testdata/01200_mutations_memory_consumption/explain_20.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01200_mutations_memory_consumption/explain_20.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01200_mutations_memory_consumption/explain_27.txt b/parser/testdata/01200_mutations_memory_consumption/explain_27.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01200_mutations_memory_consumption/explain_27.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01200_mutations_memory_consumption/explain_6.txt b/parser/testdata/01200_mutations_memory_consumption/explain_6.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01200_mutations_memory_consumption/explain_6.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01202_arrayROCAUC_special/explain.txt b/parser/testdata/01202_arrayROCAUC_special/explain.txt index e1cd1e87b5..5dc208273c 100644 --- a/parser/testdata/01202_arrayROCAUC_special/explain.txt +++ b/parser/testdata/01202_arrayROCAUC_special/explain.txt @@ -8,4 +8,3 @@ SelectWithUnionQuery (children 1) ExpressionList Function array (children 1) ExpressionList -The query succeeded but the server error '43' was expected (query: EXPLAIN AST SELECT arrayROCAUC([], []); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }). diff --git a/parser/testdata/01212_empty_join_and_totals/explain.txt b/parser/testdata/01212_empty_join_and_totals/explain.txt index 36a2b9611f..9749c18b61 100644 --- a/parser/testdata/01212_empty_join_and_totals/explain.txt +++ b/parser/testdata/01212_empty_join_and_totals/explain.txt @@ -1,9 +1,19 @@ -SelectWithUnionQuery (children 1) +SelectWithUnionQuery (children 2) ExpressionList (children 1) - SelectQuery (children 2) + SelectQuery (children 3) ExpressionList (children 1) Asterisk - TablesInSelectQuery (children 1) + TablesInSelectQuery (children 2) TablesInSelectQueryElement (children 1) TableExpression (children 1) TableIdentifier system.one (alias t1) + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier system.one (alias t2) + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier t1.dummy + Identifier t2.dummy + Literal UInt64_0 + Identifier TabSeparated diff --git a/parser/testdata/01214_test_storage_merge_aliases_with_where/explain_11.txt b/parser/testdata/01214_test_storage_merge_aliases_with_where/explain_11.txt new file mode 100644 index 0000000000..d433a80e50 --- /dev/null +++ b/parser/testdata/01214_test_storage_merge_aliases_with_where/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tt1 diff --git a/parser/testdata/01214_test_storage_merge_aliases_with_where/explain_12.txt b/parser/testdata/01214_test_storage_merge_aliases_with_where/explain_12.txt new file mode 100644 index 0000000000..dabb12834a --- /dev/null +++ b/parser/testdata/01214_test_storage_merge_aliases_with_where/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tt2 diff --git a/parser/testdata/01214_test_storage_merge_aliases_with_where/explain_13.txt b/parser/testdata/01214_test_storage_merge_aliases_with_where/explain_13.txt new file mode 100644 index 0000000000..ecc737cc1f --- /dev/null +++ b/parser/testdata/01214_test_storage_merge_aliases_with_where/explain_13.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier tt3 + ExpressionList (children 2) + Identifier a + Identifier c diff --git a/parser/testdata/01214_test_storage_merge_aliases_with_where/explain_14.txt b/parser/testdata/01214_test_storage_merge_aliases_with_where/explain_14.txt new file mode 100644 index 0000000000..0679d71b71 --- /dev/null +++ b/parser/testdata/01214_test_storage_merge_aliases_with_where/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tt4 diff --git a/parser/testdata/01231_log_queries_min_type/explain_13.txt b/parser/testdata/01231_log_queries_min_type/explain_13.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01231_log_queries_min_type/explain_13.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01231_log_queries_min_type/explain_17.txt b/parser/testdata/01231_log_queries_min_type/explain_17.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01231_log_queries_min_type/explain_17.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01231_log_queries_min_type/explain_3.txt b/parser/testdata/01231_log_queries_min_type/explain_3.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01231_log_queries_min_type/explain_3.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01231_log_queries_min_type/explain_7.txt b/parser/testdata/01231_log_queries_min_type/explain_7.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01231_log_queries_min_type/explain_7.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01231_markdown_format/explain_3.txt b/parser/testdata/01231_markdown_format/explain_3.txt new file mode 100644 index 0000000000..b0016d950d --- /dev/null +++ b/parser/testdata/01231_markdown_format/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier markdown diff --git a/parser/testdata/01231_operator_null_in/explain_3.txt b/parser/testdata/01231_operator_null_in/explain_3.txt new file mode 100644 index 0000000000..08120d9a24 --- /dev/null +++ b/parser/testdata/01231_operator_null_in/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier null_in diff --git a/parser/testdata/01231_operator_null_in/explain_37.txt b/parser/testdata/01231_operator_null_in/explain_37.txt new file mode 100644 index 0000000000..0d497f6a1b --- /dev/null +++ b/parser/testdata/01231_operator_null_in/explain_37.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_set diff --git a/parser/testdata/01231_operator_null_in/explain_49.txt b/parser/testdata/01231_operator_null_in/explain_49.txt new file mode 100644 index 0000000000..93b787e520 --- /dev/null +++ b/parser/testdata/01231_operator_null_in/explain_49.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_set2 diff --git a/parser/testdata/01231_operator_null_in/explain_73.txt b/parser/testdata/01231_operator_null_in/explain_73.txt new file mode 100644 index 0000000000..9dcf441713 --- /dev/null +++ b/parser/testdata/01231_operator_null_in/explain_73.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier null_in_subquery diff --git a/parser/testdata/01231_operator_null_in/explain_74.txt b/parser/testdata/01231_operator_null_in/explain_74.txt new file mode 100644 index 0000000000..9dcf441713 --- /dev/null +++ b/parser/testdata/01231_operator_null_in/explain_74.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier null_in_subquery diff --git a/parser/testdata/01231_operator_null_in/explain_86.txt b/parser/testdata/01231_operator_null_in/explain_86.txt new file mode 100644 index 0000000000..29bad46868 --- /dev/null +++ b/parser/testdata/01231_operator_null_in/explain_86.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier null_in_tuple diff --git a/parser/testdata/01232_untuple/explain_9.txt b/parser/testdata/01232_untuple/explain_9.txt new file mode 100644 index 0000000000..c405acd8bf --- /dev/null +++ b/parser/testdata/01232_untuple/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier kv diff --git a/parser/testdata/01240_join_get_or_null/explain_13.txt b/parser/testdata/01240_join_get_or_null/explain_13.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/01240_join_get_or_null/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/01246_extractAllGroupsHorizontal/explain.txt b/parser/testdata/01246_extractAllGroupsHorizontal/explain.txt index c262a6f80f..f1613862c9 100644 --- a/parser/testdata/01246_extractAllGroupsHorizontal/explain.txt +++ b/parser/testdata/01246_extractAllGroupsHorizontal/explain.txt @@ -4,4 +4,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) Function extractAllGroupsHorizontal (children 1) ExpressionList -The query succeeded but the server error '42' was expected (query: EXPLAIN AST SELECT extractAllGroupsHorizontal(); --{serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH} not enough arguments). diff --git a/parser/testdata/01246_extractAllGroupsVertical/explain.txt b/parser/testdata/01246_extractAllGroupsVertical/explain.txt index d462691f1a..ab07458ea7 100644 --- a/parser/testdata/01246_extractAllGroupsVertical/explain.txt +++ b/parser/testdata/01246_extractAllGroupsVertical/explain.txt @@ -4,4 +4,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) Function extractAllGroupsVertical (children 1) ExpressionList -The query succeeded but the server error '42' was expected (query: EXPLAIN AST SELECT extractAllGroupsVertical(); --{serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH} not enough arguments). diff --git a/parser/testdata/01247_optimize_distributed_group_by_sharding_key_dist_on_dist/explain_14.txt b/parser/testdata/01247_optimize_distributed_group_by_sharding_key_dist_on_dist/explain_14.txt new file mode 100644 index 0000000000..7f928f6221 --- /dev/null +++ b/parser/testdata/01247_optimize_distributed_group_by_sharding_key_dist_on_dist/explain_14.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 2) + Function count (children 1) + ExpressionList + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier dist_01247 + ExpressionList (children 1) + Identifier number + ExpressionList (children 1) + OrderByElement (children 1) + Identifier number + Literal UInt64_1 + Set diff --git a/parser/testdata/01250_fixed_string_comparison/explain.txt b/parser/testdata/01250_fixed_string_comparison/explain.txt new file mode 100644 index 0000000000..be2606303c --- /dev/null +++ b/parser/testdata/01250_fixed_string_comparison/explain.txt @@ -0,0 +1,453 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 6) + Literal \'abb\' (alias b) + Literal \'abc\' (alias c) + Literal \'abd\' (alias d) + Function toFixedString (alias bf) (children 1) + ExpressionList (children 2) + Identifier b + Literal UInt64_5 + Function toFixedString (alias cf) (children 1) + ExpressionList (children 2) + Identifier c + Literal UInt64_5 + Function toFixedString (alias df) (children 1) + ExpressionList (children 2) + Identifier d + Literal UInt64_5 + ExpressionList (children 108) + Function equals (children 1) + ExpressionList (children 2) + Identifier b + Identifier b + Function greater (children 1) + ExpressionList (children 2) + Identifier b + Identifier b + Function less (children 1) + ExpressionList (children 2) + Identifier b + Identifier b + Function equals (children 1) + ExpressionList (children 2) + Identifier b + Identifier c + Function greater (children 1) + ExpressionList (children 2) + Identifier b + Identifier c + Function less (children 1) + ExpressionList (children 2) + Identifier b + Identifier c + Function equals (children 1) + ExpressionList (children 2) + Identifier b + Identifier d + Function greater (children 1) + ExpressionList (children 2) + Identifier b + Identifier d + Function less (children 1) + ExpressionList (children 2) + Identifier b + Identifier d + Function equals (children 1) + ExpressionList (children 2) + Identifier b + Identifier bf + Function greater (children 1) + ExpressionList (children 2) + Identifier b + Identifier bf + Function less (children 1) + ExpressionList (children 2) + Identifier b + Identifier bf + Function equals (children 1) + ExpressionList (children 2) + Identifier b + Identifier cf + Function greater (children 1) + ExpressionList (children 2) + Identifier b + Identifier cf + Function less (children 1) + ExpressionList (children 2) + Identifier b + Identifier cf + Function equals (children 1) + ExpressionList (children 2) + Identifier b + Identifier df + Function greater (children 1) + ExpressionList (children 2) + Identifier b + Identifier df + Function less (children 1) + ExpressionList (children 2) + Identifier b + Identifier df + Function equals (children 1) + ExpressionList (children 2) + Identifier c + Identifier b + Function greater (children 1) + ExpressionList (children 2) + Identifier c + Identifier b + Function less (children 1) + ExpressionList (children 2) + Identifier c + Identifier b + Function equals (children 1) + ExpressionList (children 2) + Identifier c + Identifier c + Function greater (children 1) + ExpressionList (children 2) + Identifier c + Identifier c + Function less (children 1) + ExpressionList (children 2) + Identifier c + Identifier c + Function equals (children 1) + ExpressionList (children 2) + Identifier c + Identifier d + Function greater (children 1) + ExpressionList (children 2) + Identifier c + Identifier d + Function less (children 1) + ExpressionList (children 2) + Identifier c + Identifier d + Function equals (children 1) + ExpressionList (children 2) + Identifier c + Identifier bf + Function greater (children 1) + ExpressionList (children 2) + Identifier c + Identifier bf + Function less (children 1) + ExpressionList (children 2) + Identifier c + Identifier bf + Function equals (children 1) + ExpressionList (children 2) + Identifier c + Identifier cf + Function greater (children 1) + ExpressionList (children 2) + Identifier c + Identifier cf + Function less (children 1) + ExpressionList (children 2) + Identifier c + Identifier cf + Function equals (children 1) + ExpressionList (children 2) + Identifier c + Identifier df + Function greater (children 1) + ExpressionList (children 2) + Identifier c + Identifier df + Function less (children 1) + ExpressionList (children 2) + Identifier c + Identifier df + Function equals (children 1) + ExpressionList (children 2) + Identifier d + Identifier b + Function greater (children 1) + ExpressionList (children 2) + Identifier d + Identifier b + Function less (children 1) + ExpressionList (children 2) + Identifier d + Identifier b + Function equals (children 1) + ExpressionList (children 2) + Identifier d + Identifier c + Function greater (children 1) + ExpressionList (children 2) + Identifier d + Identifier c + Function less (children 1) + ExpressionList (children 2) + Identifier d + Identifier c + Function equals (children 1) + ExpressionList (children 2) + Identifier d + Identifier d + Function greater (children 1) + ExpressionList (children 2) + Identifier d + Identifier d + Function less (children 1) + ExpressionList (children 2) + Identifier d + Identifier d + Function equals (children 1) + ExpressionList (children 2) + Identifier d + Identifier bf + Function greater (children 1) + ExpressionList (children 2) + Identifier d + Identifier bf + Function less (children 1) + ExpressionList (children 2) + Identifier d + Identifier bf + Function equals (children 1) + ExpressionList (children 2) + Identifier d + Identifier cf + Function greater (children 1) + ExpressionList (children 2) + Identifier d + Identifier cf + Function less (children 1) + ExpressionList (children 2) + Identifier d + Identifier cf + Function equals (children 1) + ExpressionList (children 2) + Identifier d + Identifier df + Function greater (children 1) + ExpressionList (children 2) + Identifier d + Identifier df + Function less (children 1) + ExpressionList (children 2) + Identifier d + Identifier df + Function equals (children 1) + ExpressionList (children 2) + Identifier bf + Identifier b + Function greater (children 1) + ExpressionList (children 2) + Identifier bf + Identifier b + Function less (children 1) + ExpressionList (children 2) + Identifier bf + Identifier b + Function equals (children 1) + ExpressionList (children 2) + Identifier bf + Identifier c + Function greater (children 1) + ExpressionList (children 2) + Identifier bf + Identifier c + Function less (children 1) + ExpressionList (children 2) + Identifier bf + Identifier c + Function equals (children 1) + ExpressionList (children 2) + Identifier bf + Identifier d + Function greater (children 1) + ExpressionList (children 2) + Identifier bf + Identifier d + Function less (children 1) + ExpressionList (children 2) + Identifier bf + Identifier d + Function equals (children 1) + ExpressionList (children 2) + Identifier bf + Identifier bf + Function greater (children 1) + ExpressionList (children 2) + Identifier bf + Identifier bf + Function less (children 1) + ExpressionList (children 2) + Identifier bf + Identifier bf + Function equals (children 1) + ExpressionList (children 2) + Identifier bf + Identifier cf + Function greater (children 1) + ExpressionList (children 2) + Identifier bf + Identifier cf + Function less (children 1) + ExpressionList (children 2) + Identifier bf + Identifier cf + Function equals (children 1) + ExpressionList (children 2) + Identifier bf + Identifier df + Function greater (children 1) + ExpressionList (children 2) + Identifier bf + Identifier df + Function less (children 1) + ExpressionList (children 2) + Identifier bf + Identifier df + Function equals (children 1) + ExpressionList (children 2) + Identifier cf + Identifier b + Function greater (children 1) + ExpressionList (children 2) + Identifier cf + Identifier b + Function less (children 1) + ExpressionList (children 2) + Identifier cf + Identifier b + Function equals (children 1) + ExpressionList (children 2) + Identifier cf + Identifier c + Function greater (children 1) + ExpressionList (children 2) + Identifier cf + Identifier c + Function less (children 1) + ExpressionList (children 2) + Identifier cf + Identifier c + Function equals (children 1) + ExpressionList (children 2) + Identifier cf + Identifier d + Function greater (children 1) + ExpressionList (children 2) + Identifier cf + Identifier d + Function less (children 1) + ExpressionList (children 2) + Identifier cf + Identifier d + Function equals (children 1) + ExpressionList (children 2) + Identifier cf + Identifier bf + Function greater (children 1) + ExpressionList (children 2) + Identifier cf + Identifier bf + Function less (children 1) + ExpressionList (children 2) + Identifier cf + Identifier bf + Function equals (children 1) + ExpressionList (children 2) + Identifier cf + Identifier cf + Function greater (children 1) + ExpressionList (children 2) + Identifier cf + Identifier cf + Function less (children 1) + ExpressionList (children 2) + Identifier cf + Identifier cf + Function equals (children 1) + ExpressionList (children 2) + Identifier cf + Identifier df + Function greater (children 1) + ExpressionList (children 2) + Identifier cf + Identifier df + Function less (children 1) + ExpressionList (children 2) + Identifier cf + Identifier df + Function equals (children 1) + ExpressionList (children 2) + Identifier df + Identifier b + Function greater (children 1) + ExpressionList (children 2) + Identifier df + Identifier b + Function less (children 1) + ExpressionList (children 2) + Identifier df + Identifier b + Function equals (children 1) + ExpressionList (children 2) + Identifier df + Identifier c + Function greater (children 1) + ExpressionList (children 2) + Identifier df + Identifier c + Function less (children 1) + ExpressionList (children 2) + Identifier df + Identifier c + Function equals (children 1) + ExpressionList (children 2) + Identifier df + Identifier d + Function greater (children 1) + ExpressionList (children 2) + Identifier df + Identifier d + Function less (children 1) + ExpressionList (children 2) + Identifier df + Identifier d + Function equals (children 1) + ExpressionList (children 2) + Identifier df + Identifier bf + Function greater (children 1) + ExpressionList (children 2) + Identifier df + Identifier bf + Function less (children 1) + ExpressionList (children 2) + Identifier df + Identifier bf + Function equals (children 1) + ExpressionList (children 2) + Identifier df + Identifier cf + Function greater (children 1) + ExpressionList (children 2) + Identifier df + Identifier cf + Function less (children 1) + ExpressionList (children 2) + Identifier df + Identifier cf + Function equals (children 1) + ExpressionList (children 2) + Identifier df + Identifier df + Function greater (children 1) + ExpressionList (children 2) + Identifier df + Identifier df + Function less (children 1) + ExpressionList (children 2) + Identifier df + Identifier df + Identifier Vertical diff --git a/parser/testdata/01251_dict_is_in_infinite_loop/explain_5.txt b/parser/testdata/01251_dict_is_in_infinite_loop/explain_5.txt new file mode 100644 index 0000000000..5fe52d2db7 --- /dev/null +++ b/parser/testdata/01251_dict_is_in_infinite_loop/explain_5.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier database_for_dict + Identifier dict_source diff --git a/parser/testdata/01253_subquery_in_aggregate_function_JustStranger/explain_8.txt b/parser/testdata/01253_subquery_in_aggregate_function_JustStranger/explain_8.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/01253_subquery_in_aggregate_function_JustStranger/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/01255_geo_types_livace/explain_4.txt b/parser/testdata/01255_geo_types_livace/explain_4.txt new file mode 100644 index 0000000000..d00918712f --- /dev/null +++ b/parser/testdata/01255_geo_types_livace/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tutorial diff --git a/parser/testdata/01256_misspell_layout_name_podshumok/explain.txt b/parser/testdata/01256_misspell_layout_name_podshumok/explain.txt new file mode 100644 index 0000000000..1721378c6d --- /dev/null +++ b/parser/testdata/01256_misspell_layout_name_podshumok/explain.txt @@ -0,0 +1,19 @@ +CreateQuery testip (children 3) + Identifier testip + ExpressionList (children 2) + DictionaryAttributeDeclaration network (children 1) + DataType String + DictionaryAttributeDeclaration test_field (children 1) + DataType String + Dictionary definition (children 4) + ExpressionList (children 1) + Identifier network + FunctionWithKeyValueArguments file (children 1) + ExpressionList (children 2) + pair (children 1) + Literal \'/tmp/test.csv\' + pair (children 1) + Identifier CSVWithNames + Dictionary lifetime + Dictionary layout (children 1) + ExpressionList diff --git a/parser/testdata/01256_negative_generate_random/explain.txt b/parser/testdata/01256_negative_generate_random/explain.txt index 4aaea89117..387d1485aa 100644 --- a/parser/testdata/01256_negative_generate_random/explain.txt +++ b/parser/testdata/01256_negative_generate_random/explain.txt @@ -12,4 +12,3 @@ SelectWithUnionQuery (children 1) Literal UInt64_1 Literal UInt64_10 Literal UInt64_10 -The query succeeded but the server error '62' was expected (query: EXPLAIN AST SELECT * FROM generateRandom('i8', 1, 10, 10); -- { serverError SYNTAX_ERROR }). diff --git a/parser/testdata/01257_dictionary_mismatch_types/explain_11.txt b/parser/testdata/01257_dictionary_mismatch_types/explain_11.txt new file mode 100644 index 0000000000..23dcc6ed23 --- /dev/null +++ b/parser/testdata/01257_dictionary_mismatch_types/explain_11.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier test_dict_db + Identifier table1 diff --git a/parser/testdata/01257_dictionary_mismatch_types/explain_5.txt b/parser/testdata/01257_dictionary_mismatch_types/explain_5.txt new file mode 100644 index 0000000000..23dcc6ed23 --- /dev/null +++ b/parser/testdata/01257_dictionary_mismatch_types/explain_5.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier test_dict_db + Identifier table1 diff --git a/parser/testdata/01258_wrong_cast_filimonov/explain.txt b/parser/testdata/01258_wrong_cast_filimonov/explain.txt index 7d52f3d46e..093582bc22 100644 --- a/parser/testdata/01258_wrong_cast_filimonov/explain.txt +++ b/parser/testdata/01258_wrong_cast_filimonov/explain.txt @@ -35,4 +35,3 @@ CreateQuery x (children 3) Storage definition (children 2) Function MergeTree Identifier id -The query succeeded but the server error '70' was expected (query: EXPLAIN AST create table x( id UInt64, t AggregateFunction(argMax, Enum8('' = -1, 'Male' = 1, 'Female' = 2), UInt64) DEFAULT arrayReduce('argMaxState', ['cast(-1, \'Enum8(\'\' = -1, \'Male\' = 1, \'Female\' = 2)'], [toUInt64(0)]) ) Engine=MergeTree ORDER BY id; -- { serverError CANNOT_CONVERT_TYPE }). diff --git a/parser/testdata/01259_datetime64_ubsan/explain.txt b/parser/testdata/01259_datetime64_ubsan/explain.txt index 7e8d64987d..3b009cfb83 100644 --- a/parser/testdata/01259_datetime64_ubsan/explain.txt +++ b/parser/testdata/01259_datetime64_ubsan/explain.txt @@ -5,4 +5,3 @@ SelectWithUnionQuery (children 1) Function now64 (children 1) ExpressionList (children 1) Literal UInt64_10 -The query succeeded but the server error '69' was expected (query: EXPLAIN AST select now64(10); -- { serverError ARGUMENT_OUT_OF_BOUND }). diff --git a/parser/testdata/01259_dictionary_custom_settings_ddl/explain_2.txt b/parser/testdata/01259_dictionary_custom_settings_ddl/explain_2.txt new file mode 100644 index 0000000000..53c599b6ce --- /dev/null +++ b/parser/testdata/01259_dictionary_custom_settings_ddl/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_for_dict diff --git a/parser/testdata/01262_low_cardinality_remove/explain_10.txt b/parser/testdata/01262_low_cardinality_remove/explain_10.txt new file mode 100644 index 0000000000..615f9703d1 --- /dev/null +++ b/parser/testdata/01262_low_cardinality_remove/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier testTable diff --git a/parser/testdata/01262_low_cardinality_remove/explain_4.txt b/parser/testdata/01262_low_cardinality_remove/explain_4.txt new file mode 100644 index 0000000000..615f9703d1 --- /dev/null +++ b/parser/testdata/01262_low_cardinality_remove/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier testTable diff --git a/parser/testdata/01263_type_conversion_nvartolomei/explain_11.txt b/parser/testdata/01263_type_conversion_nvartolomei/explain_11.txt new file mode 100644 index 0000000000..96a5522bb4 --- /dev/null +++ b/parser/testdata/01263_type_conversion_nvartolomei/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier m diff --git a/parser/testdata/01263_type_conversion_nvartolomei/explain_14.txt b/parser/testdata/01263_type_conversion_nvartolomei/explain_14.txt new file mode 100644 index 0000000000..96a5522bb4 --- /dev/null +++ b/parser/testdata/01263_type_conversion_nvartolomei/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier m diff --git a/parser/testdata/01263_type_conversion_nvartolomei/explain_5.txt b/parser/testdata/01263_type_conversion_nvartolomei/explain_5.txt new file mode 100644 index 0000000000..96a5522bb4 --- /dev/null +++ b/parser/testdata/01263_type_conversion_nvartolomei/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier m diff --git a/parser/testdata/01264_nested_baloo_bear/explain_4.txt b/parser/testdata/01264_nested_baloo_bear/explain_4.txt new file mode 100644 index 0000000000..4674d8c364 --- /dev/null +++ b/parser/testdata/01264_nested_baloo_bear/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier LOG_T diff --git a/parser/testdata/01265_datetime_string_comparison_felix_mueller/explain_3.txt b/parser/testdata/01265_datetime_string_comparison_felix_mueller/explain_3.txt new file mode 100644 index 0000000000..d9c9e0a4b7 --- /dev/null +++ b/parser/testdata/01265_datetime_string_comparison_felix_mueller/explain_3.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier tztest + ExpressionList (children 2) + Identifier timeBerlin + Identifier timeLA diff --git a/parser/testdata/01266_default_prewhere_reqq/explain_3.txt b/parser/testdata/01266_default_prewhere_reqq/explain_3.txt new file mode 100644 index 0000000000..95c91afb27 --- /dev/null +++ b/parser/testdata/01266_default_prewhere_reqq/explain_3.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 3) + Identifier date + Identifier s1 + Identifier s2 diff --git a/parser/testdata/01266_default_prewhere_reqq/explain_5.txt b/parser/testdata/01266_default_prewhere_reqq/explain_5.txt new file mode 100644 index 0000000000..95c91afb27 --- /dev/null +++ b/parser/testdata/01266_default_prewhere_reqq/explain_5.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 3) + Identifier date + Identifier s1 + Identifier s2 diff --git a/parser/testdata/01268_DateTime64_in_WHERE/explain.txt b/parser/testdata/01268_DateTime64_in_WHERE/explain.txt index a529acc46c..8943030b7b 100644 --- a/parser/testdata/01268_DateTime64_in_WHERE/explain.txt +++ b/parser/testdata/01268_DateTime64_in_WHERE/explain.txt @@ -14,4 +14,3 @@ SelectWithUnionQuery (children 1) Function materialize (children 1) ExpressionList (children 1) Identifier S -The query succeeded but the server error '43' was expected (query: EXPLAIN AST WITH '2020-02-05 14:34:12.333' as S, toDateTime64(S, 3) as DT64 SELECT DT64 = materialize(S); -- {serverError ILLEGAL_TYPE_OF_ARGUMENT}). diff --git a/parser/testdata/01268_data_numeric_parameters/explain_11.txt b/parser/testdata/01268_data_numeric_parameters/explain_11.txt new file mode 100644 index 0000000000..3f6f5e6452 --- /dev/null +++ b/parser/testdata/01268_data_numeric_parameters/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier strings diff --git a/parser/testdata/01268_data_numeric_parameters/explain_5.txt b/parser/testdata/01268_data_numeric_parameters/explain_5.txt new file mode 100644 index 0000000000..07e073732f --- /dev/null +++ b/parser/testdata/01268_data_numeric_parameters/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ints diff --git a/parser/testdata/01268_data_numeric_parameters/explain_8.txt b/parser/testdata/01268_data_numeric_parameters/explain_8.txt new file mode 100644 index 0000000000..47b51e286b --- /dev/null +++ b/parser/testdata/01268_data_numeric_parameters/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier floats diff --git a/parser/testdata/01268_dictionary_direct_layout/explain_10.txt b/parser/testdata/01268_dictionary_direct_layout/explain_10.txt new file mode 100644 index 0000000000..4101b11185 --- /dev/null +++ b/parser/testdata/01268_dictionary_direct_layout/explain_10.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier database_for_dict_01268 + Identifier table_for_dict2 diff --git a/parser/testdata/01268_dictionary_direct_layout/explain_11.txt b/parser/testdata/01268_dictionary_direct_layout/explain_11.txt new file mode 100644 index 0000000000..4101b11185 --- /dev/null +++ b/parser/testdata/01268_dictionary_direct_layout/explain_11.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier database_for_dict_01268 + Identifier table_for_dict2 diff --git a/parser/testdata/01268_dictionary_direct_layout/explain_12.txt b/parser/testdata/01268_dictionary_direct_layout/explain_12.txt new file mode 100644 index 0000000000..4101b11185 --- /dev/null +++ b/parser/testdata/01268_dictionary_direct_layout/explain_12.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier database_for_dict_01268 + Identifier table_for_dict2 diff --git a/parser/testdata/01268_dictionary_direct_layout/explain_13.txt b/parser/testdata/01268_dictionary_direct_layout/explain_13.txt new file mode 100644 index 0000000000..4101b11185 --- /dev/null +++ b/parser/testdata/01268_dictionary_direct_layout/explain_13.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier database_for_dict_01268 + Identifier table_for_dict2 diff --git a/parser/testdata/01268_dictionary_direct_layout/explain_15.txt b/parser/testdata/01268_dictionary_direct_layout/explain_15.txt new file mode 100644 index 0000000000..6d6792d587 --- /dev/null +++ b/parser/testdata/01268_dictionary_direct_layout/explain_15.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier database_for_dict_01268 + Identifier table_for_dict3 diff --git a/parser/testdata/01268_dictionary_direct_layout/explain_16.txt b/parser/testdata/01268_dictionary_direct_layout/explain_16.txt new file mode 100644 index 0000000000..6d6792d587 --- /dev/null +++ b/parser/testdata/01268_dictionary_direct_layout/explain_16.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier database_for_dict_01268 + Identifier table_for_dict3 diff --git a/parser/testdata/01268_dictionary_direct_layout/explain_17.txt b/parser/testdata/01268_dictionary_direct_layout/explain_17.txt new file mode 100644 index 0000000000..6d6792d587 --- /dev/null +++ b/parser/testdata/01268_dictionary_direct_layout/explain_17.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier database_for_dict_01268 + Identifier table_for_dict3 diff --git a/parser/testdata/01268_dictionary_direct_layout/explain_18.txt b/parser/testdata/01268_dictionary_direct_layout/explain_18.txt new file mode 100644 index 0000000000..6d6792d587 --- /dev/null +++ b/parser/testdata/01268_dictionary_direct_layout/explain_18.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier database_for_dict_01268 + Identifier table_for_dict3 diff --git a/parser/testdata/01268_dictionary_direct_layout/explain_19.txt b/parser/testdata/01268_dictionary_direct_layout/explain_19.txt new file mode 100644 index 0000000000..6d6792d587 --- /dev/null +++ b/parser/testdata/01268_dictionary_direct_layout/explain_19.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier database_for_dict_01268 + Identifier table_for_dict3 diff --git a/parser/testdata/01268_dictionary_direct_layout/explain_7.txt b/parser/testdata/01268_dictionary_direct_layout/explain_7.txt new file mode 100644 index 0000000000..795680d726 --- /dev/null +++ b/parser/testdata/01268_dictionary_direct_layout/explain_7.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier database_for_dict_01268 + Identifier table_for_dict1 diff --git a/parser/testdata/01268_dictionary_direct_layout/explain_9.txt b/parser/testdata/01268_dictionary_direct_layout/explain_9.txt new file mode 100644 index 0000000000..4101b11185 --- /dev/null +++ b/parser/testdata/01268_dictionary_direct_layout/explain_9.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier database_for_dict_01268 + Identifier table_for_dict2 diff --git a/parser/testdata/01268_mergine_sorted_limit/explain_3.txt b/parser/testdata/01268_mergine_sorted_limit/explain_3.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/01268_mergine_sorted_limit/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/01268_mergine_sorted_limit/explain_4.txt b/parser/testdata/01268_mergine_sorted_limit/explain_4.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/01268_mergine_sorted_limit/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/01268_shard_avgweighted/explain_2.txt b/parser/testdata/01268_shard_avgweighted/explain_2.txt new file mode 100644 index 0000000000..3fbb47ef52 --- /dev/null +++ b/parser/testdata/01268_shard_avgweighted/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dummy diff --git a/parser/testdata/01269_alias_type_differs/explain_3.txt b/parser/testdata/01269_alias_type_differs/explain_3.txt new file mode 100644 index 0000000000..da38208324 --- /dev/null +++ b/parser/testdata/01269_alias_type_differs/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data_01269 diff --git a/parser/testdata/01269_create_with_null/explain_11.txt b/parser/testdata/01269_create_with_null/explain_11.txt new file mode 100644 index 0000000000..c1090484cd --- /dev/null +++ b/parser/testdata/01269_create_with_null/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier set_null diff --git a/parser/testdata/01269_create_with_null/explain_6.txt b/parser/testdata/01269_create_with_null/explain_6.txt new file mode 100644 index 0000000000..06b81e2bd0 --- /dev/null +++ b/parser/testdata/01269_create_with_null/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data_null diff --git a/parser/testdata/01269_toStartOfSecond/explain.txt b/parser/testdata/01269_toStartOfSecond/explain.txt index f627631222..ef41d266bb 100644 --- a/parser/testdata/01269_toStartOfSecond/explain.txt +++ b/parser/testdata/01269_toStartOfSecond/explain.txt @@ -5,4 +5,3 @@ SelectWithUnionQuery (children 1) Function toStartOfSecond (children 1) ExpressionList (children 1) Literal \'123\' -The query succeeded but the server error '43' was expected (query: EXPLAIN AST SELECT toStartOfSecond('123'); -- {serverError ILLEGAL_TYPE_OF_ARGUMENT}). diff --git a/parser/testdata/01272_totals_and_filter_bug/explain_5.txt b/parser/testdata/01272_totals_and_filter_bug/explain_5.txt new file mode 100644 index 0000000000..2b33f6d05c --- /dev/null +++ b/parser/testdata/01272_totals_and_filter_bug/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier foo diff --git a/parser/testdata/01272_totals_and_filter_bug/explain_6.txt b/parser/testdata/01272_totals_and_filter_bug/explain_6.txt new file mode 100644 index 0000000000..ccf6712329 --- /dev/null +++ b/parser/testdata/01272_totals_and_filter_bug/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier bar diff --git a/parser/testdata/01273_extractGroups/explain.txt b/parser/testdata/01273_extractGroups/explain.txt index e739794fb9..e1a7947e7e 100644 --- a/parser/testdata/01273_extractGroups/explain.txt +++ b/parser/testdata/01273_extractGroups/explain.txt @@ -4,4 +4,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) Function extractGroups (children 1) ExpressionList -The query succeeded but the server error '42' was expected (query: EXPLAIN AST SELECT extractGroups(); --{serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH} not enough arguments). diff --git a/parser/testdata/01273_h3EdgeAngle_range_check/explain.txt b/parser/testdata/01273_h3EdgeAngle_range_check/explain.txt index 3ab4afd3e8..b7647bc219 100644 --- a/parser/testdata/01273_h3EdgeAngle_range_check/explain.txt +++ b/parser/testdata/01273_h3EdgeAngle_range_check/explain.txt @@ -5,4 +5,3 @@ SelectWithUnionQuery (children 1) Function h3EdgeAngle (children 1) ExpressionList (children 1) Literal UInt64_100 -The query succeeded but the server error '69' was expected (query: EXPLAIN AST SELECT h3EdgeAngle(100); -- { serverError ARGUMENT_OUT_OF_BOUND }). diff --git a/parser/testdata/01273_lc_fixed_string_field/explain_2.txt b/parser/testdata/01273_lc_fixed_string_field/explain_2.txt new file mode 100644 index 0000000000..a6bd2986af --- /dev/null +++ b/parser/testdata/01273_lc_fixed_string_field/explain_2.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 3) + Identifier d + Identifier s + Identifier c diff --git a/parser/testdata/01273_lc_fixed_string_field/explain_3.txt b/parser/testdata/01273_lc_fixed_string_field/explain_3.txt new file mode 100644 index 0000000000..a6bd2986af --- /dev/null +++ b/parser/testdata/01273_lc_fixed_string_field/explain_3.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 3) + Identifier d + Identifier s + Identifier c diff --git a/parser/testdata/01274_alter_rename_column_distributed/explain_6.txt b/parser/testdata/01274_alter_rename_column_distributed/explain_6.txt new file mode 100644 index 0000000000..eb95dbca2d --- /dev/null +++ b/parser/testdata/01274_alter_rename_column_distributed/explain_6.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier visits_dist + ExpressionList (children 2) + Identifier StartDate + Identifier Name diff --git a/parser/testdata/01274_alter_rename_column_distributed/explain_7.txt b/parser/testdata/01274_alter_rename_column_distributed/explain_7.txt new file mode 100644 index 0000000000..eb95dbca2d --- /dev/null +++ b/parser/testdata/01274_alter_rename_column_distributed/explain_7.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier visits_dist + ExpressionList (children 2) + Identifier StartDate + Identifier Name diff --git a/parser/testdata/01275_extract_groups_check/explain.txt b/parser/testdata/01275_extract_groups_check/explain.txt index 58febb1fab..94c4ba7d17 100644 --- a/parser/testdata/01275_extract_groups_check/explain.txt +++ b/parser/testdata/01275_extract_groups_check/explain.txt @@ -6,4 +6,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Literal \'hello\' Literal \'\' -The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT extractGroups('hello', ''); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/01277_convert_field_to_type_logical_error/explain.txt b/parser/testdata/01277_convert_field_to_type_logical_error/explain.txt index 33212e3cab..4d1add27a7 100644 --- a/parser/testdata/01277_convert_field_to_type_logical_error/explain.txt +++ b/parser/testdata/01277_convert_field_to_type_logical_error/explain.txt @@ -10,4 +10,3 @@ SelectWithUnionQuery (children 1) Literal Int64_-88074 Literal \'qEkek..\' Literal Array_[Float64_-27.537293] -The query succeeded but the server error '53' was expected (query: EXPLAIN AST SELECT -2487, globalNullIn(toIntervalMinute(-88074), 'qEkek..'), [-27.537293]; -- { serverError TYPE_MISMATCH }). diff --git a/parser/testdata/01277_fromUnixTimestamp64/explain.txt b/parser/testdata/01277_fromUnixTimestamp64/explain.txt index 18df226ed2..e61ef71967 100644 --- a/parser/testdata/01277_fromUnixTimestamp64/explain.txt +++ b/parser/testdata/01277_fromUnixTimestamp64/explain.txt @@ -4,4 +4,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) Function fromUnixTimestamp64Second (children 1) ExpressionList -The query succeeded but the server error '42' was expected (query: EXPLAIN AST SELECT fromUnixTimestamp64Second(); -- {serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH}). diff --git a/parser/testdata/01277_large_tuples/explain.txt b/parser/testdata/01277_large_tuples/explain.txt new file mode 100644 index 0000000000..66c75f8158 --- /dev/null +++ b/parser/testdata/01277_large_tuples/explain.txt @@ -0,0 +1,26 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Literal Tuple_(UInt64_1, UInt64_2, UInt64_3, UInt64_4, UInt64_5, UInt64_6, UInt64_7, UInt64_8, UInt64_9, UInt64_10, UInt64_11, UInt64_12, UInt64_13, UInt64_14, UInt64_15, UInt64_16, UInt64_17, UInt64_18, UInt64_19, UInt64_20, UInt64_21, UInt64_22, UInt64_23, UInt64_24, UInt64_25, UInt64_26, UInt64_27, UInt64_28, UInt64_29, UInt64_30, UInt64_31, UInt64_32, UInt64_33, UInt64_34, UInt64_35, UInt64_36, UInt64_37, UInt64_38, UInt64_39, UInt64_40, UInt64_41, UInt64_42, UInt64_43, UInt64_44, UInt64_45, UInt64_46, UInt64_47, UInt64_48, UInt64_49, UInt64_50, UInt64_51, UInt64_52, UInt64_53, UInt64_54, UInt64_55, UInt64_56, UInt64_57, UInt64_58, UInt64_59, UInt64_60, UInt64_61, UInt64_62, UInt64_63, UInt64_64, UInt64_65, UInt64_66, UInt64_67, UInt64_68, UInt64_69, UInt64_70, UInt64_71, UInt64_72, UInt64_73, UInt64_74, UInt64_75, UInt64_76, UInt64_77, UInt64_78, UInt64_79, UInt64_80, UInt64_81, UInt64_82, UInt64_83, UInt64_84, UInt64_85, UInt64_86, UInt64_87, UInt64_88, UInt64_89, UInt64_90, UInt64_91, UInt64_92, UInt64_93, UInt64_94, UInt64_95, UInt64_96, UInt64_97, UInt64_98, UInt64_99, UInt64_100, UInt64_101, UInt64_102, UInt64_103, UInt64_104, UInt64_105, UInt64_106, UInt64_107, UInt64_108, UInt64_109, UInt64_110, UInt64_111, UInt64_112, UInt64_113, UInt64_114, UInt64_115, UInt64_116, UInt64_117, UInt64_118, UInt64_119, UInt64_120, UInt64_121, UInt64_122, UInt64_123, UInt64_124, UInt64_125, UInt64_126, UInt64_127, UInt64_128, UInt64_129, UInt64_130, UInt64_131, UInt64_132, UInt64_133, UInt64_134, UInt64_135, UInt64_136, UInt64_137, UInt64_138, UInt64_139, UInt64_140, UInt64_141, UInt64_142, UInt64_143, UInt64_144, UInt64_145, UInt64_146, UInt64_147, UInt64_148, UInt64_149, UInt64_150, UInt64_151, UInt64_152, UInt64_153, UInt64_154, UInt64_155, UInt64_156, UInt64_157, UInt64_158, UInt64_159, UInt64_160, UInt64_161, UInt64_162, UInt64_163, UInt64_164, UInt64_165, UInt64_166, UInt64_167, UInt64_168, UInt64_169, UInt64_170, UInt64_171, UInt64_172, UInt64_173, UInt64_174, UInt64_175, UInt64_176, UInt64_177, UInt64_178, UInt64_179, UInt64_180, UInt64_181, UInt64_182, UInt64_183, UInt64_184, UInt64_185, UInt64_186, UInt64_187, UInt64_188, UInt64_189, UInt64_190, UInt64_191, UInt64_192, UInt64_193, UInt64_194, UInt64_195, UInt64_196, UInt64_197, UInt64_198, UInt64_199, UInt64_200, UInt64_201, UInt64_202, UInt64_203, UInt64_204, UInt64_205, UInt64_206, UInt64_207, UInt64_208, UInt64_209, UInt64_210, UInt64_211, UInt64_212, UInt64_213, UInt64_214, UInt64_215, UInt64_216, UInt64_217, UInt64_218, UInt64_219, UInt64_220, UInt64_221, UInt64_222, UInt64_223, UInt64_224, UInt64_225, UInt64_226, UInt64_227, UInt64_228, UInt64_229, UInt64_230, UInt64_231, UInt64_232, UInt64_233, UInt64_234, UInt64_235, UInt64_236, UInt64_237, UInt64_238, UInt64_239, UInt64_240, UInt64_241, UInt64_242, UInt64_243, UInt64_244, UInt64_245, UInt64_246, UInt64_247, UInt64_248, UInt64_249, UInt64_250, UInt64_251, UInt64_252, UInt64_253, UInt64_254, UInt64_255, UInt64_256, UInt64_257, UInt64_258, UInt64_259, UInt64_260, UInt64_261, UInt64_262, UInt64_263, UInt64_264, UInt64_265, UInt64_266, UInt64_267, UInt64_268, UInt64_269, UInt64_270, UInt64_271, UInt64_272, UInt64_273, UInt64_274, UInt64_275, UInt64_276, UInt64_277, UInt64_278, UInt64_279, UInt64_280, UInt64_281, UInt64_282, UInt64_283, UInt64_284, UInt64_285, UInt64_286, UInt64_287, UInt64_288, UInt64_289, UInt64_290, UInt64_291, UInt64_292, UInt64_293, UInt64_294, UInt64_295, UInt64_296, UInt64_297, UInt64_298, UInt64_299, UInt64_300, UInt64_301, UInt64_302, UInt64_303, UInt64_304, UInt64_305, UInt64_306, UInt64_307, UInt64_308, UInt64_309, UInt64_310, UInt64_311, UInt64_312, UInt64_313, UInt64_314, UInt64_315, UInt64_316, UInt64_317, UInt64_318, UInt64_319, UInt64_320, UInt64_321, UInt64_322, UInt64_323, UInt64_324, UInt64_325, UInt64_326, UInt64_327, UInt64_328, UInt64_329, UInt64_330, UInt64_331, UInt64_332, UInt64_333, UInt64_334, UInt64_335, UInt64_336, UInt64_337, UInt64_338, UInt64_339, UInt64_340, UInt64_341, UInt64_342, UInt64_343, UInt64_344, UInt64_345, UInt64_346, UInt64_347, UInt64_348, UInt64_349, UInt64_350, UInt64_351, UInt64_352, UInt64_353, UInt64_354, UInt64_355, UInt64_356, UInt64_357, UInt64_358, UInt64_359, UInt64_360, UInt64_361, UInt64_362, UInt64_363, UInt64_364, UInt64_365, UInt64_366, UInt64_367, UInt64_368, UInt64_369, UInt64_370, UInt64_371, UInt64_372, UInt64_373, UInt64_374, UInt64_375, UInt64_376, UInt64_377, UInt64_378, UInt64_379, UInt64_380, UInt64_381, UInt64_382, UInt64_383, UInt64_384, UInt64_385, UInt64_386, UInt64_387, UInt64_388, UInt64_389, UInt64_390, UInt64_391, UInt64_392, UInt64_393, UInt64_394, UInt64_395, UInt64_396, UInt64_397, UInt64_398, UInt64_399, UInt64_400, UInt64_401, UInt64_402, UInt64_403, UInt64_404, UInt64_405, UInt64_406, UInt64_407, UInt64_408, UInt64_409, UInt64_410, UInt64_411, UInt64_412, UInt64_413, UInt64_414, UInt64_415, UInt64_416, UInt64_417, UInt64_418, UInt64_419, UInt64_420, UInt64_421, UInt64_422, UInt64_423, UInt64_424, UInt64_425, UInt64_426, UInt64_427, UInt64_428, UInt64_429, UInt64_430, UInt64_431, UInt64_432, UInt64_433, UInt64_434, UInt64_435, UInt64_436, UInt64_437, UInt64_438, UInt64_439, UInt64_440, UInt64_441, UInt64_442, UInt64_443, UInt64_444, UInt64_445, UInt64_446, UInt64_447, UInt64_448, UInt64_449, UInt64_450, UInt64_451, UInt64_452, UInt64_453, UInt64_454, UInt64_455, UInt64_456, UInt64_457, UInt64_458, UInt64_459, UInt64_460, UInt64_461, UInt64_462, UInt64_463, UInt64_464, UInt64_465, UInt64_466, UInt64_467, UInt64_468, UInt64_469, UInt64_470, UInt64_471, UInt64_472, UInt64_473, UInt64_474, UInt64_475, UInt64_476, UInt64_477, UInt64_478, UInt64_479, UInt64_480, UInt64_481, UInt64_482, UInt64_483, UInt64_484, UInt64_485, UInt64_486, UInt64_487, UInt64_488, UInt64_489, UInt64_490, UInt64_491, UInt64_492, UInt64_493, UInt64_494, UInt64_495, UInt64_496, UInt64_497, UInt64_498, UInt64_499, UInt64_500, UInt64_501, UInt64_502, UInt64_503, UInt64_504, UInt64_505, UInt64_506, UInt64_507, UInt64_508, UInt64_509, UInt64_510, UInt64_511, UInt64_512, UInt64_513, UInt64_514, UInt64_515, UInt64_516, UInt64_517, UInt64_518, UInt64_519, UInt64_520, UInt64_521, UInt64_522, UInt64_523, UInt64_524, UInt64_525, UInt64_526, UInt64_527, UInt64_528, UInt64_529, UInt64_530, UInt64_531, UInt64_532, UInt64_533, UInt64_534, UInt64_535, UInt64_536, UInt64_537, UInt64_538, UInt64_539, UInt64_540, UInt64_541, UInt64_542, UInt64_543, UInt64_544, UInt64_545, UInt64_546, UInt64_547, UInt64_548, UInt64_549, UInt64_550, UInt64_551, UInt64_552, UInt64_553, UInt64_554, UInt64_555, UInt64_556, UInt64_557, UInt64_558, UInt64_559, UInt64_560, UInt64_561, UInt64_562, UInt64_563, UInt64_564, UInt64_565, UInt64_566, UInt64_567, UInt64_568, UInt64_569, UInt64_570, UInt64_571, UInt64_572, UInt64_573, UInt64_574, UInt64_575, UInt64_576, UInt64_577, UInt64_578, UInt64_579, UInt64_580, UInt64_581, UInt64_582, UInt64_583, UInt64_584, UInt64_585, UInt64_586, UInt64_587, UInt64_588, UInt64_589, UInt64_590, UInt64_591, UInt64_592, UInt64_593, UInt64_594, UInt64_595, UInt64_596, UInt64_597, UInt64_598, UInt64_599, UInt64_600, UInt64_601, UInt64_602, UInt64_603, UInt64_604, UInt64_605, UInt64_606, UInt64_607, UInt64_608, UInt64_609, UInt64_610, UInt64_611, UInt64_612, UInt64_613, UInt64_614, UInt64_615, UInt64_616, UInt64_617, UInt64_618, UInt64_619, UInt64_620, UInt64_621, UInt64_622, UInt64_623, UInt64_624, UInt64_625, UInt64_626, UInt64_627, UInt64_628, UInt64_629, UInt64_630, UInt64_631, UInt64_632, UInt64_633, UInt64_634, UInt64_635, UInt64_636, UInt64_637, UInt64_638, UInt64_639, UInt64_640, UInt64_641, UInt64_642, UInt64_643, UInt64_644, UInt64_645, UInt64_646, UInt64_647, UInt64_648, UInt64_649, UInt64_650, UInt64_651, UInt64_652, UInt64_653, UInt64_654, UInt64_655, UInt64_656, UInt64_657, UInt64_658, UInt64_659, UInt64_660, UInt64_661, UInt64_662, UInt64_663, UInt64_664, UInt64_665, UInt64_666, UInt64_667, UInt64_668, UInt64_669, UInt64_670, UInt64_671, UInt64_672, UInt64_673, UInt64_674, UInt64_675, UInt64_676, UInt64_677, UInt64_678, UInt64_679, UInt64_680, UInt64_681, UInt64_682, UInt64_683, UInt64_684, UInt64_685, UInt64_686, UInt64_687, UInt64_688, UInt64_689, UInt64_690, UInt64_691, UInt64_692, UInt64_693, UInt64_694, UInt64_695, UInt64_696, UInt64_697, UInt64_698, UInt64_699, UInt64_700, UInt64_701, UInt64_702, UInt64_703, UInt64_704, UInt64_705, UInt64_706, UInt64_707, UInt64_708, UInt64_709, UInt64_710, UInt64_711, UInt64_712, UInt64_713, UInt64_714, UInt64_715, UInt64_716, UInt64_717, UInt64_718, UInt64_719, UInt64_720, UInt64_721, UInt64_722, UInt64_723, UInt64_724, UInt64_725, UInt64_726, UInt64_727, UInt64_728, UInt64_729, UInt64_730, UInt64_731, UInt64_732, UInt64_733, UInt64_734, UInt64_735, UInt64_736, UInt64_737, UInt64_738, UInt64_739, UInt64_740, UInt64_741, UInt64_742, UInt64_743, UInt64_744, UInt64_745, UInt64_746, UInt64_747, UInt64_748, UInt64_749, UInt64_750, UInt64_751, UInt64_752, UInt64_753, UInt64_754, UInt64_755, UInt64_756, UInt64_757, UInt64_758, UInt64_759, UInt64_760, UInt64_761, UInt64_762, UInt64_763, UInt64_764, UInt64_765, UInt64_766, UInt64_767, UInt64_768, UInt64_769, UInt64_770, UInt64_771, UInt64_772, UInt64_773, UInt64_774, UInt64_775, UInt64_776, UInt64_777, UInt64_778, UInt64_779, UInt64_780, UInt64_781, UInt64_782, UInt64_783, UInt64_784, UInt64_785, UInt64_786, UInt64_787, UInt64_788, UInt64_789, UInt64_790, UInt64_791, UInt64_792, UInt64_793, UInt64_794, UInt64_795, UInt64_796, UInt64_797, UInt64_798, UInt64_799, UInt64_800, UInt64_801, UInt64_802, UInt64_803, UInt64_804, UInt64_805, UInt64_806, UInt64_807, UInt64_808, UInt64_809, UInt64_810, UInt64_811, UInt64_812, UInt64_813, UInt64_814, UInt64_815, UInt64_816, UInt64_817, UInt64_818, UInt64_819, UInt64_820, UInt64_821, UInt64_822, UInt64_823, UInt64_824, UInt64_825, UInt64_826, UInt64_827, UInt64_828, UInt64_829, UInt64_830, UInt64_831, UInt64_832, UInt64_833, UInt64_834, UInt64_835, UInt64_836, UInt64_837, UInt64_838, UInt64_839, UInt64_840, UInt64_841, UInt64_842, UInt64_843, UInt64_844, UInt64_845, UInt64_846, UInt64_847, UInt64_848, UInt64_849, UInt64_850, UInt64_851, UInt64_852, UInt64_853, UInt64_854, UInt64_855, UInt64_856, UInt64_857, UInt64_858, UInt64_859, UInt64_860, UInt64_861, UInt64_862, UInt64_863, UInt64_864, UInt64_865, UInt64_866, UInt64_867, UInt64_868, UInt64_869, UInt64_870, UInt64_871, UInt64_872, UInt64_873, UInt64_874, UInt64_875, UInt64_876, UInt64_877, UInt64_878, UInt64_879, UInt64_880, UInt64_881, UInt64_882, UInt64_883, UInt64_884, UInt64_885, UInt64_886, UInt64_887, UInt64_888, UInt64_889, UInt64_890, UInt64_891, UInt64_892, UInt64_893, UInt64_894, UInt64_895, UInt64_896, UInt64_897, UInt64_898, UInt64_899, UInt64_900, UInt64_901, UInt64_902, UInt64_903, UInt64_904, UInt64_905, UInt64_906, UInt64_907, UInt64_908, UInt64_909, UInt64_910, UInt64_911, UInt64_912, UInt64_913, UInt64_914, UInt64_915, UInt64_916, UInt64_917, UInt64_918, UInt64_919, UInt64_920, UInt64_921, UInt64_922, UInt64_923, UInt64_924, UInt64_925, UInt64_926, UInt64_927, UInt64_928, UInt64_929, UInt64_930, UInt64_931, UInt64_932, UInt64_933, UInt64_934, UInt64_935, UInt64_936, UInt64_937, UInt64_938, UInt64_939, UInt64_940, UInt64_941, UInt64_942, UInt64_943, UInt64_944, UInt64_945, UInt64_946, UInt64_947, UInt64_948, UInt64_949, UInt64_950, UInt64_951, UInt64_952, UInt64_953, UInt64_954, UInt64_955, UInt64_956, UInt64_957, UInt64_958, UInt64_959, UInt64_960, UInt64_961, UInt64_962, UInt64_963, UInt64_964, UInt64_965, UInt64_966, UInt64_967, UInt64_968, UInt64_969, UInt64_970, UInt64_971, UInt64_972, UInt64_973, UInt64_974, UInt64_975, UInt64_976, UInt64_977, UInt64_978, UInt64_979, UInt64_980, UInt64_981, UInt64_982, UInt64_983, UInt64_984, UInt64_985, UInt64_986, UInt64_987, UInt64_988, UInt64_989, UInt64_990, UInt64_991, UInt64_992, UInt64_993, UInt64_994, UInt64_995, UInt64_996, UInt64_997, UInt64_998, UInt64_999, UInt64_1000) (alias tuple) + ExpressionList (children 5) + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier tuple + Literal UInt64_1 + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier tuple + Literal UInt64_300 + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier tuple + Literal UInt64_500 + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier tuple + Literal UInt64_700 + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier tuple + Literal UInt64_1000 diff --git a/parser/testdata/01277_random_fixed_string/explain.txt b/parser/testdata/01277_random_fixed_string/explain.txt index c6d0b2999d..4c7863bf2f 100644 --- a/parser/testdata/01277_random_fixed_string/explain.txt +++ b/parser/testdata/01277_random_fixed_string/explain.txt @@ -5,4 +5,3 @@ SelectWithUnionQuery (children 1) Function randomFixedString (children 1) ExpressionList (children 1) Literal \'string\' -The query succeeded but the server error '43' was expected (query: EXPLAIN AST SELECT randomFixedString('string'); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }). diff --git a/parser/testdata/01277_toUnixTimestamp64/explain.txt b/parser/testdata/01277_toUnixTimestamp64/explain.txt index b4b95a8282..9385f092d2 100644 --- a/parser/testdata/01277_toUnixTimestamp64/explain.txt +++ b/parser/testdata/01277_toUnixTimestamp64/explain.txt @@ -4,4 +4,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) Function toUnixTimestamp64Second (children 1) ExpressionList -The query succeeded but the server error '42' was expected (query: EXPLAIN AST SELECT toUnixTimestamp64Second(); -- {serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH}). diff --git a/parser/testdata/01277_unixTimestamp64_compatibility/explain.txt b/parser/testdata/01277_unixTimestamp64_compatibility/explain.txt new file mode 100644 index 0000000000..ecdccdc4d9 --- /dev/null +++ b/parser/testdata/01277_unixTimestamp64_compatibility/explain.txt @@ -0,0 +1,25 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function toDateTime64 (alias dt64) (children 1) + ExpressionList (children 2) + Literal \'2019-09-16 19:20:12.345678910\' + Literal UInt64_3 + ExpressionList (children 4) + Identifier dt64 + Function fromUnixTimestamp64Milli (children 1) + ExpressionList (children 1) + Function toUnixTimestamp64Milli (children 1) + ExpressionList (children 1) + Identifier dt64 + Function fromUnixTimestamp64Micro (children 1) + ExpressionList (children 1) + Function toUnixTimestamp64Micro (children 1) + ExpressionList (children 1) + Identifier dt64 + Function fromUnixTimestamp64Nano (children 1) + ExpressionList (children 1) + Function toUnixTimestamp64Nano (children 1) + ExpressionList (children 1) + Identifier dt64 diff --git a/parser/testdata/01278_alter_rename_combination/explain_15.txt b/parser/testdata/01278_alter_rename_combination/explain_15.txt new file mode 100644 index 0000000000..63056d5543 --- /dev/null +++ b/parser/testdata/01278_alter_rename_combination/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rename_table_polymorphic diff --git a/parser/testdata/01278_alter_rename_combination/explain_19.txt b/parser/testdata/01278_alter_rename_combination/explain_19.txt new file mode 100644 index 0000000000..63056d5543 --- /dev/null +++ b/parser/testdata/01278_alter_rename_combination/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rename_table_polymorphic diff --git a/parser/testdata/01278_alter_rename_combination/explain_3.txt b/parser/testdata/01278_alter_rename_combination/explain_3.txt new file mode 100644 index 0000000000..34bc89da7a --- /dev/null +++ b/parser/testdata/01278_alter_rename_combination/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rename_table diff --git a/parser/testdata/01278_alter_rename_combination/explain_7.txt b/parser/testdata/01278_alter_rename_combination/explain_7.txt new file mode 100644 index 0000000000..34bc89da7a --- /dev/null +++ b/parser/testdata/01278_alter_rename_combination/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rename_table diff --git a/parser/testdata/01278_random_string_utf8/explain.txt b/parser/testdata/01278_random_string_utf8/explain.txt index 8e529edcf4..b7bb219862 100644 --- a/parser/testdata/01278_random_string_utf8/explain.txt +++ b/parser/testdata/01278_random_string_utf8/explain.txt @@ -5,4 +5,3 @@ SelectWithUnionQuery (children 1) Function randomStringUTF8 (children 1) ExpressionList (children 1) Literal \'string\' -The query succeeded but the server error '43' was expected (query: EXPLAIN AST SELECT randomStringUTF8('string'); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }). diff --git a/parser/testdata/01280_ttl_where_group_by_negative/explain.txt b/parser/testdata/01280_ttl_where_group_by_negative/explain.txt index 27fe0fd19c..f14642ae5e 100644 --- a/parser/testdata/01280_ttl_where_group_by_negative/explain.txt +++ b/parser/testdata/01280_ttl_where_group_by_negative/explain.txt @@ -26,4 +26,3 @@ CreateQuery ttl_01280_error (children 3) Function toIntervalSecond (children 1) ExpressionList (children 1) Literal UInt64_1 -The query succeeded but the server error '450' was expected (query: EXPLAIN AST create table ttl_01280_error (a Int, b Int, x Int64, y Int64, d DateTime) engine = MergeTree order by (a, b) ttl d + interval 1 second group by x set y = max(y); -- { serverError BAD_TTL_EXPRESSION}). diff --git a/parser/testdata/01281_alter_rename_and_other_renames/explain_12.txt b/parser/testdata/01281_alter_rename_and_other_renames/explain_12.txt new file mode 100644 index 0000000000..0e33b1f6cf --- /dev/null +++ b/parser/testdata/01281_alter_rename_and_other_renames/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rename_table_multiple diff --git a/parser/testdata/01281_alter_rename_and_other_renames/explain_19.txt b/parser/testdata/01281_alter_rename_and_other_renames/explain_19.txt new file mode 100644 index 0000000000..461dcf1e19 --- /dev/null +++ b/parser/testdata/01281_alter_rename_and_other_renames/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rename_table_multiple_compact diff --git a/parser/testdata/01281_alter_rename_and_other_renames/explain_24.txt b/parser/testdata/01281_alter_rename_and_other_renames/explain_24.txt new file mode 100644 index 0000000000..461dcf1e19 --- /dev/null +++ b/parser/testdata/01281_alter_rename_and_other_renames/explain_24.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rename_table_multiple_compact diff --git a/parser/testdata/01281_alter_rename_and_other_renames/explain_28.txt b/parser/testdata/01281_alter_rename_and_other_renames/explain_28.txt new file mode 100644 index 0000000000..461dcf1e19 --- /dev/null +++ b/parser/testdata/01281_alter_rename_and_other_renames/explain_28.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rename_table_multiple_compact diff --git a/parser/testdata/01281_alter_rename_and_other_renames/explain_3.txt b/parser/testdata/01281_alter_rename_and_other_renames/explain_3.txt new file mode 100644 index 0000000000..0e33b1f6cf --- /dev/null +++ b/parser/testdata/01281_alter_rename_and_other_renames/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rename_table_multiple diff --git a/parser/testdata/01281_alter_rename_and_other_renames/explain_8.txt b/parser/testdata/01281_alter_rename_and_other_renames/explain_8.txt new file mode 100644 index 0000000000..0e33b1f6cf --- /dev/null +++ b/parser/testdata/01281_alter_rename_and_other_renames/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rename_table_multiple diff --git a/parser/testdata/01281_join_with_prewhere_fix/explain_3.txt b/parser/testdata/01281_join_with_prewhere_fix/explain_3.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/01281_join_with_prewhere_fix/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/01281_parseDateTime64BestEffort/explain.txt b/parser/testdata/01281_parseDateTime64BestEffort/explain.txt index d17a1120b9..40c3fba130 100644 --- a/parser/testdata/01281_parseDateTime64BestEffort/explain.txt +++ b/parser/testdata/01281_parseDateTime64BestEffort/explain.txt @@ -4,4 +4,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) Function parseDateTime64BestEffort (children 1) ExpressionList -The query succeeded but the server error '42' was expected (query: EXPLAIN AST SELECT parseDateTime64BestEffort(); -- {serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH}). diff --git a/parser/testdata/01281_unsucceeded_insert_select_queries_counter/explain_3.txt b/parser/testdata/01281_unsucceeded_insert_select_queries_counter/explain_3.txt new file mode 100644 index 0000000000..4218cc552d --- /dev/null +++ b/parser/testdata/01281_unsucceeded_insert_select_queries_counter/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_that_do_not_exists diff --git a/parser/testdata/01281_unsucceeded_insert_select_queries_counter/explain_7.txt b/parser/testdata/01281_unsucceeded_insert_select_queries_counter/explain_7.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01281_unsucceeded_insert_select_queries_counter/explain_7.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01282_system_parts_ttl_info/explain_4.txt b/parser/testdata/01282_system_parts_ttl_info/explain_4.txt new file mode 100644 index 0000000000..3166a14b01 --- /dev/null +++ b/parser/testdata/01282_system_parts_ttl_info/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl diff --git a/parser/testdata/01283_max_threads_simple_query_optimization/explain_10.txt b/parser/testdata/01283_max_threads_simple_query_optimization/explain_10.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01283_max_threads_simple_query_optimization/explain_10.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01284_fuzz_bits/explain.txt b/parser/testdata/01284_fuzz_bits/explain.txt index dfb1e6a5bc..5ec155b766 100644 --- a/parser/testdata/01284_fuzz_bits/explain.txt +++ b/parser/testdata/01284_fuzz_bits/explain.txt @@ -8,4 +8,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) Literal \'string\' Literal UInt64_1 -The query succeeded but the server error '43' was expected (query: EXPLAIN AST SELECT fuzzBits(toString('string'), 1); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }). diff --git a/parser/testdata/01285_date_datetime_key_condition/explain_3.txt b/parser/testdata/01285_date_datetime_key_condition/explain_3.txt new file mode 100644 index 0000000000..8f6056953d --- /dev/null +++ b/parser/testdata/01285_date_datetime_key_condition/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier date_datetime_key_condition diff --git a/parser/testdata/01286_constraints_on_default/explain_10.txt b/parser/testdata/01286_constraints_on_default/explain_10.txt new file mode 100644 index 0000000000..12eb217eca --- /dev/null +++ b/parser/testdata/01286_constraints_on_default/explain_10.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier default_constraints + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/01286_constraints_on_default/explain_4.txt b/parser/testdata/01286_constraints_on_default/explain_4.txt new file mode 100644 index 0000000000..12eb217eca --- /dev/null +++ b/parser/testdata/01286_constraints_on_default/explain_4.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier default_constraints + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/01290_empty_array_index_analysis/explain_24.txt b/parser/testdata/01290_empty_array_index_analysis/explain_24.txt new file mode 100644 index 0000000000..53c79047ad --- /dev/null +++ b/parser/testdata/01290_empty_array_index_analysis/explain_24.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier count_lc_test + ExpressionList (children 2) + Identifier num + Identifier arr diff --git a/parser/testdata/01290_empty_array_index_analysis/explain_3.txt b/parser/testdata/01290_empty_array_index_analysis/explain_3.txt new file mode 100644 index 0000000000..53c79047ad --- /dev/null +++ b/parser/testdata/01290_empty_array_index_analysis/explain_3.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier count_lc_test + ExpressionList (children 2) + Identifier num + Identifier arr diff --git a/parser/testdata/01290_max_execution_speed_distributed/explain_8.txt b/parser/testdata/01290_max_execution_speed_distributed/explain_8.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01290_max_execution_speed_distributed/explain_8.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01291_aggregation_in_order/explain_4.txt b/parser/testdata/01291_aggregation_in_order/explain_4.txt new file mode 100644 index 0000000000..1a34d04db6 --- /dev/null +++ b/parser/testdata/01291_aggregation_in_order/explain_4.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier pk_order + ExpressionList (children 4) + Identifier a + Identifier b + Identifier c + Identifier d diff --git a/parser/testdata/01291_aggregation_in_order/explain_5.txt b/parser/testdata/01291_aggregation_in_order/explain_5.txt new file mode 100644 index 0000000000..1a34d04db6 --- /dev/null +++ b/parser/testdata/01291_aggregation_in_order/explain_5.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier pk_order + ExpressionList (children 4) + Identifier a + Identifier b + Identifier c + Identifier d diff --git a/parser/testdata/01291_aggregation_in_order/explain_6.txt b/parser/testdata/01291_aggregation_in_order/explain_6.txt new file mode 100644 index 0000000000..1a34d04db6 --- /dev/null +++ b/parser/testdata/01291_aggregation_in_order/explain_6.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier pk_order + ExpressionList (children 4) + Identifier a + Identifier b + Identifier c + Identifier d diff --git a/parser/testdata/01291_distributed_low_cardinality_memory_efficient/explain_5.txt b/parser/testdata/01291_distributed_low_cardinality_memory_efficient/explain_5.txt new file mode 100644 index 0000000000..36337a4d9e --- /dev/null +++ b/parser/testdata/01291_distributed_low_cardinality_memory_efficient/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data diff --git a/parser/testdata/01291_geo_types/explain_3.txt b/parser/testdata/01291_geo_types/explain_3.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/01291_geo_types/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/01291_unsupported_conversion_from_decimal/explain.txt b/parser/testdata/01291_unsupported_conversion_from_decimal/explain.txt index 0e87d9d99f..289c656b7d 100644 --- a/parser/testdata/01291_unsupported_conversion_from_decimal/explain.txt +++ b/parser/testdata/01291_unsupported_conversion_from_decimal/explain.txt @@ -6,4 +6,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) Function now64 (children 1) ExpressionList -The query succeeded but the server error '70' was expected (query: EXPLAIN AST SELECT toIntervalSecond(now64()); -- { serverError CANNOT_CONVERT_TYPE }). diff --git a/parser/testdata/01292_create_user/explain_221.txt b/parser/testdata/01292_create_user/explain_221.txt new file mode 100644 index 0000000000..e06bb2af43 --- /dev/null +++ b/parser/testdata/01292_create_user/explain_221.txt @@ -0,0 +1,9 @@ +CreateUserQuery (children 4) + AuthenticationData (children 1) + Literal \'qwe123\' + AuthenticationData (children 1) + Literal \'qwerty10\' + AuthenticationData (children 1) + Literal \'123qwe\' + AuthenticationData (children 1) + Literal \'abc\' diff --git a/parser/testdata/01292_create_user/explain_225.txt b/parser/testdata/01292_create_user/explain_225.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01292_create_user/explain_225.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01292_create_user/explain_230.txt b/parser/testdata/01292_create_user/explain_230.txt deleted file mode 100644 index e6a70727d0..0000000000 --- a/parser/testdata/01292_create_user/explain_230.txt +++ /dev/null @@ -1 +0,0 @@ -CreateUserQuery diff --git a/parser/testdata/01292_create_user/explain_232.txt b/parser/testdata/01292_create_user/explain_232.txt deleted file mode 100644 index e6a70727d0..0000000000 --- a/parser/testdata/01292_create_user/explain_232.txt +++ /dev/null @@ -1 +0,0 @@ -CreateUserQuery diff --git a/parser/testdata/01292_create_user/explain_239.txt b/parser/testdata/01292_create_user/explain_239.txt deleted file mode 100644 index e85ec657f0..0000000000 --- a/parser/testdata/01292_create_user/explain_239.txt +++ /dev/null @@ -1,3 +0,0 @@ -CreateUserQuery (children 1) - AuthenticationData (children 1) - Literal \'1\' diff --git a/parser/testdata/01292_optimize_data_skip_idx_order_by_expr/explain_3.txt b/parser/testdata/01292_optimize_data_skip_idx_order_by_expr/explain_3.txt new file mode 100644 index 0000000000..c37fc2f6f4 --- /dev/null +++ b/parser/testdata/01292_optimize_data_skip_idx_order_by_expr/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data_01292 diff --git a/parser/testdata/01293_create_role/explain.txt b/parser/testdata/01293_create_role/explain.txt index c978dfe03b..1dc8d65df7 100644 --- a/parser/testdata/01293_create_role/explain.txt +++ b/parser/testdata/01293_create_role/explain.txt @@ -1,11 +1 @@ -DropQuery (children 1) - ExpressionList (children 9) - TableIdentifier r1_01293 - TableIdentifier r2_01293 - TableIdentifier r3_01293 - TableIdentifier r4_01293 - TableIdentifier r5_01293 - TableIdentifier r6_01293 - TableIdentifier r7_01293 - TableIdentifier r8_01293 - TableIdentifier r9_01293 +DROP ROLE query diff --git a/parser/testdata/01294_create_settings_profile/explain.txt b/parser/testdata/01294_create_settings_profile/explain.txt index 9b8463a531..5d4d45fba6 100644 --- a/parser/testdata/01294_create_settings_profile/explain.txt +++ b/parser/testdata/01294_create_settings_profile/explain.txt @@ -1,12 +1 @@ -DropQuery (children 1) - ExpressionList (children 10) - TableIdentifier s1_01294 - TableIdentifier s2_01294 - TableIdentifier s3_01294 - TableIdentifier s4_01294 - TableIdentifier s5_01294 - TableIdentifier s6_01294 - TableIdentifier s7_01294 - TableIdentifier s8_01294 - TableIdentifier s9_01294 - TableIdentifier s10_01294 +DROP SETTINGS PROFILE query diff --git a/parser/testdata/01295_create_row_policy/explain.txt b/parser/testdata/01295_create_row_policy/explain.txt index f406eb23d9..ed0ed194e8 100644 --- a/parser/testdata/01295_create_row_policy/explain.txt +++ b/parser/testdata/01295_create_row_policy/explain.txt @@ -1,12 +1 @@ -DropQuery (children 1) - ExpressionList (children 10) - TableIdentifier p1_01295 - TableIdentifier p2_01295 - TableIdentifier p3_01295 - TableIdentifier p4_01295 - TableIdentifier p5_01295 - TableIdentifier p6_01295 - TableIdentifier p7_01295 - TableIdentifier p8_01295 - TableIdentifier p9_01295 - TableIdentifier p10_01295 +DROP ROW POLICY query diff --git a/parser/testdata/01296_create_row_policy_in_current_database/explain.txt b/parser/testdata/01296_create_row_policy_in_current_database/explain.txt index 83e42a60c2..ed0ed194e8 100644 --- a/parser/testdata/01296_create_row_policy_in_current_database/explain.txt +++ b/parser/testdata/01296_create_row_policy_in_current_database/explain.txt @@ -1,7 +1 @@ -DropQuery (children 1) - ExpressionList (children 5) - TableIdentifier p1_01296 - TableIdentifier p2_01296 - TableIdentifier p3_01296 - TableIdentifier p4_01296 - TableIdentifier p5_01296 +DROP ROW POLICY query diff --git a/parser/testdata/01296_pipeline_stuck/explain_3.txt b/parser/testdata/01296_pipeline_stuck/explain_3.txt new file mode 100644 index 0000000000..03850d51c9 --- /dev/null +++ b/parser/testdata/01296_pipeline_stuck/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data_01295 diff --git a/parser/testdata/01297_alter_distributed/explain_11.txt b/parser/testdata/01297_alter_distributed/explain_11.txt new file mode 100644 index 0000000000..f535db46a6 --- /dev/null +++ b/parser/testdata/01297_alter_distributed/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier merge_distributed1 diff --git a/parser/testdata/01297_alter_distributed/explain_5.txt b/parser/testdata/01297_alter_distributed/explain_5.txt new file mode 100644 index 0000000000..f535db46a6 --- /dev/null +++ b/parser/testdata/01297_alter_distributed/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier merge_distributed1 diff --git a/parser/testdata/01297_create_quota/explain.txt b/parser/testdata/01297_create_quota/explain.txt new file mode 100644 index 0000000000..10c88880b1 --- /dev/null +++ b/parser/testdata/01297_create_quota/explain.txt @@ -0,0 +1 @@ +DROP QUOTA query diff --git a/parser/testdata/01298_alter_merge/explain_15.txt b/parser/testdata/01298_alter_merge/explain_15.txt new file mode 100644 index 0000000000..f48be00462 --- /dev/null +++ b/parser/testdata/01298_alter_merge/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier merge1 diff --git a/parser/testdata/01298_alter_merge/explain_6.txt b/parser/testdata/01298_alter_merge/explain_6.txt new file mode 100644 index 0000000000..f48be00462 --- /dev/null +++ b/parser/testdata/01298_alter_merge/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier merge1 diff --git a/parser/testdata/01298_alter_merge/explain_8.txt b/parser/testdata/01298_alter_merge/explain_8.txt new file mode 100644 index 0000000000..935972d865 --- /dev/null +++ b/parser/testdata/01298_alter_merge/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier merge2 diff --git a/parser/testdata/01299_alter_merge_tree/explain_4.txt b/parser/testdata/01299_alter_merge_tree/explain_4.txt new file mode 100644 index 0000000000..04f66a3e53 --- /dev/null +++ b/parser/testdata/01299_alter_merge_tree/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier merge_tree diff --git a/parser/testdata/01299_alter_merge_tree/explain_7.txt b/parser/testdata/01299_alter_merge_tree/explain_7.txt new file mode 100644 index 0000000000..04f66a3e53 --- /dev/null +++ b/parser/testdata/01299_alter_merge_tree/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier merge_tree diff --git a/parser/testdata/01300_read_wkt/explain_13.txt b/parser/testdata/01300_read_wkt/explain_13.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/01300_read_wkt/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/01300_read_wkt/explain_14.txt b/parser/testdata/01300_read_wkt/explain_14.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/01300_read_wkt/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/01300_read_wkt/explain_15.txt b/parser/testdata/01300_read_wkt/explain_15.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/01300_read_wkt/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/01300_read_wkt/explain_16.txt b/parser/testdata/01300_read_wkt/explain_16.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/01300_read_wkt/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/01300_read_wkt/explain_17.txt b/parser/testdata/01300_read_wkt/explain_17.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/01300_read_wkt/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/01300_read_wkt/explain_18.txt b/parser/testdata/01300_read_wkt/explain_18.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/01300_read_wkt/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/01300_read_wkt/explain_22.txt b/parser/testdata/01300_read_wkt/explain_22.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/01300_read_wkt/explain_22.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/01300_read_wkt/explain_23.txt b/parser/testdata/01300_read_wkt/explain_23.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/01300_read_wkt/explain_23.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/01300_read_wkt/explain_24.txt b/parser/testdata/01300_read_wkt/explain_24.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/01300_read_wkt/explain_24.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/01300_read_wkt/explain_7.txt b/parser/testdata/01300_read_wkt/explain_7.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/01300_read_wkt/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/01300_read_wkt/explain_8.txt b/parser/testdata/01300_read_wkt/explain_8.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/01300_read_wkt/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/01300_read_wkt/explain_9.txt b/parser/testdata/01300_read_wkt/explain_9.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/01300_read_wkt/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/01300_svg/explain_11.txt b/parser/testdata/01300_svg/explain_11.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/01300_svg/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/01300_svg/explain_12.txt b/parser/testdata/01300_svg/explain_12.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/01300_svg/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/01300_svg/explain_13.txt b/parser/testdata/01300_svg/explain_13.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/01300_svg/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/01300_svg/explain_20.txt b/parser/testdata/01300_svg/explain_20.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/01300_svg/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/01300_svg/explain_21.txt b/parser/testdata/01300_svg/explain_21.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/01300_svg/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/01300_svg/explain_22.txt b/parser/testdata/01300_svg/explain_22.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/01300_svg/explain_22.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/01300_svg/explain_29.txt b/parser/testdata/01300_svg/explain_29.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/01300_svg/explain_29.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/01300_svg/explain_30.txt b/parser/testdata/01300_svg/explain_30.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/01300_svg/explain_30.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/01300_svg/explain_31.txt b/parser/testdata/01300_svg/explain_31.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/01300_svg/explain_31.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/01300_svg/explain_38.txt b/parser/testdata/01300_svg/explain_38.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/01300_svg/explain_38.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/01300_svg/explain_39.txt b/parser/testdata/01300_svg/explain_39.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/01300_svg/explain_39.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/01300_svg/explain_40.txt b/parser/testdata/01300_svg/explain_40.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/01300_svg/explain_40.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/01300_wkt/explain_13.txt b/parser/testdata/01300_wkt/explain_13.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/01300_wkt/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/01300_wkt/explain_14.txt b/parser/testdata/01300_wkt/explain_14.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/01300_wkt/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/01300_wkt/explain_15.txt b/parser/testdata/01300_wkt/explain_15.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/01300_wkt/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/01300_wkt/explain_19.txt b/parser/testdata/01300_wkt/explain_19.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/01300_wkt/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/01300_wkt/explain_20.txt b/parser/testdata/01300_wkt/explain_20.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/01300_wkt/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/01300_wkt/explain_21.txt b/parser/testdata/01300_wkt/explain_21.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/01300_wkt/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/01300_wkt/explain_25.txt b/parser/testdata/01300_wkt/explain_25.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/01300_wkt/explain_25.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/01300_wkt/explain_26.txt b/parser/testdata/01300_wkt/explain_26.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/01300_wkt/explain_26.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/01300_wkt/explain_27.txt b/parser/testdata/01300_wkt/explain_27.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/01300_wkt/explain_27.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/01300_wkt/explain_7.txt b/parser/testdata/01300_wkt/explain_7.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/01300_wkt/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/01300_wkt/explain_8.txt b/parser/testdata/01300_wkt/explain_8.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/01300_wkt/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/01300_wkt/explain_9.txt b/parser/testdata/01300_wkt/explain_9.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/01300_wkt/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/01302_polygons_distance/explain_6.txt b/parser/testdata/01302_polygons_distance/explain_6.txt new file mode 100644 index 0000000000..1df066f740 --- /dev/null +++ b/parser/testdata/01302_polygons_distance/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier polygon_01302 diff --git a/parser/testdata/01305_array_join_prewhere_in_subquery/explain_3.txt b/parser/testdata/01305_array_join_prewhere_in_subquery/explain_3.txt new file mode 100644 index 0000000000..ad38ed8a96 --- /dev/null +++ b/parser/testdata/01305_array_join_prewhere_in_subquery/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h diff --git a/parser/testdata/01305_buffer_final_bug/explain_6.txt b/parser/testdata/01305_buffer_final_bug/explain_6.txt new file mode 100644 index 0000000000..2f5ab13846 --- /dev/null +++ b/parser/testdata/01305_buffer_final_bug/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_buf diff --git a/parser/testdata/01305_nullable-prewhere_bug/explain_3.txt b/parser/testdata/01305_nullable-prewhere_bug/explain_3.txt new file mode 100644 index 0000000000..36337a4d9e --- /dev/null +++ b/parser/testdata/01305_nullable-prewhere_bug/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data diff --git a/parser/testdata/01308_row_policy_and_trivial_count_query/explain_4.txt b/parser/testdata/01308_row_policy_and_trivial_count_query/explain_4.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/01308_row_policy_and_trivial_count_query/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/01310_enum_comparison/explain_2.txt b/parser/testdata/01310_enum_comparison/explain_2.txt new file mode 100644 index 0000000000..3907165740 --- /dev/null +++ b/parser/testdata/01310_enum_comparison/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier enum diff --git a/parser/testdata/01313_parse_date_time_best_effort_null_zero/explain.txt b/parser/testdata/01313_parse_date_time_best_effort_null_zero/explain.txt index 8578d0a169..d5928bccdf 100644 --- a/parser/testdata/01313_parse_date_time_best_effort_null_zero/explain.txt +++ b/parser/testdata/01313_parse_date_time_best_effort_null_zero/explain.txt @@ -5,4 +5,3 @@ SelectWithUnionQuery (children 1) Function parseDateTimeBestEffort (children 1) ExpressionList (children 1) Literal \'\' -The query succeeded but the server error '41' was expected (query: EXPLAIN AST SELECT parseDateTimeBestEffort(''); -- { serverError CANNOT_PARSE_DATETIME }). diff --git a/parser/testdata/01314_position_in_system_columns/explain_3.txt b/parser/testdata/01314_position_in_system_columns/explain_3.txt new file mode 100644 index 0000000000..92a7dabd1b --- /dev/null +++ b/parser/testdata/01314_position_in_system_columns/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/01318_decrypt/explain.txt b/parser/testdata/01318_decrypt/explain.txt index b98b92fbe8..fd1c5b9d40 100644 --- a/parser/testdata/01318_decrypt/explain.txt +++ b/parser/testdata/01318_decrypt/explain.txt @@ -4,4 +4,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) Function aes_decrypt_mysql (children 1) ExpressionList -The query succeeded but the server error '42' was expected (query: EXPLAIN AST SELECT aes_decrypt_mysql(); --{serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH} not enough arguments). diff --git a/parser/testdata/01318_decrypt/explain_15.txt b/parser/testdata/01318_decrypt/explain_15.txt new file mode 100644 index 0000000000..c83071fff0 --- /dev/null +++ b/parser/testdata/01318_decrypt/explain_15.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier encryption_test + ExpressionList (children 1) + Identifier input diff --git a/parser/testdata/01318_decrypt/explain_49.txt b/parser/testdata/01318_decrypt/explain_49.txt new file mode 100644 index 0000000000..224ad23761 --- /dev/null +++ b/parser/testdata/01318_decrypt/explain_49.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier decrypt_null diff --git a/parser/testdata/01318_encrypt/explain.txt b/parser/testdata/01318_encrypt/explain.txt index 203ed918e9..ecfb9d681e 100644 --- a/parser/testdata/01318_encrypt/explain.txt +++ b/parser/testdata/01318_encrypt/explain.txt @@ -4,4 +4,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) Function aes_encrypt_mysql (children 1) ExpressionList -The query succeeded but the server error '42' was expected (query: EXPLAIN AST SELECT aes_encrypt_mysql(); --{serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH} not enough arguments). diff --git a/parser/testdata/01318_encrypt/explain_10.txt b/parser/testdata/01318_encrypt/explain_10.txt new file mode 100644 index 0000000000..c83071fff0 --- /dev/null +++ b/parser/testdata/01318_encrypt/explain_10.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier encryption_test + ExpressionList (children 1) + Identifier input diff --git a/parser/testdata/01319_manual_write_to_replicas_long/explain_10.txt b/parser/testdata/01319_manual_write_to_replicas_long/explain_10.txt new file mode 100644 index 0000000000..b96a1e23db --- /dev/null +++ b/parser/testdata/01319_manual_write_to_replicas_long/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier r2 diff --git a/parser/testdata/01319_manual_write_to_replicas_long/explain_7.txt b/parser/testdata/01319_manual_write_to_replicas_long/explain_7.txt new file mode 100644 index 0000000000..d9a8e8e155 --- /dev/null +++ b/parser/testdata/01319_manual_write_to_replicas_long/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier r1 diff --git a/parser/testdata/01319_query_formatting_in_server_log/explain.txt b/parser/testdata/01319_query_formatting_in_server_log/explain.txt new file mode 100644 index 0000000000..70d0588b60 --- /dev/null +++ b/parser/testdata/01319_query_formatting_in_server_log/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'ab cd\' diff --git a/parser/testdata/01319_query_formatting_in_server_log/explain_3.txt b/parser/testdata/01319_query_formatting_in_server_log/explain_3.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01319_query_formatting_in_server_log/explain_3.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01321_monotonous_functions_in_order_by_bug/explain.txt b/parser/testdata/01321_monotonous_functions_in_order_by_bug/explain.txt new file mode 100644 index 0000000000..b275a7a344 --- /dev/null +++ b/parser/testdata/01321_monotonous_functions_in_order_by_bug/explain.txt @@ -0,0 +1,30 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Function toStartOfHour (alias _c1) (children 1) + ExpressionList (children 1) + Identifier c1 + Identifier c2 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function values (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 2) + Function toDateTime (children 1) + ExpressionList (children 1) + Literal \'2020-01-01 01:01:01\' + Literal UInt64_999 + Function tuple (children 1) + ExpressionList (children 2) + Function toDateTime (children 1) + ExpressionList (children 1) + Literal \'2020-01-01 01:01:59\' + Literal UInt64_1 + ExpressionList (children 2) + OrderByElement (children 1) + Identifier _c1 + OrderByElement (children 1) + Identifier c2 diff --git a/parser/testdata/01323_add_scalars_in_time/explain_15.txt b/parser/testdata/01323_add_scalars_in_time/explain_15.txt new file mode 100644 index 0000000000..8746caa549 --- /dev/null +++ b/parser/testdata/01323_add_scalars_in_time/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier aaa diff --git a/parser/testdata/01323_add_scalars_in_time/explain_17.txt b/parser/testdata/01323_add_scalars_in_time/explain_17.txt new file mode 100644 index 0000000000..902a5283fb --- /dev/null +++ b/parser/testdata/01323_add_scalars_in_time/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier bbb diff --git a/parser/testdata/01323_add_scalars_in_time/explain_4.txt b/parser/testdata/01323_add_scalars_in_time/explain_4.txt new file mode 100644 index 0000000000..38ac6d2077 --- /dev/null +++ b/parser/testdata/01323_add_scalars_in_time/explain_4.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier tags + ExpressionList (children 2) + Identifier id + Identifier seqs diff --git a/parser/testdata/01323_add_scalars_in_time/explain_9.txt b/parser/testdata/01323_add_scalars_in_time/explain_9.txt new file mode 100644 index 0000000000..adc2915221 --- /dev/null +++ b/parser/testdata/01323_add_scalars_in_time/explain_9.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier TestTable + ExpressionList (children 3) + Identifier column + Identifier start + Identifier end diff --git a/parser/testdata/01323_if_with_nulls/explain_24.txt b/parser/testdata/01323_if_with_nulls/explain_24.txt new file mode 100644 index 0000000000..a734880453 --- /dev/null +++ b/parser/testdata/01323_if_with_nulls/explain_24.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_nullable_float_issue7347 diff --git a/parser/testdata/01323_too_many_threads_bug/explain_12.txt b/parser/testdata/01323_too_many_threads_bug/explain_12.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01323_too_many_threads_bug/explain_12.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01323_too_many_threads_bug/explain_15.txt b/parser/testdata/01323_too_many_threads_bug/explain_15.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01323_too_many_threads_bug/explain_15.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01325_freeze_mutation_stuck/explain_3.txt b/parser/testdata/01325_freeze_mutation_stuck/explain_3.txt new file mode 100644 index 0000000000..31c8e6f23c --- /dev/null +++ b/parser/testdata/01325_freeze_mutation_stuck/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mt diff --git a/parser/testdata/01327_decimal_cut_extra_digits_after_point/explain_16.txt b/parser/testdata/01327_decimal_cut_extra_digits_after_point/explain_16.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/01327_decimal_cut_extra_digits_after_point/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/01329_compare_tuple_string_constant/explain.txt b/parser/testdata/01329_compare_tuple_string_constant/explain.txt index f46ca40c3d..27c7bd472f 100644 --- a/parser/testdata/01329_compare_tuple_string_constant/explain.txt +++ b/parser/testdata/01329_compare_tuple_string_constant/explain.txt @@ -8,4 +8,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) Literal UInt64_1 Literal \'\' -The query succeeded but the server error '27' was expected (query: EXPLAIN AST SELECT tuple(1) < ''; -- { serverError CANNOT_PARSE_INPUT_ASSERTION_FAILED }). diff --git a/parser/testdata/01330_array_join_in_higher_order_function/explain.txt b/parser/testdata/01330_array_join_in_higher_order_function/explain.txt index 7d541cb9bd..ac16d2a0b7 100644 --- a/parser/testdata/01330_array_join_in_higher_order_function/explain.txt +++ b/parser/testdata/01330_array_join_in_higher_order_function/explain.txt @@ -16,4 +16,3 @@ SelectWithUnionQuery (children 1) Identifier x Literal UInt64_1 Literal Array_[UInt64_1, UInt64_2] -The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT arrayMap(x -> arrayJoin([x, 1]), [1, 2]); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/01338_uuid_without_separator/explain_5.txt b/parser/testdata/01338_uuid_without_separator/explain_5.txt new file mode 100644 index 0000000000..36decde470 --- /dev/null +++ b/parser/testdata/01338_uuid_without_separator/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_uuid diff --git a/parser/testdata/01338_uuid_without_separator/explain_6.txt b/parser/testdata/01338_uuid_without_separator/explain_6.txt new file mode 100644 index 0000000000..36decde470 --- /dev/null +++ b/parser/testdata/01338_uuid_without_separator/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_uuid diff --git a/parser/testdata/01340_datetime64_fpe/explain.txt b/parser/testdata/01340_datetime64_fpe/explain.txt index c967f94783..83917a84de 100644 --- a/parser/testdata/01340_datetime64_fpe/explain.txt +++ b/parser/testdata/01340_datetime64_fpe/explain.txt @@ -8,4 +8,3 @@ SelectWithUnionQuery (children 1) Literal UInt64_0 ExpressionList (children 1) Identifier dt64 -The query succeeded but the server error '6' was expected (query: EXPLAIN AST WITH toDateTime64('2019-09-16 19:20:12.3456789102019-09-16 19:20:12.345678910', 0) AS dt64 SELECT dt64; -- { serverError CANNOT_PARSE_TEXT }). diff --git a/parser/testdata/01343_min_bytes_to_use_mmap_io/explain_3.txt b/parser/testdata/01343_min_bytes_to_use_mmap_io/explain_3.txt new file mode 100644 index 0000000000..84cb50d070 --- /dev/null +++ b/parser/testdata/01343_min_bytes_to_use_mmap_io/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_01343 diff --git a/parser/testdata/01343_min_bytes_to_use_mmap_io/explain_6.txt b/parser/testdata/01343_min_bytes_to_use_mmap_io/explain_6.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01343_min_bytes_to_use_mmap_io/explain_6.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01344_alter_enum_partition_key/explain_15.txt b/parser/testdata/01344_alter_enum_partition_key/explain_15.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/01344_alter_enum_partition_key/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/01344_alter_enum_partition_key/explain_3.txt b/parser/testdata/01344_alter_enum_partition_key/explain_3.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/01344_alter_enum_partition_key/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/01344_alter_enum_partition_key/explain_7.txt b/parser/testdata/01344_alter_enum_partition_key/explain_7.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/01344_alter_enum_partition_key/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/01344_min_bytes_to_use_mmap_io_index/explain_3.txt b/parser/testdata/01344_min_bytes_to_use_mmap_io_index/explain_3.txt new file mode 100644 index 0000000000..0e32d7642d --- /dev/null +++ b/parser/testdata/01344_min_bytes_to_use_mmap_io_index/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_01344 diff --git a/parser/testdata/01344_min_bytes_to_use_mmap_io_index/explain_6.txt b/parser/testdata/01344_min_bytes_to_use_mmap_io_index/explain_6.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01344_min_bytes_to_use_mmap_io_index/explain_6.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01345_array_join_LittleMaverick/explain_3.txt b/parser/testdata/01345_array_join_LittleMaverick/explain_3.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/01345_array_join_LittleMaverick/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/01345_index_date_vs_datetime/explain_3.txt b/parser/testdata/01345_index_date_vs_datetime/explain_3.txt new file mode 100644 index 0000000000..ba77e58921 --- /dev/null +++ b/parser/testdata/01345_index_date_vs_datetime/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier index diff --git a/parser/testdata/01346_alter_enum_partition_key_replicated_zookeeper_long/explain_14.txt b/parser/testdata/01346_alter_enum_partition_key_replicated_zookeeper_long/explain_14.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/01346_alter_enum_partition_key_replicated_zookeeper_long/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/01346_alter_enum_partition_key_replicated_zookeeper_long/explain_26.txt b/parser/testdata/01346_alter_enum_partition_key_replicated_zookeeper_long/explain_26.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/01346_alter_enum_partition_key_replicated_zookeeper_long/explain_26.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/01346_alter_enum_partition_key_replicated_zookeeper_long/explain_7.txt b/parser/testdata/01346_alter_enum_partition_key_replicated_zookeeper_long/explain_7.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/01346_alter_enum_partition_key_replicated_zookeeper_long/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/01346_array_join_mrxotey/explain_3.txt b/parser/testdata/01346_array_join_mrxotey/explain_3.txt new file mode 100644 index 0000000000..6c6fcb7297 --- /dev/null +++ b/parser/testdata/01346_array_join_mrxotey/explain_3.txt @@ -0,0 +1,8 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 5) + Identifier a + Identifier b + Identifier c + Identifier p.at1 + Identifier p.at2 diff --git a/parser/testdata/01347_partition_date_vs_datetime/explain_3.txt b/parser/testdata/01347_partition_date_vs_datetime/explain_3.txt new file mode 100644 index 0000000000..401c182554 --- /dev/null +++ b/parser/testdata/01347_partition_date_vs_datetime/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test_datetime + ExpressionList (children 1) + Identifier time diff --git a/parser/testdata/01349_mutation_datetime_key/explain_3.txt b/parser/testdata/01349_mutation_datetime_key/explain_3.txt new file mode 100644 index 0000000000..cc6500d0ba --- /dev/null +++ b/parser/testdata/01349_mutation_datetime_key/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier cdp_orders diff --git a/parser/testdata/01352_generate_random_overflow/explain.txt b/parser/testdata/01352_generate_random_overflow/explain.txt index efc1f68733..42adb91727 100644 --- a/parser/testdata/01352_generate_random_overflow/explain.txt +++ b/parser/testdata/01352_generate_random_overflow/explain.txt @@ -13,4 +13,3 @@ SelectWithUnionQuery (children 1) Literal UInt64_65535 Literal UInt64_9223372036854775807 Literal UInt64_10 -The query succeeded but the server error '128' was expected (query: EXPLAIN AST SELECT i FROM generateRandom('i Array(Nullable(Enum8(\'hello\' = 1, \'world\' = 5)))', 1025, 65535, 9223372036854775807) LIMIT 10; -- { serverError TOO_LARGE_ARRAY_SIZE }). diff --git a/parser/testdata/01355_defaultValueOfArgumentType_bug/explain.txt b/parser/testdata/01355_defaultValueOfArgumentType_bug/explain.txt new file mode 100644 index 0000000000..bedd75b43b --- /dev/null +++ b/parser/testdata/01355_defaultValueOfArgumentType_bug/explain.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function materialize (alias lc) (children 1) + ExpressionList (children 1) + Function toLowCardinality (children 1) + ExpressionList (children 1) + Literal \'\' + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier lc + Function equals (children 1) + ExpressionList (children 2) + Identifier lc + Function defaultValueOfArgumentType (children 1) + ExpressionList (children 1) + Identifier lc diff --git a/parser/testdata/01356_view_threads/explain_6.txt b/parser/testdata/01356_view_threads/explain_6.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01356_view_threads/explain_6.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01356_wrong_filter-type_bug/explain_3.txt b/parser/testdata/01356_wrong_filter-type_bug/explain_3.txt new file mode 100644 index 0000000000..fcb2d89148 --- /dev/null +++ b/parser/testdata/01356_wrong_filter-type_bug/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t0 diff --git a/parser/testdata/01356_wrong_filter-type_bug/explain_5.txt b/parser/testdata/01356_wrong_filter-type_bug/explain_5.txt index a345f66813..5452e472ba 100644 --- a/parser/testdata/01356_wrong_filter-type_bug/explain_5.txt +++ b/parser/testdata/01356_wrong_filter-type_bug/explain_5.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 5) + SelectQuery (children 4) ExpressionList (children 3) Identifier t0.c2 Identifier t0.c1 @@ -25,6 +25,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 2) Identifier t0.c0 Identifier t0.c0 - Set Identifier TabSeparatedWithNamesAndTypes Set diff --git a/parser/testdata/01357_result_rows/explain_3.txt b/parser/testdata/01357_result_rows/explain_3.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01357_result_rows/explain_3.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01357_version_collapsing_attach_detach_zookeeper/explain_3.txt b/parser/testdata/01357_version_collapsing_attach_detach_zookeeper/explain_3.txt new file mode 100644 index 0000000000..1bef2bbe9e --- /dev/null +++ b/parser/testdata/01357_version_collapsing_attach_detach_zookeeper/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier versioned_collapsing_table diff --git a/parser/testdata/01358_constexpr_constraint/explain.txt b/parser/testdata/01358_constexpr_constraint/explain.txt index 3c75f1e66b..09d36d02a4 100644 --- a/parser/testdata/01358_constexpr_constraint/explain.txt +++ b/parser/testdata/01358_constexpr_constraint/explain.txt @@ -1,6 +1,20 @@ CreateQuery constrained (children 2) Identifier constrained - Columns definition (children 1) + Columns definition (children 2) ExpressionList (children 1) ColumnDeclaration URL (children 1) DataType String + ExpressionList (children 2) + Constraint (children 1) + Function equals (children 1) + ExpressionList (children 2) + Function domainWithoutWWW (children 1) + ExpressionList (children 1) + Identifier URL + Function domainWithoutWWW (children 1) + ExpressionList (children 1) + Identifier URL + Constraint (children 1) + Function isValidUTF8 (children 1) + ExpressionList (children 1) + Identifier URL diff --git a/parser/testdata/01358_constexpr_constraint/explain_2.txt b/parser/testdata/01358_constexpr_constraint/explain_2.txt new file mode 100644 index 0000000000..0fbc2df027 --- /dev/null +++ b/parser/testdata/01358_constexpr_constraint/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier constrained diff --git a/parser/testdata/01358_constexpr_constraint/explain_5.txt b/parser/testdata/01358_constexpr_constraint/explain_5.txt new file mode 100644 index 0000000000..0fbc2df027 --- /dev/null +++ b/parser/testdata/01358_constexpr_constraint/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier constrained diff --git a/parser/testdata/01358_mutation_delete_null_rows/explain_6.txt b/parser/testdata/01358_mutation_delete_null_rows/explain_6.txt new file mode 100644 index 0000000000..bb3801e098 --- /dev/null +++ b/parser/testdata/01358_mutation_delete_null_rows/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mutation_delete_null_rows diff --git a/parser/testdata/01358_mutation_delete_null_rows/explain_7.txt b/parser/testdata/01358_mutation_delete_null_rows/explain_7.txt new file mode 100644 index 0000000000..bb3801e098 --- /dev/null +++ b/parser/testdata/01358_mutation_delete_null_rows/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mutation_delete_null_rows diff --git a/parser/testdata/01358_union_threads_bug/explain_4.txt b/parser/testdata/01358_union_threads_bug/explain_4.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01358_union_threads_bug/explain_4.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01360_materialized_view_with_join_on_query_log/explain_14.txt b/parser/testdata/01360_materialized_view_with_join_on_query_log/explain_14.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01360_materialized_view_with_join_on_query_log/explain_14.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01360_materialized_view_with_join_on_query_log/explain_4.txt b/parser/testdata/01360_materialized_view_with_join_on_query_log/explain_4.txt new file mode 100644 index 0000000000..0ed0e52446 --- /dev/null +++ b/parser/testdata/01360_materialized_view_with_join_on_query_log/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier expected_times diff --git a/parser/testdata/01360_materialized_view_with_join_on_query_log/explain_7.txt b/parser/testdata/01360_materialized_view_with_join_on_query_log/explain_7.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01360_materialized_view_with_join_on_query_log/explain_7.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01361_buffer_table_flush_with_materialized_view/explain_10.txt b/parser/testdata/01361_buffer_table_flush_with_materialized_view/explain_10.txt new file mode 100644 index 0000000000..0e91f0cc91 --- /dev/null +++ b/parser/testdata/01361_buffer_table_flush_with_materialized_view/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier b1_01361 diff --git a/parser/testdata/01361_buffer_table_flush_with_materialized_view/explain_9.txt b/parser/testdata/01361_buffer_table_flush_with_materialized_view/explain_9.txt new file mode 100644 index 0000000000..0e91f0cc91 --- /dev/null +++ b/parser/testdata/01361_buffer_table_flush_with_materialized_view/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier b1_01361 diff --git a/parser/testdata/01372_remote_table_function_empty_table/explain.txt b/parser/testdata/01372_remote_table_function_empty_table/explain.txt index 251863f689..7534f31016 100644 --- a/parser/testdata/01372_remote_table_function_empty_table/explain.txt +++ b/parser/testdata/01372_remote_table_function_empty_table/explain.txt @@ -10,4 +10,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Literal \'127..2\' Literal \'a.\' -The query succeeded but the server error '62' was expected (query: EXPLAIN AST SELECT * FROM remote('127..2', 'a.'); -- { serverError SYNTAX_ERROR }). diff --git a/parser/testdata/01373_is_zero_or_null/explain_6.txt b/parser/testdata/01373_is_zero_or_null/explain_6.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/01373_is_zero_or_null/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/01373_summing_merge_tree_exclude_partition_key/explain_18.txt b/parser/testdata/01373_summing_merge_tree_exclude_partition_key/explain_18.txt new file mode 100644 index 0000000000..4c7c25d9b8 --- /dev/null +++ b/parser/testdata/01373_summing_merge_tree_exclude_partition_key/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tt_01373_expr diff --git a/parser/testdata/01374_if_nullable_filimonov/explain.txt b/parser/testdata/01374_if_nullable_filimonov/explain.txt new file mode 100644 index 0000000000..e60cec3c89 --- /dev/null +++ b/parser/testdata/01374_if_nullable_filimonov/explain.txt @@ -0,0 +1,26 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 3) + Identifier UserID + Function equals (children 1) + ExpressionList (children 2) + Identifier UserID + Literal UInt64_0 + Function if (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Identifier UserID + Literal UInt64_0 + Literal \'delete\' + Literal \'leave\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function VALUES (children 1) + ExpressionList (children 4) + Literal \'UserID Nullable(UInt8)\' + Literal UInt64_2 + Literal UInt64_0 + Literal NULL diff --git a/parser/testdata/01375_GROUP_BY_injective_elimination_dictGet_BAD_ARGUMENTS/explain.txt b/parser/testdata/01375_GROUP_BY_injective_elimination_dictGet_BAD_ARGUMENTS/explain.txt index 0588fbf5c6..96640c4d52 100644 --- a/parser/testdata/01375_GROUP_BY_injective_elimination_dictGet_BAD_ARGUMENTS/explain.txt +++ b/parser/testdata/01375_GROUP_BY_injective_elimination_dictGet_BAD_ARGUMENTS/explain.txt @@ -20,4 +20,3 @@ SelectWithUnionQuery (children 1) Literal UInt64_2 ExpressionList (children 1) Identifier country -The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT dictGetString(concat('default', '.countryId'), 'country', toUInt64(number)) AS country FROM numbers(2) GROUP BY country; -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/01375_null_issue_3767/explain_3.txt b/parser/testdata/01375_null_issue_3767/explain_3.txt new file mode 100644 index 0000000000..04b6355e2a --- /dev/null +++ b/parser/testdata/01375_null_issue_3767/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier null_issue_3767 + ExpressionList (children 1) + Identifier value diff --git a/parser/testdata/01376_GROUP_BY_injective_elimination_dictGet/explain.txt b/parser/testdata/01376_GROUP_BY_injective_elimination_dictGet/explain.txt index b97c72d18c..8483f212ae 100644 --- a/parser/testdata/01376_GROUP_BY_injective_elimination_dictGet/explain.txt +++ b/parser/testdata/01376_GROUP_BY_injective_elimination_dictGet/explain.txt @@ -17,4 +17,3 @@ SelectWithUnionQuery (children 1) Literal UInt64_2 ExpressionList (children 1) Identifier country -The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT dictGet('default.countryId', 'country', toUInt64(number)) AS country FROM numbers(2) GROUP BY country; -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/01376_GROUP_BY_injective_elimination_dictGet/explain_7.txt b/parser/testdata/01376_GROUP_BY_injective_elimination_dictGet/explain_7.txt new file mode 100644 index 0000000000..0ba7ee9cdf --- /dev/null +++ b/parser/testdata/01376_GROUP_BY_injective_elimination_dictGet/explain_7.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier dictdb_01376 + Identifier table_for_dict diff --git a/parser/testdata/01377_supertype_low_cardinality/explain_12.txt b/parser/testdata/01377_supertype_low_cardinality/explain_12.txt new file mode 100644 index 0000000000..b99677bd61 --- /dev/null +++ b/parser/testdata/01377_supertype_low_cardinality/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier a diff --git a/parser/testdata/01377_supertype_low_cardinality/explain_13.txt b/parser/testdata/01377_supertype_low_cardinality/explain_13.txt new file mode 100644 index 0000000000..8c7c316521 --- /dev/null +++ b/parser/testdata/01377_supertype_low_cardinality/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier b diff --git a/parser/testdata/01377_supertype_low_cardinality/explain_14.txt b/parser/testdata/01377_supertype_low_cardinality/explain_14.txt new file mode 100644 index 0000000000..5e554ec7ed --- /dev/null +++ b/parser/testdata/01377_supertype_low_cardinality/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier c diff --git a/parser/testdata/01377_supertype_low_cardinality/explain_15.txt b/parser/testdata/01377_supertype_low_cardinality/explain_15.txt new file mode 100644 index 0000000000..2cc970a43d --- /dev/null +++ b/parser/testdata/01377_supertype_low_cardinality/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier d diff --git a/parser/testdata/01379_with_fill_several_columns/explain.txt b/parser/testdata/01379_with_fill_several_columns/explain.txt new file mode 100644 index 0000000000..619764f7f1 --- /dev/null +++ b/parser/testdata/01379_with_fill_several_columns/explain.txt @@ -0,0 +1,45 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 3) + Function toDate (alias d1) (children 1) + ExpressionList (children 1) + Function toDateTime (children 1) + ExpressionList (children 2) + Function multiply (children 1) + ExpressionList (children 2) + Function multiply (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 + Literal UInt64_86400 + Literal \'Asia/Istanbul\' + Function toDate (alias d2) (children 1) + ExpressionList (children 1) + Function toDateTime (children 1) + ExpressionList (children 2) + Function multiply (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_86400 + Literal \'Asia/Istanbul\' + Literal \'original\' (alias source) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_3 + Literal UInt64_1 + ExpressionList (children 2) + OrderByElement (children 1) + Identifier d2 + OrderByElement (children 2) + Identifier d1 + Literal UInt64_5 diff --git a/parser/testdata/01380_coded_delta_exception_code/explain.txt b/parser/testdata/01380_coded_delta_exception_code/explain.txt index 6dcc3f18b6..a7fd5a30dc 100644 --- a/parser/testdata/01380_coded_delta_exception_code/explain.txt +++ b/parser/testdata/01380_coded_delta_exception_code/explain.txt @@ -18,4 +18,3 @@ CreateQuery delta_codec_synthetic (children 3) ExpressionList Function tuple (children 1) ExpressionList -The query succeeded but the server error '36' was expected (query: EXPLAIN AST CREATE TABLE delta_codec_synthetic (`id` Decimal(38, 10) CODEC(Delta, ZSTD(22))) ENGINE = MergeTree() ORDER BY tuple(); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/01383_remote_ambiguous_column_shard/explain_5.txt b/parser/testdata/01383_remote_ambiguous_column_shard/explain_5.txt new file mode 100644 index 0000000000..1cd6dc5b6d --- /dev/null +++ b/parser/testdata/01383_remote_ambiguous_column_shard/explain_5.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier test_01383 + Identifier fact diff --git a/parser/testdata/01383_remote_ambiguous_column_shard/explain_6.txt b/parser/testdata/01383_remote_ambiguous_column_shard/explain_6.txt new file mode 100644 index 0000000000..d08cead838 --- /dev/null +++ b/parser/testdata/01383_remote_ambiguous_column_shard/explain_6.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier test_01383 + Identifier dimension diff --git a/parser/testdata/01386_negative_float_constant_key_condition/explain_4.txt b/parser/testdata/01386_negative_float_constant_key_condition/explain_4.txt new file mode 100644 index 0000000000..fcb2d89148 --- /dev/null +++ b/parser/testdata/01386_negative_float_constant_key_condition/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t0 diff --git a/parser/testdata/01387_clear_column_default_depends/explain_11.txt b/parser/testdata/01387_clear_column_default_depends/explain_11.txt new file mode 100644 index 0000000000..92a7dabd1b --- /dev/null +++ b/parser/testdata/01387_clear_column_default_depends/explain_11.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/01387_clear_column_default_depends/explain_19.txt b/parser/testdata/01387_clear_column_default_depends/explain_19.txt new file mode 100644 index 0000000000..92a7dabd1b --- /dev/null +++ b/parser/testdata/01387_clear_column_default_depends/explain_19.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/01387_clear_column_default_depends/explain_3.txt b/parser/testdata/01387_clear_column_default_depends/explain_3.txt new file mode 100644 index 0000000000..92a7dabd1b --- /dev/null +++ b/parser/testdata/01387_clear_column_default_depends/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/01388_clear_all_columns/explain_12.txt b/parser/testdata/01388_clear_all_columns/explain_12.txt new file mode 100644 index 0000000000..5478a6916d --- /dev/null +++ b/parser/testdata/01388_clear_all_columns/explain_12.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 3) + Identifier x + Identifier y + Identifier z diff --git a/parser/testdata/01388_clear_all_columns/explain_3.txt b/parser/testdata/01388_clear_all_columns/explain_3.txt new file mode 100644 index 0000000000..92a7dabd1b --- /dev/null +++ b/parser/testdata/01388_clear_all_columns/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/01388_clear_all_columns/explain_7.txt b/parser/testdata/01388_clear_all_columns/explain_7.txt new file mode 100644 index 0000000000..54c09aa546 --- /dev/null +++ b/parser/testdata/01388_clear_all_columns/explain_7.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 2) + Identifier x + Identifier y diff --git a/parser/testdata/01391_join_on_dict_crash/explain_3.txt b/parser/testdata/01391_join_on_dict_crash/explain_3.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/01391_join_on_dict_crash/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/01391_join_on_dict_crash/explain_4.txt b/parser/testdata/01391_join_on_dict_crash/explain_4.txt new file mode 100644 index 0000000000..a6d354c06a --- /dev/null +++ b/parser/testdata/01391_join_on_dict_crash/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier d_src diff --git a/parser/testdata/01392_column_resolve/explain_4.txt b/parser/testdata/01392_column_resolve/explain_4.txt new file mode 100644 index 0000000000..0d88552dd4 --- /dev/null +++ b/parser/testdata/01392_column_resolve/explain_4.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier tableConversion + ExpressionList (children 2) + Identifier conversionId + Identifier value diff --git a/parser/testdata/01392_column_resolve/explain_5.txt b/parser/testdata/01392_column_resolve/explain_5.txt new file mode 100644 index 0000000000..d6cd605fdb --- /dev/null +++ b/parser/testdata/01392_column_resolve/explain_5.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier tableClick + ExpressionList (children 3) + Identifier clickId + Identifier conversionId + Identifier value diff --git a/parser/testdata/01392_column_resolve/explain_6.txt b/parser/testdata/01392_column_resolve/explain_6.txt new file mode 100644 index 0000000000..d6cd605fdb --- /dev/null +++ b/parser/testdata/01392_column_resolve/explain_6.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier tableClick + ExpressionList (children 3) + Identifier clickId + Identifier conversionId + Identifier value diff --git a/parser/testdata/01392_column_resolve/explain_7.txt b/parser/testdata/01392_column_resolve/explain_7.txt new file mode 100644 index 0000000000..d6cd605fdb --- /dev/null +++ b/parser/testdata/01392_column_resolve/explain_7.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier tableClick + ExpressionList (children 3) + Identifier clickId + Identifier conversionId + Identifier value diff --git a/parser/testdata/01396_low_cardinality_fixed_string_default/explain_3.txt b/parser/testdata/01396_low_cardinality_fixed_string_default/explain_3.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/01396_low_cardinality_fixed_string_default/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/01397_in_bad_arguments/explain.txt b/parser/testdata/01397_in_bad_arguments/explain.txt index cfff0e5d9b..a103f153f8 100644 --- a/parser/testdata/01397_in_bad_arguments/explain.txt +++ b/parser/testdata/01397_in_bad_arguments/explain.txt @@ -5,4 +5,3 @@ SelectWithUnionQuery (children 1) Function in (children 1) ExpressionList (children 1) Literal Tuple_(UInt64_1, UInt64_1, UInt64_1, UInt64_1) -The query succeeded but the server error '42' was expected (query: EXPLAIN AST select in((1, 1, 1, 1)); -- { serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH }). diff --git a/parser/testdata/01400_join_get_with_multi_keys/explain_3.txt b/parser/testdata/01400_join_get_with_multi_keys/explain_3.txt new file mode 100644 index 0000000000..fca04c6965 --- /dev/null +++ b/parser/testdata/01400_join_get_with_multi_keys/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_joinGet diff --git a/parser/testdata/01400_join_get_with_multi_keys/explain_6.txt b/parser/testdata/01400_join_get_with_multi_keys/explain_6.txt new file mode 100644 index 0000000000..99c0e2c4da --- /dev/null +++ b/parser/testdata/01400_join_get_with_multi_keys/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_lc diff --git a/parser/testdata/01404_roundUpToPowerOfTwoOrZero_safety/explain.txt b/parser/testdata/01404_roundUpToPowerOfTwoOrZero_safety/explain.txt index e8cba50d31..814ac8faa9 100644 --- a/parser/testdata/01404_roundUpToPowerOfTwoOrZero_safety/explain.txt +++ b/parser/testdata/01404_roundUpToPowerOfTwoOrZero_safety/explain.txt @@ -21,4 +21,3 @@ SelectWithUnionQuery (children 1) Function numbers (children 1) ExpressionList (children 1) Literal UInt64_65535 -The query succeeded but the server error '131' was expected (query: EXPLAIN AST SELECT repeat('0.0001048576', number * (number * (number * 255))) FROM numbers(65535); -- { serverError TOO_LARGE_STRING_SIZE }). diff --git a/parser/testdata/01410_nullable_key_and_index/explain_28.txt b/parser/testdata/01410_nullable_key_and_index/explain_28.txt new file mode 100644 index 0000000000..edfac380f2 --- /dev/null +++ b/parser/testdata/01410_nullable_key_and_index/explain_28.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nullable_key_without_final_mark diff --git a/parser/testdata/01410_nullable_key_and_index/explain_33.txt b/parser/testdata/01410_nullable_key_and_index/explain_33.txt new file mode 100644 index 0000000000..9f0caf4110 --- /dev/null +++ b/parser/testdata/01410_nullable_key_and_index/explain_33.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nullable_minmax_index diff --git a/parser/testdata/01410_nullable_key_and_index/explain_34.txt b/parser/testdata/01410_nullable_key_and_index/explain_34.txt new file mode 100644 index 0000000000..9f0caf4110 --- /dev/null +++ b/parser/testdata/01410_nullable_key_and_index/explain_34.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nullable_minmax_index diff --git a/parser/testdata/01410_nullable_key_and_index/explain_35.txt b/parser/testdata/01410_nullable_key_and_index/explain_35.txt new file mode 100644 index 0000000000..9f0caf4110 --- /dev/null +++ b/parser/testdata/01410_nullable_key_and_index/explain_35.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nullable_minmax_index diff --git a/parser/testdata/01410_nullable_key_and_index_negate_cond/explain_4.txt b/parser/testdata/01410_nullable_key_and_index_negate_cond/explain_4.txt new file mode 100644 index 0000000000..f084d680ab --- /dev/null +++ b/parser/testdata/01410_nullable_key_and_index_negate_cond/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_23634 diff --git a/parser/testdata/01412_optimize_deduplicate_bug/explain_3.txt b/parser/testdata/01412_optimize_deduplicate_bug/explain_3.txt new file mode 100644 index 0000000000..e8b7b937f9 --- /dev/null +++ b/parser/testdata/01412_optimize_deduplicate_bug/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tesd_dedupl diff --git a/parser/testdata/01412_optimize_deduplicate_bug/explain_4.txt b/parser/testdata/01412_optimize_deduplicate_bug/explain_4.txt new file mode 100644 index 0000000000..e8b7b937f9 --- /dev/null +++ b/parser/testdata/01412_optimize_deduplicate_bug/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tesd_dedupl diff --git a/parser/testdata/01413_rows_events/explain_12.txt b/parser/testdata/01413_rows_events/explain_12.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01413_rows_events/explain_12.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01413_rows_events/explain_3.txt b/parser/testdata/01413_rows_events/explain_3.txt new file mode 100644 index 0000000000..11adb14aed --- /dev/null +++ b/parser/testdata/01413_rows_events/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rows_events_test diff --git a/parser/testdata/01413_rows_events/explain_4.txt b/parser/testdata/01413_rows_events/explain_4.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01413_rows_events/explain_4.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01413_rows_events/explain_7.txt b/parser/testdata/01413_rows_events/explain_7.txt new file mode 100644 index 0000000000..11adb14aed --- /dev/null +++ b/parser/testdata/01413_rows_events/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rows_events_test diff --git a/parser/testdata/01413_rows_events/explain_8.txt b/parser/testdata/01413_rows_events/explain_8.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01413_rows_events/explain_8.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01413_truncate_without_table_keyword/explain_3.txt b/parser/testdata/01413_truncate_without_table_keyword/explain_3.txt new file mode 100644 index 0000000000..c49f16f67f --- /dev/null +++ b/parser/testdata/01413_truncate_without_table_keyword/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier truncate_test diff --git a/parser/testdata/01414_freeze_does_not_prevent_alters/explain_3.txt b/parser/testdata/01414_freeze_does_not_prevent_alters/explain_3.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/01414_freeze_does_not_prevent_alters/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/01415_inconsistent_merge_tree_settings/explain_4.txt b/parser/testdata/01415_inconsistent_merge_tree_settings/explain_4.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/01415_inconsistent_merge_tree_settings/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/01415_overlimiting_threads_for_repica_bug/explain_5.txt b/parser/testdata/01415_overlimiting_threads_for_repica_bug/explain_5.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01415_overlimiting_threads_for_repica_bug/explain_5.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01418_custom_settings/explain.txt b/parser/testdata/01418_custom_settings/explain.txt index 0e23c6218f..5d4d45fba6 100644 --- a/parser/testdata/01418_custom_settings/explain.txt +++ b/parser/testdata/01418_custom_settings/explain.txt @@ -1,4 +1 @@ -DropQuery (children 1) - ExpressionList (children 2) - TableIdentifier s1_01418 - TableIdentifier s2_01418 +DROP SETTINGS PROFILE query diff --git a/parser/testdata/01418_index_analysis_bug/explain_8.txt b/parser/testdata/01418_index_analysis_bug/explain_8.txt new file mode 100644 index 0000000000..1a3c2afae1 --- /dev/null +++ b/parser/testdata/01418_index_analysis_bug/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_float diff --git a/parser/testdata/01421_assert_in_in/explain.txt b/parser/testdata/01421_assert_in_in/explain.txt index 226a59faff..5419757e30 100644 --- a/parser/testdata/01421_assert_in_in/explain.txt +++ b/parser/testdata/01421_assert_in_in/explain.txt @@ -15,4 +15,3 @@ SelectWithUnionQuery (children 1) Literal UInt64_1 Literal UInt64_1 Literal UInt64_1 -The query succeeded but the server error '53' was expected (query: EXPLAIN AST SELECT (1, 2) IN ((1, (2, 3)), (1 + 1, 1)); -- { serverError TYPE_MISMATCH }). diff --git a/parser/testdata/01422_map_skip_null/explain.txt b/parser/testdata/01422_map_skip_null/explain.txt index 8de03a954d..846c97580c 100644 --- a/parser/testdata/01422_map_skip_null/explain.txt +++ b/parser/testdata/01422_map_skip_null/explain.txt @@ -16,4 +16,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Literal Array_[UInt64_1] Literal Array_[NULL] -The query succeeded but the server error '43' was expected (query: EXPLAIN AST select minMap(arrayJoin([([1], [null]), ([1], [null])])); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }). diff --git a/parser/testdata/01424_parse_date_time_bad_date/explain.txt b/parser/testdata/01424_parse_date_time_bad_date/explain.txt index 743e8bf6a5..308cd45fc1 100644 --- a/parser/testdata/01424_parse_date_time_bad_date/explain.txt +++ b/parser/testdata/01424_parse_date_time_bad_date/explain.txt @@ -5,4 +5,3 @@ SelectWithUnionQuery (children 1) Function parseDateTime64BestEffort (children 1) ExpressionList (children 1) Literal \'2.55\' -The query succeeded but the server error '41' was expected (query: EXPLAIN AST select parseDateTime64BestEffort('2.55'); -- { serverError CANNOT_PARSE_DATETIME }). diff --git a/parser/testdata/01425_decimal_parse_big_negative_exponent/explain.txt b/parser/testdata/01425_decimal_parse_big_negative_exponent/explain.txt index 084a1d5ce3..2471c7e7a8 100644 --- a/parser/testdata/01425_decimal_parse_big_negative_exponent/explain.txt +++ b/parser/testdata/01425_decimal_parse_big_negative_exponent/explain.txt @@ -7,4 +7,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Identifier x Literal UInt64_0 -The query succeeded but the server error '69' was expected (query: EXPLAIN AST SELECT '-1E9-1E9-1E9-1E9' AS x, toDecimal32(x, 0); -- { serverError ARGUMENT_OUT_OF_BOUND }). diff --git a/parser/testdata/01425_default_value_of_type_name/explain.txt b/parser/testdata/01425_default_value_of_type_name/explain.txt new file mode 100644 index 0000000000..769507825c --- /dev/null +++ b/parser/testdata/01425_default_value_of_type_name/explain.txt @@ -0,0 +1,25 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 7) + Function defaultValueOfTypeName (children 1) + ExpressionList (children 1) + Literal \'Int64\' + Function defaultValueOfTypeName (children 1) + ExpressionList (children 1) + Literal \'String\' + Function defaultValueOfTypeName (children 1) + ExpressionList (children 1) + Literal \'UUID\' + Function defaultValueOfTypeName (children 1) + ExpressionList (children 1) + Literal \'IPv4\' + Function defaultValueOfTypeName (children 1) + ExpressionList (children 1) + Literal \'IPv6\' + Function defaultValueOfTypeName (children 1) + ExpressionList (children 1) + Literal \'Decimal128(3)\' + Function defaultValueOfTypeName (children 1) + ExpressionList (children 1) + Literal \'Tuple(Date, DateTime(\\\'UTC\\\'), Array(Array(String)), Nullable(UInt8))\' diff --git a/parser/testdata/01428_h3_range_check/explain.txt b/parser/testdata/01428_h3_range_check/explain.txt index 697a6d92c7..b63288d237 100644 --- a/parser/testdata/01428_h3_range_check/explain.txt +++ b/parser/testdata/01428_h3_range_check/explain.txt @@ -6,4 +6,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Literal UInt64_599405990164561919 Literal UInt64_100 -The query succeeded but the server error '69' was expected (query: EXPLAIN AST SELECT h3ToChildren(599405990164561919, 100); -- { serverError ARGUMENT_OUT_OF_BOUND }). diff --git a/parser/testdata/01429_join_on_error_messages/explain.txt b/parser/testdata/01429_join_on_error_messages/explain.txt index dc0b5d7809..e332e1063f 100644 --- a/parser/testdata/01429_join_on_error_messages/explain.txt +++ b/parser/testdata/01429_join_on_error_messages/explain.txt @@ -24,4 +24,3 @@ SelectWithUnionQuery (children 1) Function equals (children 1) ExpressionList (children 1) Identifier a -The query succeeded but the server error '[42, 62]' was expected (query: EXPLAIN AST SELECT 1 FROM (select 1 a) A JOIN (select 1 b) B ON equals(a); -- { serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH, 62 }). diff --git a/parser/testdata/01433_hex_float/explain_2.txt b/parser/testdata/01433_hex_float/explain_2.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/01433_hex_float/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/01440_big_int_least_greatest/explain.txt b/parser/testdata/01440_big_int_least_greatest/explain.txt new file mode 100644 index 0000000000..8147839b47 --- /dev/null +++ b/parser/testdata/01440_big_int_least_greatest/explain.txt @@ -0,0 +1,74 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 10) + Function least (alias x) (children 1) + ExpressionList (children 2) + Function toInt8 (children 1) + ExpressionList (children 1) + Literal UInt64_127 + Function toInt128 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function least (alias x2) (children 1) + ExpressionList (children 2) + Function toInt8 (children 1) + ExpressionList (children 1) + Literal UInt64_127 + Function toInt128 (children 1) + ExpressionList (children 1) + Literal UInt64_128 + Function least (alias x3) (children 1) + ExpressionList (children 2) + Function toInt8 (children 1) + ExpressionList (children 1) + Literal Int64_-128 + Function toInt128 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function least (alias x4) (children 1) + ExpressionList (children 2) + Function toInt8 (children 1) + ExpressionList (children 1) + Literal Int64_-128 + Function toInt128 (children 1) + ExpressionList (children 1) + Literal Int64_-129 + Function greatest (alias y) (children 1) + ExpressionList (children 2) + Function toInt8 (children 1) + ExpressionList (children 1) + Literal UInt64_127 + Function toInt128 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function greatest (alias y2) (children 1) + ExpressionList (children 2) + Function toInt8 (children 1) + ExpressionList (children 1) + Literal UInt64_127 + Function toInt128 (children 1) + ExpressionList (children 1) + Literal UInt64_128 + Function greatest (alias y3) (children 1) + ExpressionList (children 2) + Function toInt8 (children 1) + ExpressionList (children 1) + Literal Int64_-128 + Function toInt128 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function greatest (alias y4) (children 1) + ExpressionList (children 2) + Function toInt8 (children 1) + ExpressionList (children 1) + Literal Int64_-128 + Function toInt128 (children 1) + ExpressionList (children 1) + Literal Int64_-129 + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier x + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier y diff --git a/parser/testdata/01440_to_date_monotonicity/explain_4.txt b/parser/testdata/01440_to_date_monotonicity/explain_4.txt new file mode 100644 index 0000000000..7798bfe970 --- /dev/null +++ b/parser/testdata/01440_to_date_monotonicity/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tdm diff --git a/parser/testdata/01440_to_date_monotonicity/explain_9.txt b/parser/testdata/01440_to_date_monotonicity/explain_9.txt new file mode 100644 index 0000000000..c28a0cbf44 --- /dev/null +++ b/parser/testdata/01440_to_date_monotonicity/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tdm2 diff --git a/parser/testdata/01442_date_time_with_params/explain_3.txt b/parser/testdata/01442_date_time_with_params/explain_3.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/01442_date_time_with_params/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/01442_h3kring_range_check/explain.txt b/parser/testdata/01442_h3kring_range_check/explain.txt index eb6acfc1b0..dd14af5031 100644 --- a/parser/testdata/01442_h3kring_range_check/explain.txt +++ b/parser/testdata/01442_h3kring_range_check/explain.txt @@ -6,4 +6,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Literal UInt64_581276613233082367 Literal UInt64_65535 -The query succeeded but the server error '12' was expected (query: EXPLAIN AST SELECT h3kRing(581276613233082367, 65535); -- { serverError PARAMETER_OUT_OF_BOUND }). diff --git a/parser/testdata/01448_json_compact_strings_each_row/explain_19.txt b/parser/testdata/01448_json_compact_strings_each_row/explain_19.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/01448_json_compact_strings_each_row/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/01448_json_compact_strings_each_row/explain_24.txt b/parser/testdata/01448_json_compact_strings_each_row/explain_24.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/01448_json_compact_strings_each_row/explain_24.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/01448_json_compact_strings_each_row/explain_29.txt b/parser/testdata/01448_json_compact_strings_each_row/explain_29.txt new file mode 100644 index 0000000000..324602be3f --- /dev/null +++ b/parser/testdata/01448_json_compact_strings_each_row/explain_29.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_2 diff --git a/parser/testdata/01448_json_compact_strings_each_row/explain_34.txt b/parser/testdata/01448_json_compact_strings_each_row/explain_34.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/01448_json_compact_strings_each_row/explain_34.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/01448_json_compact_strings_each_row/explain_35.txt b/parser/testdata/01448_json_compact_strings_each_row/explain_35.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/01448_json_compact_strings_each_row/explain_35.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/01448_json_compact_strings_each_row/explain_40.txt b/parser/testdata/01448_json_compact_strings_each_row/explain_40.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/01448_json_compact_strings_each_row/explain_40.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/01448_json_compact_strings_each_row/explain_41.txt b/parser/testdata/01448_json_compact_strings_each_row/explain_41.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/01448_json_compact_strings_each_row/explain_41.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/01448_json_compact_strings_each_row/explain_46.txt b/parser/testdata/01448_json_compact_strings_each_row/explain_46.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/01448_json_compact_strings_each_row/explain_46.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/01448_json_compact_strings_each_row/explain_47.txt b/parser/testdata/01448_json_compact_strings_each_row/explain_47.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/01448_json_compact_strings_each_row/explain_47.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/01448_json_compact_strings_each_row/explain_51.txt b/parser/testdata/01448_json_compact_strings_each_row/explain_51.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/01448_json_compact_strings_each_row/explain_51.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/01448_json_compact_strings_each_row/explain_55.txt b/parser/testdata/01448_json_compact_strings_each_row/explain_55.txt new file mode 100644 index 0000000000..324602be3f --- /dev/null +++ b/parser/testdata/01448_json_compact_strings_each_row/explain_55.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_2 diff --git a/parser/testdata/01448_json_compact_strings_each_row/explain_56.txt b/parser/testdata/01448_json_compact_strings_each_row/explain_56.txt new file mode 100644 index 0000000000..324602be3f --- /dev/null +++ b/parser/testdata/01448_json_compact_strings_each_row/explain_56.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_2 diff --git a/parser/testdata/01448_json_compact_strings_each_row/explain_6.txt b/parser/testdata/01448_json_compact_strings_each_row/explain_6.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/01448_json_compact_strings_each_row/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/01450_set_null_const/explain_3.txt b/parser/testdata/01450_set_null_const/explain_3.txt new file mode 100644 index 0000000000..24e1004c2d --- /dev/null +++ b/parser/testdata/01450_set_null_const/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_mtree diff --git a/parser/testdata/01451_detach_drop_part/explain_4.txt b/parser/testdata/01451_detach_drop_part/explain_4.txt new file mode 100644 index 0000000000..dd79020fcd --- /dev/null +++ b/parser/testdata/01451_detach_drop_part/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mt_01451 diff --git a/parser/testdata/01451_detach_drop_part/explain_5.txt b/parser/testdata/01451_detach_drop_part/explain_5.txt new file mode 100644 index 0000000000..dd79020fcd --- /dev/null +++ b/parser/testdata/01451_detach_drop_part/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mt_01451 diff --git a/parser/testdata/01451_detach_drop_part/explain_6.txt b/parser/testdata/01451_detach_drop_part/explain_6.txt new file mode 100644 index 0000000000..dd79020fcd --- /dev/null +++ b/parser/testdata/01451_detach_drop_part/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mt_01451 diff --git a/parser/testdata/01451_replicated_detach_drop_and_quorum_long/explain_14.txt b/parser/testdata/01451_replicated_detach_drop_and_quorum_long/explain_14.txt new file mode 100644 index 0000000000..10def47258 --- /dev/null +++ b/parser/testdata/01451_replicated_detach_drop_and_quorum_long/explain_14.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier replica2 + Set diff --git a/parser/testdata/01451_replicated_detach_drop_and_quorum_long/explain_19.txt b/parser/testdata/01451_replicated_detach_drop_and_quorum_long/explain_19.txt new file mode 100644 index 0000000000..10def47258 --- /dev/null +++ b/parser/testdata/01451_replicated_detach_drop_and_quorum_long/explain_19.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier replica2 + Set diff --git a/parser/testdata/01451_replicated_detach_drop_and_quorum_long/explain_6.txt b/parser/testdata/01451_replicated_detach_drop_and_quorum_long/explain_6.txt new file mode 100644 index 0000000000..760b219e10 --- /dev/null +++ b/parser/testdata/01451_replicated_detach_drop_and_quorum_long/explain_6.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier replica1 + Set diff --git a/parser/testdata/01451_replicated_detach_drop_part_long/explain_6.txt b/parser/testdata/01451_replicated_detach_drop_part_long/explain_6.txt new file mode 100644 index 0000000000..760b219e10 --- /dev/null +++ b/parser/testdata/01451_replicated_detach_drop_part_long/explain_6.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier replica1 + Set diff --git a/parser/testdata/01451_replicated_detach_drop_part_long/explain_7.txt b/parser/testdata/01451_replicated_detach_drop_part_long/explain_7.txt new file mode 100644 index 0000000000..760b219e10 --- /dev/null +++ b/parser/testdata/01451_replicated_detach_drop_part_long/explain_7.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier replica1 + Set diff --git a/parser/testdata/01451_replicated_detach_drop_part_long/explain_8.txt b/parser/testdata/01451_replicated_detach_drop_part_long/explain_8.txt new file mode 100644 index 0000000000..760b219e10 --- /dev/null +++ b/parser/testdata/01451_replicated_detach_drop_part_long/explain_8.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier replica1 + Set diff --git a/parser/testdata/01453_fixsed_string_sort/explain_10.txt b/parser/testdata/01453_fixsed_string_sort/explain_10.txt new file mode 100644 index 0000000000..b23fb85de0 --- /dev/null +++ b/parser/testdata/01453_fixsed_string_sort/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier badFixedStringSort diff --git a/parser/testdata/01453_fixsed_string_sort/explain_11.txt b/parser/testdata/01453_fixsed_string_sort/explain_11.txt new file mode 100644 index 0000000000..b23fb85de0 --- /dev/null +++ b/parser/testdata/01453_fixsed_string_sort/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier badFixedStringSort diff --git a/parser/testdata/01453_fixsed_string_sort/explain_12.txt b/parser/testdata/01453_fixsed_string_sort/explain_12.txt new file mode 100644 index 0000000000..b23fb85de0 --- /dev/null +++ b/parser/testdata/01453_fixsed_string_sort/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier badFixedStringSort diff --git a/parser/testdata/01453_fixsed_string_sort/explain_13.txt b/parser/testdata/01453_fixsed_string_sort/explain_13.txt new file mode 100644 index 0000000000..b23fb85de0 --- /dev/null +++ b/parser/testdata/01453_fixsed_string_sort/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier badFixedStringSort diff --git a/parser/testdata/01453_fixsed_string_sort/explain_14.txt b/parser/testdata/01453_fixsed_string_sort/explain_14.txt new file mode 100644 index 0000000000..b23fb85de0 --- /dev/null +++ b/parser/testdata/01453_fixsed_string_sort/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier badFixedStringSort diff --git a/parser/testdata/01453_fixsed_string_sort/explain_3.txt b/parser/testdata/01453_fixsed_string_sort/explain_3.txt new file mode 100644 index 0000000000..b23fb85de0 --- /dev/null +++ b/parser/testdata/01453_fixsed_string_sort/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier badFixedStringSort diff --git a/parser/testdata/01453_fixsed_string_sort/explain_4.txt b/parser/testdata/01453_fixsed_string_sort/explain_4.txt new file mode 100644 index 0000000000..b23fb85de0 --- /dev/null +++ b/parser/testdata/01453_fixsed_string_sort/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier badFixedStringSort diff --git a/parser/testdata/01453_fixsed_string_sort/explain_5.txt b/parser/testdata/01453_fixsed_string_sort/explain_5.txt new file mode 100644 index 0000000000..b23fb85de0 --- /dev/null +++ b/parser/testdata/01453_fixsed_string_sort/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier badFixedStringSort diff --git a/parser/testdata/01453_fixsed_string_sort/explain_6.txt b/parser/testdata/01453_fixsed_string_sort/explain_6.txt new file mode 100644 index 0000000000..b23fb85de0 --- /dev/null +++ b/parser/testdata/01453_fixsed_string_sort/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier badFixedStringSort diff --git a/parser/testdata/01453_fixsed_string_sort/explain_7.txt b/parser/testdata/01453_fixsed_string_sort/explain_7.txt new file mode 100644 index 0000000000..b23fb85de0 --- /dev/null +++ b/parser/testdata/01453_fixsed_string_sort/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier badFixedStringSort diff --git a/parser/testdata/01453_fixsed_string_sort/explain_8.txt b/parser/testdata/01453_fixsed_string_sort/explain_8.txt new file mode 100644 index 0000000000..b23fb85de0 --- /dev/null +++ b/parser/testdata/01453_fixsed_string_sort/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier badFixedStringSort diff --git a/parser/testdata/01453_fixsed_string_sort/explain_9.txt b/parser/testdata/01453_fixsed_string_sort/explain_9.txt new file mode 100644 index 0000000000..b23fb85de0 --- /dev/null +++ b/parser/testdata/01453_fixsed_string_sort/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier badFixedStringSort diff --git a/parser/testdata/01453_normalize_query_alias_uuid/explain.txt b/parser/testdata/01453_normalize_query_alias_uuid/explain.txt index 65a5392d17..f082b890cd 100644 --- a/parser/testdata/01453_normalize_query_alias_uuid/explain.txt +++ b/parser/testdata/01453_normalize_query_alias_uuid/explain.txt @@ -1,7 +1,15 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 1) - ExpressionList (children 1) + ExpressionList (children 2) Function normalizeQuery (children 1) ExpressionList (children 1) Literal \'SELECT 1 AS `aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee`\' + Function equals (children 1) + ExpressionList (children 2) + Function normalizedQueryHash (children 1) + ExpressionList (children 1) + Literal \'SELECT 1 AS `aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee`\' + Function normalizedQueryHash (children 1) + ExpressionList (children 1) + Literal \'SELECT 2 AS `aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeef`\' diff --git a/parser/testdata/01455_default_compression/explain_3.txt b/parser/testdata/01455_default_compression/explain_3.txt new file mode 100644 index 0000000000..1961616066 --- /dev/null +++ b/parser/testdata/01455_default_compression/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier compress_table diff --git a/parser/testdata/01455_default_compression/explain_6.txt b/parser/testdata/01455_default_compression/explain_6.txt new file mode 100644 index 0000000000..1961616066 --- /dev/null +++ b/parser/testdata/01455_default_compression/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier compress_table diff --git a/parser/testdata/01455_rank_correlation_spearman/explain_12.txt b/parser/testdata/01455_rank_correlation_spearman/explain_12.txt new file mode 100644 index 0000000000..2112bb76b0 --- /dev/null +++ b/parser/testdata/01455_rank_correlation_spearman/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier moons diff --git a/parser/testdata/01455_rank_correlation_spearman/explain_16.txt b/parser/testdata/01455_rank_correlation_spearman/explain_16.txt new file mode 100644 index 0000000000..ea8577f693 --- /dev/null +++ b/parser/testdata/01455_rank_correlation_spearman/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier circles diff --git a/parser/testdata/01456_low_cardinality_sorting_bugfix/explain_3.txt b/parser/testdata/01456_low_cardinality_sorting_bugfix/explain_3.txt new file mode 100644 index 0000000000..67fb7c3632 --- /dev/null +++ b/parser/testdata/01456_low_cardinality_sorting_bugfix/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier order_test1 diff --git a/parser/testdata/01456_low_cardinality_sorting_bugfix/explain_4.txt b/parser/testdata/01456_low_cardinality_sorting_bugfix/explain_4.txt new file mode 100644 index 0000000000..67fb7c3632 --- /dev/null +++ b/parser/testdata/01456_low_cardinality_sorting_bugfix/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier order_test1 diff --git a/parser/testdata/01456_low_cardinality_sorting_bugfix/explain_5.txt b/parser/testdata/01456_low_cardinality_sorting_bugfix/explain_5.txt new file mode 100644 index 0000000000..67fb7c3632 --- /dev/null +++ b/parser/testdata/01456_low_cardinality_sorting_bugfix/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier order_test1 diff --git a/parser/testdata/01457_create_as_table_function_structure/explain_18.txt b/parser/testdata/01457_create_as_table_function_structure/explain_18.txt new file mode 100644 index 0000000000..4cfa2d6e51 --- /dev/null +++ b/parser/testdata/01457_create_as_table_function_structure/explain_18.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier test_01457 + Identifier tf_remote_explicit_structure diff --git a/parser/testdata/01457_create_as_table_function_structure/explain_21.txt b/parser/testdata/01457_create_as_table_function_structure/explain_21.txt new file mode 100644 index 0000000000..9f9bc8f27f --- /dev/null +++ b/parser/testdata/01457_create_as_table_function_structure/explain_21.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier test_01457 + Identifier tf_remote diff --git a/parser/testdata/01457_order_by_limit/explain_3.txt b/parser/testdata/01457_order_by_limit/explain_3.txt new file mode 100644 index 0000000000..841f615e47 --- /dev/null +++ b/parser/testdata/01457_order_by_limit/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier order_by_another diff --git a/parser/testdata/01457_order_by_nulls_first/explain_3.txt b/parser/testdata/01457_order_by_nulls_first/explain_3.txt new file mode 100644 index 0000000000..19b4cb6875 --- /dev/null +++ b/parser/testdata/01457_order_by_nulls_first/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier order_by_nulls_first diff --git a/parser/testdata/01459_default_value_of_argument_type_nullptr_dereference/explain.txt b/parser/testdata/01459_default_value_of_argument_type_nullptr_dereference/explain.txt index ba0f1f75f3..2a9438d1e3 100644 --- a/parser/testdata/01459_default_value_of_argument_type_nullptr_dereference/explain.txt +++ b/parser/testdata/01459_default_value_of_argument_type_nullptr_dereference/explain.txt @@ -6,4 +6,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) Function FQDN (children 1) ExpressionList -The query succeeded but the server error '44' was expected (query: EXPLAIN AST SELECT defaultValueOfTypeName(FQDN()); -- { serverError ILLEGAL_COLUMN }). diff --git a/parser/testdata/01460_mark_inclusion_search_crash/explain_3.txt b/parser/testdata/01460_mark_inclusion_search_crash/explain_3.txt new file mode 100644 index 0000000000..e6fc84e488 --- /dev/null +++ b/parser/testdata/01460_mark_inclusion_search_crash/explain_3.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier pk + ExpressionList (children 3) + Identifier x + Identifier y + Identifier z diff --git a/parser/testdata/01461_query_start_time_microseconds/explain_3.txt b/parser/testdata/01461_query_start_time_microseconds/explain_3.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01461_query_start_time_microseconds/explain_3.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01461_query_start_time_microseconds/explain_7.txt b/parser/testdata/01461_query_start_time_microseconds/explain_7.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01461_query_start_time_microseconds/explain_7.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01463_resample_overflow/explain.txt b/parser/testdata/01463_resample_overflow/explain.txt index ed73c55049..a80dc8bf33 100644 --- a/parser/testdata/01463_resample_overflow/explain.txt +++ b/parser/testdata/01463_resample_overflow/explain.txt @@ -18,4 +18,3 @@ SelectWithUnionQuery (children 1) Function numbers (children 1) ExpressionList (children 1) Literal UInt64_7 -The query succeeded but the server error '69' was expected (query: EXPLAIN AST select groupArrayResample(-9223372036854775808, 9223372036854775807, 9223372036854775807)(number, toInt64(number)) FROM numbers(7); -- { serverError ARGUMENT_OUT_OF_BOUND }). diff --git a/parser/testdata/01470_columns_transformers/explain_3.txt b/parser/testdata/01470_columns_transformers/explain_3.txt new file mode 100644 index 0000000000..2749af35d8 --- /dev/null +++ b/parser/testdata/01470_columns_transformers/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier columns_transformers diff --git a/parser/testdata/01470_columns_transformers2/explain_3.txt b/parser/testdata/01470_columns_transformers2/explain_3.txt new file mode 100644 index 0000000000..2749af35d8 --- /dev/null +++ b/parser/testdata/01470_columns_transformers2/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier columns_transformers diff --git a/parser/testdata/01470_test_insert_select_asterisk/explain_5.txt b/parser/testdata/01470_test_insert_select_asterisk/explain_5.txt new file mode 100644 index 0000000000..0d47c70e86 --- /dev/null +++ b/parser/testdata/01470_test_insert_select_asterisk/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier insert_select_src diff --git a/parser/testdata/01471_top_k_range_check/explain.txt b/parser/testdata/01471_top_k_range_check/explain.txt index 306751150c..1d6502bf76 100644 --- a/parser/testdata/01471_top_k_range_check/explain.txt +++ b/parser/testdata/01471_top_k_range_check/explain.txt @@ -15,4 +15,3 @@ SelectWithUnionQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) TableIdentifier system.numbers -The query succeeded but the server error '69' was expected (query: EXPLAIN AST SELECT length(topKWeighted(2, -9223372036854775808)(number, 1025)) FROM system.numbers; -- { serverError ARGUMENT_OUT_OF_BOUND }). diff --git a/parser/testdata/01472_toBoundsOfInterval_disallow_empty_tz_field/explain.txt b/parser/testdata/01472_toBoundsOfInterval_disallow_empty_tz_field/explain.txt index 1615b68cf6..cebaf45974 100644 --- a/parser/testdata/01472_toBoundsOfInterval_disallow_empty_tz_field/explain.txt +++ b/parser/testdata/01472_toBoundsOfInterval_disallow_empty_tz_field/explain.txt @@ -9,4 +9,3 @@ SelectWithUnionQuery (children 1) Literal \'2017-12-31 00:00:00\' Literal \'UTC\' Literal \'\' -The query succeeded but the server error '43' was expected (query: EXPLAIN AST SELECT toStartOfDay(toDateTime('2017-12-31 00:00:00', 'UTC'), ''); -- {serverError ILLEGAL_TYPE_OF_ARGUMENT}). diff --git a/parser/testdata/01473_event_time_microseconds/explain_6.txt b/parser/testdata/01473_event_time_microseconds/explain_6.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01473_event_time_microseconds/explain_6.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01475_mutation_with_if/explain_13.txt b/parser/testdata/01475_mutation_with_if/explain_13.txt new file mode 100644 index 0000000000..3567276391 --- /dev/null +++ b/parser/testdata/01475_mutation_with_if/explain_13.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier mutation_table + ExpressionList (children 2) + Identifier name + Identifier dt diff --git a/parser/testdata/01475_mutation_with_if/explain_14.txt b/parser/testdata/01475_mutation_with_if/explain_14.txt new file mode 100644 index 0000000000..3567276391 --- /dev/null +++ b/parser/testdata/01475_mutation_with_if/explain_14.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier mutation_table + ExpressionList (children 2) + Identifier name + Identifier dt diff --git a/parser/testdata/01475_mutation_with_if/explain_19.txt b/parser/testdata/01475_mutation_with_if/explain_19.txt new file mode 100644 index 0000000000..3567276391 --- /dev/null +++ b/parser/testdata/01475_mutation_with_if/explain_19.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier mutation_table + ExpressionList (children 2) + Identifier name + Identifier dt diff --git a/parser/testdata/01475_mutation_with_if/explain_3.txt b/parser/testdata/01475_mutation_with_if/explain_3.txt new file mode 100644 index 0000000000..72112ab862 --- /dev/null +++ b/parser/testdata/01475_mutation_with_if/explain_3.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier mutation_table + ExpressionList (children 2) + Identifier id + Identifier price diff --git a/parser/testdata/01475_mutation_with_if/explain_8.txt b/parser/testdata/01475_mutation_with_if/explain_8.txt new file mode 100644 index 0000000000..3567276391 --- /dev/null +++ b/parser/testdata/01475_mutation_with_if/explain_8.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier mutation_table + ExpressionList (children 2) + Identifier name + Identifier dt diff --git a/parser/testdata/01475_mutation_with_if/explain_9.txt b/parser/testdata/01475_mutation_with_if/explain_9.txt new file mode 100644 index 0000000000..3567276391 --- /dev/null +++ b/parser/testdata/01475_mutation_with_if/explain_9.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier mutation_table + ExpressionList (children 2) + Identifier name + Identifier dt diff --git a/parser/testdata/01475_read_subcolumns/explain_13.txt b/parser/testdata/01475_read_subcolumns/explain_13.txt new file mode 100644 index 0000000000..ca499dbdd2 --- /dev/null +++ b/parser/testdata/01475_read_subcolumns/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_tup diff --git a/parser/testdata/01475_read_subcolumns/explain_18.txt b/parser/testdata/01475_read_subcolumns/explain_18.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01475_read_subcolumns/explain_18.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01475_read_subcolumns/explain_23.txt b/parser/testdata/01475_read_subcolumns/explain_23.txt new file mode 100644 index 0000000000..6fd6683b25 --- /dev/null +++ b/parser/testdata/01475_read_subcolumns/explain_23.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_nul diff --git a/parser/testdata/01475_read_subcolumns/explain_26.txt b/parser/testdata/01475_read_subcolumns/explain_26.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01475_read_subcolumns/explain_26.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01475_read_subcolumns/explain_31.txt b/parser/testdata/01475_read_subcolumns/explain_31.txt new file mode 100644 index 0000000000..b504f91079 --- /dev/null +++ b/parser/testdata/01475_read_subcolumns/explain_31.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_map diff --git a/parser/testdata/01475_read_subcolumns/explain_36.txt b/parser/testdata/01475_read_subcolumns/explain_36.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01475_read_subcolumns/explain_36.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01475_read_subcolumns/explain_5.txt b/parser/testdata/01475_read_subcolumns/explain_5.txt new file mode 100644 index 0000000000..125185e4a2 --- /dev/null +++ b/parser/testdata/01475_read_subcolumns/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_arr diff --git a/parser/testdata/01475_read_subcolumns/explain_8.txt b/parser/testdata/01475_read_subcolumns/explain_8.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01475_read_subcolumns/explain_8.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01475_read_subcolumns_2/explain_11.txt b/parser/testdata/01475_read_subcolumns_2/explain_11.txt new file mode 100644 index 0000000000..f7ba011f47 --- /dev/null +++ b/parser/testdata/01475_read_subcolumns_2/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier subcolumns diff --git a/parser/testdata/01475_read_subcolumns_2/explain_3.txt b/parser/testdata/01475_read_subcolumns_2/explain_3.txt new file mode 100644 index 0000000000..f7ba011f47 --- /dev/null +++ b/parser/testdata/01475_read_subcolumns_2/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier subcolumns diff --git a/parser/testdata/01475_read_subcolumns_3/explain_15.txt b/parser/testdata/01475_read_subcolumns_3/explain_15.txt new file mode 100644 index 0000000000..b30aa756e7 --- /dev/null +++ b/parser/testdata/01475_read_subcolumns_3/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier map_subcolumns diff --git a/parser/testdata/01475_read_subcolumns_3/explain_4.txt b/parser/testdata/01475_read_subcolumns_3/explain_4.txt new file mode 100644 index 0000000000..034ccd1bed --- /dev/null +++ b/parser/testdata/01475_read_subcolumns_3/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier null_subcolumns diff --git a/parser/testdata/01476_right_full_join_switch/explain_7.txt b/parser/testdata/01476_right_full_join_switch/explain_7.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/01476_right_full_join_switch/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/01476_right_full_join_switch/explain_8.txt b/parser/testdata/01476_right_full_join_switch/explain_8.txt new file mode 100644 index 0000000000..ebfd74f464 --- /dev/null +++ b/parser/testdata/01476_right_full_join_switch/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nr diff --git a/parser/testdata/01478_not_equi-join_on/explain.txt b/parser/testdata/01478_not_equi-join_on/explain.txt index 26285a2207..1198a66a85 100644 --- a/parser/testdata/01478_not_equi-join_on/explain.txt +++ b/parser/testdata/01478_not_equi-join_on/explain.txt @@ -3,7 +3,7 @@ SelectWithUnionQuery (children 1) SelectQuery (children 2) ExpressionList (children 1) Asterisk - TablesInSelectQuery (children 1) + TablesInSelectQuery (children 2) TablesInSelectQueryElement (children 1) TableExpression (children 1) Subquery (alias foo) (children 1) @@ -13,3 +13,16 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Literal NULL (alias a) Literal UInt64_1 (alias b) + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias bar) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1024 (alias b) + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Identifier foo.b diff --git a/parser/testdata/01480_binary_operator_monotonicity/explain_17.txt b/parser/testdata/01480_binary_operator_monotonicity/explain_17.txt new file mode 100644 index 0000000000..7f1bedf84f --- /dev/null +++ b/parser/testdata/01480_binary_operator_monotonicity/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier binary_op_mono1 diff --git a/parser/testdata/01480_binary_operator_monotonicity/explain_18.txt b/parser/testdata/01480_binary_operator_monotonicity/explain_18.txt new file mode 100644 index 0000000000..c0408ea7e2 --- /dev/null +++ b/parser/testdata/01480_binary_operator_monotonicity/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier binary_op_mono2 diff --git a/parser/testdata/01480_binary_operator_monotonicity/explain_19.txt b/parser/testdata/01480_binary_operator_monotonicity/explain_19.txt new file mode 100644 index 0000000000..30af99087b --- /dev/null +++ b/parser/testdata/01480_binary_operator_monotonicity/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier binary_op_mono3 diff --git a/parser/testdata/01480_binary_operator_monotonicity/explain_20.txt b/parser/testdata/01480_binary_operator_monotonicity/explain_20.txt new file mode 100644 index 0000000000..d12ded7201 --- /dev/null +++ b/parser/testdata/01480_binary_operator_monotonicity/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier binary_op_mono4 diff --git a/parser/testdata/01480_binary_operator_monotonicity/explain_21.txt b/parser/testdata/01480_binary_operator_monotonicity/explain_21.txt new file mode 100644 index 0000000000..2e4f5b33bc --- /dev/null +++ b/parser/testdata/01480_binary_operator_monotonicity/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier binary_op_mono5 diff --git a/parser/testdata/01480_binary_operator_monotonicity/explain_22.txt b/parser/testdata/01480_binary_operator_monotonicity/explain_22.txt new file mode 100644 index 0000000000..c3991e9b7d --- /dev/null +++ b/parser/testdata/01480_binary_operator_monotonicity/explain_22.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier binary_op_mono6 diff --git a/parser/testdata/01480_binary_operator_monotonicity/explain_23.txt b/parser/testdata/01480_binary_operator_monotonicity/explain_23.txt new file mode 100644 index 0000000000..3aa717d8f7 --- /dev/null +++ b/parser/testdata/01480_binary_operator_monotonicity/explain_23.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier binary_op_mono7 diff --git a/parser/testdata/01480_binary_operator_monotonicity/explain_24.txt b/parser/testdata/01480_binary_operator_monotonicity/explain_24.txt new file mode 100644 index 0000000000..ce840c61ba --- /dev/null +++ b/parser/testdata/01480_binary_operator_monotonicity/explain_24.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier binary_op_mono8 diff --git a/parser/testdata/01480_binary_operator_monotonicity/explain_44.txt b/parser/testdata/01480_binary_operator_monotonicity/explain_44.txt new file mode 100644 index 0000000000..cd76eec2c4 --- /dev/null +++ b/parser/testdata/01480_binary_operator_monotonicity/explain_44.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier x diff --git a/parser/testdata/01481_join_with_materialized/explain_5.txt b/parser/testdata/01481_join_with_materialized/explain_5.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/01481_join_with_materialized/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/01481_join_with_materialized/explain_6.txt b/parser/testdata/01481_join_with_materialized/explain_6.txt new file mode 100644 index 0000000000..df4a687bc0 --- /dev/null +++ b/parser/testdata/01481_join_with_materialized/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2 diff --git a/parser/testdata/01482_move_to_prewhere_and_cast/explain_4.txt b/parser/testdata/01482_move_to_prewhere_and_cast/explain_4.txt new file mode 100644 index 0000000000..e52ce917e6 --- /dev/null +++ b/parser/testdata/01482_move_to_prewhere_and_cast/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier APPLICATION diff --git a/parser/testdata/01482_move_to_prewhere_and_cast/explain_6.txt b/parser/testdata/01482_move_to_prewhere_and_cast/explain_6.txt new file mode 100644 index 0000000000..78396c5230 --- /dev/null +++ b/parser/testdata/01482_move_to_prewhere_and_cast/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier DATABASE_IO diff --git a/parser/testdata/01483_merge_table_join_and_group_by/explain_7.txt b/parser/testdata/01483_merge_table_join_and_group_by/explain_7.txt new file mode 100644 index 0000000000..b99677bd61 --- /dev/null +++ b/parser/testdata/01483_merge_table_join_and_group_by/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier a diff --git a/parser/testdata/01483_merge_table_join_and_group_by/explain_8.txt b/parser/testdata/01483_merge_table_join_and_group_by/explain_8.txt new file mode 100644 index 0000000000..8c7c316521 --- /dev/null +++ b/parser/testdata/01483_merge_table_join_and_group_by/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier b diff --git a/parser/testdata/01490_nullable_string_to_enum/explain_5.txt b/parser/testdata/01490_nullable_string_to_enum/explain_5.txt new file mode 100644 index 0000000000..eb99d2898c --- /dev/null +++ b/parser/testdata/01490_nullable_string_to_enum/explain_5.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t_source + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/01492_format_readable_quantity/explain.txt b/parser/testdata/01492_format_readable_quantity/explain.txt new file mode 100644 index 0000000000..e67379ce20 --- /dev/null +++ b/parser/testdata/01492_format_readable_quantity/explain.txt @@ -0,0 +1,34 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 3) + Function round (alias x) (children 1) + ExpressionList (children 2) + Function exp (children 1) + ExpressionList (children 1) + Identifier number + Literal UInt64_6 + Function toUInt64 (alias y) (children 1) + ExpressionList (children 1) + Identifier x + Function toInt32 (alias z) (children 1) + ExpressionList (children 1) + Function min2 (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_2147483647 + ExpressionList (children 3) + Function formatReadableQuantity (children 1) + ExpressionList (children 1) + Identifier x + Function formatReadableQuantity (children 1) + ExpressionList (children 1) + Identifier y + Function formatReadableQuantity (children 1) + ExpressionList (children 1) + Identifier z + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_45 diff --git a/parser/testdata/01493_alter_remove_properties/explain_14.txt b/parser/testdata/01493_alter_remove_properties/explain_14.txt new file mode 100644 index 0000000000..58f1ed5d1c --- /dev/null +++ b/parser/testdata/01493_alter_remove_properties/explain_14.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier prop_table + ExpressionList (children 4) + Identifier column_alias + Identifier column_codec + Identifier column_comment + Identifier column_ttl diff --git a/parser/testdata/01493_alter_remove_properties/explain_18.txt b/parser/testdata/01493_alter_remove_properties/explain_18.txt new file mode 100644 index 0000000000..7ba671aae3 --- /dev/null +++ b/parser/testdata/01493_alter_remove_properties/explain_18.txt @@ -0,0 +1,8 @@ +InsertQuery (children 2) + Identifier prop_table + ExpressionList (children 5) + Identifier column_materialized + Identifier column_alias + Identifier column_codec + Identifier column_comment + Identifier column_ttl diff --git a/parser/testdata/01493_alter_remove_properties/explain_22.txt b/parser/testdata/01493_alter_remove_properties/explain_22.txt new file mode 100644 index 0000000000..7ba671aae3 --- /dev/null +++ b/parser/testdata/01493_alter_remove_properties/explain_22.txt @@ -0,0 +1,8 @@ +InsertQuery (children 2) + Identifier prop_table + ExpressionList (children 5) + Identifier column_materialized + Identifier column_alias + Identifier column_codec + Identifier column_comment + Identifier column_ttl diff --git a/parser/testdata/01493_alter_remove_properties/explain_5.txt b/parser/testdata/01493_alter_remove_properties/explain_5.txt new file mode 100644 index 0000000000..e77227585d --- /dev/null +++ b/parser/testdata/01493_alter_remove_properties/explain_5.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier prop_table + ExpressionList (children 3) + Identifier column_codec + Identifier column_comment + Identifier column_ttl diff --git a/parser/testdata/01493_alter_remove_properties_zookeeper/explain_22.txt b/parser/testdata/01493_alter_remove_properties_zookeeper/explain_22.txt new file mode 100644 index 0000000000..152cfef51e --- /dev/null +++ b/parser/testdata/01493_alter_remove_properties_zookeeper/explain_22.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier r_prop_table1 + ExpressionList (children 3) + Identifier column_codec + Identifier column_comment + Identifier column_ttl diff --git a/parser/testdata/01493_alter_remove_properties_zookeeper/explain_35.txt b/parser/testdata/01493_alter_remove_properties_zookeeper/explain_35.txt new file mode 100644 index 0000000000..152cfef51e --- /dev/null +++ b/parser/testdata/01493_alter_remove_properties_zookeeper/explain_35.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier r_prop_table1 + ExpressionList (children 3) + Identifier column_codec + Identifier column_comment + Identifier column_ttl diff --git a/parser/testdata/01493_alter_remove_properties_zookeeper/explain_8.txt b/parser/testdata/01493_alter_remove_properties_zookeeper/explain_8.txt new file mode 100644 index 0000000000..152cfef51e --- /dev/null +++ b/parser/testdata/01493_alter_remove_properties_zookeeper/explain_8.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier r_prop_table1 + ExpressionList (children 3) + Identifier column_codec + Identifier column_comment + Identifier column_ttl diff --git a/parser/testdata/01493_storage_set_persistency/explain_14.txt b/parser/testdata/01493_storage_set_persistency/explain_14.txt new file mode 100644 index 0000000000..9bc22c8b6b --- /dev/null +++ b/parser/testdata/01493_storage_set_persistency/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier set diff --git a/parser/testdata/01493_storage_set_persistency/explain_21.txt b/parser/testdata/01493_storage_set_persistency/explain_21.txt new file mode 100644 index 0000000000..9bc22c8b6b --- /dev/null +++ b/parser/testdata/01493_storage_set_persistency/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier set diff --git a/parser/testdata/01493_storage_set_persistency/explain_4.txt b/parser/testdata/01493_storage_set_persistency/explain_4.txt new file mode 100644 index 0000000000..b2d21ef67c --- /dev/null +++ b/parser/testdata/01493_storage_set_persistency/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier number diff --git a/parser/testdata/01493_storage_set_persistency/explain_7.txt b/parser/testdata/01493_storage_set_persistency/explain_7.txt new file mode 100644 index 0000000000..9bc22c8b6b --- /dev/null +++ b/parser/testdata/01493_storage_set_persistency/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier set diff --git a/parser/testdata/01494_storage_join_persistency/explain_11.txt b/parser/testdata/01494_storage_join_persistency/explain_11.txt new file mode 100644 index 0000000000..462d2864d6 --- /dev/null +++ b/parser/testdata/01494_storage_join_persistency/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier join diff --git a/parser/testdata/01494_storage_join_persistency/explain_18.txt b/parser/testdata/01494_storage_join_persistency/explain_18.txt new file mode 100644 index 0000000000..462d2864d6 --- /dev/null +++ b/parser/testdata/01494_storage_join_persistency/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier join diff --git a/parser/testdata/01494_storage_join_persistency/explain_4.txt b/parser/testdata/01494_storage_join_persistency/explain_4.txt new file mode 100644 index 0000000000..462d2864d6 --- /dev/null +++ b/parser/testdata/01494_storage_join_persistency/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier join diff --git a/parser/testdata/01495_subqueries_in_with_statement/explain_3.txt b/parser/testdata/01495_subqueries_in_with_statement/explain_3.txt new file mode 100644 index 0000000000..42958894ce --- /dev/null +++ b/parser/testdata/01495_subqueries_in_with_statement/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test1 diff --git a/parser/testdata/01495_subqueries_in_with_statement_2/explain.txt b/parser/testdata/01495_subqueries_in_with_statement_2/explain.txt new file mode 100644 index 0000000000..47e8a2762b --- /dev/null +++ b/parser/testdata/01495_subqueries_in_with_statement_2/explain.txt @@ -0,0 +1,52 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 2) + WithElement (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier number (alias a) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + WithElement (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier number (alias a) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_5 + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier x + Function in (children 1) + ExpressionList (children 2) + Identifier a + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier a + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier y + ExpressionList (children 1) + OrderByElement (children 1) + Identifier a diff --git a/parser/testdata/01496_signedness_conversion_monotonicity/explain_3.txt b/parser/testdata/01496_signedness_conversion_monotonicity/explain_3.txt new file mode 100644 index 0000000000..42958894ce --- /dev/null +++ b/parser/testdata/01496_signedness_conversion_monotonicity/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test1 diff --git a/parser/testdata/01497_alias_on_default_array/explain_3.txt b/parser/testdata/01497_alias_on_default_array/explain_3.txt new file mode 100644 index 0000000000..0e656392a3 --- /dev/null +++ b/parser/testdata/01497_alias_on_default_array/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test_new_col + ExpressionList (children 1) + Identifier _csv diff --git a/parser/testdata/01497_mutation_support_for_storage_memory/explain_3.txt b/parser/testdata/01497_mutation_support_for_storage_memory/explain_3.txt new file mode 100644 index 0000000000..c4bde7d911 --- /dev/null +++ b/parser/testdata/01497_mutation_support_for_storage_memory/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier defaults diff --git a/parser/testdata/01499_json_named_tuples/explain.txt b/parser/testdata/01499_json_named_tuples/explain.txt index 30dcb52526..864e424060 100644 --- a/parser/testdata/01499_json_named_tuples/explain.txt +++ b/parser/testdata/01499_json_named_tuples/explain.txt @@ -9,7 +9,7 @@ CreateQuery named_tuples (children 3) ExpressionList (children 1) SelectQuery (children 2) ExpressionList (children 1) - Function CAST (children 1) + Function CAST (alias c) (children 1) ExpressionList (children 2) Function tuple (children 1) ExpressionList (children 2) diff --git a/parser/testdata/01499_json_named_tuples/explain_2.txt b/parser/testdata/01499_json_named_tuples/explain_2.txt index 947fab041f..7406bb5035 100644 --- a/parser/testdata/01499_json_named_tuples/explain_2.txt +++ b/parser/testdata/01499_json_named_tuples/explain_2.txt @@ -1,12 +1,11 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) TableIdentifier named_tuples - Set Identifier JSONEachRow Set diff --git a/parser/testdata/01499_log_deadlock/explain_13.txt b/parser/testdata/01499_log_deadlock/explain_13.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/01499_log_deadlock/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/01499_log_deadlock/explain_3.txt b/parser/testdata/01499_log_deadlock/explain_3.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/01499_log_deadlock/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/01499_log_deadlock/explain_8.txt b/parser/testdata/01499_log_deadlock/explain_8.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/01499_log_deadlock/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/01501_cache_dictionary_all_fields/explain_5.txt b/parser/testdata/01501_cache_dictionary_all_fields/explain_5.txt new file mode 100644 index 0000000000..e9c2b968d9 --- /dev/null +++ b/parser/testdata/01501_cache_dictionary_all_fields/explain_5.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier db_01501 + Identifier table_cache_dict diff --git a/parser/testdata/01501_cache_dictionary_all_fields/explain_6.txt b/parser/testdata/01501_cache_dictionary_all_fields/explain_6.txt new file mode 100644 index 0000000000..e9c2b968d9 --- /dev/null +++ b/parser/testdata/01501_cache_dictionary_all_fields/explain_6.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier db_01501 + Identifier table_cache_dict diff --git a/parser/testdata/01501_cache_dictionary_all_fields/explain_7.txt b/parser/testdata/01501_cache_dictionary_all_fields/explain_7.txt new file mode 100644 index 0000000000..e9c2b968d9 --- /dev/null +++ b/parser/testdata/01501_cache_dictionary_all_fields/explain_7.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier db_01501 + Identifier table_cache_dict diff --git a/parser/testdata/01501_cache_dictionary_all_fields/explain_8.txt b/parser/testdata/01501_cache_dictionary_all_fields/explain_8.txt new file mode 100644 index 0000000000..e9c2b968d9 --- /dev/null +++ b/parser/testdata/01501_cache_dictionary_all_fields/explain_8.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier db_01501 + Identifier table_cache_dict diff --git a/parser/testdata/01501_cache_dictionary_all_fields/explain_9.txt b/parser/testdata/01501_cache_dictionary_all_fields/explain_9.txt new file mode 100644 index 0000000000..e9c2b968d9 --- /dev/null +++ b/parser/testdata/01501_cache_dictionary_all_fields/explain_9.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier db_01501 + Identifier table_cache_dict diff --git a/parser/testdata/01504_compression_multiple_streams/explain_10.txt b/parser/testdata/01504_compression_multiple_streams/explain_10.txt new file mode 100644 index 0000000000..c8f599b3b6 --- /dev/null +++ b/parser/testdata/01504_compression_multiple_streams/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier columns_with_multiple_streams diff --git a/parser/testdata/01504_compression_multiple_streams/explain_15.txt b/parser/testdata/01504_compression_multiple_streams/explain_15.txt new file mode 100644 index 0000000000..c8f599b3b6 --- /dev/null +++ b/parser/testdata/01504_compression_multiple_streams/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier columns_with_multiple_streams diff --git a/parser/testdata/01504_compression_multiple_streams/explain_21.txt b/parser/testdata/01504_compression_multiple_streams/explain_21.txt new file mode 100644 index 0000000000..793061f27c --- /dev/null +++ b/parser/testdata/01504_compression_multiple_streams/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier columns_with_multiple_streams_compact diff --git a/parser/testdata/01504_compression_multiple_streams/explain_27.txt b/parser/testdata/01504_compression_multiple_streams/explain_27.txt new file mode 100644 index 0000000000..793061f27c --- /dev/null +++ b/parser/testdata/01504_compression_multiple_streams/explain_27.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier columns_with_multiple_streams_compact diff --git a/parser/testdata/01504_compression_multiple_streams/explain_33.txt b/parser/testdata/01504_compression_multiple_streams/explain_33.txt new file mode 100644 index 0000000000..793061f27c --- /dev/null +++ b/parser/testdata/01504_compression_multiple_streams/explain_33.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier columns_with_multiple_streams_compact diff --git a/parser/testdata/01504_compression_multiple_streams/explain_39.txt b/parser/testdata/01504_compression_multiple_streams/explain_39.txt new file mode 100644 index 0000000000..a261670cac --- /dev/null +++ b/parser/testdata/01504_compression_multiple_streams/explain_39.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier columns_with_multiple_streams_bad_case diff --git a/parser/testdata/01504_compression_multiple_streams/explain_4.txt b/parser/testdata/01504_compression_multiple_streams/explain_4.txt new file mode 100644 index 0000000000..c8f599b3b6 --- /dev/null +++ b/parser/testdata/01504_compression_multiple_streams/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier columns_with_multiple_streams diff --git a/parser/testdata/01504_compression_multiple_streams/explain_40.txt b/parser/testdata/01504_compression_multiple_streams/explain_40.txt new file mode 100644 index 0000000000..a261670cac --- /dev/null +++ b/parser/testdata/01504_compression_multiple_streams/explain_40.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier columns_with_multiple_streams_bad_case diff --git a/parser/testdata/01505_distributed_local_type_conversion_enum/explain_4.txt b/parser/testdata/01505_distributed_local_type_conversion_enum/explain_4.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/01505_distributed_local_type_conversion_enum/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/01505_log_distributed_deadlock/explain_6.txt b/parser/testdata/01505_log_distributed_deadlock/explain_6.txt new file mode 100644 index 0000000000..6e80e477a7 --- /dev/null +++ b/parser/testdata/01505_log_distributed_deadlock/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_dist diff --git a/parser/testdata/01505_trivial_count_with_partition_predicate/explain_17.txt b/parser/testdata/01505_trivial_count_with_partition_predicate/explain_17.txt new file mode 100644 index 0000000000..e8ac3ddc1d --- /dev/null +++ b/parser/testdata/01505_trivial_count_with_partition_predicate/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_tuple diff --git a/parser/testdata/01505_trivial_count_with_partition_predicate/explain_27.txt b/parser/testdata/01505_trivial_count_with_partition_predicate/explain_27.txt new file mode 100644 index 0000000000..b759ed0375 --- /dev/null +++ b/parser/testdata/01505_trivial_count_with_partition_predicate/explain_27.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_two_args diff --git a/parser/testdata/01505_trivial_count_with_partition_predicate/explain_5.txt b/parser/testdata/01505_trivial_count_with_partition_predicate/explain_5.txt new file mode 100644 index 0000000000..42958894ce --- /dev/null +++ b/parser/testdata/01505_trivial_count_with_partition_predicate/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test1 diff --git a/parser/testdata/01506_buffer_table_alter_block_structure/explain_5.txt b/parser/testdata/01506_buffer_table_alter_block_structure/explain_5.txt new file mode 100644 index 0000000000..ac1e4417ab --- /dev/null +++ b/parser/testdata/01506_buffer_table_alter_block_structure/explain_5.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier buf + ExpressionList (children 1) + Identifier timestamp diff --git a/parser/testdata/01506_buffer_table_alter_block_structure/explain_9.txt b/parser/testdata/01506_buffer_table_alter_block_structure/explain_9.txt new file mode 100644 index 0000000000..e6e7065145 --- /dev/null +++ b/parser/testdata/01506_buffer_table_alter_block_structure/explain_9.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier buf + ExpressionList (children 2) + Identifier timestamp + Identifier s diff --git a/parser/testdata/01506_buffer_table_alter_block_structure_2/explain_10.txt b/parser/testdata/01506_buffer_table_alter_block_structure_2/explain_10.txt new file mode 100644 index 0000000000..e6e7065145 --- /dev/null +++ b/parser/testdata/01506_buffer_table_alter_block_structure_2/explain_10.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier buf + ExpressionList (children 2) + Identifier timestamp + Identifier s diff --git a/parser/testdata/01506_buffer_table_alter_block_structure_2/explain_5.txt b/parser/testdata/01506_buffer_table_alter_block_structure_2/explain_5.txt new file mode 100644 index 0000000000..ac1e4417ab --- /dev/null +++ b/parser/testdata/01506_buffer_table_alter_block_structure_2/explain_5.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier buf + ExpressionList (children 1) + Identifier timestamp diff --git a/parser/testdata/01506_ttl_same_with_order_by/explain_13.txt b/parser/testdata/01506_ttl_same_with_order_by/explain_13.txt new file mode 100644 index 0000000000..42283fa91a --- /dev/null +++ b/parser/testdata/01506_ttl_same_with_order_by/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier derived_metrics_local diff --git a/parser/testdata/01506_ttl_same_with_order_by/explain_14.txt b/parser/testdata/01506_ttl_same_with_order_by/explain_14.txt new file mode 100644 index 0000000000..42283fa91a --- /dev/null +++ b/parser/testdata/01506_ttl_same_with_order_by/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier derived_metrics_local diff --git a/parser/testdata/01506_ttl_same_with_order_by/explain_15.txt b/parser/testdata/01506_ttl_same_with_order_by/explain_15.txt new file mode 100644 index 0000000000..42283fa91a --- /dev/null +++ b/parser/testdata/01506_ttl_same_with_order_by/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier derived_metrics_local diff --git a/parser/testdata/01506_ttl_same_with_order_by/explain_22.txt b/parser/testdata/01506_ttl_same_with_order_by/explain_22.txt new file mode 100644 index 0000000000..42283fa91a --- /dev/null +++ b/parser/testdata/01506_ttl_same_with_order_by/explain_22.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier derived_metrics_local diff --git a/parser/testdata/01506_ttl_same_with_order_by/explain_29.txt b/parser/testdata/01506_ttl_same_with_order_by/explain_29.txt new file mode 100644 index 0000000000..42283fa91a --- /dev/null +++ b/parser/testdata/01506_ttl_same_with_order_by/explain_29.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier derived_metrics_local diff --git a/parser/testdata/01506_ttl_same_with_order_by/explain_30.txt b/parser/testdata/01506_ttl_same_with_order_by/explain_30.txt new file mode 100644 index 0000000000..42283fa91a --- /dev/null +++ b/parser/testdata/01506_ttl_same_with_order_by/explain_30.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier derived_metrics_local diff --git a/parser/testdata/01506_ttl_same_with_order_by/explain_31.txt b/parser/testdata/01506_ttl_same_with_order_by/explain_31.txt new file mode 100644 index 0000000000..42283fa91a --- /dev/null +++ b/parser/testdata/01506_ttl_same_with_order_by/explain_31.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier derived_metrics_local diff --git a/parser/testdata/01506_ttl_same_with_order_by/explain_4.txt b/parser/testdata/01506_ttl_same_with_order_by/explain_4.txt new file mode 100644 index 0000000000..42283fa91a --- /dev/null +++ b/parser/testdata/01506_ttl_same_with_order_by/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier derived_metrics_local diff --git a/parser/testdata/01506_ttl_same_with_order_by/explain_5.txt b/parser/testdata/01506_ttl_same_with_order_by/explain_5.txt new file mode 100644 index 0000000000..42283fa91a --- /dev/null +++ b/parser/testdata/01506_ttl_same_with_order_by/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier derived_metrics_local diff --git a/parser/testdata/01506_ttl_same_with_order_by/explain_6.txt b/parser/testdata/01506_ttl_same_with_order_by/explain_6.txt new file mode 100644 index 0000000000..42283fa91a --- /dev/null +++ b/parser/testdata/01506_ttl_same_with_order_by/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier derived_metrics_local diff --git a/parser/testdata/01509_parallel_quorum_insert_no_replicas_long/explain_13.txt b/parser/testdata/01509_parallel_quorum_insert_no_replicas_long/explain_13.txt new file mode 100644 index 0000000000..d9a8e8e155 --- /dev/null +++ b/parser/testdata/01509_parallel_quorum_insert_no_replicas_long/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier r1 diff --git a/parser/testdata/01509_parallel_quorum_insert_no_replicas_long/explain_15.txt b/parser/testdata/01509_parallel_quorum_insert_no_replicas_long/explain_15.txt new file mode 100644 index 0000000000..d9a8e8e155 --- /dev/null +++ b/parser/testdata/01509_parallel_quorum_insert_no_replicas_long/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier r1 diff --git a/parser/testdata/01509_parallel_quorum_insert_no_replicas_long/explain_17.txt b/parser/testdata/01509_parallel_quorum_insert_no_replicas_long/explain_17.txt new file mode 100644 index 0000000000..b96a1e23db --- /dev/null +++ b/parser/testdata/01509_parallel_quorum_insert_no_replicas_long/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier r2 diff --git a/parser/testdata/01509_parallel_quorum_insert_no_replicas_long/explain_20.txt b/parser/testdata/01509_parallel_quorum_insert_no_replicas_long/explain_20.txt new file mode 100644 index 0000000000..d9a8e8e155 --- /dev/null +++ b/parser/testdata/01509_parallel_quorum_insert_no_replicas_long/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier r1 diff --git a/parser/testdata/01509_parallel_quorum_insert_no_replicas_long/explain_24.txt b/parser/testdata/01509_parallel_quorum_insert_no_replicas_long/explain_24.txt new file mode 100644 index 0000000000..b96a1e23db --- /dev/null +++ b/parser/testdata/01509_parallel_quorum_insert_no_replicas_long/explain_24.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier r2 diff --git a/parser/testdata/01509_parallel_quorum_insert_no_replicas_long/explain_26.txt b/parser/testdata/01509_parallel_quorum_insert_no_replicas_long/explain_26.txt new file mode 100644 index 0000000000..b96a1e23db --- /dev/null +++ b/parser/testdata/01509_parallel_quorum_insert_no_replicas_long/explain_26.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier r2 diff --git a/parser/testdata/01509_parallel_quorum_insert_no_replicas_long/explain_27.txt b/parser/testdata/01509_parallel_quorum_insert_no_replicas_long/explain_27.txt new file mode 100644 index 0000000000..d9a8e8e155 --- /dev/null +++ b/parser/testdata/01509_parallel_quorum_insert_no_replicas_long/explain_27.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier r1 diff --git a/parser/testdata/01509_parallel_quorum_insert_no_replicas_long/explain_29.txt b/parser/testdata/01509_parallel_quorum_insert_no_replicas_long/explain_29.txt new file mode 100644 index 0000000000..d9a8e8e155 --- /dev/null +++ b/parser/testdata/01509_parallel_quorum_insert_no_replicas_long/explain_29.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier r1 diff --git a/parser/testdata/01509_parallel_quorum_insert_no_replicas_long/explain_30.txt b/parser/testdata/01509_parallel_quorum_insert_no_replicas_long/explain_30.txt new file mode 100644 index 0000000000..b96a1e23db --- /dev/null +++ b/parser/testdata/01509_parallel_quorum_insert_no_replicas_long/explain_30.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier r2 diff --git a/parser/testdata/01509_parallel_quorum_insert_no_replicas_long/explain_35.txt b/parser/testdata/01509_parallel_quorum_insert_no_replicas_long/explain_35.txt new file mode 100644 index 0000000000..f919d9e969 --- /dev/null +++ b/parser/testdata/01509_parallel_quorum_insert_no_replicas_long/explain_35.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier r1 + Set diff --git a/parser/testdata/01509_parallel_quorum_insert_no_replicas_long/explain_36.txt b/parser/testdata/01509_parallel_quorum_insert_no_replicas_long/explain_36.txt new file mode 100644 index 0000000000..f919d9e969 --- /dev/null +++ b/parser/testdata/01509_parallel_quorum_insert_no_replicas_long/explain_36.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier r1 + Set diff --git a/parser/testdata/01509_parallel_quorum_insert_no_replicas_long/explain_37.txt b/parser/testdata/01509_parallel_quorum_insert_no_replicas_long/explain_37.txt new file mode 100644 index 0000000000..f919d9e969 --- /dev/null +++ b/parser/testdata/01509_parallel_quorum_insert_no_replicas_long/explain_37.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier r1 + Set diff --git a/parser/testdata/01509_parallel_quorum_insert_no_replicas_long/explain_41.txt b/parser/testdata/01509_parallel_quorum_insert_no_replicas_long/explain_41.txt new file mode 100644 index 0000000000..d9a8e8e155 --- /dev/null +++ b/parser/testdata/01509_parallel_quorum_insert_no_replicas_long/explain_41.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier r1 diff --git a/parser/testdata/01509_parallel_quorum_insert_no_replicas_long/explain_7.txt b/parser/testdata/01509_parallel_quorum_insert_no_replicas_long/explain_7.txt new file mode 100644 index 0000000000..d9a8e8e155 --- /dev/null +++ b/parser/testdata/01509_parallel_quorum_insert_no_replicas_long/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier r1 diff --git a/parser/testdata/01509_parallel_quorum_insert_no_replicas_long/explain_9.txt b/parser/testdata/01509_parallel_quorum_insert_no_replicas_long/explain_9.txt new file mode 100644 index 0000000000..d9a8e8e155 --- /dev/null +++ b/parser/testdata/01509_parallel_quorum_insert_no_replicas_long/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier r1 diff --git a/parser/testdata/01511_alter_version_versioned_collapsing_merge_tree/explain_10.txt b/parser/testdata/01511_alter_version_versioned_collapsing_merge_tree/explain_10.txt new file mode 100644 index 0000000000..536a3b88ff --- /dev/null +++ b/parser/testdata/01511_alter_version_versioned_collapsing_merge_tree/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_with_version diff --git a/parser/testdata/01511_alter_version_versioned_collapsing_merge_tree/explain_11.txt b/parser/testdata/01511_alter_version_versioned_collapsing_merge_tree/explain_11.txt new file mode 100644 index 0000000000..536a3b88ff --- /dev/null +++ b/parser/testdata/01511_alter_version_versioned_collapsing_merge_tree/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_with_version diff --git a/parser/testdata/01511_alter_version_versioned_collapsing_merge_tree/explain_13.txt b/parser/testdata/01511_alter_version_versioned_collapsing_merge_tree/explain_13.txt new file mode 100644 index 0000000000..536a3b88ff --- /dev/null +++ b/parser/testdata/01511_alter_version_versioned_collapsing_merge_tree/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_with_version diff --git a/parser/testdata/01511_alter_version_versioned_collapsing_merge_tree/explain_15.txt b/parser/testdata/01511_alter_version_versioned_collapsing_merge_tree/explain_15.txt new file mode 100644 index 0000000000..536a3b88ff --- /dev/null +++ b/parser/testdata/01511_alter_version_versioned_collapsing_merge_tree/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_with_version diff --git a/parser/testdata/01511_alter_version_versioned_collapsing_merge_tree/explain_3.txt b/parser/testdata/01511_alter_version_versioned_collapsing_merge_tree/explain_3.txt new file mode 100644 index 0000000000..536a3b88ff --- /dev/null +++ b/parser/testdata/01511_alter_version_versioned_collapsing_merge_tree/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_with_version diff --git a/parser/testdata/01511_alter_version_versioned_collapsing_merge_tree/explain_4.txt b/parser/testdata/01511_alter_version_versioned_collapsing_merge_tree/explain_4.txt new file mode 100644 index 0000000000..536a3b88ff --- /dev/null +++ b/parser/testdata/01511_alter_version_versioned_collapsing_merge_tree/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_with_version diff --git a/parser/testdata/01511_alter_version_versioned_collapsing_merge_tree_zookeeper/explain_12.txt b/parser/testdata/01511_alter_version_versioned_collapsing_merge_tree_zookeeper/explain_12.txt new file mode 100644 index 0000000000..2b6dab1db7 --- /dev/null +++ b/parser/testdata/01511_alter_version_versioned_collapsing_merge_tree_zookeeper/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_with_version_replicated_1 diff --git a/parser/testdata/01511_alter_version_versioned_collapsing_merge_tree_zookeeper/explain_13.txt b/parser/testdata/01511_alter_version_versioned_collapsing_merge_tree_zookeeper/explain_13.txt new file mode 100644 index 0000000000..2b6dab1db7 --- /dev/null +++ b/parser/testdata/01511_alter_version_versioned_collapsing_merge_tree_zookeeper/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_with_version_replicated_1 diff --git a/parser/testdata/01511_alter_version_versioned_collapsing_merge_tree_zookeeper/explain_15.txt b/parser/testdata/01511_alter_version_versioned_collapsing_merge_tree_zookeeper/explain_15.txt new file mode 100644 index 0000000000..2b6dab1db7 --- /dev/null +++ b/parser/testdata/01511_alter_version_versioned_collapsing_merge_tree_zookeeper/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_with_version_replicated_1 diff --git a/parser/testdata/01511_alter_version_versioned_collapsing_merge_tree_zookeeper/explain_17.txt b/parser/testdata/01511_alter_version_versioned_collapsing_merge_tree_zookeeper/explain_17.txt new file mode 100644 index 0000000000..2b6dab1db7 --- /dev/null +++ b/parser/testdata/01511_alter_version_versioned_collapsing_merge_tree_zookeeper/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_with_version_replicated_1 diff --git a/parser/testdata/01511_alter_version_versioned_collapsing_merge_tree_zookeeper/explain_5.txt b/parser/testdata/01511_alter_version_versioned_collapsing_merge_tree_zookeeper/explain_5.txt new file mode 100644 index 0000000000..2b6dab1db7 --- /dev/null +++ b/parser/testdata/01511_alter_version_versioned_collapsing_merge_tree_zookeeper/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_with_version_replicated_1 diff --git a/parser/testdata/01511_alter_version_versioned_collapsing_merge_tree_zookeeper/explain_6.txt b/parser/testdata/01511_alter_version_versioned_collapsing_merge_tree_zookeeper/explain_6.txt new file mode 100644 index 0000000000..2b6dab1db7 --- /dev/null +++ b/parser/testdata/01511_alter_version_versioned_collapsing_merge_tree_zookeeper/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_with_version_replicated_1 diff --git a/parser/testdata/01511_format_readable_timedelta/explain.txt b/parser/testdata/01511_format_readable_timedelta/explain.txt new file mode 100644 index 0000000000..5087c41b61 --- /dev/null +++ b/parser/testdata/01511_format_readable_timedelta/explain.txt @@ -0,0 +1,47 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function arrayJoin (alias elapsed) (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 6) + Literal UInt64_1 + Literal UInt64_60 + Function multiply (children 1) + ExpressionList (children 2) + Literal UInt64_60 + Literal UInt64_60 + Function multiply (children 1) + ExpressionList (children 2) + Function multiply (children 1) + ExpressionList (children 2) + Literal UInt64_60 + Literal UInt64_60 + Literal UInt64_24 + Function multiply (children 1) + ExpressionList (children 2) + Function multiply (children 1) + ExpressionList (children 2) + Function multiply (children 1) + ExpressionList (children 2) + Literal UInt64_60 + Literal UInt64_60 + Literal UInt64_24 + Literal UInt64_30 + Function multiply (children 1) + ExpressionList (children 2) + Function multiply (children 1) + ExpressionList (children 2) + Function multiply (children 1) + ExpressionList (children 2) + Literal UInt64_60 + Literal UInt64_60 + Literal UInt64_24 + Literal UInt64_365 + Function formatReadableTimeDelta (alias time_delta) (children 1) + ExpressionList (children 1) + Function multiply (children 1) + ExpressionList (children 2) + Identifier elapsed + Literal Float64_5.5 diff --git a/parser/testdata/01512_create_replicate_merge_tree_one_arg/explain.txt b/parser/testdata/01512_create_replicate_merge_tree_one_arg/explain.txt index d1957e0007..9282aa612d 100644 --- a/parser/testdata/01512_create_replicate_merge_tree_one_arg/explain.txt +++ b/parser/testdata/01512_create_replicate_merge_tree_one_arg/explain.txt @@ -4,7 +4,9 @@ CreateQuery mt (children 3) ExpressionList (children 1) ColumnDeclaration v (children 1) DataType UInt8 - Storage definition (children 1) + Storage definition (children 2) Function ReplicatedMergeTree (children 1) ExpressionList (children 1) Literal \'/clickhouse/tables/{database}/test_01497/mt\' + Function tuple (children 1) + ExpressionList diff --git a/parser/testdata/01513_count_without_select_sequence_consistency_zookeeper_long/explain_10.txt b/parser/testdata/01513_count_without_select_sequence_consistency_zookeeper_long/explain_10.txt new file mode 100644 index 0000000000..a33133e256 --- /dev/null +++ b/parser/testdata/01513_count_without_select_sequence_consistency_zookeeper_long/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier quorum1 diff --git a/parser/testdata/01513_count_without_select_sequence_consistency_zookeeper_long/explain_17.txt b/parser/testdata/01513_count_without_select_sequence_consistency_zookeeper_long/explain_17.txt new file mode 100644 index 0000000000..13a3a3de36 --- /dev/null +++ b/parser/testdata/01513_count_without_select_sequence_consistency_zookeeper_long/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier quorum2 diff --git a/parser/testdata/01513_count_without_select_sequence_consistency_zookeeper_long/explain_8.txt b/parser/testdata/01513_count_without_select_sequence_consistency_zookeeper_long/explain_8.txt new file mode 100644 index 0000000000..a33133e256 --- /dev/null +++ b/parser/testdata/01513_count_without_select_sequence_consistency_zookeeper_long/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier quorum1 diff --git a/parser/testdata/01513_count_without_select_sequence_consistency_zookeeper_long/explain_9.txt b/parser/testdata/01513_count_without_select_sequence_consistency_zookeeper_long/explain_9.txt new file mode 100644 index 0000000000..a33133e256 --- /dev/null +++ b/parser/testdata/01513_count_without_select_sequence_consistency_zookeeper_long/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier quorum1 diff --git a/parser/testdata/01513_defaults_on_defaults_no_column/explain_3.txt b/parser/testdata/01513_defaults_on_defaults_no_column/explain_3.txt new file mode 100644 index 0000000000..946f6ca317 --- /dev/null +++ b/parser/testdata/01513_defaults_on_defaults_no_column/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier defaults_on_defaults diff --git a/parser/testdata/01513_optimize_aggregation_in_order_memory_long/explain_10.txt b/parser/testdata/01513_optimize_aggregation_in_order_memory_long/explain_10.txt index d6c49d1191..2c1f620bf2 100644 --- a/parser/testdata/01513_optimize_aggregation_in_order_memory_long/explain_10.txt +++ b/parser/testdata/01513_optimize_aggregation_in_order_memory_long/explain_10.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 4) + SelectQuery (children 3) ExpressionList (children 3) Identifier key Function groupArray (children 1) @@ -17,6 +17,5 @@ SelectWithUnionQuery (children 3) TableIdentifier data_01513 ExpressionList (children 1) Identifier key - Set Identifier Null Set diff --git a/parser/testdata/01513_optimize_aggregation_in_order_memory_long/explain_11.txt b/parser/testdata/01513_optimize_aggregation_in_order_memory_long/explain_11.txt index d6c49d1191..2c1f620bf2 100644 --- a/parser/testdata/01513_optimize_aggregation_in_order_memory_long/explain_11.txt +++ b/parser/testdata/01513_optimize_aggregation_in_order_memory_long/explain_11.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 4) + SelectQuery (children 3) ExpressionList (children 3) Identifier key Function groupArray (children 1) @@ -17,6 +17,5 @@ SelectWithUnionQuery (children 3) TableIdentifier data_01513 ExpressionList (children 1) Identifier key - Set Identifier Null Set diff --git a/parser/testdata/01513_optimize_aggregation_in_order_memory_long/explain_12.txt b/parser/testdata/01513_optimize_aggregation_in_order_memory_long/explain_12.txt index d6c49d1191..2c1f620bf2 100644 --- a/parser/testdata/01513_optimize_aggregation_in_order_memory_long/explain_12.txt +++ b/parser/testdata/01513_optimize_aggregation_in_order_memory_long/explain_12.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 4) + SelectQuery (children 3) ExpressionList (children 3) Identifier key Function groupArray (children 1) @@ -17,6 +17,5 @@ SelectWithUnionQuery (children 3) TableIdentifier data_01513 ExpressionList (children 1) Identifier key - Set Identifier Null Set diff --git a/parser/testdata/01514_empty_buffer_different_types/explain_6.txt b/parser/testdata/01514_empty_buffer_different_types/explain_6.txt new file mode 100644 index 0000000000..64a1849943 --- /dev/null +++ b/parser/testdata/01514_empty_buffer_different_types/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier merge_tree_table1 diff --git a/parser/testdata/01514_input_format_csv_enum_as_number_setting/explain_4.txt b/parser/testdata/01514_input_format_csv_enum_as_number_setting/explain_4.txt new file mode 100644 index 0000000000..6dc8485a66 --- /dev/null +++ b/parser/testdata/01514_input_format_csv_enum_as_number_setting/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_with_enum_column_for_csv_insert diff --git a/parser/testdata/01514_input_format_json_enum_as_number/explain_3.txt b/parser/testdata/01514_input_format_json_enum_as_number/explain_3.txt new file mode 100644 index 0000000000..e491da3eb0 --- /dev/null +++ b/parser/testdata/01514_input_format_json_enum_as_number/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_with_enum_column_for_json_insert diff --git a/parser/testdata/01514_input_format_tsv_enum_as_number_setting/explain_4.txt b/parser/testdata/01514_input_format_tsv_enum_as_number_setting/explain_4.txt new file mode 100644 index 0000000000..4e837070bd --- /dev/null +++ b/parser/testdata/01514_input_format_tsv_enum_as_number_setting/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_with_enum_column_for_tsv_insert diff --git a/parser/testdata/01515_force_data_skipping_indices/explain_3.txt b/parser/testdata/01515_force_data_skipping_indices/explain_3.txt new file mode 100644 index 0000000000..3e0c827379 --- /dev/null +++ b/parser/testdata/01515_force_data_skipping_indices/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data_01515 diff --git a/parser/testdata/01515_mv_and_array_join_optimisation_bag/explain_4.txt b/parser/testdata/01515_mv_and_array_join_optimisation_bag/explain_4.txt new file mode 100644 index 0000000000..8d644106df --- /dev/null +++ b/parser/testdata/01515_mv_and_array_join_optimisation_bag/explain_4.txt @@ -0,0 +1,8 @@ +InsertQuery (children 2) + Identifier visits + ExpressionList (children 5) + Identifier CounterID + Identifier StartDate + Identifier StartTime + Identifier Sign + Identifier GoalsID diff --git a/parser/testdata/01516_create_table_primary_key/explain_14.txt b/parser/testdata/01516_create_table_primary_key/explain_14.txt new file mode 100644 index 0000000000..f9101f8cae --- /dev/null +++ b/parser/testdata/01516_create_table_primary_key/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier primary_key_test diff --git a/parser/testdata/01516_create_table_primary_key/explain_20.txt b/parser/testdata/01516_create_table_primary_key/explain_20.txt new file mode 100644 index 0000000000..f9101f8cae --- /dev/null +++ b/parser/testdata/01516_create_table_primary_key/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier primary_key_test diff --git a/parser/testdata/01516_create_table_primary_key/explain_26.txt b/parser/testdata/01516_create_table_primary_key/explain_26.txt new file mode 100644 index 0000000000..f9101f8cae --- /dev/null +++ b/parser/testdata/01516_create_table_primary_key/explain_26.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier primary_key_test diff --git a/parser/testdata/01516_create_table_primary_key/explain_33.txt b/parser/testdata/01516_create_table_primary_key/explain_33.txt new file mode 100644 index 0000000000..f9101f8cae --- /dev/null +++ b/parser/testdata/01516_create_table_primary_key/explain_33.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier primary_key_test diff --git a/parser/testdata/01516_create_table_primary_key/explain_8.txt b/parser/testdata/01516_create_table_primary_key/explain_8.txt new file mode 100644 index 0000000000..f9101f8cae --- /dev/null +++ b/parser/testdata/01516_create_table_primary_key/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier primary_key_test diff --git a/parser/testdata/01516_date_time_output_format/explain_16.txt b/parser/testdata/01516_date_time_output_format/explain_16.txt new file mode 100644 index 0000000000..a541a8ee2d --- /dev/null +++ b/parser/testdata/01516_date_time_output_format/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_datetime diff --git a/parser/testdata/01516_date_time_output_format/explain_3.txt b/parser/testdata/01516_date_time_output_format/explain_3.txt new file mode 100644 index 0000000000..a541a8ee2d --- /dev/null +++ b/parser/testdata/01516_date_time_output_format/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_datetime diff --git a/parser/testdata/01517_select_final_distributed/explain_4.txt b/parser/testdata/01517_select_final_distributed/explain_4.txt new file mode 100644 index 0000000000..13ed61915a --- /dev/null +++ b/parser/testdata/01517_select_final_distributed/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test5346 diff --git a/parser/testdata/01518_filtering_aliased_materialized_column/explain_4.txt b/parser/testdata/01518_filtering_aliased_materialized_column/explain_4.txt new file mode 100644 index 0000000000..1c4e834dfd --- /dev/null +++ b/parser/testdata/01518_filtering_aliased_materialized_column/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier logs diff --git a/parser/testdata/01518_nullable_aggregate_states1/explain.txt b/parser/testdata/01518_nullable_aggregate_states1/explain.txt index 79aad8b760..c1af971206 100644 --- a/parser/testdata/01518_nullable_aggregate_states1/explain.txt +++ b/parser/testdata/01518_nullable_aggregate_states1/explain.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) - SelectQuery (children 1) + SelectQuery (children 2) ExpressionList (children 7) Function count (children 1) ExpressionList @@ -22,3 +22,15 @@ SelectWithUnionQuery (children 1) Function any (children 1) ExpressionList (children 1) Identifier a + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function CAST (alias a) (children 1) + ExpressionList (children 2) + Literal NULL + Literal \'Nullable(Float64)\' diff --git a/parser/testdata/01521_max_length_alias/explain_3.txt b/parser/testdata/01521_max_length_alias/explain_3.txt new file mode 100644 index 0000000000..fa6175f3bb --- /dev/null +++ b/parser/testdata/01521_max_length_alias/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier max_length_alias_14053 diff --git a/parser/testdata/01523_date_time_compare_with_date_literal/explain_3.txt b/parser/testdata/01523_date_time_compare_with_date_literal/explain_3.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/01523_date_time_compare_with_date_literal/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/01523_date_time_compare_with_date_literal/explain_34.txt b/parser/testdata/01523_date_time_compare_with_date_literal/explain_34.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/01523_date_time_compare_with_date_literal/explain_34.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/01523_date_time_compare_with_date_literal/explain_35.txt b/parser/testdata/01523_date_time_compare_with_date_literal/explain_35.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/01523_date_time_compare_with_date_literal/explain_35.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/01523_date_time_compare_with_date_literal/explain_36.txt b/parser/testdata/01523_date_time_compare_with_date_literal/explain_36.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/01523_date_time_compare_with_date_literal/explain_36.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/01523_date_time_compare_with_date_literal/explain_4.txt b/parser/testdata/01523_date_time_compare_with_date_literal/explain_4.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/01523_date_time_compare_with_date_literal/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/01523_date_time_compare_with_date_literal/explain_5.txt b/parser/testdata/01523_date_time_compare_with_date_literal/explain_5.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/01523_date_time_compare_with_date_literal/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/01525_select_with_offset_fetch_clause/explain_4.txt b/parser/testdata/01525_select_with_offset_fetch_clause/explain_4.txt new file mode 100644 index 0000000000..b30e0b12e8 --- /dev/null +++ b/parser/testdata/01525_select_with_offset_fetch_clause/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_fetch diff --git a/parser/testdata/01526_alter_add_and_modify_order_zookeeper/explain_14.txt b/parser/testdata/01526_alter_add_and_modify_order_zookeeper/explain_14.txt new file mode 100644 index 0000000000..c6625b0f81 --- /dev/null +++ b/parser/testdata/01526_alter_add_and_modify_order_zookeeper/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_for_alter diff --git a/parser/testdata/01526_alter_add_and_modify_order_zookeeper/explain_4.txt b/parser/testdata/01526_alter_add_and_modify_order_zookeeper/explain_4.txt new file mode 100644 index 0000000000..c6625b0f81 --- /dev/null +++ b/parser/testdata/01526_alter_add_and_modify_order_zookeeper/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_for_alter diff --git a/parser/testdata/01526_complex_key_dict_direct_layout/explain_4.txt b/parser/testdata/01526_complex_key_dict_direct_layout/explain_4.txt new file mode 100644 index 0000000000..d1de417c12 --- /dev/null +++ b/parser/testdata/01526_complex_key_dict_direct_layout/explain_4.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier db_01526 + Identifier table_for_dict1 diff --git a/parser/testdata/01527_bad_aggregation_in_lambda/explain.txt b/parser/testdata/01527_bad_aggregation_in_lambda/explain.txt index 6060f30f04..9cb59f0cb1 100644 --- a/parser/testdata/01527_bad_aggregation_in_lambda/explain.txt +++ b/parser/testdata/01527_bad_aggregation_in_lambda/explain.txt @@ -18,4 +18,3 @@ SelectWithUnionQuery (children 1) Function range (children 1) ExpressionList (children 1) Literal UInt64_10 -The query succeeded but the server error '[10, 47]' was expected (query: EXPLAIN AST SELECT arrayMap(x -> x * sum(x), range(10)); -- { serverError NOT_FOUND_COLUMN_IN_BLOCK, 47 }). diff --git a/parser/testdata/01527_materialized_view_stack_overflow/explain_15.txt b/parser/testdata/01527_materialized_view_stack_overflow/explain_15.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/01527_materialized_view_stack_overflow/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/01527_materialized_view_stack_overflow/explain_16.txt b/parser/testdata/01527_materialized_view_stack_overflow/explain_16.txt new file mode 100644 index 0000000000..df4a687bc0 --- /dev/null +++ b/parser/testdata/01527_materialized_view_stack_overflow/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2 diff --git a/parser/testdata/01528_to_uuid_or_null_or_zero/explain_6.txt b/parser/testdata/01528_to_uuid_or_null_or_zero/explain_6.txt new file mode 100644 index 0000000000..4daab46357 --- /dev/null +++ b/parser/testdata/01528_to_uuid_or_null_or_zero/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier to_uuid_test diff --git a/parser/testdata/01528_to_uuid_or_null_or_zero/explain_8.txt b/parser/testdata/01528_to_uuid_or_null_or_zero/explain_8.txt new file mode 100644 index 0000000000..4daab46357 --- /dev/null +++ b/parser/testdata/01528_to_uuid_or_null_or_zero/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier to_uuid_test diff --git a/parser/testdata/01531_query_log_query_comment/explain_5.txt b/parser/testdata/01531_query_log_query_comment/explain_5.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01531_query_log_query_comment/explain_5.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01531_query_log_query_comment/explain_9.txt b/parser/testdata/01531_query_log_query_comment/explain_9.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01531_query_log_query_comment/explain_9.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01532_collate_in_low_cardinality/explain_5.txt b/parser/testdata/01532_collate_in_low_cardinality/explain_5.txt new file mode 100644 index 0000000000..42bc2110ff --- /dev/null +++ b/parser/testdata/01532_collate_in_low_cardinality/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_collate diff --git a/parser/testdata/01532_collate_in_low_cardinality/explain_6.txt b/parser/testdata/01532_collate_in_low_cardinality/explain_6.txt new file mode 100644 index 0000000000..5ac69e6583 --- /dev/null +++ b/parser/testdata/01532_collate_in_low_cardinality/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_collate_null diff --git a/parser/testdata/01532_execute_merges_on_single_replica_long/explain_45.txt b/parser/testdata/01532_execute_merges_on_single_replica_long/explain_45.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01532_execute_merges_on_single_replica_long/explain_45.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01532_execute_merges_on_single_replica_long/explain_5.txt b/parser/testdata/01532_execute_merges_on_single_replica_long/explain_5.txt new file mode 100644 index 0000000000..fbd8241bc1 --- /dev/null +++ b/parser/testdata/01532_execute_merges_on_single_replica_long/explain_5.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier execute_on_single_replica_r1 + Set diff --git a/parser/testdata/01532_primary_key_without_order_by_zookeeper/explain_15.txt b/parser/testdata/01532_primary_key_without_order_by_zookeeper/explain_15.txt new file mode 100644 index 0000000000..1fa7ae8c1f --- /dev/null +++ b/parser/testdata/01532_primary_key_without_order_by_zookeeper/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier merge_tree_pk_sql diff --git a/parser/testdata/01532_primary_key_without_order_by_zookeeper/explain_16.txt b/parser/testdata/01532_primary_key_without_order_by_zookeeper/explain_16.txt new file mode 100644 index 0000000000..1fa7ae8c1f --- /dev/null +++ b/parser/testdata/01532_primary_key_without_order_by_zookeeper/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier merge_tree_pk_sql diff --git a/parser/testdata/01532_primary_key_without_order_by_zookeeper/explain_18.txt b/parser/testdata/01532_primary_key_without_order_by_zookeeper/explain_18.txt new file mode 100644 index 0000000000..1fa7ae8c1f --- /dev/null +++ b/parser/testdata/01532_primary_key_without_order_by_zookeeper/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier merge_tree_pk_sql diff --git a/parser/testdata/01532_primary_key_without_order_by_zookeeper/explain_23.txt b/parser/testdata/01532_primary_key_without_order_by_zookeeper/explain_23.txt new file mode 100644 index 0000000000..1fa7ae8c1f --- /dev/null +++ b/parser/testdata/01532_primary_key_without_order_by_zookeeper/explain_23.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier merge_tree_pk_sql diff --git a/parser/testdata/01532_primary_key_without_order_by_zookeeper/explain_24.txt b/parser/testdata/01532_primary_key_without_order_by_zookeeper/explain_24.txt new file mode 100644 index 0000000000..1fa7ae8c1f --- /dev/null +++ b/parser/testdata/01532_primary_key_without_order_by_zookeeper/explain_24.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier merge_tree_pk_sql diff --git a/parser/testdata/01532_primary_key_without_order_by_zookeeper/explain_31.txt b/parser/testdata/01532_primary_key_without_order_by_zookeeper/explain_31.txt new file mode 100644 index 0000000000..6d1aa2d12c --- /dev/null +++ b/parser/testdata/01532_primary_key_without_order_by_zookeeper/explain_31.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replicated_merge_tree_pk_sql diff --git a/parser/testdata/01532_primary_key_without_order_by_zookeeper/explain_32.txt b/parser/testdata/01532_primary_key_without_order_by_zookeeper/explain_32.txt new file mode 100644 index 0000000000..6d1aa2d12c --- /dev/null +++ b/parser/testdata/01532_primary_key_without_order_by_zookeeper/explain_32.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replicated_merge_tree_pk_sql diff --git a/parser/testdata/01532_primary_key_without_order_by_zookeeper/explain_34.txt b/parser/testdata/01532_primary_key_without_order_by_zookeeper/explain_34.txt new file mode 100644 index 0000000000..6d1aa2d12c --- /dev/null +++ b/parser/testdata/01532_primary_key_without_order_by_zookeeper/explain_34.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replicated_merge_tree_pk_sql diff --git a/parser/testdata/01532_primary_key_without_order_by_zookeeper/explain_39.txt b/parser/testdata/01532_primary_key_without_order_by_zookeeper/explain_39.txt new file mode 100644 index 0000000000..6d1aa2d12c --- /dev/null +++ b/parser/testdata/01532_primary_key_without_order_by_zookeeper/explain_39.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replicated_merge_tree_pk_sql diff --git a/parser/testdata/01532_primary_key_without_order_by_zookeeper/explain_4.txt b/parser/testdata/01532_primary_key_without_order_by_zookeeper/explain_4.txt new file mode 100644 index 0000000000..c06b391506 --- /dev/null +++ b/parser/testdata/01532_primary_key_without_order_by_zookeeper/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier merge_tree_pk diff --git a/parser/testdata/01532_primary_key_without_order_by_zookeeper/explain_40.txt b/parser/testdata/01532_primary_key_without_order_by_zookeeper/explain_40.txt new file mode 100644 index 0000000000..6d1aa2d12c --- /dev/null +++ b/parser/testdata/01532_primary_key_without_order_by_zookeeper/explain_40.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replicated_merge_tree_pk_sql diff --git a/parser/testdata/01532_primary_key_without_order_by_zookeeper/explain_5.txt b/parser/testdata/01532_primary_key_without_order_by_zookeeper/explain_5.txt new file mode 100644 index 0000000000..c06b391506 --- /dev/null +++ b/parser/testdata/01532_primary_key_without_order_by_zookeeper/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier merge_tree_pk diff --git a/parser/testdata/01532_primary_key_without_order_by_zookeeper/explain_7.txt b/parser/testdata/01532_primary_key_without_order_by_zookeeper/explain_7.txt new file mode 100644 index 0000000000..c06b391506 --- /dev/null +++ b/parser/testdata/01532_primary_key_without_order_by_zookeeper/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier merge_tree_pk diff --git a/parser/testdata/01533_collate_in_nullable/explain_3.txt b/parser/testdata/01533_collate_in_nullable/explain_3.txt new file mode 100644 index 0000000000..42bc2110ff --- /dev/null +++ b/parser/testdata/01533_collate_in_nullable/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_collate diff --git a/parser/testdata/01533_multiple_nested/explain_20.txt b/parser/testdata/01533_multiple_nested/explain_20.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01533_multiple_nested/explain_20.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01533_multiple_nested/explain_24.txt b/parser/testdata/01533_multiple_nested/explain_24.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01533_multiple_nested/explain_24.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01533_multiple_nested/explain_6.txt b/parser/testdata/01533_multiple_nested/explain_6.txt new file mode 100644 index 0000000000..6c9842c19d --- /dev/null +++ b/parser/testdata/01533_multiple_nested/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nested diff --git a/parser/testdata/01533_multiple_nested/explain_7.txt b/parser/testdata/01533_multiple_nested/explain_7.txt new file mode 100644 index 0000000000..6c9842c19d --- /dev/null +++ b/parser/testdata/01533_multiple_nested/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nested diff --git a/parser/testdata/01533_sum_if_nullable_bug/explain_3.txt b/parser/testdata/01533_sum_if_nullable_bug/explain_3.txt new file mode 100644 index 0000000000..9bb693d9f8 --- /dev/null +++ b/parser/testdata/01533_sum_if_nullable_bug/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier T diff --git a/parser/testdata/01535_decimal_round_scale_overflow_check/explain.txt b/parser/testdata/01535_decimal_round_scale_overflow_check/explain.txt index d4f07a49fe..7c72102fb0 100644 --- a/parser/testdata/01535_decimal_round_scale_overflow_check/explain.txt +++ b/parser/testdata/01535_decimal_round_scale_overflow_check/explain.txt @@ -9,4 +9,3 @@ SelectWithUnionQuery (children 1) Literal UInt64_1 Literal UInt64_0 Literal Int64_-9223372036854775806 -The query succeeded but the server error '69' was expected (query: EXPLAIN AST SELECT round(toDecimal32(1, 0), -9223372036854775806); -- { serverError ARGUMENT_OUT_OF_BOUND }). diff --git a/parser/testdata/01538_fuzz_aggregate/explain.txt b/parser/testdata/01538_fuzz_aggregate/explain.txt new file mode 100644 index 0000000000..e2d6e2748a --- /dev/null +++ b/parser/testdata/01538_fuzz_aggregate/explain.txt @@ -0,0 +1,31 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function count (children 1) + ExpressionList + Function sum (children 1) + ExpressionList (children 1) + Identifier ns + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function intDiv (alias k) (children 1) + ExpressionList (children 2) + Identifier number + Literal NULL + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers_mt + ExpressionList (children 1) + Identifier k + TablesInSelectQueryElement (children 1) + ArrayJoin (children 1) + ExpressionList (children 1) + Identifier ns diff --git a/parser/testdata/01540_verbatim_partition_pruning/explain_10.txt b/parser/testdata/01540_verbatim_partition_pruning/explain_10.txt new file mode 100644 index 0000000000..226fa4bf6f --- /dev/null +++ b/parser/testdata/01540_verbatim_partition_pruning/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier xyz diff --git a/parser/testdata/01540_verbatim_partition_pruning/explain_15.txt b/parser/testdata/01540_verbatim_partition_pruning/explain_15.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/01540_verbatim_partition_pruning/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/01540_verbatim_partition_pruning/explain_16.txt b/parser/testdata/01540_verbatim_partition_pruning/explain_16.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/01540_verbatim_partition_pruning/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/01540_verbatim_partition_pruning/explain_21.txt b/parser/testdata/01540_verbatim_partition_pruning/explain_21.txt new file mode 100644 index 0000000000..0538966c53 --- /dev/null +++ b/parser/testdata/01540_verbatim_partition_pruning/explain_21.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier myTable + ExpressionList (children 2) + Identifier myDay + Identifier myOrder diff --git a/parser/testdata/01540_verbatim_partition_pruning/explain_22.txt b/parser/testdata/01540_verbatim_partition_pruning/explain_22.txt new file mode 100644 index 0000000000..0538966c53 --- /dev/null +++ b/parser/testdata/01540_verbatim_partition_pruning/explain_22.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier myTable + ExpressionList (children 2) + Identifier myDay + Identifier myOrder diff --git a/parser/testdata/01540_verbatim_partition_pruning/explain_23.txt b/parser/testdata/01540_verbatim_partition_pruning/explain_23.txt new file mode 100644 index 0000000000..0538966c53 --- /dev/null +++ b/parser/testdata/01540_verbatim_partition_pruning/explain_23.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier myTable + ExpressionList (children 2) + Identifier myDay + Identifier myOrder diff --git a/parser/testdata/01540_verbatim_partition_pruning/explain_3.txt b/parser/testdata/01540_verbatim_partition_pruning/explain_3.txt new file mode 100644 index 0000000000..2cfa511b1c --- /dev/null +++ b/parser/testdata/01540_verbatim_partition_pruning/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier xy diff --git a/parser/testdata/01542_collate_in_array/explain_7.txt b/parser/testdata/01542_collate_in_array/explain_7.txt new file mode 100644 index 0000000000..0cd77f64b3 --- /dev/null +++ b/parser/testdata/01542_collate_in_array/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier collate_test1 diff --git a/parser/testdata/01542_collate_in_array/explain_8.txt b/parser/testdata/01542_collate_in_array/explain_8.txt new file mode 100644 index 0000000000..01c46a60ac --- /dev/null +++ b/parser/testdata/01542_collate_in_array/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier collate_test2 diff --git a/parser/testdata/01542_collate_in_array/explain_9.txt b/parser/testdata/01542_collate_in_array/explain_9.txt new file mode 100644 index 0000000000..d59cd292e4 --- /dev/null +++ b/parser/testdata/01542_collate_in_array/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier collate_test3 diff --git a/parser/testdata/01543_collate_in_tuple/explain_7.txt b/parser/testdata/01543_collate_in_tuple/explain_7.txt new file mode 100644 index 0000000000..0cd77f64b3 --- /dev/null +++ b/parser/testdata/01543_collate_in_tuple/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier collate_test1 diff --git a/parser/testdata/01543_collate_in_tuple/explain_8.txt b/parser/testdata/01543_collate_in_tuple/explain_8.txt new file mode 100644 index 0000000000..01c46a60ac --- /dev/null +++ b/parser/testdata/01543_collate_in_tuple/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier collate_test2 diff --git a/parser/testdata/01543_collate_in_tuple/explain_9.txt b/parser/testdata/01543_collate_in_tuple/explain_9.txt new file mode 100644 index 0000000000..d59cd292e4 --- /dev/null +++ b/parser/testdata/01543_collate_in_tuple/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier collate_test3 diff --git a/parser/testdata/01543_toModifiedJulianDay/explain_17.txt b/parser/testdata/01543_toModifiedJulianDay/explain_17.txt new file mode 100644 index 0000000000..6faa46b9b6 --- /dev/null +++ b/parser/testdata/01543_toModifiedJulianDay/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier toModifiedJulianDay_test diff --git a/parser/testdata/01543_toModifiedJulianDay/explain_23.txt b/parser/testdata/01543_toModifiedJulianDay/explain_23.txt new file mode 100644 index 0000000000..6faa46b9b6 --- /dev/null +++ b/parser/testdata/01543_toModifiedJulianDay/explain_23.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier toModifiedJulianDay_test diff --git a/parser/testdata/01544_fromModifiedJulianDay/explain_19.txt b/parser/testdata/01544_fromModifiedJulianDay/explain_19.txt new file mode 100644 index 0000000000..66844aa38a --- /dev/null +++ b/parser/testdata/01544_fromModifiedJulianDay/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier fromModifiedJulianDay_test diff --git a/parser/testdata/01546_log_queries_min_query_duration_ms/explain_10.txt b/parser/testdata/01546_log_queries_min_query_duration_ms/explain_10.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01546_log_queries_min_query_duration_ms/explain_10.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01546_log_queries_min_query_duration_ms/explain_5.txt b/parser/testdata/01546_log_queries_min_query_duration_ms/explain_5.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01546_log_queries_min_query_duration_ms/explain_5.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01547_query_log_current_database/explain_7.txt b/parser/testdata/01547_query_log_current_database/explain_7.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01547_query_log_current_database/explain_7.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01548_with_totals_having/explain.txt b/parser/testdata/01548_with_totals_having/explain.txt index a7c241fbb1..47a8d326aa 100644 --- a/parser/testdata/01548_with_totals_having/explain.txt +++ b/parser/testdata/01548_with_totals_having/explain.txt @@ -20,4 +20,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) Function array (children 1) ExpressionList -The query succeeded but the server error '[44, 59]' was expected (query: EXPLAIN AST SELECT * FROM numbers(4) GROUP BY number WITH TOTALS HAVING sum(number) <= arrayJoin([]); -- { serverError ILLEGAL_COLUMN, 59 }). diff --git a/parser/testdata/01549_low_cardinality_materialized_view/explain_5.txt b/parser/testdata/01549_low_cardinality_materialized_view/explain_5.txt new file mode 100644 index 0000000000..6f09cbff0d --- /dev/null +++ b/parser/testdata/01549_low_cardinality_materialized_view/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier HASH_TEST_INSERT diff --git a/parser/testdata/01549_low_cardinality_mv_fuzz/explain_6.txt b/parser/testdata/01549_low_cardinality_mv_fuzz/explain_6.txt new file mode 100644 index 0000000000..6f09cbff0d --- /dev/null +++ b/parser/testdata/01549_low_cardinality_mv_fuzz/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier HASH_TEST_INSERT diff --git a/parser/testdata/01550_create_map_type/explain_13.txt b/parser/testdata/01550_create_map_type/explain_13.txt new file mode 100644 index 0000000000..f08425a264 --- /dev/null +++ b/parser/testdata/01550_create_map_type/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_map diff --git a/parser/testdata/01550_create_map_type/explain_18.txt b/parser/testdata/01550_create_map_type/explain_18.txt new file mode 100644 index 0000000000..f08425a264 --- /dev/null +++ b/parser/testdata/01550_create_map_type/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_map diff --git a/parser/testdata/01550_create_map_type/explain_22.txt b/parser/testdata/01550_create_map_type/explain_22.txt new file mode 100644 index 0000000000..f08425a264 --- /dev/null +++ b/parser/testdata/01550_create_map_type/explain_22.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_map diff --git a/parser/testdata/01550_create_map_type/explain_3.txt b/parser/testdata/01550_create_map_type/explain_3.txt new file mode 100644 index 0000000000..f08425a264 --- /dev/null +++ b/parser/testdata/01550_create_map_type/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_map diff --git a/parser/testdata/01550_create_map_type/explain_32.txt b/parser/testdata/01550_create_map_type/explain_32.txt new file mode 100644 index 0000000000..f08425a264 --- /dev/null +++ b/parser/testdata/01550_create_map_type/explain_32.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_map diff --git a/parser/testdata/01550_mutation_subquery/explain_3.txt b/parser/testdata/01550_mutation_subquery/explain_3.txt new file mode 100644 index 0000000000..70365cb205 --- /dev/null +++ b/parser/testdata/01550_mutation_subquery/explain_3.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 2) + Identifier id + Identifier dealer_id diff --git a/parser/testdata/01550_type_map_formats/explain_5.txt b/parser/testdata/01550_type_map_formats/explain_5.txt new file mode 100644 index 0000000000..20ebbdb7b8 --- /dev/null +++ b/parser/testdata/01550_type_map_formats/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier map_formats diff --git a/parser/testdata/01550_type_map_formats/explain_6.txt b/parser/testdata/01550_type_map_formats/explain_6.txt new file mode 100644 index 0000000000..20ebbdb7b8 --- /dev/null +++ b/parser/testdata/01550_type_map_formats/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier map_formats diff --git a/parser/testdata/01552_dict_fixedstring/explain_3.txt b/parser/testdata/01552_dict_fixedstring/explain_3.txt new file mode 100644 index 0000000000..37b584e2c2 --- /dev/null +++ b/parser/testdata/01552_dict_fixedstring/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier src diff --git a/parser/testdata/01552_impl_aggfunc_cloneresize/explain_5.txt b/parser/testdata/01552_impl_aggfunc_cloneresize/explain_5.txt new file mode 100644 index 0000000000..773a2e5be7 --- /dev/null +++ b/parser/testdata/01552_impl_aggfunc_cloneresize/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_bm diff --git a/parser/testdata/01553_datetime64_comparison/explain_2.txt b/parser/testdata/01553_datetime64_comparison/explain_2.txt new file mode 100644 index 0000000000..656e32baf2 --- /dev/null +++ b/parser/testdata/01553_datetime64_comparison/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier datetime64_cmp diff --git a/parser/testdata/01554_bloom_filter_index_big_integer_uuid/explain_12.txt b/parser/testdata/01554_bloom_filter_index_big_integer_uuid/explain_12.txt new file mode 100644 index 0000000000..30050ce9af --- /dev/null +++ b/parser/testdata/01554_bloom_filter_index_big_integer_uuid/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 01154_test diff --git a/parser/testdata/01554_bloom_filter_index_big_integer_uuid/explain_17.txt b/parser/testdata/01554_bloom_filter_index_big_integer_uuid/explain_17.txt new file mode 100644 index 0000000000..30050ce9af --- /dev/null +++ b/parser/testdata/01554_bloom_filter_index_big_integer_uuid/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 01154_test diff --git a/parser/testdata/01554_bloom_filter_index_big_integer_uuid/explain_2.txt b/parser/testdata/01554_bloom_filter_index_big_integer_uuid/explain_2.txt new file mode 100644 index 0000000000..30050ce9af --- /dev/null +++ b/parser/testdata/01554_bloom_filter_index_big_integer_uuid/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 01154_test diff --git a/parser/testdata/01554_bloom_filter_index_big_integer_uuid/explain_7.txt b/parser/testdata/01554_bloom_filter_index_big_integer_uuid/explain_7.txt new file mode 100644 index 0000000000..30050ce9af --- /dev/null +++ b/parser/testdata/01554_bloom_filter_index_big_integer_uuid/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 01154_test diff --git a/parser/testdata/01555_or_fill/explain.txt b/parser/testdata/01555_or_fill/explain.txt new file mode 100644 index 0000000000..a5a6c313b4 --- /dev/null +++ b/parser/testdata/01555_or_fill/explain.txt @@ -0,0 +1,33 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 4) + Function count (children 1) + ExpressionList + Function countOrNull (children 1) + ExpressionList + Function sum (children 1) + ExpressionList (children 1) + Identifier x + Function sumOrNull (children 1) + ExpressionList (children 1) + Identifier x + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier number (alias x) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + Function greater (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 diff --git a/parser/testdata/01555_system_distribution_queue_mask/explain_15.txt b/parser/testdata/01555_system_distribution_queue_mask/explain_15.txt new file mode 100644 index 0000000000..277b6f7fe2 --- /dev/null +++ b/parser/testdata/01555_system_distribution_queue_mask/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dist_01555 diff --git a/parser/testdata/01555_system_distribution_queue_mask/explain_21.txt b/parser/testdata/01555_system_distribution_queue_mask/explain_21.txt new file mode 100644 index 0000000000..277b6f7fe2 --- /dev/null +++ b/parser/testdata/01555_system_distribution_queue_mask/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dist_01555 diff --git a/parser/testdata/01555_system_distribution_queue_mask/explain_9.txt b/parser/testdata/01555_system_distribution_queue_mask/explain_9.txt new file mode 100644 index 0000000000..277b6f7fe2 --- /dev/null +++ b/parser/testdata/01555_system_distribution_queue_mask/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dist_01555 diff --git a/parser/testdata/01556_if_null/explain.txt b/parser/testdata/01556_if_null/explain.txt new file mode 100644 index 0000000000..e956fa947f --- /dev/null +++ b/parser/testdata/01556_if_null/explain.txt @@ -0,0 +1,42 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 3) + Function sumMapIf (alias col1) (children 1) + ExpressionList (children 3) + Literal Array_[UInt64_1] + Literal Array_[UInt64_1] + Function greater (children 1) + ExpressionList (children 2) + Function nullIf (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_3 + Literal UInt64_0 + Function countIf (alias col2) (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Function greater (children 1) + ExpressionList (children 2) + Function nullIf (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_3 + Literal UInt64_0 + Function sumIf (alias col3) (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Function greater (children 1) + ExpressionList (children 2) + Function nullIf (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_3 + Literal UInt64_0 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal UInt64_5 diff --git a/parser/testdata/01557_max_parallel_replicas_no_sample/explain_7.txt b/parser/testdata/01557_max_parallel_replicas_no_sample/explain_7.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/01557_max_parallel_replicas_no_sample/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/01558_enum_as_num_in_tsv_csv_input/explain_3.txt b/parser/testdata/01558_enum_as_num_in_tsv_csv_input/explain_3.txt new file mode 100644 index 0000000000..e4643fdeae --- /dev/null +++ b/parser/testdata/01558_enum_as_num_in_tsv_csv_input/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier enum_as_num diff --git a/parser/testdata/01558_transform_null_in/explain_14.txt b/parser/testdata/01558_transform_null_in/explain_14.txt new file mode 100644 index 0000000000..60000e5057 --- /dev/null +++ b/parser/testdata/01558_transform_null_in/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier null_in_1 diff --git a/parser/testdata/01558_transform_null_in/explain_4.txt b/parser/testdata/01558_transform_null_in/explain_4.txt new file mode 100644 index 0000000000..60000e5057 --- /dev/null +++ b/parser/testdata/01558_transform_null_in/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier null_in_1 diff --git a/parser/testdata/01558_ttest/explain_13.txt b/parser/testdata/01558_ttest/explain_13.txt new file mode 100644 index 0000000000..16bfedb8c6 --- /dev/null +++ b/parser/testdata/01558_ttest/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier welch_ttest diff --git a/parser/testdata/01558_ttest/explain_18.txt b/parser/testdata/01558_ttest/explain_18.txt new file mode 100644 index 0000000000..16bfedb8c6 --- /dev/null +++ b/parser/testdata/01558_ttest/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier welch_ttest diff --git a/parser/testdata/01558_ttest/explain_23.txt b/parser/testdata/01558_ttest/explain_23.txt new file mode 100644 index 0000000000..16bfedb8c6 --- /dev/null +++ b/parser/testdata/01558_ttest/explain_23.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier welch_ttest diff --git a/parser/testdata/01558_ttest/explain_3.txt b/parser/testdata/01558_ttest/explain_3.txt new file mode 100644 index 0000000000..16bfedb8c6 --- /dev/null +++ b/parser/testdata/01558_ttest/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier welch_ttest diff --git a/parser/testdata/01558_ttest/explain_30.txt b/parser/testdata/01558_ttest/explain_30.txt new file mode 100644 index 0000000000..b3caa81252 --- /dev/null +++ b/parser/testdata/01558_ttest/explain_30.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier student_ttest diff --git a/parser/testdata/01558_ttest/explain_35.txt b/parser/testdata/01558_ttest/explain_35.txt new file mode 100644 index 0000000000..b3caa81252 --- /dev/null +++ b/parser/testdata/01558_ttest/explain_35.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier student_ttest diff --git a/parser/testdata/01558_ttest/explain_42.txt b/parser/testdata/01558_ttest/explain_42.txt new file mode 100644 index 0000000000..494fd12277 --- /dev/null +++ b/parser/testdata/01558_ttest/explain_42.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier onesample_ttest diff --git a/parser/testdata/01558_ttest/explain_8.txt b/parser/testdata/01558_ttest/explain_8.txt new file mode 100644 index 0000000000..16bfedb8c6 --- /dev/null +++ b/parser/testdata/01558_ttest/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier welch_ttest diff --git a/parser/testdata/01560_DateTime_and_DateTime64_comparision/explain.txt b/parser/testdata/01560_DateTime_and_DateTime64_comparision/explain.txt new file mode 100644 index 0000000000..4f1d1ac7a0 --- /dev/null +++ b/parser/testdata/01560_DateTime_and_DateTime64_comparision/explain.txt @@ -0,0 +1,152 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 26) + Identifier n + Function toTypeName (alias dt64_typename) (children 1) + ExpressionList (children 1) + Identifier dt64 + Literal \'<\' + Function less (children 1) + ExpressionList (children 2) + Identifier dt64 + Identifier dt + Function less (children 1) + ExpressionList (children 2) + Function toDateTime (children 1) + ExpressionList (children 1) + Identifier dt64 + Identifier dt + Function less (children 1) + ExpressionList (children 2) + Identifier dt64 + Function toDateTime64 (children 1) + ExpressionList (children 3) + Identifier dt + Literal UInt64_1 + Literal \'UTC\' + Literal \'<=\' + Function lessOrEquals (children 1) + ExpressionList (children 2) + Identifier dt64 + Identifier dt + Function lessOrEquals (children 1) + ExpressionList (children 2) + Function toDateTime (children 1) + ExpressionList (children 1) + Identifier dt64 + Identifier dt + Function lessOrEquals (children 1) + ExpressionList (children 2) + Identifier dt64 + Function toDateTime64 (children 1) + ExpressionList (children 3) + Identifier dt + Literal UInt64_1 + Literal \'UTC\' + Literal \'=\' + Function equals (children 1) + ExpressionList (children 2) + Identifier dt64 + Identifier dt + Function equals (children 1) + ExpressionList (children 2) + Function toDateTime (children 1) + ExpressionList (children 1) + Identifier dt64 + Identifier dt + Function equals (children 1) + ExpressionList (children 2) + Identifier dt64 + Function toDateTime64 (children 1) + ExpressionList (children 3) + Identifier dt + Literal UInt64_1 + Literal \'UTC\' + Literal \'>=\' + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Identifier dt64 + Identifier dt + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Function toDateTime (children 1) + ExpressionList (children 1) + Identifier dt64 + Identifier dt + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Identifier dt64 + Function toDateTime64 (children 1) + ExpressionList (children 3) + Identifier dt + Literal UInt64_1 + Literal \'UTC\' + Literal \'>\' + Function greater (children 1) + ExpressionList (children 2) + Identifier dt64 + Identifier dt + Function greater (children 1) + ExpressionList (children 2) + Function toDateTime (children 1) + ExpressionList (children 1) + Identifier dt64 + Identifier dt + Function greater (children 1) + ExpressionList (children 2) + Identifier dt64 + Function toDateTime64 (children 1) + ExpressionList (children 3) + Identifier dt + Literal UInt64_1 + Literal \'UTC\' + Literal \'!=\' + Function notEquals (children 1) + ExpressionList (children 2) + Identifier dt64 + Identifier dt + Function notEquals (children 1) + ExpressionList (children 2) + Function toDateTime (children 1) + ExpressionList (children 1) + Identifier dt64 + Identifier dt + Function notEquals (children 1) + ExpressionList (children 2) + Identifier dt64 + Function toDateTime64 (children 1) + ExpressionList (children 3) + Identifier dt + Literal UInt64_1 + Literal \'UTC\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function toDateTime (alias value) (children 1) + ExpressionList (children 1) + Literal \'2015-05-18 07:40:11\' + ExpressionList (children 3) + Function minus (alias n) (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_1 + Function toDateTime64 (alias dt64) (children 1) + ExpressionList (children 3) + Identifier value + Literal UInt64_1 + Literal \'UTC\' + Function minus (alias dt) (children 1) + ExpressionList (children 2) + Identifier value + Identifier n + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_3 diff --git a/parser/testdata/01560_crash_in_agg_empty_arglist/explain_2.txt b/parser/testdata/01560_crash_in_agg_empty_arglist/explain_2.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01560_crash_in_agg_empty_arglist/explain_2.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01560_mann_whitney/explain_3.txt b/parser/testdata/01560_mann_whitney/explain_3.txt new file mode 100644 index 0000000000..a7af585253 --- /dev/null +++ b/parser/testdata/01560_mann_whitney/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mann_whitney_test diff --git a/parser/testdata/01560_monotonicity_check_multiple_args_bug/explain.txt b/parser/testdata/01560_monotonicity_check_multiple_args_bug/explain.txt new file mode 100644 index 0000000000..20e6c5b33f --- /dev/null +++ b/parser/testdata/01560_monotonicity_check_multiple_args_bug/explain.txt @@ -0,0 +1,32 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function arrayJoin (alias delta) (children 1) + ExpressionList (children 1) + Function range (children 1) + ExpressionList (children 1) + Literal UInt64_2 + ExpressionList (children 1) + Function plus (alias dt) (children 1) + ExpressionList (children 2) + Function toDate (children 1) + ExpressionList (children 1) + Identifier time + Function toIntervalDay (children 1) + ExpressionList (children 1) + Identifier delta + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toDateTime (alias time) (children 1) + ExpressionList (children 1) + Literal \'2020.11.12 19:02:04\' + ExpressionList (children 1) + OrderByElement (children 1) + Identifier dt diff --git a/parser/testdata/01560_optimize_on_insert_long/explain_10.txt b/parser/testdata/01560_optimize_on_insert_long/explain_10.txt new file mode 100644 index 0000000000..3129f98ffe --- /dev/null +++ b/parser/testdata/01560_optimize_on_insert_long/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier collapsing_merge_tree diff --git a/parser/testdata/01560_optimize_on_insert_long/explain_16.txt b/parser/testdata/01560_optimize_on_insert_long/explain_16.txt new file mode 100644 index 0000000000..1cafa231f3 --- /dev/null +++ b/parser/testdata/01560_optimize_on_insert_long/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier versioned_collapsing_merge_tree diff --git a/parser/testdata/01560_optimize_on_insert_long/explain_22.txt b/parser/testdata/01560_optimize_on_insert_long/explain_22.txt new file mode 100644 index 0000000000..5e1ed6227d --- /dev/null +++ b/parser/testdata/01560_optimize_on_insert_long/explain_22.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier summing_merge_tree diff --git a/parser/testdata/01560_optimize_on_insert_long/explain_28.txt b/parser/testdata/01560_optimize_on_insert_long/explain_28.txt new file mode 100644 index 0000000000..7b799c8808 --- /dev/null +++ b/parser/testdata/01560_optimize_on_insert_long/explain_28.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier aggregating_merge_tree diff --git a/parser/testdata/01560_optimize_on_insert_long/explain_34.txt b/parser/testdata/01560_optimize_on_insert_long/explain_34.txt new file mode 100644 index 0000000000..93799bc450 --- /dev/null +++ b/parser/testdata/01560_optimize_on_insert_long/explain_34.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier empty diff --git a/parser/testdata/01560_optimize_on_insert_long/explain_4.txt b/parser/testdata/01560_optimize_on_insert_long/explain_4.txt new file mode 100644 index 0000000000..56c6e5fc90 --- /dev/null +++ b/parser/testdata/01560_optimize_on_insert_long/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replacing_merge_tree diff --git a/parser/testdata/01560_optimize_on_insert_zookeeper/explain_6.txt b/parser/testdata/01560_optimize_on_insert_zookeeper/explain_6.txt new file mode 100644 index 0000000000..4314a23399 --- /dev/null +++ b/parser/testdata/01560_optimize_on_insert_zookeeper/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier empty2 diff --git a/parser/testdata/01561_Date_and_DateTime64_comparision/explain.txt b/parser/testdata/01561_Date_and_DateTime64_comparision/explain.txt new file mode 100644 index 0000000000..78ce69fa31 --- /dev/null +++ b/parser/testdata/01561_Date_and_DateTime64_comparision/explain.txt @@ -0,0 +1,155 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 26) + Identifier n + Function toTypeName (alias dt64_typename) (children 1) + ExpressionList (children 1) + Identifier dt64 + Literal \'<\' + Function less (children 1) + ExpressionList (children 2) + Identifier dt64 + Identifier d + Function less (children 1) + ExpressionList (children 2) + Function toDate (children 1) + ExpressionList (children 1) + Identifier dt64 + Identifier d + Function less (children 1) + ExpressionList (children 2) + Identifier dt64 + Function toDateTime64 (children 1) + ExpressionList (children 3) + Identifier d + Literal UInt64_1 + Literal \'UTC\' + Literal \'<=\' + Function lessOrEquals (children 1) + ExpressionList (children 2) + Identifier dt64 + Identifier d + Function lessOrEquals (children 1) + ExpressionList (children 2) + Function toDate (children 1) + ExpressionList (children 1) + Identifier dt64 + Identifier d + Function lessOrEquals (children 1) + ExpressionList (children 2) + Identifier dt64 + Function toDateTime64 (children 1) + ExpressionList (children 3) + Identifier d + Literal UInt64_1 + Literal \'UTC\' + Literal \'=\' + Function equals (children 1) + ExpressionList (children 2) + Identifier dt64 + Identifier d + Function equals (children 1) + ExpressionList (children 2) + Function toDate (children 1) + ExpressionList (children 1) + Identifier dt64 + Identifier d + Function equals (children 1) + ExpressionList (children 2) + Identifier dt64 + Function toDateTime64 (children 1) + ExpressionList (children 3) + Identifier d + Literal UInt64_1 + Literal \'UTC\' + Literal \'>=\' + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Identifier dt64 + Identifier d + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Function toDate (children 1) + ExpressionList (children 1) + Identifier dt64 + Identifier d + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Identifier dt64 + Function toDateTime64 (children 1) + ExpressionList (children 3) + Identifier d + Literal UInt64_1 + Literal \'UTC\' + Literal \'>\' + Function greater (children 1) + ExpressionList (children 2) + Identifier dt64 + Identifier d + Function greater (children 1) + ExpressionList (children 2) + Function toDate (children 1) + ExpressionList (children 1) + Identifier dt64 + Identifier d + Function greater (children 1) + ExpressionList (children 2) + Identifier dt64 + Function toDateTime64 (children 1) + ExpressionList (children 3) + Identifier d + Literal UInt64_1 + Literal \'UTC\' + Literal \'!=\' + Function notEquals (children 1) + ExpressionList (children 2) + Identifier dt64 + Identifier d + Function notEquals (children 1) + ExpressionList (children 2) + Function toDate (children 1) + ExpressionList (children 1) + Identifier dt64 + Identifier d + Function notEquals (children 1) + ExpressionList (children 2) + Identifier dt64 + Function toDateTime64 (children 1) + ExpressionList (children 3) + Identifier d + Literal UInt64_1 + Literal \'UTC\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function toDateTime (alias val) (children 1) + ExpressionList (children 1) + Literal \'2019-09-16 19:20:11\' + ExpressionList (children 3) + Function minus (alias n) (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_1 + Function toDateTime64 (alias dt64) (children 1) + ExpressionList (children 3) + Identifier val + Literal UInt64_1 + Literal \'UTC\' + Function minus (alias d) (children 1) + ExpressionList (children 2) + Function toDate (children 1) + ExpressionList (children 2) + Identifier val + Literal \'UTC\' + Identifier n + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_3 diff --git a/parser/testdata/01564_test_hint_woes/explain.txt b/parser/testdata/01564_test_hint_woes/explain.txt new file mode 100644 index 0000000000..5b052405be --- /dev/null +++ b/parser/testdata/01564_test_hint_woes/explain.txt @@ -0,0 +1,14 @@ +CreateQuery values_01564 (children 3) + Identifier values_01564 + Columns definition (children 2) + ExpressionList (children 1) + ColumnDeclaration a (children 1) + DataType int + ExpressionList (children 1) + Constraint (children 1) + Function less (children 1) + ExpressionList (children 2) + Identifier a + Literal UInt64_10 + Storage definition (children 1) + Function Memory diff --git a/parser/testdata/01564_test_hint_woes/explain_12.txt b/parser/testdata/01564_test_hint_woes/explain_12.txt new file mode 100644 index 0000000000..1fdad1854a --- /dev/null +++ b/parser/testdata/01564_test_hint_woes/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier values_01564 diff --git a/parser/testdata/01564_test_hint_woes/explain_13.txt b/parser/testdata/01564_test_hint_woes/explain_13.txt new file mode 100644 index 0000000000..1fdad1854a --- /dev/null +++ b/parser/testdata/01564_test_hint_woes/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier values_01564 diff --git a/parser/testdata/01564_test_hint_woes/explain_15.txt b/parser/testdata/01564_test_hint_woes/explain_15.txt new file mode 100644 index 0000000000..1fdad1854a --- /dev/null +++ b/parser/testdata/01564_test_hint_woes/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier values_01564 diff --git a/parser/testdata/01564_test_hint_woes/explain_17.txt b/parser/testdata/01564_test_hint_woes/explain_17.txt new file mode 100644 index 0000000000..f57cba43fa --- /dev/null +++ b/parser/testdata/01564_test_hint_woes/explain_17.txt @@ -0,0 +1,3 @@ +InsertQuery (children 1) + Identifier values_01564 +1 diff --git a/parser/testdata/01564_test_hint_woes/explain_2.txt b/parser/testdata/01564_test_hint_woes/explain_2.txt new file mode 100644 index 0000000000..1fdad1854a --- /dev/null +++ b/parser/testdata/01564_test_hint_woes/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier values_01564 diff --git a/parser/testdata/01564_test_hint_woes/explain_23.txt b/parser/testdata/01564_test_hint_woes/explain_23.txt new file mode 100644 index 0000000000..24d272effa --- /dev/null +++ b/parser/testdata/01564_test_hint_woes/explain_23.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 2) + Identifier c0 + Identifier c1 diff --git a/parser/testdata/01564_test_hint_woes/explain_24.txt b/parser/testdata/01564_test_hint_woes/explain_24.txt new file mode 100644 index 0000000000..24d272effa --- /dev/null +++ b/parser/testdata/01564_test_hint_woes/explain_24.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 2) + Identifier c0 + Identifier c1 diff --git a/parser/testdata/01564_test_hint_woes/explain_25.txt b/parser/testdata/01564_test_hint_woes/explain_25.txt new file mode 100644 index 0000000000..1fdad1854a --- /dev/null +++ b/parser/testdata/01564_test_hint_woes/explain_25.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier values_01564 diff --git a/parser/testdata/01564_test_hint_woes/explain_3.txt b/parser/testdata/01564_test_hint_woes/explain_3.txt new file mode 100644 index 0000000000..1fdad1854a --- /dev/null +++ b/parser/testdata/01564_test_hint_woes/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier values_01564 diff --git a/parser/testdata/01564_test_hint_woes/explain_5.txt b/parser/testdata/01564_test_hint_woes/explain_5.txt new file mode 100644 index 0000000000..1fdad1854a --- /dev/null +++ b/parser/testdata/01564_test_hint_woes/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier values_01564 diff --git a/parser/testdata/01568_window_functions_distributed/explain.txt b/parser/testdata/01568_window_functions_distributed/explain.txt index 9b604cca05..b44154a4fc 100644 --- a/parser/testdata/01568_window_functions_distributed/explain.txt +++ b/parser/testdata/01568_window_functions_distributed/explain.txt @@ -2,12 +2,8 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 3) ExpressionList (children 1) - Function row_number (alias x) (children 2) + Function row_number (alias x) (children 1) ExpressionList - WindowDefinition (children 1) - ExpressionList (children 1) - OrderByElement (children 1) - Identifier dummy TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) diff --git a/parser/testdata/01571_window_functions/explain_4.txt b/parser/testdata/01571_window_functions/explain_4.txt new file mode 100644 index 0000000000..20e37ff386 --- /dev/null +++ b/parser/testdata/01571_window_functions/explain_4.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier order_by_const + ExpressionList (children 4) + Identifier a + Identifier b + Identifier c + Identifier d diff --git a/parser/testdata/01571_window_functions/explain_5.txt b/parser/testdata/01571_window_functions/explain_5.txt new file mode 100644 index 0000000000..20e37ff386 --- /dev/null +++ b/parser/testdata/01571_window_functions/explain_5.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier order_by_const + ExpressionList (children 4) + Identifier a + Identifier b + Identifier c + Identifier d diff --git a/parser/testdata/01571_window_functions/explain_6.txt b/parser/testdata/01571_window_functions/explain_6.txt new file mode 100644 index 0000000000..20e37ff386 --- /dev/null +++ b/parser/testdata/01571_window_functions/explain_6.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier order_by_const + ExpressionList (children 4) + Identifier a + Identifier b + Identifier c + Identifier d diff --git a/parser/testdata/01576_alias_column_rewrite/explain_52.txt b/parser/testdata/01576_alias_column_rewrite/explain_52.txt new file mode 100644 index 0000000000..7306aac936 --- /dev/null +++ b/parser/testdata/01576_alias_column_rewrite/explain_52.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier pl diff --git a/parser/testdata/01576_alias_column_rewrite/explain_59.txt b/parser/testdata/01576_alias_column_rewrite/explain_59.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/01576_alias_column_rewrite/explain_59.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/01579_date_datetime_index_comparison/explain_3.txt b/parser/testdata/01579_date_datetime_index_comparison/explain_3.txt new file mode 100644 index 0000000000..f9184a6dc5 --- /dev/null +++ b/parser/testdata/01579_date_datetime_index_comparison/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_index diff --git a/parser/testdata/01581_deduplicate_by_columns_local/explain_3.txt b/parser/testdata/01581_deduplicate_by_columns_local/explain_3.txt new file mode 100644 index 0000000000..10108661d7 --- /dev/null +++ b/parser/testdata/01581_deduplicate_by_columns_local/explain_3.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier source_data + ExpressionList (children 3) + Identifier pk + Identifier sk + Identifier val diff --git a/parser/testdata/01581_deduplicate_by_columns_replicated_long/explain_6.txt b/parser/testdata/01581_deduplicate_by_columns_replicated_long/explain_6.txt new file mode 100644 index 0000000000..ba9f370492 --- /dev/null +++ b/parser/testdata/01581_deduplicate_by_columns_replicated_long/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replicated_deduplicate_by_columns_r1 diff --git a/parser/testdata/01581_deduplicate_by_columns_replicated_long/explain_7.txt b/parser/testdata/01581_deduplicate_by_columns_replicated_long/explain_7.txt new file mode 100644 index 0000000000..4c62da2923 --- /dev/null +++ b/parser/testdata/01581_deduplicate_by_columns_replicated_long/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replicated_deduplicate_by_columns_r2 diff --git a/parser/testdata/01581_to_int_inf_nan/explain.txt b/parser/testdata/01581_to_int_inf_nan/explain.txt index 7690b2cfc0..4b96526642 100644 --- a/parser/testdata/01581_to_int_inf_nan/explain.txt +++ b/parser/testdata/01581_to_int_inf_nan/explain.txt @@ -5,4 +5,3 @@ SelectWithUnionQuery (children 1) Function toInt64 (children 1) ExpressionList (children 1) Literal Float64_inf -The query succeeded but the server error '70' was expected (query: EXPLAIN AST SELECT toInt64(inf); -- { serverError CANNOT_CONVERT_TYPE }). diff --git a/parser/testdata/01582_any_join_supertype/explain_5.txt b/parser/testdata/01582_any_join_supertype/explain_5.txt new file mode 100644 index 0000000000..2b33f6d05c --- /dev/null +++ b/parser/testdata/01582_any_join_supertype/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier foo diff --git a/parser/testdata/01582_any_join_supertype/explain_6.txt b/parser/testdata/01582_any_join_supertype/explain_6.txt new file mode 100644 index 0000000000..ccf6712329 --- /dev/null +++ b/parser/testdata/01582_any_join_supertype/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier bar diff --git a/parser/testdata/01582_distinct_subquery_groupby/explain_4.txt b/parser/testdata/01582_distinct_subquery_groupby/explain_4.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/01582_distinct_subquery_groupby/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/01584_distributed_buffer_cannot_find_column/explain_7.txt b/parser/testdata/01584_distributed_buffer_cannot_find_column/explain_7.txt new file mode 100644 index 0000000000..26314001a1 --- /dev/null +++ b/parser/testdata/01584_distributed_buffer_cannot_find_column/explain_7.txt @@ -0,0 +1,17 @@ +InsertQuery (children 2) + Identifier realtimebuff + ExpressionList (children 14) + Identifier amount + Identifier transID + Identifier userID + Identifier appID + Identifier appName + Identifier transType + Identifier orderSource + Identifier nau + Identifier fau + Identifier transactionType + Identifier supplier + Identifier fMerchant + Identifier bankConnCode + Identifier reqDate diff --git a/parser/testdata/01586_storage_join_low_cardinality_key/explain_2.txt b/parser/testdata/01586_storage_join_low_cardinality_key/explain_2.txt new file mode 100644 index 0000000000..88c43cb6d9 --- /dev/null +++ b/parser/testdata/01586_storage_join_low_cardinality_key/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier low_card diff --git a/parser/testdata/01592_window_functions/explain_5.txt b/parser/testdata/01592_window_functions/explain_5.txt new file mode 100644 index 0000000000..8822fb97b1 --- /dev/null +++ b/parser/testdata/01592_window_functions/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier product_groups diff --git a/parser/testdata/01592_window_functions/explain_6.txt b/parser/testdata/01592_window_functions/explain_6.txt new file mode 100644 index 0000000000..3bb305668a --- /dev/null +++ b/parser/testdata/01592_window_functions/explain_6.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier products + ExpressionList (children 4) + Identifier product_id + Identifier product_name + Identifier group_id + Identifier price diff --git a/parser/testdata/01593_functions_in_order_by/explain.txt b/parser/testdata/01593_functions_in_order_by/explain.txt new file mode 100644 index 0000000000..e550d857d8 --- /dev/null +++ b/parser/testdata/01593_functions_in_order_by/explain.txt @@ -0,0 +1,39 @@ +Explain EXPLAIN SYNTAX (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Identifier msg + Function toDateTime (alias time) (children 1) + ExpressionList (children 1) + Function intDiv (children 1) + ExpressionList (children 2) + Identifier ms + Literal UInt64_1000 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Literal \'hello\' (alias msg) + Function multiply (alias ms) (children 1) + ExpressionList (children 2) + Function toUInt64 (children 1) + ExpressionList (children 1) + Identifier t + Literal UInt64_1000 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function generateRandom (children 1) + ExpressionList (children 1) + Literal \'t DateTime\' + Literal UInt64_10 + ExpressionList (children 2) + OrderByElement (children 1) + Identifier msg + OrderByElement (children 1) + Identifier time diff --git a/parser/testdata/01594_storage_join_uuid/explain_5.txt b/parser/testdata/01594_storage_join_uuid/explain_5.txt new file mode 100644 index 0000000000..70dfc1742d --- /dev/null +++ b/parser/testdata/01594_storage_join_uuid/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier joint diff --git a/parser/testdata/01594_storage_join_uuid/explain_6.txt b/parser/testdata/01594_storage_join_uuid/explain_6.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/01594_storage_join_uuid/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/01596_null_as_default_nullable/explain_3.txt b/parser/testdata/01596_null_as_default_nullable/explain_3.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/01596_null_as_default_nullable/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/01600_select_in_different_types/explain_12.txt b/parser/testdata/01600_select_in_different_types/explain_12.txt new file mode 100644 index 0000000000..703bd4c905 --- /dev/null +++ b/parser/testdata/01600_select_in_different_types/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier select_in_test diff --git a/parser/testdata/01600_select_in_different_types/explain_5.txt b/parser/testdata/01600_select_in_different_types/explain_5.txt new file mode 100644 index 0000000000..703bd4c905 --- /dev/null +++ b/parser/testdata/01600_select_in_different_types/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier select_in_test diff --git a/parser/testdata/01601_accurate_cast/explain.txt b/parser/testdata/01601_accurate_cast/explain.txt index 4d9c76a35b..231ff3408a 100644 --- a/parser/testdata/01601_accurate_cast/explain.txt +++ b/parser/testdata/01601_accurate_cast/explain.txt @@ -6,4 +6,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Literal Int64_-1 Literal \'UInt8\' -The query succeeded but the server error '70' was expected (query: EXPLAIN AST SELECT accurateCast(-1, 'UInt8'); -- { serverError CANNOT_CONVERT_TYPE }). diff --git a/parser/testdata/01602_array_aggregation/explain_11.txt b/parser/testdata/01602_array_aggregation/explain_11.txt new file mode 100644 index 0000000000..0390ab9af1 --- /dev/null +++ b/parser/testdata/01602_array_aggregation/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_aggregation diff --git a/parser/testdata/01602_array_aggregation/explain_22.txt b/parser/testdata/01602_array_aggregation/explain_22.txt new file mode 100644 index 0000000000..0390ab9af1 --- /dev/null +++ b/parser/testdata/01602_array_aggregation/explain_22.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_aggregation diff --git a/parser/testdata/01602_modified_julian_day_msan/explain.txt b/parser/testdata/01602_modified_julian_day_msan/explain.txt index c8c22a14ce..81454f0966 100644 --- a/parser/testdata/01602_modified_julian_day_msan/explain.txt +++ b/parser/testdata/01602_modified_julian_day_msan/explain.txt @@ -23,4 +23,3 @@ SelectWithUnionQuery (children 1) Function regionIn (children 1) ExpressionList (children 1) Literal \'l. \' -The query succeeded but the server error '43' was expected (query: EXPLAIN AST SELECT tryBase64Decode(( SELECT countSubstrings(toModifiedJulianDayOrNull('\0'), '') ) AS n, ( SELECT regionIn('l. ') ) AS srocpnuv); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }). diff --git a/parser/testdata/01602_runningConcurrency/explain_10.txt b/parser/testdata/01602_runningConcurrency/explain_10.txt new file mode 100644 index 0000000000..6ec10d22bf --- /dev/null +++ b/parser/testdata/01602_runningConcurrency/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier runningConcurrency_test diff --git a/parser/testdata/01602_runningConcurrency/explain_16.txt b/parser/testdata/01602_runningConcurrency/explain_16.txt new file mode 100644 index 0000000000..6ec10d22bf --- /dev/null +++ b/parser/testdata/01602_runningConcurrency/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier runningConcurrency_test diff --git a/parser/testdata/01602_runningConcurrency/explain_4.txt b/parser/testdata/01602_runningConcurrency/explain_4.txt new file mode 100644 index 0000000000..6ec10d22bf --- /dev/null +++ b/parser/testdata/01602_runningConcurrency/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier runningConcurrency_test diff --git a/parser/testdata/01603_remove_column_ttl/explain_3.txt b/parser/testdata/01603_remove_column_ttl/explain_3.txt new file mode 100644 index 0000000000..6460e5e622 --- /dev/null +++ b/parser/testdata/01603_remove_column_ttl/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_with_column_ttl diff --git a/parser/testdata/01603_remove_column_ttl/explain_4.txt b/parser/testdata/01603_remove_column_ttl/explain_4.txt new file mode 100644 index 0000000000..6460e5e622 --- /dev/null +++ b/parser/testdata/01603_remove_column_ttl/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_with_column_ttl diff --git a/parser/testdata/01603_remove_column_ttl/explain_9.txt b/parser/testdata/01603_remove_column_ttl/explain_9.txt new file mode 100644 index 0000000000..6460e5e622 --- /dev/null +++ b/parser/testdata/01603_remove_column_ttl/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_with_column_ttl diff --git a/parser/testdata/01604_explain_ast_of_nonselect_query/explain.txt b/parser/testdata/01604_explain_ast_of_nonselect_query/explain.txt deleted file mode 100644 index 8b13789179..0000000000 --- a/parser/testdata/01604_explain_ast_of_nonselect_query/explain.txt +++ /dev/null @@ -1 +0,0 @@ - diff --git a/parser/testdata/01611_string_to_low_cardinality_key_alter/explain_22.txt b/parser/testdata/01611_string_to_low_cardinality_key_alter/explain_22.txt new file mode 100644 index 0000000000..9986e1581f --- /dev/null +++ b/parser/testdata/01611_string_to_low_cardinality_key_alter/explain_22.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_with_string_key diff --git a/parser/testdata/01611_string_to_low_cardinality_key_alter/explain_3.txt b/parser/testdata/01611_string_to_low_cardinality_key_alter/explain_3.txt new file mode 100644 index 0000000000..e097f9b096 --- /dev/null +++ b/parser/testdata/01611_string_to_low_cardinality_key_alter/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_with_lc_key diff --git a/parser/testdata/01614_with_fill_with_limit/explain.txt b/parser/testdata/01614_with_fill_with_limit/explain.txt new file mode 100644 index 0000000000..f6c1152df3 --- /dev/null +++ b/parser/testdata/01614_with_fill_with_limit/explain.txt @@ -0,0 +1,29 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 2) + Function toFloat32 (alias n) (children 1) + ExpressionList (children 1) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 + Literal \'original\' (alias source) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_3 + Literal UInt64_1 + ExpressionList (children 1) + OrderByElement (children 2) + Identifier n + Literal UInt64_1 + Literal UInt64_2 diff --git a/parser/testdata/01615_two_args_function_index_fix/explain_3.txt b/parser/testdata/01615_two_args_function_index_fix/explain_3.txt new file mode 100644 index 0000000000..474e105ff3 --- /dev/null +++ b/parser/testdata/01615_two_args_function_index_fix/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier bad_date_time diff --git a/parser/testdata/01620_fix_simple_state_arg_type/explain_3.txt b/parser/testdata/01620_fix_simple_state_arg_type/explain_3.txt new file mode 100644 index 0000000000..e3d99a3162 --- /dev/null +++ b/parser/testdata/01620_fix_simple_state_arg_type/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ay diff --git a/parser/testdata/01620_fix_simple_state_arg_type/explain_4.txt b/parser/testdata/01620_fix_simple_state_arg_type/explain_4.txt new file mode 100644 index 0000000000..e3d99a3162 --- /dev/null +++ b/parser/testdata/01620_fix_simple_state_arg_type/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ay diff --git a/parser/testdata/01620_fix_simple_state_arg_type/explain_5.txt b/parser/testdata/01620_fix_simple_state_arg_type/explain_5.txt new file mode 100644 index 0000000000..e3d99a3162 --- /dev/null +++ b/parser/testdata/01620_fix_simple_state_arg_type/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ay diff --git a/parser/testdata/01620_fix_simple_state_arg_type/explain_8.txt b/parser/testdata/01620_fix_simple_state_arg_type/explain_8.txt new file mode 100644 index 0000000000..e3d99a3162 --- /dev/null +++ b/parser/testdata/01620_fix_simple_state_arg_type/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ay diff --git a/parser/testdata/01621_bar_nan_arguments/explain.txt b/parser/testdata/01621_bar_nan_arguments/explain.txt index cf080c3dc5..bccb609218 100644 --- a/parser/testdata/01621_bar_nan_arguments/explain.txt +++ b/parser/testdata/01621_bar_nan_arguments/explain.txt @@ -19,4 +19,3 @@ SelectWithUnionQuery (children 1) Literal UInt64_1048576 Literal UInt64_1048577 Literal Float64_nan -The query succeeded but the server error '43' was expected (query: EXPLAIN AST SELECT bar((greatCircleAngle(65537, 2, 1, 1) - 1) * 65535, 1048576, 1048577, nan); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }). diff --git a/parser/testdata/01621_summap_check_types/explain_3.txt b/parser/testdata/01621_summap_check_types/explain_3.txt new file mode 100644 index 0000000000..d7fe218aab --- /dev/null +++ b/parser/testdata/01621_summap_check_types/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier sum_map_overflow diff --git a/parser/testdata/01622_byte_size/explain_17.txt b/parser/testdata/01622_byte_size/explain_17.txt new file mode 100644 index 0000000000..7e7b3150b4 --- /dev/null +++ b/parser/testdata/01622_byte_size/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_byte_size_number1 diff --git a/parser/testdata/01622_byte_size/explain_18.txt b/parser/testdata/01622_byte_size/explain_18.txt new file mode 100644 index 0000000000..7e7b3150b4 --- /dev/null +++ b/parser/testdata/01622_byte_size/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_byte_size_number1 diff --git a/parser/testdata/01622_byte_size/explain_30.txt b/parser/testdata/01622_byte_size/explain_30.txt new file mode 100644 index 0000000000..385bef4388 --- /dev/null +++ b/parser/testdata/01622_byte_size/explain_30.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_byte_size_string diff --git a/parser/testdata/01622_byte_size/explain_31.txt b/parser/testdata/01622_byte_size/explain_31.txt new file mode 100644 index 0000000000..385bef4388 --- /dev/null +++ b/parser/testdata/01622_byte_size/explain_31.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_byte_size_string diff --git a/parser/testdata/01622_byte_size/explain_37.txt b/parser/testdata/01622_byte_size/explain_37.txt new file mode 100644 index 0000000000..2e630e8570 --- /dev/null +++ b/parser/testdata/01622_byte_size/explain_37.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_byte_size_array diff --git a/parser/testdata/01622_byte_size/explain_38.txt b/parser/testdata/01622_byte_size/explain_38.txt new file mode 100644 index 0000000000..2e630e8570 --- /dev/null +++ b/parser/testdata/01622_byte_size/explain_38.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_byte_size_array diff --git a/parser/testdata/01622_byte_size/explain_39.txt b/parser/testdata/01622_byte_size/explain_39.txt new file mode 100644 index 0000000000..2e630e8570 --- /dev/null +++ b/parser/testdata/01622_byte_size/explain_39.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_byte_size_array diff --git a/parser/testdata/01622_byte_size/explain_40.txt b/parser/testdata/01622_byte_size/explain_40.txt new file mode 100644 index 0000000000..2e630e8570 --- /dev/null +++ b/parser/testdata/01622_byte_size/explain_40.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_byte_size_array diff --git a/parser/testdata/01622_byte_size/explain_50.txt b/parser/testdata/01622_byte_size/explain_50.txt new file mode 100644 index 0000000000..871ceebc90 --- /dev/null +++ b/parser/testdata/01622_byte_size/explain_50.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_byte_size_complex_array diff --git a/parser/testdata/01622_byte_size/explain_51.txt b/parser/testdata/01622_byte_size/explain_51.txt new file mode 100644 index 0000000000..871ceebc90 --- /dev/null +++ b/parser/testdata/01622_byte_size/explain_51.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_byte_size_complex_array diff --git a/parser/testdata/01622_byte_size/explain_52.txt b/parser/testdata/01622_byte_size/explain_52.txt new file mode 100644 index 0000000000..871ceebc90 --- /dev/null +++ b/parser/testdata/01622_byte_size/explain_52.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_byte_size_complex_array diff --git a/parser/testdata/01622_byte_size/explain_53.txt b/parser/testdata/01622_byte_size/explain_53.txt new file mode 100644 index 0000000000..871ceebc90 --- /dev/null +++ b/parser/testdata/01622_byte_size/explain_53.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_byte_size_complex_array diff --git a/parser/testdata/01622_byte_size/explain_65.txt b/parser/testdata/01622_byte_size/explain_65.txt new file mode 100644 index 0000000000..8797f935ab --- /dev/null +++ b/parser/testdata/01622_byte_size/explain_65.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_byte_size_other diff --git a/parser/testdata/01622_byte_size/explain_66.txt b/parser/testdata/01622_byte_size/explain_66.txt new file mode 100644 index 0000000000..8797f935ab --- /dev/null +++ b/parser/testdata/01622_byte_size/explain_66.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_byte_size_other diff --git a/parser/testdata/01622_byte_size/explain_67.txt b/parser/testdata/01622_byte_size/explain_67.txt new file mode 100644 index 0000000000..8797f935ab --- /dev/null +++ b/parser/testdata/01622_byte_size/explain_67.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_byte_size_other diff --git a/parser/testdata/01622_byte_size/explain_7.txt b/parser/testdata/01622_byte_size/explain_7.txt new file mode 100644 index 0000000000..2f7d2d8075 --- /dev/null +++ b/parser/testdata/01622_byte_size/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_byte_size_number0 diff --git a/parser/testdata/01622_byte_size/explain_76.txt b/parser/testdata/01622_byte_size/explain_76.txt new file mode 100644 index 0000000000..311a32fab5 --- /dev/null +++ b/parser/testdata/01622_byte_size/explain_76.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_byte_size_more_complex diff --git a/parser/testdata/01622_byte_size/explain_77.txt b/parser/testdata/01622_byte_size/explain_77.txt new file mode 100644 index 0000000000..311a32fab5 --- /dev/null +++ b/parser/testdata/01622_byte_size/explain_77.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_byte_size_more_complex diff --git a/parser/testdata/01622_byte_size/explain_78.txt b/parser/testdata/01622_byte_size/explain_78.txt new file mode 100644 index 0000000000..311a32fab5 --- /dev/null +++ b/parser/testdata/01622_byte_size/explain_78.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_byte_size_more_complex diff --git a/parser/testdata/01622_byte_size/explain_79.txt b/parser/testdata/01622_byte_size/explain_79.txt new file mode 100644 index 0000000000..311a32fab5 --- /dev/null +++ b/parser/testdata/01622_byte_size/explain_79.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_byte_size_more_complex diff --git a/parser/testdata/01622_byte_size/explain_8.txt b/parser/testdata/01622_byte_size/explain_8.txt new file mode 100644 index 0000000000..2f7d2d8075 --- /dev/null +++ b/parser/testdata/01622_byte_size/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_byte_size_number0 diff --git a/parser/testdata/01622_byte_size/explain_80.txt b/parser/testdata/01622_byte_size/explain_80.txt new file mode 100644 index 0000000000..311a32fab5 --- /dev/null +++ b/parser/testdata/01622_byte_size/explain_80.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_byte_size_more_complex diff --git a/parser/testdata/01622_byte_size/explain_81.txt b/parser/testdata/01622_byte_size/explain_81.txt new file mode 100644 index 0000000000..311a32fab5 --- /dev/null +++ b/parser/testdata/01622_byte_size/explain_81.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_byte_size_more_complex diff --git a/parser/testdata/01622_constraints_simple_optimization/explain_13.txt b/parser/testdata/01622_constraints_simple_optimization/explain_13.txt new file mode 100644 index 0000000000..a19d682031 --- /dev/null +++ b/parser/testdata/01622_constraints_simple_optimization/explain_13.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier constraint_test_assumption + ExpressionList (children 2) + Identifier URL + Identifier a diff --git a/parser/testdata/01622_constraints_simple_optimization/explain_14.txt b/parser/testdata/01622_constraints_simple_optimization/explain_14.txt new file mode 100644 index 0000000000..a19d682031 --- /dev/null +++ b/parser/testdata/01622_constraints_simple_optimization/explain_14.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier constraint_test_assumption + ExpressionList (children 2) + Identifier URL + Identifier a diff --git a/parser/testdata/01622_constraints_simple_optimization/explain_15.txt b/parser/testdata/01622_constraints_simple_optimization/explain_15.txt new file mode 100644 index 0000000000..a19d682031 --- /dev/null +++ b/parser/testdata/01622_constraints_simple_optimization/explain_15.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier constraint_test_assumption + ExpressionList (children 2) + Identifier URL + Identifier a diff --git a/parser/testdata/01622_constraints_simple_optimization/explain_16.txt b/parser/testdata/01622_constraints_simple_optimization/explain_16.txt new file mode 100644 index 0000000000..a19d682031 --- /dev/null +++ b/parser/testdata/01622_constraints_simple_optimization/explain_16.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier constraint_test_assumption + ExpressionList (children 2) + Identifier URL + Identifier a diff --git a/parser/testdata/01622_constraints_simple_optimization/explain_19.txt b/parser/testdata/01622_constraints_simple_optimization/explain_19.txt new file mode 100644 index 0000000000..fe3eea5117 --- /dev/null +++ b/parser/testdata/01622_constraints_simple_optimization/explain_19.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier constraint_test_transitivity + ExpressionList (children 4) + Identifier a + Identifier b + Identifier c + Identifier d diff --git a/parser/testdata/01622_constraints_simple_optimization/explain_22.txt b/parser/testdata/01622_constraints_simple_optimization/explain_22.txt new file mode 100644 index 0000000000..283d1255a3 --- /dev/null +++ b/parser/testdata/01622_constraints_simple_optimization/explain_22.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier constraint_test_strong_connectivity + ExpressionList (children 4) + Identifier a + Identifier b + Identifier c + Identifier d diff --git a/parser/testdata/01622_constraints_simple_optimization/explain_25.txt b/parser/testdata/01622_constraints_simple_optimization/explain_25.txt new file mode 100644 index 0000000000..c2579a764a --- /dev/null +++ b/parser/testdata/01622_constraints_simple_optimization/explain_25.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier constraint_test_transitivity2 + ExpressionList (children 4) + Identifier a + Identifier b + Identifier c + Identifier d diff --git a/parser/testdata/01622_constraints_simple_optimization/explain_28.txt b/parser/testdata/01622_constraints_simple_optimization/explain_28.txt new file mode 100644 index 0000000000..549701befa --- /dev/null +++ b/parser/testdata/01622_constraints_simple_optimization/explain_28.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier constraint_test_transitivity3 + ExpressionList (children 3) + Identifier a + Identifier b + Identifier c diff --git a/parser/testdata/01622_constraints_simple_optimization/explain_31.txt b/parser/testdata/01622_constraints_simple_optimization/explain_31.txt new file mode 100644 index 0000000000..1a62fa64fc --- /dev/null +++ b/parser/testdata/01622_constraints_simple_optimization/explain_31.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier constraint_test_constants_repl + ExpressionList (children 4) + Identifier a + Identifier b + Identifier c + Identifier d diff --git a/parser/testdata/01622_constraints_simple_optimization/explain_34.txt b/parser/testdata/01622_constraints_simple_optimization/explain_34.txt new file mode 100644 index 0000000000..c4542ddef7 --- /dev/null +++ b/parser/testdata/01622_constraints_simple_optimization/explain_34.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier constraint_test_constants + ExpressionList (children 3) + Identifier a + Identifier b + Identifier c diff --git a/parser/testdata/01622_constraints_where_optimization/explain_19.txt b/parser/testdata/01622_constraints_where_optimization/explain_19.txt new file mode 100644 index 0000000000..d587b38dd8 --- /dev/null +++ b/parser/testdata/01622_constraints_where_optimization/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_constraints_where diff --git a/parser/testdata/01622_constraints_where_optimization/explain_6.txt b/parser/testdata/01622_constraints_where_optimization/explain_6.txt new file mode 100644 index 0000000000..d587b38dd8 --- /dev/null +++ b/parser/testdata/01622_constraints_where_optimization/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_constraints_where diff --git a/parser/testdata/01623_constraints_column_swap/explain_9.txt b/parser/testdata/01623_constraints_column_swap/explain_9.txt new file mode 100644 index 0000000000..b563e8437f --- /dev/null +++ b/parser/testdata/01623_constraints_column_swap/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier column_swap_test_test diff --git a/parser/testdata/01625_constraints_index_append/explain_6.txt b/parser/testdata/01625_constraints_index_append/explain_6.txt new file mode 100644 index 0000000000..e10d2c4286 --- /dev/null +++ b/parser/testdata/01625_constraints_index_append/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier index_append_test_test diff --git a/parser/testdata/01631_date_overflow_as_partition_key/explain_3.txt b/parser/testdata/01631_date_overflow_as_partition_key/explain_3.txt new file mode 100644 index 0000000000..85a3993ade --- /dev/null +++ b/parser/testdata/01631_date_overflow_as_partition_key/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dt_overflow diff --git a/parser/testdata/01631_date_overflow_as_partition_key/explain_4.txt b/parser/testdata/01631_date_overflow_as_partition_key/explain_4.txt new file mode 100644 index 0000000000..85a3993ade --- /dev/null +++ b/parser/testdata/01631_date_overflow_as_partition_key/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dt_overflow diff --git a/parser/testdata/01632_group_array_msan/explain.txt b/parser/testdata/01632_group_array_msan/explain.txt index a662a9323d..a7d2e92cee 100644 --- a/parser/testdata/01632_group_array_msan/explain.txt +++ b/parser/testdata/01632_group_array_msan/explain.txt @@ -33,4 +33,3 @@ SelectWithUnionQuery (children 2) ExpressionList (children 1) Literal UInt64_1048576 (alias x) Identifier Null -The query succeeded but the server error '43' was expected (query: EXPLAIN AST SELECT groupArrayMerge(1048577)(y * 1048576) FROM (SELECT groupArrayState(9223372036854775807)(x) AS y FROM (SELECT 1048576 AS x)) FORMAT Null; -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }). diff --git a/parser/testdata/01632_max_partitions_to_read/explain_3.txt b/parser/testdata/01632_max_partitions_to_read/explain_3.txt new file mode 100644 index 0000000000..030203b3de --- /dev/null +++ b/parser/testdata/01632_max_partitions_to_read/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier p diff --git a/parser/testdata/01634_uuid_fuzz/explain.txt b/parser/testdata/01634_uuid_fuzz/explain.txt index 0224711a90..64563c75ad 100644 --- a/parser/testdata/01634_uuid_fuzz/explain.txt +++ b/parser/testdata/01634_uuid_fuzz/explain.txt @@ -5,4 +5,3 @@ SelectWithUnionQuery (children 1) Function toUUID (children 1) ExpressionList (children 1) Literal Float64_-1.1 -The query succeeded but the server error '48' was expected (query: EXPLAIN AST SELECT toUUID(-1.1); -- { serverError NOT_IMPLEMENTED }). diff --git a/parser/testdata/01635_nullable_fuzz/explain.txt b/parser/testdata/01635_nullable_fuzz/explain.txt new file mode 100644 index 0000000000..0278e63ea2 --- /dev/null +++ b/parser/testdata/01635_nullable_fuzz/explain.txt @@ -0,0 +1,45 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 5) + Literal \'Nul\\0able\\0String)Nul\\0\\0ble(String)Nul\\0able(String)Nul\\0able(String)\' + Function and (children 1) + ExpressionList (children 2) + Literal NULL + Literal UInt64_2 + Literal \'\' + Identifier number + Literal NULL (alias k) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Function or (children 1) + ExpressionList (children 2) + Function materialize (children 1) + ExpressionList (children 1) + Literal NULL + Function materialize (children 1) + ExpressionList (children 1) + Literal Int64_-9223372036854775808 + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_1000000 + ExpressionList (children 3) + OrderByElement (children 1) + Identifier k + OrderByElement (children 1) + Identifier number + OrderByElement (children 1) + Identifier k + Literal UInt64_1023 + Literal UInt64_1023 + Set + Identifier Null diff --git a/parser/testdata/01643_merge_tree_fsync_smoke/explain_10.txt b/parser/testdata/01643_merge_tree_fsync_smoke/explain_10.txt new file mode 100644 index 0000000000..a36dca33d5 --- /dev/null +++ b/parser/testdata/01643_merge_tree_fsync_smoke/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data_01643 diff --git a/parser/testdata/01643_merge_tree_fsync_smoke/explain_16.txt b/parser/testdata/01643_merge_tree_fsync_smoke/explain_16.txt new file mode 100644 index 0000000000..a36dca33d5 --- /dev/null +++ b/parser/testdata/01643_merge_tree_fsync_smoke/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data_01643 diff --git a/parser/testdata/01643_merge_tree_fsync_smoke/explain_22.txt b/parser/testdata/01643_merge_tree_fsync_smoke/explain_22.txt new file mode 100644 index 0000000000..a36dca33d5 --- /dev/null +++ b/parser/testdata/01643_merge_tree_fsync_smoke/explain_22.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data_01643 diff --git a/parser/testdata/01643_merge_tree_fsync_smoke/explain_28.txt b/parser/testdata/01643_merge_tree_fsync_smoke/explain_28.txt new file mode 100644 index 0000000000..a36dca33d5 --- /dev/null +++ b/parser/testdata/01643_merge_tree_fsync_smoke/explain_28.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data_01643 diff --git a/parser/testdata/01643_merge_tree_fsync_smoke/explain_34.txt b/parser/testdata/01643_merge_tree_fsync_smoke/explain_34.txt new file mode 100644 index 0000000000..a36dca33d5 --- /dev/null +++ b/parser/testdata/01643_merge_tree_fsync_smoke/explain_34.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data_01643 diff --git a/parser/testdata/01643_merge_tree_fsync_smoke/explain_35.txt b/parser/testdata/01643_merge_tree_fsync_smoke/explain_35.txt new file mode 100644 index 0000000000..a36dca33d5 --- /dev/null +++ b/parser/testdata/01643_merge_tree_fsync_smoke/explain_35.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data_01643 diff --git a/parser/testdata/01643_merge_tree_fsync_smoke/explain_4.txt b/parser/testdata/01643_merge_tree_fsync_smoke/explain_4.txt new file mode 100644 index 0000000000..a36dca33d5 --- /dev/null +++ b/parser/testdata/01643_merge_tree_fsync_smoke/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data_01643 diff --git a/parser/testdata/01643_replicated_merge_tree_fsync_smoke/explain_18.txt b/parser/testdata/01643_replicated_merge_tree_fsync_smoke/explain_18.txt new file mode 100644 index 0000000000..456ebc4632 --- /dev/null +++ b/parser/testdata/01643_replicated_merge_tree_fsync_smoke/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rep_fsync_r1 diff --git a/parser/testdata/01643_replicated_merge_tree_fsync_smoke/explain_28.txt b/parser/testdata/01643_replicated_merge_tree_fsync_smoke/explain_28.txt new file mode 100644 index 0000000000..456ebc4632 --- /dev/null +++ b/parser/testdata/01643_replicated_merge_tree_fsync_smoke/explain_28.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rep_fsync_r1 diff --git a/parser/testdata/01643_replicated_merge_tree_fsync_smoke/explain_38.txt b/parser/testdata/01643_replicated_merge_tree_fsync_smoke/explain_38.txt new file mode 100644 index 0000000000..456ebc4632 --- /dev/null +++ b/parser/testdata/01643_replicated_merge_tree_fsync_smoke/explain_38.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rep_fsync_r1 diff --git a/parser/testdata/01643_replicated_merge_tree_fsync_smoke/explain_48.txt b/parser/testdata/01643_replicated_merge_tree_fsync_smoke/explain_48.txt new file mode 100644 index 0000000000..456ebc4632 --- /dev/null +++ b/parser/testdata/01643_replicated_merge_tree_fsync_smoke/explain_48.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rep_fsync_r1 diff --git a/parser/testdata/01643_replicated_merge_tree_fsync_smoke/explain_58.txt b/parser/testdata/01643_replicated_merge_tree_fsync_smoke/explain_58.txt new file mode 100644 index 0000000000..456ebc4632 --- /dev/null +++ b/parser/testdata/01643_replicated_merge_tree_fsync_smoke/explain_58.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rep_fsync_r1 diff --git a/parser/testdata/01643_replicated_merge_tree_fsync_smoke/explain_59.txt b/parser/testdata/01643_replicated_merge_tree_fsync_smoke/explain_59.txt new file mode 100644 index 0000000000..3a4dc14e3d --- /dev/null +++ b/parser/testdata/01643_replicated_merge_tree_fsync_smoke/explain_59.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rep_fsync_r2 diff --git a/parser/testdata/01643_replicated_merge_tree_fsync_smoke/explain_8.txt b/parser/testdata/01643_replicated_merge_tree_fsync_smoke/explain_8.txt new file mode 100644 index 0000000000..456ebc4632 --- /dev/null +++ b/parser/testdata/01643_replicated_merge_tree_fsync_smoke/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rep_fsync_r1 diff --git a/parser/testdata/01646_fix_window_funnel_inconistency/explain_3.txt b/parser/testdata/01646_fix_window_funnel_inconistency/explain_3.txt new file mode 100644 index 0000000000..bb9bae13be --- /dev/null +++ b/parser/testdata/01646_fix_window_funnel_inconistency/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier trend diff --git a/parser/testdata/01646_fix_window_funnel_inconistency/explain_7.txt b/parser/testdata/01646_fix_window_funnel_inconistency/explain_7.txt new file mode 100644 index 0000000000..bb9bae13be --- /dev/null +++ b/parser/testdata/01646_fix_window_funnel_inconistency/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier trend diff --git a/parser/testdata/01648_mutations_and_escaping/explain_4.txt b/parser/testdata/01648_mutations_and_escaping/explain_4.txt new file mode 100644 index 0000000000..546c73bf03 --- /dev/null +++ b/parser/testdata/01648_mutations_and_escaping/explain_4.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier mutations_and_escaping_1648 + ExpressionList (children 2) + Identifier d + Identifier e diff --git a/parser/testdata/01648_mutations_and_escaping/explain_5.txt b/parser/testdata/01648_mutations_and_escaping/explain_5.txt new file mode 100644 index 0000000000..546c73bf03 --- /dev/null +++ b/parser/testdata/01648_mutations_and_escaping/explain_5.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier mutations_and_escaping_1648 + ExpressionList (children 2) + Identifier d + Identifier e diff --git a/parser/testdata/01648_normalize_query_keep_names/explain.txt b/parser/testdata/01648_normalize_query_keep_names/explain.txt index b5c89f5c84..67170c809c 100644 --- a/parser/testdata/01648_normalize_query_keep_names/explain.txt +++ b/parser/testdata/01648_normalize_query_keep_names/explain.txt @@ -1,7 +1,15 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 1) - ExpressionList (children 1) + ExpressionList (children 2) Function normalizeQueryKeepNames (children 1) ExpressionList (children 1) Literal \'SELECT 1 AS `aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee`\' + Function equals (children 1) + ExpressionList (children 2) + Function normalizedQueryHashKeepNames (children 1) + ExpressionList (children 1) + Literal \'SELECT 1 AS `aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee`\' + Function normalizedQueryHashKeepNames (children 1) + ExpressionList (children 1) + Literal \'SELECT 2 AS `aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeef`\' diff --git a/parser/testdata/01649_with_alias_key_condition/explain_3.txt b/parser/testdata/01649_with_alias_key_condition/explain_3.txt new file mode 100644 index 0000000000..04d8fef5fb --- /dev/null +++ b/parser/testdata/01649_with_alias_key_condition/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier alias_key_condition diff --git a/parser/testdata/01650_drop_part_and_deduplication_zookeeper_long/explain_10.txt b/parser/testdata/01650_drop_part_and_deduplication_zookeeper_long/explain_10.txt new file mode 100644 index 0000000000..f5c10c4fa5 --- /dev/null +++ b/parser/testdata/01650_drop_part_and_deduplication_zookeeper_long/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier partitioned_table diff --git a/parser/testdata/01650_drop_part_and_deduplication_zookeeper_long/explain_18.txt b/parser/testdata/01650_drop_part_and_deduplication_zookeeper_long/explain_18.txt new file mode 100644 index 0000000000..f5c10c4fa5 --- /dev/null +++ b/parser/testdata/01650_drop_part_and_deduplication_zookeeper_long/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier partitioned_table diff --git a/parser/testdata/01650_drop_part_and_deduplication_zookeeper_long/explain_5.txt b/parser/testdata/01650_drop_part_and_deduplication_zookeeper_long/explain_5.txt new file mode 100644 index 0000000000..f5c10c4fa5 --- /dev/null +++ b/parser/testdata/01650_drop_part_and_deduplication_zookeeper_long/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier partitioned_table diff --git a/parser/testdata/01650_drop_part_and_deduplication_zookeeper_long/explain_6.txt b/parser/testdata/01650_drop_part_and_deduplication_zookeeper_long/explain_6.txt new file mode 100644 index 0000000000..f5c10c4fa5 --- /dev/null +++ b/parser/testdata/01650_drop_part_and_deduplication_zookeeper_long/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier partitioned_table diff --git a/parser/testdata/01650_expressions_merge_bug/explain.txt b/parser/testdata/01650_expressions_merge_bug/explain.txt new file mode 100644 index 0000000000..d2300fafe3 --- /dev/null +++ b/parser/testdata/01650_expressions_merge_bug/explain.txt @@ -0,0 +1,41 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function in (children 1) + ExpressionList (children 2) + Literal NULL + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_9223372036854775807 + Literal UInt64_9223372036854775807 + Literal NULL + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 4) + Literal NULL + Literal NULL + Function in (children 1) + ExpressionList (children 2) + Literal NULL + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal Tuple_(NULL, \'-1\') + Literal NULL + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1024 diff --git a/parser/testdata/01650_fetch_patition_with_macro_in_zk_path_long/explain_4.txt b/parser/testdata/01650_fetch_patition_with_macro_in_zk_path_long/explain_4.txt new file mode 100644 index 0000000000..a64ab21460 --- /dev/null +++ b/parser/testdata/01650_fetch_patition_with_macro_in_zk_path_long/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_01640 diff --git a/parser/testdata/01651_bugs_from_15889/explain_13.txt b/parser/testdata/01651_bugs_from_15889/explain_13.txt new file mode 100644 index 0000000000..0a13be61e8 --- /dev/null +++ b/parser/testdata/01651_bugs_from_15889/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier trace_log diff --git a/parser/testdata/01651_bugs_from_15889/explain_15.txt b/parser/testdata/01651_bugs_from_15889/explain_15.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01651_bugs_from_15889/explain_15.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01651_bugs_from_15889/explain_19.txt b/parser/testdata/01651_bugs_from_15889/explain_19.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01651_bugs_from_15889/explain_19.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01651_map_functions/explain_3.txt b/parser/testdata/01651_map_functions/explain_3.txt new file mode 100644 index 0000000000..f08425a264 --- /dev/null +++ b/parser/testdata/01651_map_functions/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_map diff --git a/parser/testdata/01655_sleep_infinite_float/explain.txt b/parser/testdata/01655_sleep_infinite_float/explain.txt index edc951f3d2..653ceabf55 100644 --- a/parser/testdata/01655_sleep_infinite_float/explain.txt +++ b/parser/testdata/01655_sleep_infinite_float/explain.txt @@ -5,4 +5,3 @@ SelectWithUnionQuery (children 1) Function sleep (children 1) ExpressionList (children 1) Literal Float64_nan -The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT sleep(nan); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/01655_window_functions_bug/explain.txt b/parser/testdata/01655_window_functions_bug/explain.txt new file mode 100644 index 0000000000..8d8ecaf290 --- /dev/null +++ b/parser/testdata/01655_window_functions_bug/explain.txt @@ -0,0 +1,47 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 2) + Function round (alias nps) (children 1) + ExpressionList (children 2) + Function minus (children 1) + ExpressionList (children 2) + Function countIf (children 1) + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier rating + Literal UInt64_5 + Function countIf (children 1) + ExpressionList (children 1) + Function less (children 1) + ExpressionList (children 2) + Identifier rating + Literal UInt64_5 + Literal UInt64_4 + Function dense_rank (alias rank) (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Identifier number (alias rating) + Function modulo (alias rest_id) (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_3 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + ExpressionList (children 1) + Identifier rest_id + ExpressionList (children 1) + OrderByElement (children 1) + Identifier rank diff --git a/parser/testdata/01655_window_functions_cume_dist/explain_11.txt b/parser/testdata/01655_window_functions_cume_dist/explain_11.txt new file mode 100644 index 0000000000..1810b79b1b --- /dev/null +++ b/parser/testdata/01655_window_functions_cume_dist/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_cume_dist diff --git a/parser/testdata/01655_window_functions_cume_dist/explain_15.txt b/parser/testdata/01655_window_functions_cume_dist/explain_15.txt new file mode 100644 index 0000000000..1810b79b1b --- /dev/null +++ b/parser/testdata/01655_window_functions_cume_dist/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_cume_dist diff --git a/parser/testdata/01655_window_functions_cume_dist/explain_19.txt b/parser/testdata/01655_window_functions_cume_dist/explain_19.txt new file mode 100644 index 0000000000..1810b79b1b --- /dev/null +++ b/parser/testdata/01655_window_functions_cume_dist/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_cume_dist diff --git a/parser/testdata/01655_window_functions_null/explain.txt b/parser/testdata/01655_window_functions_null/explain.txt new file mode 100644 index 0000000000..3d4e386188 --- /dev/null +++ b/parser/testdata/01655_window_functions_null/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Identifier number + Function sum (alias sum) (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function values (children 1) + ExpressionList (children 6) + Literal \'number Nullable(Int8)\' + Literal UInt64_1 + Literal UInt64_1 + Literal UInt64_2 + Literal UInt64_3 + Literal NULL diff --git a/parser/testdata/01656_join_defaul_enum/explain.txt b/parser/testdata/01656_join_defaul_enum/explain.txt index 580617306d..09717090b8 100644 --- a/parser/testdata/01656_join_defaul_enum/explain.txt +++ b/parser/testdata/01656_join_defaul_enum/explain.txt @@ -1,4 +1,4 @@ -CreateQuery table_key (children 3) +CreateQuery table_key (children 4) Identifier table_key Columns definition (children 1) ExpressionList (children 1) @@ -10,3 +10,16 @@ CreateQuery table_key (children 3) Function tuple (children 1) ExpressionList Identifier keycol + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function VALUES (children 1) + ExpressionList (children 3) + Literal UInt64_1 + Literal UInt64_2 + Literal UInt64_3 diff --git a/parser/testdata/01656_sequence_next_node_distinct/explain_4.txt b/parser/testdata/01656_sequence_next_node_distinct/explain_4.txt new file mode 100644 index 0000000000..b8c0fb09d1 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_distinct/explain_4.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier events_demo + ExpressionList (children 3) + Identifier id + Identifier dt + Identifier action diff --git a/parser/testdata/01656_sequence_next_node_long/explain_10.txt b/parser/testdata/01656_sequence_next_node_long/explain_10.txt new file mode 100644 index 0000000000..b245ae84b9 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode_Nullable diff --git a/parser/testdata/01656_sequence_next_node_long/explain_100.txt b/parser/testdata/01656_sequence_next_node_long/explain_100.txt new file mode 100644 index 0000000000..0d50de5072 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_100.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode diff --git a/parser/testdata/01656_sequence_next_node_long/explain_101.txt b/parser/testdata/01656_sequence_next_node_long/explain_101.txt new file mode 100644 index 0000000000..0d50de5072 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_101.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode diff --git a/parser/testdata/01656_sequence_next_node_long/explain_102.txt b/parser/testdata/01656_sequence_next_node_long/explain_102.txt new file mode 100644 index 0000000000..0d50de5072 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_102.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode diff --git a/parser/testdata/01656_sequence_next_node_long/explain_103.txt b/parser/testdata/01656_sequence_next_node_long/explain_103.txt new file mode 100644 index 0000000000..0d50de5072 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_103.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode diff --git a/parser/testdata/01656_sequence_next_node_long/explain_104.txt b/parser/testdata/01656_sequence_next_node_long/explain_104.txt new file mode 100644 index 0000000000..0d50de5072 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_104.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode diff --git a/parser/testdata/01656_sequence_next_node_long/explain_105.txt b/parser/testdata/01656_sequence_next_node_long/explain_105.txt new file mode 100644 index 0000000000..0d50de5072 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_105.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode diff --git a/parser/testdata/01656_sequence_next_node_long/explain_106.txt b/parser/testdata/01656_sequence_next_node_long/explain_106.txt new file mode 100644 index 0000000000..0d50de5072 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_106.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode diff --git a/parser/testdata/01656_sequence_next_node_long/explain_107.txt b/parser/testdata/01656_sequence_next_node_long/explain_107.txt new file mode 100644 index 0000000000..0d50de5072 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_107.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode diff --git a/parser/testdata/01656_sequence_next_node_long/explain_108.txt b/parser/testdata/01656_sequence_next_node_long/explain_108.txt new file mode 100644 index 0000000000..0d50de5072 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_108.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode diff --git a/parser/testdata/01656_sequence_next_node_long/explain_109.txt b/parser/testdata/01656_sequence_next_node_long/explain_109.txt new file mode 100644 index 0000000000..0d50de5072 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_109.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode diff --git a/parser/testdata/01656_sequence_next_node_long/explain_11.txt b/parser/testdata/01656_sequence_next_node_long/explain_11.txt new file mode 100644 index 0000000000..b245ae84b9 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode_Nullable diff --git a/parser/testdata/01656_sequence_next_node_long/explain_12.txt b/parser/testdata/01656_sequence_next_node_long/explain_12.txt new file mode 100644 index 0000000000..b245ae84b9 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode_Nullable diff --git a/parser/testdata/01656_sequence_next_node_long/explain_13.txt b/parser/testdata/01656_sequence_next_node_long/explain_13.txt new file mode 100644 index 0000000000..b245ae84b9 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode_Nullable diff --git a/parser/testdata/01656_sequence_next_node_long/explain_130.txt b/parser/testdata/01656_sequence_next_node_long/explain_130.txt new file mode 100644 index 0000000000..0d50de5072 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_130.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode diff --git a/parser/testdata/01656_sequence_next_node_long/explain_131.txt b/parser/testdata/01656_sequence_next_node_long/explain_131.txt new file mode 100644 index 0000000000..0d50de5072 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_131.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode diff --git a/parser/testdata/01656_sequence_next_node_long/explain_132.txt b/parser/testdata/01656_sequence_next_node_long/explain_132.txt new file mode 100644 index 0000000000..0d50de5072 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_132.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode diff --git a/parser/testdata/01656_sequence_next_node_long/explain_133.txt b/parser/testdata/01656_sequence_next_node_long/explain_133.txt new file mode 100644 index 0000000000..0d50de5072 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_133.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode diff --git a/parser/testdata/01656_sequence_next_node_long/explain_14.txt b/parser/testdata/01656_sequence_next_node_long/explain_14.txt new file mode 100644 index 0000000000..b245ae84b9 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode_Nullable diff --git a/parser/testdata/01656_sequence_next_node_long/explain_140.txt b/parser/testdata/01656_sequence_next_node_long/explain_140.txt new file mode 100644 index 0000000000..0d50de5072 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_140.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode diff --git a/parser/testdata/01656_sequence_next_node_long/explain_141.txt b/parser/testdata/01656_sequence_next_node_long/explain_141.txt new file mode 100644 index 0000000000..0d50de5072 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_141.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode diff --git a/parser/testdata/01656_sequence_next_node_long/explain_142.txt b/parser/testdata/01656_sequence_next_node_long/explain_142.txt new file mode 100644 index 0000000000..0d50de5072 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_142.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode diff --git a/parser/testdata/01656_sequence_next_node_long/explain_143.txt b/parser/testdata/01656_sequence_next_node_long/explain_143.txt new file mode 100644 index 0000000000..0d50de5072 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_143.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode diff --git a/parser/testdata/01656_sequence_next_node_long/explain_15.txt b/parser/testdata/01656_sequence_next_node_long/explain_15.txt new file mode 100644 index 0000000000..b245ae84b9 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode_Nullable diff --git a/parser/testdata/01656_sequence_next_node_long/explain_16.txt b/parser/testdata/01656_sequence_next_node_long/explain_16.txt new file mode 100644 index 0000000000..b245ae84b9 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode_Nullable diff --git a/parser/testdata/01656_sequence_next_node_long/explain_165.txt b/parser/testdata/01656_sequence_next_node_long/explain_165.txt new file mode 100644 index 0000000000..0d50de5072 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_165.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode diff --git a/parser/testdata/01656_sequence_next_node_long/explain_166.txt b/parser/testdata/01656_sequence_next_node_long/explain_166.txt new file mode 100644 index 0000000000..0d50de5072 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_166.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode diff --git a/parser/testdata/01656_sequence_next_node_long/explain_17.txt b/parser/testdata/01656_sequence_next_node_long/explain_17.txt new file mode 100644 index 0000000000..b245ae84b9 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode_Nullable diff --git a/parser/testdata/01656_sequence_next_node_long/explain_171.txt b/parser/testdata/01656_sequence_next_node_long/explain_171.txt new file mode 100644 index 0000000000..1c251ab17a --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_171.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_base_condition diff --git a/parser/testdata/01656_sequence_next_node_long/explain_172.txt b/parser/testdata/01656_sequence_next_node_long/explain_172.txt new file mode 100644 index 0000000000..1c251ab17a --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_172.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_base_condition diff --git a/parser/testdata/01656_sequence_next_node_long/explain_173.txt b/parser/testdata/01656_sequence_next_node_long/explain_173.txt new file mode 100644 index 0000000000..1c251ab17a --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_173.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_base_condition diff --git a/parser/testdata/01656_sequence_next_node_long/explain_174.txt b/parser/testdata/01656_sequence_next_node_long/explain_174.txt new file mode 100644 index 0000000000..1c251ab17a --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_174.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_base_condition diff --git a/parser/testdata/01656_sequence_next_node_long/explain_175.txt b/parser/testdata/01656_sequence_next_node_long/explain_175.txt new file mode 100644 index 0000000000..1c251ab17a --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_175.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_base_condition diff --git a/parser/testdata/01656_sequence_next_node_long/explain_176.txt b/parser/testdata/01656_sequence_next_node_long/explain_176.txt new file mode 100644 index 0000000000..1c251ab17a --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_176.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_base_condition diff --git a/parser/testdata/01656_sequence_next_node_long/explain_177.txt b/parser/testdata/01656_sequence_next_node_long/explain_177.txt new file mode 100644 index 0000000000..1c251ab17a --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_177.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_base_condition diff --git a/parser/testdata/01656_sequence_next_node_long/explain_178.txt b/parser/testdata/01656_sequence_next_node_long/explain_178.txt new file mode 100644 index 0000000000..1c251ab17a --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_178.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_base_condition diff --git a/parser/testdata/01656_sequence_next_node_long/explain_179.txt b/parser/testdata/01656_sequence_next_node_long/explain_179.txt new file mode 100644 index 0000000000..1c251ab17a --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_179.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_base_condition diff --git a/parser/testdata/01656_sequence_next_node_long/explain_18.txt b/parser/testdata/01656_sequence_next_node_long/explain_18.txt new file mode 100644 index 0000000000..b245ae84b9 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode_Nullable diff --git a/parser/testdata/01656_sequence_next_node_long/explain_180.txt b/parser/testdata/01656_sequence_next_node_long/explain_180.txt new file mode 100644 index 0000000000..1c251ab17a --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_180.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_base_condition diff --git a/parser/testdata/01656_sequence_next_node_long/explain_181.txt b/parser/testdata/01656_sequence_next_node_long/explain_181.txt new file mode 100644 index 0000000000..1c251ab17a --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_181.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_base_condition diff --git a/parser/testdata/01656_sequence_next_node_long/explain_182.txt b/parser/testdata/01656_sequence_next_node_long/explain_182.txt new file mode 100644 index 0000000000..1c251ab17a --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_182.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_base_condition diff --git a/parser/testdata/01656_sequence_next_node_long/explain_19.txt b/parser/testdata/01656_sequence_next_node_long/explain_19.txt new file mode 100644 index 0000000000..b245ae84b9 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode_Nullable diff --git a/parser/testdata/01656_sequence_next_node_long/explain_20.txt b/parser/testdata/01656_sequence_next_node_long/explain_20.txt new file mode 100644 index 0000000000..b245ae84b9 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode_Nullable diff --git a/parser/testdata/01656_sequence_next_node_long/explain_21.txt b/parser/testdata/01656_sequence_next_node_long/explain_21.txt new file mode 100644 index 0000000000..b245ae84b9 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode_Nullable diff --git a/parser/testdata/01656_sequence_next_node_long/explain_22.txt b/parser/testdata/01656_sequence_next_node_long/explain_22.txt new file mode 100644 index 0000000000..b245ae84b9 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_22.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode_Nullable diff --git a/parser/testdata/01656_sequence_next_node_long/explain_23.txt b/parser/testdata/01656_sequence_next_node_long/explain_23.txt new file mode 100644 index 0000000000..b245ae84b9 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_23.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode_Nullable diff --git a/parser/testdata/01656_sequence_next_node_long/explain_24.txt b/parser/testdata/01656_sequence_next_node_long/explain_24.txt new file mode 100644 index 0000000000..b245ae84b9 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_24.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode_Nullable diff --git a/parser/testdata/01656_sequence_next_node_long/explain_25.txt b/parser/testdata/01656_sequence_next_node_long/explain_25.txt new file mode 100644 index 0000000000..b245ae84b9 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_25.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode_Nullable diff --git a/parser/testdata/01656_sequence_next_node_long/explain_26.txt b/parser/testdata/01656_sequence_next_node_long/explain_26.txt new file mode 100644 index 0000000000..b245ae84b9 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_26.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode_Nullable diff --git a/parser/testdata/01656_sequence_next_node_long/explain_27.txt b/parser/testdata/01656_sequence_next_node_long/explain_27.txt new file mode 100644 index 0000000000..b245ae84b9 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_27.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode_Nullable diff --git a/parser/testdata/01656_sequence_next_node_long/explain_4.txt b/parser/testdata/01656_sequence_next_node_long/explain_4.txt new file mode 100644 index 0000000000..b245ae84b9 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode_Nullable diff --git a/parser/testdata/01656_sequence_next_node_long/explain_48.txt b/parser/testdata/01656_sequence_next_node_long/explain_48.txt new file mode 100644 index 0000000000..b245ae84b9 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_48.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode_Nullable diff --git a/parser/testdata/01656_sequence_next_node_long/explain_49.txt b/parser/testdata/01656_sequence_next_node_long/explain_49.txt new file mode 100644 index 0000000000..b245ae84b9 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_49.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode_Nullable diff --git a/parser/testdata/01656_sequence_next_node_long/explain_5.txt b/parser/testdata/01656_sequence_next_node_long/explain_5.txt new file mode 100644 index 0000000000..b245ae84b9 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode_Nullable diff --git a/parser/testdata/01656_sequence_next_node_long/explain_50.txt b/parser/testdata/01656_sequence_next_node_long/explain_50.txt new file mode 100644 index 0000000000..b245ae84b9 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_50.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode_Nullable diff --git a/parser/testdata/01656_sequence_next_node_long/explain_51.txt b/parser/testdata/01656_sequence_next_node_long/explain_51.txt new file mode 100644 index 0000000000..b245ae84b9 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_51.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode_Nullable diff --git a/parser/testdata/01656_sequence_next_node_long/explain_52.txt b/parser/testdata/01656_sequence_next_node_long/explain_52.txt new file mode 100644 index 0000000000..b245ae84b9 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_52.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode_Nullable diff --git a/parser/testdata/01656_sequence_next_node_long/explain_59.txt b/parser/testdata/01656_sequence_next_node_long/explain_59.txt new file mode 100644 index 0000000000..b245ae84b9 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_59.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode_Nullable diff --git a/parser/testdata/01656_sequence_next_node_long/explain_6.txt b/parser/testdata/01656_sequence_next_node_long/explain_6.txt new file mode 100644 index 0000000000..b245ae84b9 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode_Nullable diff --git a/parser/testdata/01656_sequence_next_node_long/explain_60.txt b/parser/testdata/01656_sequence_next_node_long/explain_60.txt new file mode 100644 index 0000000000..b245ae84b9 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_60.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode_Nullable diff --git a/parser/testdata/01656_sequence_next_node_long/explain_61.txt b/parser/testdata/01656_sequence_next_node_long/explain_61.txt new file mode 100644 index 0000000000..b245ae84b9 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_61.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode_Nullable diff --git a/parser/testdata/01656_sequence_next_node_long/explain_62.txt b/parser/testdata/01656_sequence_next_node_long/explain_62.txt new file mode 100644 index 0000000000..b245ae84b9 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_62.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode_Nullable diff --git a/parser/testdata/01656_sequence_next_node_long/explain_7.txt b/parser/testdata/01656_sequence_next_node_long/explain_7.txt new file mode 100644 index 0000000000..b245ae84b9 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode_Nullable diff --git a/parser/testdata/01656_sequence_next_node_long/explain_8.txt b/parser/testdata/01656_sequence_next_node_long/explain_8.txt new file mode 100644 index 0000000000..b245ae84b9 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode_Nullable diff --git a/parser/testdata/01656_sequence_next_node_long/explain_86.txt b/parser/testdata/01656_sequence_next_node_long/explain_86.txt new file mode 100644 index 0000000000..0d50de5072 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_86.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode diff --git a/parser/testdata/01656_sequence_next_node_long/explain_87.txt b/parser/testdata/01656_sequence_next_node_long/explain_87.txt new file mode 100644 index 0000000000..0d50de5072 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_87.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode diff --git a/parser/testdata/01656_sequence_next_node_long/explain_88.txt b/parser/testdata/01656_sequence_next_node_long/explain_88.txt new file mode 100644 index 0000000000..0d50de5072 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_88.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode diff --git a/parser/testdata/01656_sequence_next_node_long/explain_89.txt b/parser/testdata/01656_sequence_next_node_long/explain_89.txt new file mode 100644 index 0000000000..0d50de5072 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_89.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode diff --git a/parser/testdata/01656_sequence_next_node_long/explain_9.txt b/parser/testdata/01656_sequence_next_node_long/explain_9.txt new file mode 100644 index 0000000000..b245ae84b9 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode_Nullable diff --git a/parser/testdata/01656_sequence_next_node_long/explain_90.txt b/parser/testdata/01656_sequence_next_node_long/explain_90.txt new file mode 100644 index 0000000000..0d50de5072 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_90.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode diff --git a/parser/testdata/01656_sequence_next_node_long/explain_91.txt b/parser/testdata/01656_sequence_next_node_long/explain_91.txt new file mode 100644 index 0000000000..0d50de5072 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_91.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode diff --git a/parser/testdata/01656_sequence_next_node_long/explain_92.txt b/parser/testdata/01656_sequence_next_node_long/explain_92.txt new file mode 100644 index 0000000000..0d50de5072 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_92.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode diff --git a/parser/testdata/01656_sequence_next_node_long/explain_93.txt b/parser/testdata/01656_sequence_next_node_long/explain_93.txt new file mode 100644 index 0000000000..0d50de5072 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_93.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode diff --git a/parser/testdata/01656_sequence_next_node_long/explain_94.txt b/parser/testdata/01656_sequence_next_node_long/explain_94.txt new file mode 100644 index 0000000000..0d50de5072 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_94.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode diff --git a/parser/testdata/01656_sequence_next_node_long/explain_95.txt b/parser/testdata/01656_sequence_next_node_long/explain_95.txt new file mode 100644 index 0000000000..0d50de5072 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_95.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode diff --git a/parser/testdata/01656_sequence_next_node_long/explain_96.txt b/parser/testdata/01656_sequence_next_node_long/explain_96.txt new file mode 100644 index 0000000000..0d50de5072 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_96.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode diff --git a/parser/testdata/01656_sequence_next_node_long/explain_97.txt b/parser/testdata/01656_sequence_next_node_long/explain_97.txt new file mode 100644 index 0000000000..0d50de5072 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_97.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode diff --git a/parser/testdata/01656_sequence_next_node_long/explain_98.txt b/parser/testdata/01656_sequence_next_node_long/explain_98.txt new file mode 100644 index 0000000000..0d50de5072 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_98.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode diff --git a/parser/testdata/01656_sequence_next_node_long/explain_99.txt b/parser/testdata/01656_sequence_next_node_long/explain_99.txt new file mode 100644 index 0000000000..0d50de5072 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain_99.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_sequenceNextNode diff --git a/parser/testdata/01656_test_query_log_factories_info/explain_21.txt b/parser/testdata/01656_test_query_log_factories_info/explain_21.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01656_test_query_log_factories_info/explain_21.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01656_test_query_log_factories_info/explain_25.txt b/parser/testdata/01656_test_query_log_factories_info/explain_25.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01656_test_query_log_factories_info/explain_25.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01656_test_query_log_factories_info/explain_6.txt b/parser/testdata/01656_test_query_log_factories_info/explain_6.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01656_test_query_log_factories_info/explain_6.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01658_values_ubsan/explain.txt b/parser/testdata/01658_values_ubsan/explain.txt index 756af90147..3f3f39b92a 100644 --- a/parser/testdata/01658_values_ubsan/explain.txt +++ b/parser/testdata/01658_values_ubsan/explain.txt @@ -14,4 +14,3 @@ SelectWithUnionQuery (children 1) Literal UInt64_1 Literal UInt64_2 Literal \'Hello\' -The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT * FROM VALUES('x UInt8, y UInt16', 1 + 2, 'Hello'); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/01660_join_or_all/explain_10.txt b/parser/testdata/01660_join_or_all/explain_10.txt new file mode 100644 index 0000000000..53b7a8ab4e --- /dev/null +++ b/parser/testdata/01660_join_or_all/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab2 diff --git a/parser/testdata/01660_join_or_all/explain_11.txt b/parser/testdata/01660_join_or_all/explain_11.txt new file mode 100644 index 0000000000..088994dd53 --- /dev/null +++ b/parser/testdata/01660_join_or_all/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab3 diff --git a/parser/testdata/01660_join_or_all/explain_12.txt b/parser/testdata/01660_join_or_all/explain_12.txt new file mode 100644 index 0000000000..088994dd53 --- /dev/null +++ b/parser/testdata/01660_join_or_all/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab3 diff --git a/parser/testdata/01660_join_or_all/explain_13.txt b/parser/testdata/01660_join_or_all/explain_13.txt new file mode 100644 index 0000000000..088994dd53 --- /dev/null +++ b/parser/testdata/01660_join_or_all/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab3 diff --git a/parser/testdata/01660_join_or_all/explain_8.txt b/parser/testdata/01660_join_or_all/explain_8.txt new file mode 100644 index 0000000000..0b0bc900fb --- /dev/null +++ b/parser/testdata/01660_join_or_all/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab1 diff --git a/parser/testdata/01660_join_or_all/explain_9.txt b/parser/testdata/01660_join_or_all/explain_9.txt new file mode 100644 index 0000000000..53b7a8ab4e --- /dev/null +++ b/parser/testdata/01660_join_or_all/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab2 diff --git a/parser/testdata/01660_join_or_any/explain_10.txt b/parser/testdata/01660_join_or_any/explain_10.txt new file mode 100644 index 0000000000..53b7a8ab4e --- /dev/null +++ b/parser/testdata/01660_join_or_any/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab2 diff --git a/parser/testdata/01660_join_or_any/explain_11.txt b/parser/testdata/01660_join_or_any/explain_11.txt new file mode 100644 index 0000000000..53b7a8ab4e --- /dev/null +++ b/parser/testdata/01660_join_or_any/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab2 diff --git a/parser/testdata/01660_join_or_any/explain_12.txt b/parser/testdata/01660_join_or_any/explain_12.txt new file mode 100644 index 0000000000..088994dd53 --- /dev/null +++ b/parser/testdata/01660_join_or_any/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab3 diff --git a/parser/testdata/01660_join_or_any/explain_13.txt b/parser/testdata/01660_join_or_any/explain_13.txt new file mode 100644 index 0000000000..088994dd53 --- /dev/null +++ b/parser/testdata/01660_join_or_any/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab3 diff --git a/parser/testdata/01660_join_or_any/explain_14.txt b/parser/testdata/01660_join_or_any/explain_14.txt new file mode 100644 index 0000000000..088994dd53 --- /dev/null +++ b/parser/testdata/01660_join_or_any/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab3 diff --git a/parser/testdata/01660_join_or_any/explain_9.txt b/parser/testdata/01660_join_or_any/explain_9.txt new file mode 100644 index 0000000000..0b0bc900fb --- /dev/null +++ b/parser/testdata/01660_join_or_any/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab1 diff --git a/parser/testdata/01660_join_or_inner/explain_10.txt b/parser/testdata/01660_join_or_inner/explain_10.txt new file mode 100644 index 0000000000..088994dd53 --- /dev/null +++ b/parser/testdata/01660_join_or_inner/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab3 diff --git a/parser/testdata/01660_join_or_inner/explain_11.txt b/parser/testdata/01660_join_or_inner/explain_11.txt new file mode 100644 index 0000000000..088994dd53 --- /dev/null +++ b/parser/testdata/01660_join_or_inner/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab3 diff --git a/parser/testdata/01660_join_or_inner/explain_12.txt b/parser/testdata/01660_join_or_inner/explain_12.txt new file mode 100644 index 0000000000..088994dd53 --- /dev/null +++ b/parser/testdata/01660_join_or_inner/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab3 diff --git a/parser/testdata/01660_join_or_inner/explain_6.txt b/parser/testdata/01660_join_or_inner/explain_6.txt new file mode 100644 index 0000000000..53b7a8ab4e --- /dev/null +++ b/parser/testdata/01660_join_or_inner/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab2 diff --git a/parser/testdata/01660_join_or_inner/explain_7.txt b/parser/testdata/01660_join_or_inner/explain_7.txt new file mode 100644 index 0000000000..53b7a8ab4e --- /dev/null +++ b/parser/testdata/01660_join_or_inner/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab2 diff --git a/parser/testdata/01660_join_or_inner/explain_8.txt b/parser/testdata/01660_join_or_inner/explain_8.txt new file mode 100644 index 0000000000..53b7a8ab4e --- /dev/null +++ b/parser/testdata/01660_join_or_inner/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab2 diff --git a/parser/testdata/01660_join_or_inner/explain_9.txt b/parser/testdata/01660_join_or_inner/explain_9.txt new file mode 100644 index 0000000000..088994dd53 --- /dev/null +++ b/parser/testdata/01660_join_or_inner/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab3 diff --git a/parser/testdata/01660_join_or_subqueries/explain_7.txt b/parser/testdata/01660_join_or_subqueries/explain_7.txt new file mode 100644 index 0000000000..0b0bc900fb --- /dev/null +++ b/parser/testdata/01660_join_or_subqueries/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab1 diff --git a/parser/testdata/01660_join_or_subqueries/explain_8.txt b/parser/testdata/01660_join_or_subqueries/explain_8.txt new file mode 100644 index 0000000000..53b7a8ab4e --- /dev/null +++ b/parser/testdata/01660_join_or_subqueries/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab2 diff --git a/parser/testdata/01660_join_or_subqueries/explain_9.txt b/parser/testdata/01660_join_or_subqueries/explain_9.txt new file mode 100644 index 0000000000..53b7a8ab4e --- /dev/null +++ b/parser/testdata/01660_join_or_subqueries/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab2 diff --git a/parser/testdata/01660_second_extremes_bug/explain_6.txt b/parser/testdata/01660_second_extremes_bug/explain_6.txt index 9061faf210..85a6c21934 100644 --- a/parser/testdata/01660_second_extremes_bug/explain_6.txt +++ b/parser/testdata/01660_second_extremes_bug/explain_6.txt @@ -1,12 +1,11 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) TableIdentifier t_v - Set Identifier JSON Set diff --git a/parser/testdata/01660_system_parts_smoke/explain_11.txt b/parser/testdata/01660_system_parts_smoke/explain_11.txt new file mode 100644 index 0000000000..4e3c0bd6a5 --- /dev/null +++ b/parser/testdata/01660_system_parts_smoke/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data_01660 diff --git a/parser/testdata/01660_system_parts_smoke/explain_12.txt b/parser/testdata/01660_system_parts_smoke/explain_12.txt new file mode 100644 index 0000000000..4e3c0bd6a5 --- /dev/null +++ b/parser/testdata/01660_system_parts_smoke/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data_01660 diff --git a/parser/testdata/01661_extract_all_groups_throw_fast/explain.txt b/parser/testdata/01661_extract_all_groups_throw_fast/explain.txt index 4cfa24c79c..77f29f12cb 100644 --- a/parser/testdata/01661_extract_all_groups_throw_fast/explain.txt +++ b/parser/testdata/01661_extract_all_groups_throw_fast/explain.txt @@ -19,4 +19,3 @@ SelectWithUnionQuery (children 1) Function numbers (children 1) ExpressionList (children 1) Literal UInt64_1023 -The query succeeded but the server error '128' was expected (query: EXPLAIN AST SELECT repeat('abcdefghijklmnopqrstuvwxyz', number * 100) AS haystack, extractAllGroupsHorizontal(haystack, '(\\w)') AS matches FROM numbers(1023); -- { serverError TOO_LARGE_ARRAY_SIZE }). diff --git a/parser/testdata/01661_join_complex/explain_10.txt b/parser/testdata/01661_join_complex/explain_10.txt new file mode 100644 index 0000000000..01c503b9c5 --- /dev/null +++ b/parser/testdata/01661_join_complex/explain_10.txt @@ -0,0 +1,105 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias t1) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 3) + SelectQuery (children 1) + ExpressionList (children 6) + Literal \'1\' (alias a) + Literal \'X\' (alias b) + Literal \'Y\' (alias c) + Literal \'Z\' (alias d) + Literal \'W\' (alias e) + Literal \'V1\' (alias f) + SelectQuery (children 1) + ExpressionList (children 6) + Literal \'2\' + Literal \'A\' + Literal \'B\' + Literal \'C\' + Literal \'D\' + Literal \'E1\' + SelectQuery (children 1) + ExpressionList (children 6) + Literal \'3\' + Literal \'F\' + Literal \'G\' + Literal \'H\' + Literal \'I\' + Literal \'J1\' + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias t2) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 3) + SelectQuery (children 1) + ExpressionList (children 6) + Literal \'1\' (alias a) + Literal \'X\' (alias b) + Literal \'P\' (alias c) + Literal \'Z\' (alias d) + Literal \'W\' (alias e) + Literal \'V1\' (alias f) + SelectQuery (children 1) + ExpressionList (children 6) + Literal \'2\' + Literal \'B\' + Literal \'Q\' + Literal \'C\' + Literal \'D\' + Literal \'E1\' + SelectQuery (children 1) + ExpressionList (children 6) + Literal \'4\' + Literal \'L\' + Literal \'M\' + Literal \'N\' + Literal \'O\' + Literal \'P1\' + TableJoin (children 1) + Function or (children 1) + ExpressionList (children 2) + Function or (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Identifier t1.d + Identifier t2.b + Function equals (children 1) + ExpressionList (children 2) + Identifier t1.c + Identifier t2.b + Function and (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier t1.d + Identifier t2.b + Function equals (children 1) + ExpressionList (children 2) + Identifier t1.d + Identifier t2.b + Function and (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Identifier t1.e + Identifier t2.e + Function equals (children 1) + ExpressionList (children 2) + Identifier t1.a + Identifier t2.a + Function equals (children 1) + ExpressionList (children 2) + Identifier t2.f + Identifier t1.f + ExpressionList (children 1) + OrderByElement (children 1) + Identifier ALL + Set diff --git a/parser/testdata/01661_join_complex/explain_12.txt b/parser/testdata/01661_join_complex/explain_12.txt new file mode 100644 index 0000000000..ea2654cbff --- /dev/null +++ b/parser/testdata/01661_join_complex/explain_12.txt @@ -0,0 +1,85 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias t1) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 3) + SelectQuery (children 1) + ExpressionList (children 6) + Literal \'1\' (alias a) + Literal \'X\' (alias b) + Literal \'Y\' (alias c) + Literal \'Z\' (alias d) + Literal \'W\' (alias e) + Literal \'V1\' (alias f) + SelectQuery (children 1) + ExpressionList (children 6) + Literal \'2\' + Literal \'A\' + Literal \'B\' + Literal \'C\' + Literal \'D\' + Literal \'E1\' + SelectQuery (children 1) + ExpressionList (children 6) + Literal \'3\' + Literal \'F\' + Literal \'G\' + Literal \'H\' + Literal \'I\' + Literal \'J1\' + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias t2) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 3) + SelectQuery (children 1) + ExpressionList (children 6) + Literal \'1\' (alias a) + Literal \'X\' (alias b) + Literal \'P\' (alias c) + Literal \'Z\' (alias d) + Literal \'W\' (alias e) + Literal \'V1\' (alias f) + SelectQuery (children 1) + ExpressionList (children 6) + Literal \'2\' + Literal \'B\' + Literal \'Q\' + Literal \'C\' + Literal \'D\' + Literal \'E1\' + SelectQuery (children 1) + ExpressionList (children 6) + Literal \'4\' + Literal \'L\' + Literal \'M\' + Literal \'N\' + Literal \'O\' + Literal \'P1\' + TableJoin (children 1) + Function or (children 1) + ExpressionList (children 2) + Function or (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier t1.d + Identifier t2.b + Function equals (children 1) + ExpressionList (children 2) + Identifier t1.c + Identifier t2.b + Function equals (children 1) + ExpressionList (children 2) + Identifier t1.e + Identifier t2.e + ExpressionList (children 1) + OrderByElement (children 1) + Identifier ALL + Set diff --git a/parser/testdata/01661_join_complex/explain_14.txt b/parser/testdata/01661_join_complex/explain_14.txt new file mode 100644 index 0000000000..66e028898a --- /dev/null +++ b/parser/testdata/01661_join_complex/explain_14.txt @@ -0,0 +1,95 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias t1) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 3) + SelectQuery (children 1) + ExpressionList (children 6) + Literal \'1\' (alias a) + Literal \'X\' (alias b) + Literal \'Y\' (alias c) + Literal \'Z\' (alias d) + Literal \'W\' (alias e) + Literal \'V1\' (alias f) + SelectQuery (children 1) + ExpressionList (children 6) + Literal \'2\' + Literal \'A\' + Literal \'B\' + Literal \'C\' + Literal \'D\' + Literal \'E1\' + SelectQuery (children 1) + ExpressionList (children 6) + Literal \'3\' + Literal \'F\' + Literal \'G\' + Literal \'H\' + Literal \'I\' + Literal \'J1\' + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias t2) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 3) + SelectQuery (children 1) + ExpressionList (children 6) + Literal \'1\' (alias a) + Literal \'X\' (alias b) + Literal \'P\' (alias c) + Literal \'Z\' (alias d) + Literal \'W\' (alias e) + Literal \'V1\' (alias f) + SelectQuery (children 1) + ExpressionList (children 6) + Literal \'2\' + Literal \'B\' + Literal \'Q\' + Literal \'C\' + Literal \'D\' + Literal \'E1\' + SelectQuery (children 1) + ExpressionList (children 6) + Literal \'4\' + Literal \'L\' + Literal \'M\' + Literal \'N\' + Literal \'O\' + Literal \'P1\' + TableJoin (children 1) + Function or (children 1) + ExpressionList (children 2) + Function or (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier t1.d + Identifier t2.b + Function equals (children 1) + ExpressionList (children 2) + Identifier t1.c + Identifier t2.b + Function and (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Identifier t1.e + Identifier t2.e + Function equals (children 1) + ExpressionList (children 2) + Identifier t1.a + Identifier t2.a + Function equals (children 1) + ExpressionList (children 2) + Identifier t2.f + Identifier t1.f + ExpressionList (children 1) + OrderByElement (children 1) + Identifier ALL + Set diff --git a/parser/testdata/01661_join_complex/explain_15.txt b/parser/testdata/01661_join_complex/explain_15.txt new file mode 100644 index 0000000000..266e0521f3 --- /dev/null +++ b/parser/testdata/01661_join_complex/explain_15.txt @@ -0,0 +1,73 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias t1) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 6) + Literal \'a\' (alias a) + Literal \'b\' (alias b) + Literal \'c\' (alias c) + Literal \'d\' (alias d) + Literal \'e\' (alias e) + Literal \'f\' (alias f) + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias t2) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 6) + Literal \'a\' (alias a) + Literal \'b\' (alias b) + Literal \'c\' (alias c) + Literal \'d\' (alias d) + Literal \'e\' (alias e) + Literal \'f\' (alias f) + TableJoin (children 1) + Function or (children 1) + ExpressionList (children 2) + Function or (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Identifier t1.d + Identifier t2.b + Function equals (children 1) + ExpressionList (children 2) + Identifier t1.c + Identifier t2.b + Function and (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier t1.d + Identifier t2.b + Function equals (children 1) + ExpressionList (children 2) + Identifier t1.d + Identifier t2.b + Function and (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Identifier t1.e + Identifier t2.e + Function equals (children 1) + ExpressionList (children 2) + Identifier t1.a + Identifier t2.a + Function equals (children 1) + ExpressionList (children 2) + Identifier t2.f + Identifier t1.f + ExpressionList (children 1) + OrderByElement (children 1) + Identifier ALL + Set diff --git a/parser/testdata/01661_join_complex/explain_16.txt b/parser/testdata/01661_join_complex/explain_16.txt new file mode 100644 index 0000000000..1a79578b11 --- /dev/null +++ b/parser/testdata/01661_join_complex/explain_16.txt @@ -0,0 +1,53 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias t1) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 6) + Literal \'a\' (alias a) + Literal \'b\' (alias b) + Literal \'c\' (alias c) + Literal \'d\' (alias d) + Literal \'e\' (alias e) + Literal \'f\' (alias f) + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias t2) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 6) + Literal \'a\' (alias a) + Literal \'b\' (alias b) + Literal \'c\' (alias c) + Literal \'d\' (alias d) + Literal \'e\' (alias e) + Literal \'f\' (alias f) + TableJoin (children 1) + Function or (children 1) + ExpressionList (children 2) + Function or (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier t1.d + Identifier t2.b + Function equals (children 1) + ExpressionList (children 2) + Identifier t1.c + Identifier t2.b + Function equals (children 1) + ExpressionList (children 2) + Identifier t1.e + Identifier t2.e + ExpressionList (children 1) + OrderByElement (children 1) + Identifier ALL + Set diff --git a/parser/testdata/01661_join_complex/explain_17.txt b/parser/testdata/01661_join_complex/explain_17.txt new file mode 100644 index 0000000000..6af2f17e2e --- /dev/null +++ b/parser/testdata/01661_join_complex/explain_17.txt @@ -0,0 +1,63 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias t1) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 6) + Literal \'a\' (alias a) + Literal \'b\' (alias b) + Literal \'c\' (alias c) + Literal \'d\' (alias d) + Literal \'e\' (alias e) + Literal \'f\' (alias f) + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias t2) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 6) + Literal \'a\' (alias a) + Literal \'b\' (alias b) + Literal \'c\' (alias c) + Literal \'d\' (alias d) + Literal \'e\' (alias e) + Literal \'f\' (alias f) + TableJoin (children 1) + Function or (children 1) + ExpressionList (children 2) + Function or (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier t1.d + Identifier t2.b + Function equals (children 1) + ExpressionList (children 2) + Identifier t1.c + Identifier t2.b + Function and (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Identifier t1.e + Identifier t2.e + Function equals (children 1) + ExpressionList (children 2) + Identifier t1.a + Identifier t2.a + Function equals (children 1) + ExpressionList (children 2) + Identifier t2.f + Identifier t1.f + ExpressionList (children 1) + OrderByElement (children 1) + Identifier ALL + Set diff --git a/parser/testdata/01661_join_complex/explain_25.txt b/parser/testdata/01661_join_complex/explain_25.txt new file mode 100644 index 0000000000..53b7a8ab4e --- /dev/null +++ b/parser/testdata/01661_join_complex/explain_25.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab2 diff --git a/parser/testdata/01661_join_complex/explain_26.txt b/parser/testdata/01661_join_complex/explain_26.txt new file mode 100644 index 0000000000..53b7a8ab4e --- /dev/null +++ b/parser/testdata/01661_join_complex/explain_26.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab2 diff --git a/parser/testdata/01661_join_complex/explain_27.txt b/parser/testdata/01661_join_complex/explain_27.txt new file mode 100644 index 0000000000..088994dd53 --- /dev/null +++ b/parser/testdata/01661_join_complex/explain_27.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab3 diff --git a/parser/testdata/01661_join_complex/explain_28.txt b/parser/testdata/01661_join_complex/explain_28.txt new file mode 100644 index 0000000000..088994dd53 --- /dev/null +++ b/parser/testdata/01661_join_complex/explain_28.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab3 diff --git a/parser/testdata/01661_join_complex/explain_29.txt b/parser/testdata/01661_join_complex/explain_29.txt new file mode 100644 index 0000000000..088994dd53 --- /dev/null +++ b/parser/testdata/01661_join_complex/explain_29.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab3 diff --git a/parser/testdata/01661_week_functions_string_args/explain_11.txt b/parser/testdata/01661_week_functions_string_args/explain_11.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/01661_week_functions_string_args/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/01661_week_functions_string_args/explain_12.txt b/parser/testdata/01661_week_functions_string_args/explain_12.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/01661_week_functions_string_args/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/01661_week_functions_string_args/explain_13.txt b/parser/testdata/01661_week_functions_string_args/explain_13.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/01661_week_functions_string_args/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/01661_week_functions_string_args/explain_14.txt b/parser/testdata/01661_week_functions_string_args/explain_14.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/01661_week_functions_string_args/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/01665_merge_tree_min_for_concurrent_read/explain_3.txt b/parser/testdata/01665_merge_tree_min_for_concurrent_read/explain_3.txt new file mode 100644 index 0000000000..9ccda8b73c --- /dev/null +++ b/parser/testdata/01665_merge_tree_min_for_concurrent_read/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data_01655 diff --git a/parser/testdata/01666_blns_long/explain.txt b/parser/testdata/01666_blns_long/explain.txt new file mode 100644 index 0000000000..cb1142253f --- /dev/null +++ b/parser/testdata/01666_blns_long/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01666_blns_long/explain_9.txt b/parser/testdata/01666_blns_long/explain_9.txt new file mode 100644 index 0000000000..b091b48e33 --- /dev/null +++ b/parser/testdata/01666_blns_long/explain_9.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 1) + Identifier 1 diff --git a/parser/testdata/01666_gcd_ubsan/explain.txt b/parser/testdata/01666_gcd_ubsan/explain.txt index 6299d2116d..929ba0d87d 100644 --- a/parser/testdata/01666_gcd_ubsan/explain.txt +++ b/parser/testdata/01666_gcd_ubsan/explain.txt @@ -6,4 +6,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Literal UInt64_9223372036854775807 Literal Int64_-9223372036854775808 -The query succeeded but the server error '407' was expected (query: EXPLAIN AST SELECT gcd(9223372036854775807, -9223372036854775808); -- { serverError DECIMAL_OVERFLOW }). diff --git a/parser/testdata/01666_lcm_ubsan/explain.txt b/parser/testdata/01666_lcm_ubsan/explain.txt index bcb8da2fa2..008279d186 100644 --- a/parser/testdata/01666_lcm_ubsan/explain.txt +++ b/parser/testdata/01666_lcm_ubsan/explain.txt @@ -6,4 +6,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Literal UInt64_9223372036854775807 Literal Int64_-9223372036854775808 -The query succeeded but the server error '407' was expected (query: EXPLAIN AST SELECT lcm(9223372036854775807, -9223372036854775808); -- { serverError DECIMAL_OVERFLOW }). diff --git a/parser/testdata/01667_aes_args_check/explain.txt b/parser/testdata/01667_aes_args_check/explain.txt index de4080d1db..48e42d8b41 100644 --- a/parser/testdata/01667_aes_args_check/explain.txt +++ b/parser/testdata/01667_aes_args_check/explain.txt @@ -7,4 +7,3 @@ SelectWithUnionQuery (children 1) Literal \'aes-128-ecb\' Literal Array_[UInt64_1, Int64_-1, UInt64_0, NULL] Literal \'text\' -The query succeeded but the server error '43' was expected (query: EXPLAIN AST SELECT encrypt('aes-128-ecb', [1, -1, 0, NULL], 'text'); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }). diff --git a/parser/testdata/01669_columns_declaration_serde_long/explain.txt b/parser/testdata/01669_columns_declaration_serde_long/explain.txt new file mode 100644 index 0000000000..df4f4f4a0f --- /dev/null +++ b/parser/testdata/01669_columns_declaration_serde_long/explain.txt @@ -0,0 +1,10 @@ +CreateQuery test (children 2) + Identifier test + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration \\ (children 2) + DataType String + Function concat (children 1) + ExpressionList (children 2) + Literal \'\\r\\n\\t\\\\\' + Literal \' \' diff --git a/parser/testdata/01669_columns_declaration_serde_long/explain_14.txt b/parser/testdata/01669_columns_declaration_serde_long/explain_14.txt new file mode 100644 index 0000000000..83e62d6d1e --- /dev/null +++ b/parser/testdata/01669_columns_declaration_serde_long/explain_14.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test_r1 + ExpressionList (children 1) + Identifier \\ diff --git a/parser/testdata/01669_columns_declaration_serde_long/explain_2.txt b/parser/testdata/01669_columns_declaration_serde_long/explain_2.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/01669_columns_declaration_serde_long/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/01669_columns_declaration_serde_long/explain_3.txt b/parser/testdata/01669_columns_declaration_serde_long/explain_3.txt new file mode 100644 index 0000000000..977b78f76b --- /dev/null +++ b/parser/testdata/01669_columns_declaration_serde_long/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 1) + Identifier \\ diff --git a/parser/testdata/01669_columns_declaration_serde_long/explain_8.txt b/parser/testdata/01669_columns_declaration_serde_long/explain_8.txt new file mode 100644 index 0000000000..92a7dabd1b --- /dev/null +++ b/parser/testdata/01669_columns_declaration_serde_long/explain_8.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/01670_dictionary_create_key_expression/explain_3.txt b/parser/testdata/01670_dictionary_create_key_expression/explain_3.txt new file mode 100644 index 0000000000..8164ac7dbd --- /dev/null +++ b/parser/testdata/01670_dictionary_create_key_expression/explain_3.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier database_dictionary_test_key_expression + Identifier test_for_dictionary diff --git a/parser/testdata/01670_log_comment/explain_3.txt b/parser/testdata/01670_log_comment/explain_3.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01670_log_comment/explain_3.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01670_neighbor_lc_bug/explain_6.txt b/parser/testdata/01670_neighbor_lc_bug/explain_6.txt new file mode 100644 index 0000000000..ef4f2911e6 --- /dev/null +++ b/parser/testdata/01670_neighbor_lc_bug/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier neighbor_test diff --git a/parser/testdata/01670_sign_function/explain_6.txt b/parser/testdata/01670_sign_function/explain_6.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/01670_sign_function/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/01671_merge_join_and_constants/explain_10.txt b/parser/testdata/01671_merge_join_and_constants/explain_10.txt index d1f7979982..7a61f7a83d 100644 --- a/parser/testdata/01671_merge_join_and_constants/explain_10.txt +++ b/parser/testdata/01671_merge_join_and_constants/explain_10.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 4) + SelectQuery (children 3) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 2) @@ -31,6 +31,5 @@ SelectWithUnionQuery (children 3) Identifier d OrderByElement (children 1) Identifier t1.a - Set Identifier PrettyCompact Set diff --git a/parser/testdata/01671_merge_join_and_constants/explain_7.txt b/parser/testdata/01671_merge_join_and_constants/explain_7.txt new file mode 100644 index 0000000000..05c1b71925 --- /dev/null +++ b/parser/testdata/01671_merge_join_and_constants/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table1 diff --git a/parser/testdata/01671_merge_join_and_constants/explain_8.txt b/parser/testdata/01671_merge_join_and_constants/explain_8.txt new file mode 100644 index 0000000000..c00312da5a --- /dev/null +++ b/parser/testdata/01671_merge_join_and_constants/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table2 diff --git a/parser/testdata/01674_htm_xml_coarse_parse/explain_8.txt b/parser/testdata/01674_htm_xml_coarse_parse/explain_8.txt new file mode 100644 index 0000000000..c4bde7d911 --- /dev/null +++ b/parser/testdata/01674_htm_xml_coarse_parse/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier defaults diff --git a/parser/testdata/01676_dictget_in_default_expression/explain_16.txt b/parser/testdata/01676_dictget_in_default_expression/explain_16.txt new file mode 100644 index 0000000000..c4a8cb3945 --- /dev/null +++ b/parser/testdata/01676_dictget_in_default_expression/explain_16.txt @@ -0,0 +1,5 @@ +InsertQuery (children 3) + Identifier test_01676 + Identifier table + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/01676_dictget_in_default_expression/explain_4.txt b/parser/testdata/01676_dictget_in_default_expression/explain_4.txt new file mode 100644 index 0000000000..5b92995989 --- /dev/null +++ b/parser/testdata/01676_dictget_in_default_expression/explain_4.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier test_01676 + Identifier dict_data diff --git a/parser/testdata/01676_dictget_in_default_expression/explain_7.txt b/parser/testdata/01676_dictget_in_default_expression/explain_7.txt new file mode 100644 index 0000000000..c4a8cb3945 --- /dev/null +++ b/parser/testdata/01676_dictget_in_default_expression/explain_7.txt @@ -0,0 +1,5 @@ +InsertQuery (children 3) + Identifier test_01676 + Identifier table + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/01676_dictget_in_default_expression/explain_8.txt b/parser/testdata/01676_dictget_in_default_expression/explain_8.txt new file mode 100644 index 0000000000..f7dc0e1823 --- /dev/null +++ b/parser/testdata/01676_dictget_in_default_expression/explain_8.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier test_01676 + Identifier table diff --git a/parser/testdata/01676_range_hashed_dictionary/explain_2.txt b/parser/testdata/01676_range_hashed_dictionary/explain_2.txt new file mode 100644 index 0000000000..f25193c794 --- /dev/null +++ b/parser/testdata/01676_range_hashed_dictionary/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier date_table diff --git a/parser/testdata/01676_range_hashed_dictionary/explain_3.txt b/parser/testdata/01676_range_hashed_dictionary/explain_3.txt new file mode 100644 index 0000000000..f25193c794 --- /dev/null +++ b/parser/testdata/01676_range_hashed_dictionary/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier date_table diff --git a/parser/testdata/01676_range_hashed_dictionary/explain_30.txt b/parser/testdata/01676_range_hashed_dictionary/explain_30.txt new file mode 100644 index 0000000000..f25193c794 --- /dev/null +++ b/parser/testdata/01676_range_hashed_dictionary/explain_30.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier date_table diff --git a/parser/testdata/01676_range_hashed_dictionary/explain_31.txt b/parser/testdata/01676_range_hashed_dictionary/explain_31.txt new file mode 100644 index 0000000000..f25193c794 --- /dev/null +++ b/parser/testdata/01676_range_hashed_dictionary/explain_31.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier date_table diff --git a/parser/testdata/01676_range_hashed_dictionary/explain_32.txt b/parser/testdata/01676_range_hashed_dictionary/explain_32.txt new file mode 100644 index 0000000000..f25193c794 --- /dev/null +++ b/parser/testdata/01676_range_hashed_dictionary/explain_32.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier date_table diff --git a/parser/testdata/01676_range_hashed_dictionary/explain_4.txt b/parser/testdata/01676_range_hashed_dictionary/explain_4.txt new file mode 100644 index 0000000000..f25193c794 --- /dev/null +++ b/parser/testdata/01676_range_hashed_dictionary/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier date_table diff --git a/parser/testdata/01677_bit_float/explain.txt b/parser/testdata/01677_bit_float/explain.txt index 4bc343ee59..2261d553ec 100644 --- a/parser/testdata/01677_bit_float/explain.txt +++ b/parser/testdata/01677_bit_float/explain.txt @@ -6,4 +6,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Literal UInt64_0 Literal Float64_inf -The query succeeded but the server error '43' was expected (query: EXPLAIN AST SELECT bitAnd(0, inf); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }). diff --git a/parser/testdata/01680_date_time_add_ubsan/explain.txt b/parser/testdata/01680_date_time_add_ubsan/explain.txt index c548592e11..c0aa3d351e 100644 --- a/parser/testdata/01680_date_time_add_ubsan/explain.txt +++ b/parser/testdata/01680_date_time_add_ubsan/explain.txt @@ -41,4 +41,3 @@ SelectWithUnionQuery (children 2) OrderByElement (children 1) Identifier result Identifier Null -The query succeeded but the server error '407' was expected (query: EXPLAIN AST SELECT DISTINCT result FROM (SELECT toStartOfFifteenMinutes(toDateTime(toStartOfFifteenMinutes(toDateTime(1000.0001220703125) + (number * 65536))) + (number * 9223372036854775807)) AS result FROM system.numbers LIMIT 1048576) ORDER BY result DESC NULLS FIRST FORMAT Null; -- { serverError DECIMAL_OVERFLOW }). diff --git a/parser/testdata/01681_bloom_filter_nullable_column/explain_17.txt b/parser/testdata/01681_bloom_filter_nullable_column/explain_17.txt new file mode 100644 index 0000000000..f8a837ed72 --- /dev/null +++ b/parser/testdata/01681_bloom_filter_nullable_column/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nullable_string_value diff --git a/parser/testdata/01681_bloom_filter_nullable_column/explain_3.txt b/parser/testdata/01681_bloom_filter_nullable_column/explain_3.txt new file mode 100644 index 0000000000..aeb1ab0eef --- /dev/null +++ b/parser/testdata/01681_bloom_filter_nullable_column/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier bloom_filter_nullable_index diff --git a/parser/testdata/01681_bloom_filter_nullable_column/explain_4.txt b/parser/testdata/01681_bloom_filter_nullable_column/explain_4.txt new file mode 100644 index 0000000000..aeb1ab0eef --- /dev/null +++ b/parser/testdata/01681_bloom_filter_nullable_column/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier bloom_filter_nullable_index diff --git a/parser/testdata/01681_cache_dictionary_simple_key/explain_24.txt b/parser/testdata/01681_cache_dictionary_simple_key/explain_24.txt new file mode 100644 index 0000000000..291766f0c2 --- /dev/null +++ b/parser/testdata/01681_cache_dictionary_simple_key/explain_24.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01681_database_for_cache_dictionary + Identifier simple_key_complex_attributes_source_table diff --git a/parser/testdata/01681_cache_dictionary_simple_key/explain_25.txt b/parser/testdata/01681_cache_dictionary_simple_key/explain_25.txt new file mode 100644 index 0000000000..291766f0c2 --- /dev/null +++ b/parser/testdata/01681_cache_dictionary_simple_key/explain_25.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01681_database_for_cache_dictionary + Identifier simple_key_complex_attributes_source_table diff --git a/parser/testdata/01681_cache_dictionary_simple_key/explain_26.txt b/parser/testdata/01681_cache_dictionary_simple_key/explain_26.txt new file mode 100644 index 0000000000..291766f0c2 --- /dev/null +++ b/parser/testdata/01681_cache_dictionary_simple_key/explain_26.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01681_database_for_cache_dictionary + Identifier simple_key_complex_attributes_source_table diff --git a/parser/testdata/01681_cache_dictionary_simple_key/explain_4.txt b/parser/testdata/01681_cache_dictionary_simple_key/explain_4.txt new file mode 100644 index 0000000000..3983781202 --- /dev/null +++ b/parser/testdata/01681_cache_dictionary_simple_key/explain_4.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01681_database_for_cache_dictionary + Identifier simple_key_simple_attributes_source_table diff --git a/parser/testdata/01681_cache_dictionary_simple_key/explain_44.txt b/parser/testdata/01681_cache_dictionary_simple_key/explain_44.txt new file mode 100644 index 0000000000..f1e358f206 --- /dev/null +++ b/parser/testdata/01681_cache_dictionary_simple_key/explain_44.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01681_database_for_cache_dictionary + Identifier simple_key_hierarchy_table diff --git a/parser/testdata/01681_cache_dictionary_simple_key/explain_45.txt b/parser/testdata/01681_cache_dictionary_simple_key/explain_45.txt new file mode 100644 index 0000000000..f1e358f206 --- /dev/null +++ b/parser/testdata/01681_cache_dictionary_simple_key/explain_45.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01681_database_for_cache_dictionary + Identifier simple_key_hierarchy_table diff --git a/parser/testdata/01681_cache_dictionary_simple_key/explain_46.txt b/parser/testdata/01681_cache_dictionary_simple_key/explain_46.txt new file mode 100644 index 0000000000..f1e358f206 --- /dev/null +++ b/parser/testdata/01681_cache_dictionary_simple_key/explain_46.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01681_database_for_cache_dictionary + Identifier simple_key_hierarchy_table diff --git a/parser/testdata/01681_cache_dictionary_simple_key/explain_47.txt b/parser/testdata/01681_cache_dictionary_simple_key/explain_47.txt new file mode 100644 index 0000000000..f1e358f206 --- /dev/null +++ b/parser/testdata/01681_cache_dictionary_simple_key/explain_47.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01681_database_for_cache_dictionary + Identifier simple_key_hierarchy_table diff --git a/parser/testdata/01681_cache_dictionary_simple_key/explain_5.txt b/parser/testdata/01681_cache_dictionary_simple_key/explain_5.txt new file mode 100644 index 0000000000..3983781202 --- /dev/null +++ b/parser/testdata/01681_cache_dictionary_simple_key/explain_5.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01681_database_for_cache_dictionary + Identifier simple_key_simple_attributes_source_table diff --git a/parser/testdata/01681_cache_dictionary_simple_key/explain_6.txt b/parser/testdata/01681_cache_dictionary_simple_key/explain_6.txt new file mode 100644 index 0000000000..3983781202 --- /dev/null +++ b/parser/testdata/01681_cache_dictionary_simple_key/explain_6.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01681_database_for_cache_dictionary + Identifier simple_key_simple_attributes_source_table diff --git a/parser/testdata/01682_cache_dictionary_complex_key/explain_24.txt b/parser/testdata/01682_cache_dictionary_complex_key/explain_24.txt new file mode 100644 index 0000000000..eae971f490 --- /dev/null +++ b/parser/testdata/01682_cache_dictionary_complex_key/explain_24.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01682_database_for_cache_dictionary + Identifier complex_key_complex_attributes_source_table diff --git a/parser/testdata/01682_cache_dictionary_complex_key/explain_25.txt b/parser/testdata/01682_cache_dictionary_complex_key/explain_25.txt new file mode 100644 index 0000000000..eae971f490 --- /dev/null +++ b/parser/testdata/01682_cache_dictionary_complex_key/explain_25.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01682_database_for_cache_dictionary + Identifier complex_key_complex_attributes_source_table diff --git a/parser/testdata/01682_cache_dictionary_complex_key/explain_26.txt b/parser/testdata/01682_cache_dictionary_complex_key/explain_26.txt new file mode 100644 index 0000000000..eae971f490 --- /dev/null +++ b/parser/testdata/01682_cache_dictionary_complex_key/explain_26.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01682_database_for_cache_dictionary + Identifier complex_key_complex_attributes_source_table diff --git a/parser/testdata/01682_cache_dictionary_complex_key/explain_4.txt b/parser/testdata/01682_cache_dictionary_complex_key/explain_4.txt new file mode 100644 index 0000000000..a465304401 --- /dev/null +++ b/parser/testdata/01682_cache_dictionary_complex_key/explain_4.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01682_database_for_cache_dictionary + Identifier complex_key_simple_attributes_source_table diff --git a/parser/testdata/01682_cache_dictionary_complex_key/explain_5.txt b/parser/testdata/01682_cache_dictionary_complex_key/explain_5.txt new file mode 100644 index 0000000000..a465304401 --- /dev/null +++ b/parser/testdata/01682_cache_dictionary_complex_key/explain_5.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01682_database_for_cache_dictionary + Identifier complex_key_simple_attributes_source_table diff --git a/parser/testdata/01682_cache_dictionary_complex_key/explain_6.txt b/parser/testdata/01682_cache_dictionary_complex_key/explain_6.txt new file mode 100644 index 0000000000..a465304401 --- /dev/null +++ b/parser/testdata/01682_cache_dictionary_complex_key/explain_6.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01682_database_for_cache_dictionary + Identifier complex_key_simple_attributes_source_table diff --git a/parser/testdata/01682_gather_utils_ubsan/explain.txt b/parser/testdata/01682_gather_utils_ubsan/explain.txt index fdccdd4be4..bef999a9e9 100644 --- a/parser/testdata/01682_gather_utils_ubsan/explain.txt +++ b/parser/testdata/01682_gather_utils_ubsan/explain.txt @@ -6,4 +6,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Literal Array_[UInt64_1, UInt64_2, UInt64_3] Literal Int64_-9223372036854775808 -The query succeeded but the server error '128' was expected (query: EXPLAIN AST SELECT arrayResize([1, 2, 3], -9223372036854775808); -- { serverError TOO_LARGE_ARRAY_SIZE }). diff --git a/parser/testdata/01683_codec_encrypted/explain_3.txt b/parser/testdata/01683_codec_encrypted/explain_3.txt new file mode 100644 index 0000000000..aa80ce8148 --- /dev/null +++ b/parser/testdata/01683_codec_encrypted/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier encryption_test diff --git a/parser/testdata/01683_codec_encrypted/explain_7.txt b/parser/testdata/01683_codec_encrypted/explain_7.txt new file mode 100644 index 0000000000..aa80ce8148 --- /dev/null +++ b/parser/testdata/01683_codec_encrypted/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier encryption_test diff --git a/parser/testdata/01683_dist_INSERT_block_structure_mismatch/explain_10.txt b/parser/testdata/01683_dist_INSERT_block_structure_mismatch/explain_10.txt new file mode 100644 index 0000000000..bce9c5b938 --- /dev/null +++ b/parser/testdata/01683_dist_INSERT_block_structure_mismatch/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dist_01683 diff --git a/parser/testdata/01683_dist_INSERT_block_structure_mismatch/explain_8.txt b/parser/testdata/01683_dist_INSERT_block_structure_mismatch/explain_8.txt new file mode 100644 index 0000000000..bce9c5b938 --- /dev/null +++ b/parser/testdata/01683_dist_INSERT_block_structure_mismatch/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dist_01683 diff --git a/parser/testdata/01683_flat_dictionary/explain_22.txt b/parser/testdata/01683_flat_dictionary/explain_22.txt new file mode 100644 index 0000000000..60b26ed84e --- /dev/null +++ b/parser/testdata/01683_flat_dictionary/explain_22.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01681_database_for_flat_dictionary + Identifier simple_key_complex_attributes_source_table diff --git a/parser/testdata/01683_flat_dictionary/explain_23.txt b/parser/testdata/01683_flat_dictionary/explain_23.txt new file mode 100644 index 0000000000..60b26ed84e --- /dev/null +++ b/parser/testdata/01683_flat_dictionary/explain_23.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01681_database_for_flat_dictionary + Identifier simple_key_complex_attributes_source_table diff --git a/parser/testdata/01683_flat_dictionary/explain_24.txt b/parser/testdata/01683_flat_dictionary/explain_24.txt new file mode 100644 index 0000000000..60b26ed84e --- /dev/null +++ b/parser/testdata/01683_flat_dictionary/explain_24.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01681_database_for_flat_dictionary + Identifier simple_key_complex_attributes_source_table diff --git a/parser/testdata/01683_flat_dictionary/explain_4.txt b/parser/testdata/01683_flat_dictionary/explain_4.txt new file mode 100644 index 0000000000..48ea94184b --- /dev/null +++ b/parser/testdata/01683_flat_dictionary/explain_4.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01681_database_for_flat_dictionary + Identifier simple_key_simple_attributes_source_table diff --git a/parser/testdata/01683_flat_dictionary/explain_40.txt b/parser/testdata/01683_flat_dictionary/explain_40.txt new file mode 100644 index 0000000000..d868c7fb9c --- /dev/null +++ b/parser/testdata/01683_flat_dictionary/explain_40.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01681_database_for_flat_dictionary + Identifier simple_key_hierarchy_table diff --git a/parser/testdata/01683_flat_dictionary/explain_41.txt b/parser/testdata/01683_flat_dictionary/explain_41.txt new file mode 100644 index 0000000000..d868c7fb9c --- /dev/null +++ b/parser/testdata/01683_flat_dictionary/explain_41.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01681_database_for_flat_dictionary + Identifier simple_key_hierarchy_table diff --git a/parser/testdata/01683_flat_dictionary/explain_42.txt b/parser/testdata/01683_flat_dictionary/explain_42.txt new file mode 100644 index 0000000000..d868c7fb9c --- /dev/null +++ b/parser/testdata/01683_flat_dictionary/explain_42.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01681_database_for_flat_dictionary + Identifier simple_key_hierarchy_table diff --git a/parser/testdata/01683_flat_dictionary/explain_43.txt b/parser/testdata/01683_flat_dictionary/explain_43.txt new file mode 100644 index 0000000000..d868c7fb9c --- /dev/null +++ b/parser/testdata/01683_flat_dictionary/explain_43.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01681_database_for_flat_dictionary + Identifier simple_key_hierarchy_table diff --git a/parser/testdata/01683_flat_dictionary/explain_5.txt b/parser/testdata/01683_flat_dictionary/explain_5.txt new file mode 100644 index 0000000000..48ea94184b --- /dev/null +++ b/parser/testdata/01683_flat_dictionary/explain_5.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01681_database_for_flat_dictionary + Identifier simple_key_simple_attributes_source_table diff --git a/parser/testdata/01683_flat_dictionary/explain_6.txt b/parser/testdata/01683_flat_dictionary/explain_6.txt new file mode 100644 index 0000000000..48ea94184b --- /dev/null +++ b/parser/testdata/01683_flat_dictionary/explain_6.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01681_database_for_flat_dictionary + Identifier simple_key_simple_attributes_source_table diff --git a/parser/testdata/01683_intdiv_ubsan/explain.txt b/parser/testdata/01683_intdiv_ubsan/explain.txt index 5906ee45da..677e7c2bb0 100644 --- a/parser/testdata/01683_intdiv_ubsan/explain.txt +++ b/parser/testdata/01683_intdiv_ubsan/explain.txt @@ -12,4 +12,3 @@ SelectWithUnionQuery (children 1) Function numbers (children 1) ExpressionList (children 1) Literal UInt64_10 -The query succeeded but the server error '153' was expected (query: EXPLAIN AST SELECT DISTINCT intDiv(number, nan) FROM numbers(10); -- { serverError ILLEGAL_DIVISION }). diff --git a/parser/testdata/01685_json_extract_double_as_float/explain.txt b/parser/testdata/01685_json_extract_double_as_float/explain.txt new file mode 100644 index 0000000000..da1f5ce0a6 --- /dev/null +++ b/parser/testdata/01685_json_extract_double_as_float/explain.txt @@ -0,0 +1,25 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Literal \'{ "v":1.1}\' (alias raw) + ExpressionList (children 4) + Function JSONExtract (alias float32_1) (children 1) + ExpressionList (children 3) + Identifier raw + Literal \'v\' + Literal \'float\' + Function JSONExtract (alias float32_2) (children 1) + ExpressionList (children 3) + Identifier raw + Literal \'v\' + Literal \'Float32\' + Function JSONExtractFloat (alias float64_1) (children 1) + ExpressionList (children 2) + Identifier raw + Literal \'v\' + Function JSONExtract (alias float64_2) (children 1) + ExpressionList (children 3) + Identifier raw + Literal \'v\' + Literal \'double\' diff --git a/parser/testdata/01698_fix_toMinute/explain.txt b/parser/testdata/01698_fix_toMinute/explain.txt new file mode 100644 index 0000000000..f1a10d7045 --- /dev/null +++ b/parser/testdata/01698_fix_toMinute/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'Check the bug causing situation: the special Australia/Lord_Howe time zone. toDateTime and toString functions are all tested at once\' diff --git a/parser/testdata/01699_timezoneOffset/explain.txt b/parser/testdata/01699_timezoneOffset/explain.txt new file mode 100644 index 0000000000..404012d2e3 --- /dev/null +++ b/parser/testdata/01699_timezoneOffset/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'DST boundary test for Europe/Moscow:\' diff --git a/parser/testdata/01700_point_in_polygon_ubsan/explain.txt b/parser/testdata/01700_point_in_polygon_ubsan/explain.txt index 90c5ecc936..ab1478badf 100644 --- a/parser/testdata/01700_point_in_polygon_ubsan/explain.txt +++ b/parser/testdata/01700_point_in_polygon_ubsan/explain.txt @@ -13,4 +13,3 @@ SelectWithUnionQuery (children 2) Literal Tuple_(UInt64_10, UInt64_10) Literal Tuple_(UInt64_256, Int64_-9223372036854775808) Identifier Null -The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT pointInPolygon((0, 0), [[(0, 0), (10, 10), (256, -9223372036854775808)]]) FORMAT Null ;-- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/01702_bitmap_native_integers/explain_3.txt b/parser/testdata/01702_bitmap_native_integers/explain_3.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/01702_bitmap_native_integers/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/01702_system_query_log/explain_36.txt b/parser/testdata/01702_system_query_log/explain_36.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01702_system_query_log/explain_36.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01702_system_query_log/explain_77.txt b/parser/testdata/01702_system_query_log/explain_77.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01702_system_query_log/explain_77.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01709_inactive_parts_to_throw_insert/explain_3.txt b/parser/testdata/01709_inactive_parts_to_throw_insert/explain_3.txt new file mode 100644 index 0000000000..65519c0607 --- /dev/null +++ b/parser/testdata/01709_inactive_parts_to_throw_insert/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data_01709 diff --git a/parser/testdata/01709_inactive_parts_to_throw_insert/explain_4.txt b/parser/testdata/01709_inactive_parts_to_throw_insert/explain_4.txt new file mode 100644 index 0000000000..65519c0607 --- /dev/null +++ b/parser/testdata/01709_inactive_parts_to_throw_insert/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data_01709 diff --git a/parser/testdata/01709_inactive_parts_to_throw_insert/explain_6.txt b/parser/testdata/01709_inactive_parts_to_throw_insert/explain_6.txt new file mode 100644 index 0000000000..65519c0607 --- /dev/null +++ b/parser/testdata/01709_inactive_parts_to_throw_insert/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data_01709 diff --git a/parser/testdata/01710_aggregate_projection_with_grouping_set/explain_3.txt b/parser/testdata/01710_aggregate_projection_with_grouping_set/explain_3.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/01710_aggregate_projection_with_grouping_set/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/01710_aggregate_projection_with_monotonic_key_expr/explain_5.txt b/parser/testdata/01710_aggregate_projection_with_monotonic_key_expr/explain_5.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/01710_aggregate_projection_with_monotonic_key_expr/explain_5.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/01710_aggregate_projection_with_monotonic_key_expr/explain_8.txt b/parser/testdata/01710_aggregate_projection_with_monotonic_key_expr/explain_8.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/01710_aggregate_projection_with_monotonic_key_expr/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/01710_force_use_projection/explain_7.txt b/parser/testdata/01710_force_use_projection/explain_7.txt new file mode 100644 index 0000000000..88e85f19a3 --- /dev/null +++ b/parser/testdata/01710_force_use_projection/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tp diff --git a/parser/testdata/01710_minmax_count_projection/explain_29.txt b/parser/testdata/01710_minmax_count_projection/explain_29.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/01710_minmax_count_projection/explain_29.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/01710_minmax_count_projection/explain_34.txt b/parser/testdata/01710_minmax_count_projection/explain_34.txt new file mode 100644 index 0000000000..2cc970a43d --- /dev/null +++ b/parser/testdata/01710_minmax_count_projection/explain_34.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier d diff --git a/parser/testdata/01710_minmax_count_projection_constant_query/explain_3.txt b/parser/testdata/01710_minmax_count_projection_constant_query/explain_3.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/01710_minmax_count_projection_constant_query/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/01710_minmax_count_projection_distributed_query/explain_3.txt b/parser/testdata/01710_minmax_count_projection_distributed_query/explain_3.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/01710_minmax_count_projection_distributed_query/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/01710_minmax_count_projection_modify_partition_key/explain_3.txt b/parser/testdata/01710_minmax_count_projection_modify_partition_key/explain_3.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/01710_minmax_count_projection_modify_partition_key/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/01710_minmax_count_projection_modify_partition_key/explain_6.txt b/parser/testdata/01710_minmax_count_projection_modify_partition_key/explain_6.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/01710_minmax_count_projection_modify_partition_key/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/01710_normal_projection_fix1/explain_3.txt b/parser/testdata/01710_normal_projection_fix1/explain_3.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/01710_normal_projection_fix1/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/01710_normal_projection_fix1/explain_5.txt b/parser/testdata/01710_normal_projection_fix1/explain_5.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/01710_normal_projection_fix1/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/01710_normal_projection_fix1/explain_6.txt b/parser/testdata/01710_normal_projection_fix1/explain_6.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/01710_normal_projection_fix1/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/01710_order_by_projections_complete/explain_4.txt b/parser/testdata/01710_order_by_projections_complete/explain_4.txt new file mode 100644 index 0000000000..dd4c45f64e --- /dev/null +++ b/parser/testdata/01710_order_by_projections_complete/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data_order_by_proj_comp diff --git a/parser/testdata/01710_order_by_projections_complete/explain_5.txt b/parser/testdata/01710_order_by_projections_complete/explain_5.txt new file mode 100644 index 0000000000..dd4c45f64e --- /dev/null +++ b/parser/testdata/01710_order_by_projections_complete/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data_order_by_proj_comp diff --git a/parser/testdata/01710_order_by_projections_complete/explain_6.txt b/parser/testdata/01710_order_by_projections_complete/explain_6.txt new file mode 100644 index 0000000000..dd4c45f64e --- /dev/null +++ b/parser/testdata/01710_order_by_projections_complete/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data_order_by_proj_comp diff --git a/parser/testdata/01710_order_by_projections_incomplete/explain_4.txt b/parser/testdata/01710_order_by_projections_incomplete/explain_4.txt new file mode 100644 index 0000000000..87c53a4531 --- /dev/null +++ b/parser/testdata/01710_order_by_projections_incomplete/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data_order_by_proj_incomp diff --git a/parser/testdata/01710_order_by_projections_incomplete/explain_5.txt b/parser/testdata/01710_order_by_projections_incomplete/explain_5.txt new file mode 100644 index 0000000000..87c53a4531 --- /dev/null +++ b/parser/testdata/01710_order_by_projections_incomplete/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data_order_by_proj_incomp diff --git a/parser/testdata/01710_order_by_projections_incomplete/explain_7.txt b/parser/testdata/01710_order_by_projections_incomplete/explain_7.txt new file mode 100644 index 0000000000..87c53a4531 --- /dev/null +++ b/parser/testdata/01710_order_by_projections_incomplete/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data_order_by_proj_incomp diff --git a/parser/testdata/01710_projection_aggregate_functions_null_for_empty/explain_3.txt b/parser/testdata/01710_projection_aggregate_functions_null_for_empty/explain_3.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/01710_projection_aggregate_functions_null_for_empty/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/01710_projection_array_join/explain_4.txt b/parser/testdata/01710_projection_array_join/explain_4.txt new file mode 100644 index 0000000000..cd76eec2c4 --- /dev/null +++ b/parser/testdata/01710_projection_array_join/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier x diff --git a/parser/testdata/01710_projection_detach_part/explain_4.txt b/parser/testdata/01710_projection_detach_part/explain_4.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/01710_projection_detach_part/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/01710_projection_in_index/explain_11.txt b/parser/testdata/01710_projection_in_index/explain_11.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/01710_projection_in_index/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/01710_projection_in_set/explain_3.txt b/parser/testdata/01710_projection_in_set/explain_3.txt new file mode 100644 index 0000000000..cd76eec2c4 --- /dev/null +++ b/parser/testdata/01710_projection_in_set/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier x diff --git a/parser/testdata/01710_projection_in_set/explain_9.txt b/parser/testdata/01710_projection_in_set/explain_9.txt new file mode 100644 index 0000000000..ea5eb8d78b --- /dev/null +++ b/parser/testdata/01710_projection_in_set/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier flows diff --git a/parser/testdata/01710_projection_materialize_with_missing_columns/explain_3.txt b/parser/testdata/01710_projection_materialize_with_missing_columns/explain_3.txt new file mode 100644 index 0000000000..cd76eec2c4 --- /dev/null +++ b/parser/testdata/01710_projection_materialize_with_missing_columns/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier x diff --git a/parser/testdata/01710_projection_optimize_group_by_function_keys/explain_3.txt b/parser/testdata/01710_projection_optimize_group_by_function_keys/explain_3.txt new file mode 100644 index 0000000000..f8a76ec2cd --- /dev/null +++ b/parser/testdata/01710_projection_optimize_group_by_function_keys/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier proj diff --git a/parser/testdata/01710_projection_part_check/explain_13.txt b/parser/testdata/01710_projection_part_check/explain_13.txt new file mode 100644 index 0000000000..88e85f19a3 --- /dev/null +++ b/parser/testdata/01710_projection_part_check/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tp diff --git a/parser/testdata/01710_projection_part_check/explain_8.txt b/parser/testdata/01710_projection_part_check/explain_8.txt new file mode 100644 index 0000000000..62888b0c54 --- /dev/null +++ b/parser/testdata/01710_projection_part_check/explain_8.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier tp + ExpressionList (children 4) + Identifier p + Identifier k + Identifier v1 + Identifier v2 diff --git a/parser/testdata/01710_projection_query_plan_optimization_misc/explain_4.txt b/parser/testdata/01710_projection_query_plan_optimization_misc/explain_4.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/01710_projection_query_plan_optimization_misc/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/01710_projection_with_alter_conversions/explain_3.txt b/parser/testdata/01710_projection_with_alter_conversions/explain_3.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/01710_projection_with_alter_conversions/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/01710_projections_order_by_complete/explain_4.txt b/parser/testdata/01710_projections_order_by_complete/explain_4.txt new file mode 100644 index 0000000000..156875e8ec --- /dev/null +++ b/parser/testdata/01710_projections_order_by_complete/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data_proj_order_by_comp diff --git a/parser/testdata/01710_projections_order_by_complete/explain_5.txt b/parser/testdata/01710_projections_order_by_complete/explain_5.txt new file mode 100644 index 0000000000..156875e8ec --- /dev/null +++ b/parser/testdata/01710_projections_order_by_complete/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data_proj_order_by_comp diff --git a/parser/testdata/01710_projections_order_by_complete/explain_6.txt b/parser/testdata/01710_projections_order_by_complete/explain_6.txt new file mode 100644 index 0000000000..156875e8ec --- /dev/null +++ b/parser/testdata/01710_projections_order_by_complete/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data_proj_order_by_comp diff --git a/parser/testdata/01710_projections_order_by_incomplete/explain_4.txt b/parser/testdata/01710_projections_order_by_incomplete/explain_4.txt new file mode 100644 index 0000000000..f5299ba927 --- /dev/null +++ b/parser/testdata/01710_projections_order_by_incomplete/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data_proj_order_by_incomp diff --git a/parser/testdata/01710_projections_order_by_incomplete/explain_5.txt b/parser/testdata/01710_projections_order_by_incomplete/explain_5.txt new file mode 100644 index 0000000000..f5299ba927 --- /dev/null +++ b/parser/testdata/01710_projections_order_by_incomplete/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data_proj_order_by_incomp diff --git a/parser/testdata/01710_projections_order_by_incomplete/explain_7.txt b/parser/testdata/01710_projections_order_by_incomplete/explain_7.txt new file mode 100644 index 0000000000..f5299ba927 --- /dev/null +++ b/parser/testdata/01710_projections_order_by_incomplete/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data_proj_order_by_incomp diff --git a/parser/testdata/01710_query_log_with_projection_info/explain_11.txt b/parser/testdata/01710_query_log_with_projection_info/explain_11.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01710_query_log_with_projection_info/explain_11.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01712_no_adaptive_granularity_vertical_merge/explain_3.txt b/parser/testdata/01712_no_adaptive_granularity_vertical_merge/explain_3.txt new file mode 100644 index 0000000000..c9701187a0 --- /dev/null +++ b/parser/testdata/01712_no_adaptive_granularity_vertical_merge/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier old_school_table diff --git a/parser/testdata/01712_no_adaptive_granularity_vertical_merge/explain_4.txt b/parser/testdata/01712_no_adaptive_granularity_vertical_merge/explain_4.txt new file mode 100644 index 0000000000..c9701187a0 --- /dev/null +++ b/parser/testdata/01712_no_adaptive_granularity_vertical_merge/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier old_school_table diff --git a/parser/testdata/01714_alter_drop_version/explain_3.txt b/parser/testdata/01714_alter_drop_version/explain_3.txt new file mode 100644 index 0000000000..ff47cb29ef --- /dev/null +++ b/parser/testdata/01714_alter_drop_version/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier alter_drop_version diff --git a/parser/testdata/01715_background_checker_blather_zookeeper_long/explain_6.txt b/parser/testdata/01715_background_checker_blather_zookeeper_long/explain_6.txt new file mode 100644 index 0000000000..4c14e3372c --- /dev/null +++ b/parser/testdata/01715_background_checker_blather_zookeeper_long/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier i20203_1 diff --git a/parser/testdata/01715_table_function_view_fix/explain.txt b/parser/testdata/01715_table_function_view_fix/explain.txt deleted file mode 100644 index 8b13789179..0000000000 --- a/parser/testdata/01715_table_function_view_fix/explain.txt +++ /dev/null @@ -1 +0,0 @@ - diff --git a/parser/testdata/01715_tuple_insert_null_as_default/explain_15.txt b/parser/testdata/01715_tuple_insert_null_as_default/explain_15.txt new file mode 100644 index 0000000000..9ffdb56fc2 --- /dev/null +++ b/parser/testdata/01715_tuple_insert_null_as_default/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_tuple_nested_in_array diff --git a/parser/testdata/01715_tuple_insert_null_as_default/explain_18.txt b/parser/testdata/01715_tuple_insert_null_as_default/explain_18.txt new file mode 100644 index 0000000000..9ffdb56fc2 --- /dev/null +++ b/parser/testdata/01715_tuple_insert_null_as_default/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_tuple_nested_in_array diff --git a/parser/testdata/01715_tuple_insert_null_as_default/explain_25.txt b/parser/testdata/01715_tuple_insert_null_as_default/explain_25.txt new file mode 100644 index 0000000000..883e96b67a --- /dev/null +++ b/parser/testdata/01715_tuple_insert_null_as_default/explain_25.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_tuple_nested_in_array_nested_in_tuple diff --git a/parser/testdata/01715_tuple_insert_null_as_default/explain_28.txt b/parser/testdata/01715_tuple_insert_null_as_default/explain_28.txt new file mode 100644 index 0000000000..883e96b67a --- /dev/null +++ b/parser/testdata/01715_tuple_insert_null_as_default/explain_28.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_tuple_nested_in_array_nested_in_tuple diff --git a/parser/testdata/01715_tuple_insert_null_as_default/explain_35.txt b/parser/testdata/01715_tuple_insert_null_as_default/explain_35.txt new file mode 100644 index 0000000000..d1332cdd3a --- /dev/null +++ b/parser/testdata/01715_tuple_insert_null_as_default/explain_35.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_tuple_nested_in_map diff --git a/parser/testdata/01715_tuple_insert_null_as_default/explain_38.txt b/parser/testdata/01715_tuple_insert_null_as_default/explain_38.txt new file mode 100644 index 0000000000..d1332cdd3a --- /dev/null +++ b/parser/testdata/01715_tuple_insert_null_as_default/explain_38.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_tuple_nested_in_map diff --git a/parser/testdata/01715_tuple_insert_null_as_default/explain_45.txt b/parser/testdata/01715_tuple_insert_null_as_default/explain_45.txt new file mode 100644 index 0000000000..bd62867b94 --- /dev/null +++ b/parser/testdata/01715_tuple_insert_null_as_default/explain_45.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_tuple_nested_in_map_nested_in_tuple diff --git a/parser/testdata/01715_tuple_insert_null_as_default/explain_48.txt b/parser/testdata/01715_tuple_insert_null_as_default/explain_48.txt new file mode 100644 index 0000000000..bd62867b94 --- /dev/null +++ b/parser/testdata/01715_tuple_insert_null_as_default/explain_48.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_tuple_nested_in_map_nested_in_tuple diff --git a/parser/testdata/01715_tuple_insert_null_as_default/explain_5.txt b/parser/testdata/01715_tuple_insert_null_as_default/explain_5.txt new file mode 100644 index 0000000000..e8ac3ddc1d --- /dev/null +++ b/parser/testdata/01715_tuple_insert_null_as_default/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_tuple diff --git a/parser/testdata/01715_tuple_insert_null_as_default/explain_8.txt b/parser/testdata/01715_tuple_insert_null_as_default/explain_8.txt new file mode 100644 index 0000000000..e8ac3ddc1d --- /dev/null +++ b/parser/testdata/01715_tuple_insert_null_as_default/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_tuple diff --git a/parser/testdata/01716_drop_rename_sign_column/explain_3.txt b/parser/testdata/01716_drop_rename_sign_column/explain_3.txt new file mode 100644 index 0000000000..b6dddfdecd --- /dev/null +++ b/parser/testdata/01716_drop_rename_sign_column/explain_3.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier signed_table + ExpressionList (children 3) + Identifier k + Identifier v + Identifier s diff --git a/parser/testdata/01717_global_with_subquery_fix/explain.txt b/parser/testdata/01717_global_with_subquery_fix/explain.txt index 2315772a42..f3f093eb1a 100644 --- a/parser/testdata/01717_global_with_subquery_fix/explain.txt +++ b/parser/testdata/01717_global_with_subquery_fix/explain.txt @@ -74,4 +74,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Identifier period Identifier colX -The query succeeded but the server error '60' was expected (query: EXPLAIN AST WITH (SELECT count(distinct colU) from tabA) AS withA, (SELECT count(distinct colU) from tabA) AS withB SELECT withA / withB AS ratio FROM (SELECT date AS period, colX FROM (SELECT date, if(colA IN (SELECT colB FROM tabC), 0, colA) AS colX FROM tabB) AS tempB GROUP BY period, colX) AS main; -- {serverError UNKNOWN_TABLE}). diff --git a/parser/testdata/01717_int_div_float_too_large_ubsan/explain.txt b/parser/testdata/01717_int_div_float_too_large_ubsan/explain.txt index 052d3f2ac6..6740700bf9 100644 --- a/parser/testdata/01717_int_div_float_too_large_ubsan/explain.txt +++ b/parser/testdata/01717_int_div_float_too_large_ubsan/explain.txt @@ -6,4 +6,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Literal UInt64_18446744073709551615 Literal Float64_0.9998999834060669 -The query succeeded but the server error '153' was expected (query: EXPLAIN AST SELECT intDiv(18446744073709551615, 0.9998999834060669); -- { serverError ILLEGAL_DIVISION }). diff --git a/parser/testdata/01719_join_timezone/explain_3.txt b/parser/testdata/01719_join_timezone/explain_3.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/01719_join_timezone/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/01720_constraints_complex_types/explain_10.txt b/parser/testdata/01720_constraints_complex_types/explain_10.txt new file mode 100644 index 0000000000..93cc4ced20 --- /dev/null +++ b/parser/testdata/01720_constraints_complex_types/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier constraint_on_low_cardinality_type diff --git a/parser/testdata/01720_constraints_complex_types/explain_11.txt b/parser/testdata/01720_constraints_complex_types/explain_11.txt new file mode 100644 index 0000000000..93cc4ced20 --- /dev/null +++ b/parser/testdata/01720_constraints_complex_types/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier constraint_on_low_cardinality_type diff --git a/parser/testdata/01720_constraints_complex_types/explain_16.txt b/parser/testdata/01720_constraints_complex_types/explain_16.txt new file mode 100644 index 0000000000..c44dcf53a4 --- /dev/null +++ b/parser/testdata/01720_constraints_complex_types/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier constraint_on_low_cardinality_nullable_type diff --git a/parser/testdata/01720_constraints_complex_types/explain_17.txt b/parser/testdata/01720_constraints_complex_types/explain_17.txt new file mode 100644 index 0000000000..c44dcf53a4 --- /dev/null +++ b/parser/testdata/01720_constraints_complex_types/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier constraint_on_low_cardinality_nullable_type diff --git a/parser/testdata/01720_constraints_complex_types/explain_4.txt b/parser/testdata/01720_constraints_complex_types/explain_4.txt new file mode 100644 index 0000000000..393726139a --- /dev/null +++ b/parser/testdata/01720_constraints_complex_types/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier constraint_on_nullable_type diff --git a/parser/testdata/01720_constraints_complex_types/explain_5.txt b/parser/testdata/01720_constraints_complex_types/explain_5.txt new file mode 100644 index 0000000000..393726139a --- /dev/null +++ b/parser/testdata/01720_constraints_complex_types/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier constraint_on_nullable_type diff --git a/parser/testdata/01720_dictionary_create_source_with_functions/explain_4.txt b/parser/testdata/01720_dictionary_create_source_with_functions/explain_4.txt new file mode 100644 index 0000000000..0a1d0688e4 --- /dev/null +++ b/parser/testdata/01720_dictionary_create_source_with_functions/explain_4.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01720_dictionary_db + Identifier dictionary_source_table diff --git a/parser/testdata/01720_type_map_and_casts/explain_11.txt b/parser/testdata/01720_type_map_and_casts/explain_11.txt new file mode 100644 index 0000000000..88b75e2063 --- /dev/null +++ b/parser/testdata/01720_type_map_and_casts/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_map_with_key_integer diff --git a/parser/testdata/01720_type_map_and_casts/explain_18.txt b/parser/testdata/01720_type_map_and_casts/explain_18.txt new file mode 100644 index 0000000000..88b75e2063 --- /dev/null +++ b/parser/testdata/01720_type_map_and_casts/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_map_with_key_integer diff --git a/parser/testdata/01720_type_map_and_casts/explain_25.txt b/parser/testdata/01720_type_map_and_casts/explain_25.txt new file mode 100644 index 0000000000..88b75e2063 --- /dev/null +++ b/parser/testdata/01720_type_map_and_casts/explain_25.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_map_with_key_integer diff --git a/parser/testdata/01720_type_map_and_casts/explain_3.txt b/parser/testdata/01720_type_map_and_casts/explain_3.txt new file mode 100644 index 0000000000..88b75e2063 --- /dev/null +++ b/parser/testdata/01720_type_map_and_casts/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_map_with_key_integer diff --git a/parser/testdata/01721_constraints_constant_expressions/explain_13.txt b/parser/testdata/01721_constraints_constant_expressions/explain_13.txt new file mode 100644 index 0000000000..c31ff84ac7 --- /dev/null +++ b/parser/testdata/01721_constraints_constant_expressions/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier constraint_constant_nullable_expression_that_contains_null diff --git a/parser/testdata/01721_constraints_constant_expressions/explain_3.txt b/parser/testdata/01721_constraints_constant_expressions/explain_3.txt new file mode 100644 index 0000000000..3e425031cd --- /dev/null +++ b/parser/testdata/01721_constraints_constant_expressions/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier constraint_constant_number_expression diff --git a/parser/testdata/01721_constraints_constant_expressions/explain_8.txt b/parser/testdata/01721_constraints_constant_expressions/explain_8.txt new file mode 100644 index 0000000000..9095f3007d --- /dev/null +++ b/parser/testdata/01721_constraints_constant_expressions/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier constraint_constant_number_expression_non_uint8 diff --git a/parser/testdata/01721_engine_file_truncate_on_insert/explain_11.txt b/parser/testdata/01721_engine_file_truncate_on_insert/explain_11.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/01721_engine_file_truncate_on_insert/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/01721_engine_file_truncate_on_insert/explain_2.txt b/parser/testdata/01721_engine_file_truncate_on_insert/explain_2.txt new file mode 100644 index 0000000000..a90f0c23c1 --- /dev/null +++ b/parser/testdata/01721_engine_file_truncate_on_insert/explain_2.txt @@ -0,0 +1,6 @@ +InsertQuery (children 1) + Function file (children 1) + ExpressionList (children 3) + Literal \'01721_file/test/data.TSV\' + Literal \'TSV\' + Literal \'id UInt32\' diff --git a/parser/testdata/01721_engine_file_truncate_on_insert/explain_4.txt b/parser/testdata/01721_engine_file_truncate_on_insert/explain_4.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/01721_engine_file_truncate_on_insert/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/01721_engine_file_truncate_on_insert/explain_5.txt b/parser/testdata/01721_engine_file_truncate_on_insert/explain_5.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/01721_engine_file_truncate_on_insert/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/01721_engine_file_truncate_on_insert/explain_8.txt b/parser/testdata/01721_engine_file_truncate_on_insert/explain_8.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/01721_engine_file_truncate_on_insert/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/01732_alters_bad_conversions/explain_4.txt b/parser/testdata/01732_alters_bad_conversions/explain_4.txt new file mode 100644 index 0000000000..77d1b5ddcd --- /dev/null +++ b/parser/testdata/01732_alters_bad_conversions/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier bad_conversions diff --git a/parser/testdata/01732_alters_bad_conversions/explain_9.txt b/parser/testdata/01732_alters_bad_conversions/explain_9.txt new file mode 100644 index 0000000000..6119ca5168 --- /dev/null +++ b/parser/testdata/01732_alters_bad_conversions/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier bad_conversions_2 diff --git a/parser/testdata/01732_bigint_ubsan/explain_2.txt b/parser/testdata/01732_bigint_ubsan/explain_2.txt new file mode 100644 index 0000000000..57e0eae2ff --- /dev/null +++ b/parser/testdata/01732_bigint_ubsan/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier decimal diff --git a/parser/testdata/01732_bigint_ubsan/explain_3.txt b/parser/testdata/01732_bigint_ubsan/explain_3.txt new file mode 100644 index 0000000000..57e0eae2ff --- /dev/null +++ b/parser/testdata/01732_bigint_ubsan/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier decimal diff --git a/parser/testdata/01732_bigint_ubsan/explain_4.txt b/parser/testdata/01732_bigint_ubsan/explain_4.txt new file mode 100644 index 0000000000..57e0eae2ff --- /dev/null +++ b/parser/testdata/01732_bigint_ubsan/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier decimal diff --git a/parser/testdata/01732_explain_syntax_union_query/explain.txt b/parser/testdata/01732_explain_syntax_union_query/explain.txt new file mode 100644 index 0000000000..11554b5d7f --- /dev/null +++ b/parser/testdata/01732_explain_syntax_union_query/explain.txt @@ -0,0 +1,18 @@ +Explain EXPLAIN SYNTAX (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 5) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/01732_more_consistent_datetime64_parsing/explain_2.txt b/parser/testdata/01732_more_consistent_datetime64_parsing/explain_2.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/01732_more_consistent_datetime64_parsing/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/01732_more_consistent_datetime64_parsing/explain_3.txt b/parser/testdata/01732_more_consistent_datetime64_parsing/explain_3.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/01732_more_consistent_datetime64_parsing/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/01732_more_consistent_datetime64_parsing/explain_4.txt b/parser/testdata/01732_more_consistent_datetime64_parsing/explain_4.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/01732_more_consistent_datetime64_parsing/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/01732_more_consistent_datetime64_parsing/explain_5.txt b/parser/testdata/01732_more_consistent_datetime64_parsing/explain_5.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/01732_more_consistent_datetime64_parsing/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/01732_union_and_union_all/explain.txt b/parser/testdata/01732_union_and_union_all/explain.txt deleted file mode 100644 index 76111d2c39..0000000000 --- a/parser/testdata/01732_union_and_union_all/explain.txt +++ /dev/null @@ -1,11 +0,0 @@ -SelectWithUnionQuery (children 1) - ExpressionList (children 3) - SelectQuery (children 1) - ExpressionList (children 1) - Literal UInt64_1 - SelectQuery (children 1) - ExpressionList (children 1) - Literal UInt64_1 - SelectQuery (children 1) - ExpressionList (children 1) - Literal UInt64_1 diff --git a/parser/testdata/01733_transform_ubsan/explain.txt b/parser/testdata/01733_transform_ubsan/explain.txt index 3ec91d0328..41df91beb2 100644 --- a/parser/testdata/01733_transform_ubsan/explain.txt +++ b/parser/testdata/01733_transform_ubsan/explain.txt @@ -1,6 +1,6 @@ -SelectWithUnionQuery (children 1) +SelectWithUnionQuery (children 2) ExpressionList (children 1) - SelectQuery (children 1) + SelectQuery (children 3) ExpressionList (children 1) Function arrayStringConcat (children 1) ExpressionList (children 2) @@ -32,3 +32,9 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) Identifier number Literal \'\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_1025 + Identifier Null diff --git a/parser/testdata/01735_join_get_low_card_fix/explain_3.txt b/parser/testdata/01735_join_get_low_card_fix/explain_3.txt new file mode 100644 index 0000000000..0966c593fe --- /dev/null +++ b/parser/testdata/01735_join_get_low_card_fix/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier join_tbl diff --git a/parser/testdata/01736_null_as_default/explain_3.txt b/parser/testdata/01736_null_as_default/explain_3.txt new file mode 100644 index 0000000000..73b9ea1686 --- /dev/null +++ b/parser/testdata/01736_null_as_default/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_enum diff --git a/parser/testdata/01739_index_hint/explain_19.txt b/parser/testdata/01739_index_hint/explain_19.txt new file mode 100644 index 0000000000..a0d2ea6ccf --- /dev/null +++ b/parser/testdata/01739_index_hint/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier XXXX diff --git a/parser/testdata/01745_alter_delete_view/explain_5.txt b/parser/testdata/01745_alter_delete_view/explain_5.txt new file mode 100644 index 0000000000..234baa6c50 --- /dev/null +++ b/parser/testdata/01745_alter_delete_view/explain_5.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier test_table + ExpressionList (children 3) + Identifier f1 + Identifier f2 + Identifier pk diff --git a/parser/testdata/01746_lc_values_format_bug/explain_3.txt b/parser/testdata/01746_lc_values_format_bug/explain_3.txt new file mode 100644 index 0000000000..fbb7997dc7 --- /dev/null +++ b/parser/testdata/01746_lc_values_format_bug/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier lc_test diff --git a/parser/testdata/01747_alter_partition_key_enum_zookeeper_long/explain_15.txt b/parser/testdata/01747_alter_partition_key_enum_zookeeper_long/explain_15.txt new file mode 100644 index 0000000000..fcc8c4e751 --- /dev/null +++ b/parser/testdata/01747_alter_partition_key_enum_zookeeper_long/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replicated_report diff --git a/parser/testdata/01747_alter_partition_key_enum_zookeeper_long/explain_19.txt b/parser/testdata/01747_alter_partition_key_enum_zookeeper_long/explain_19.txt new file mode 100644 index 0000000000..fcc8c4e751 --- /dev/null +++ b/parser/testdata/01747_alter_partition_key_enum_zookeeper_long/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replicated_report diff --git a/parser/testdata/01747_alter_partition_key_enum_zookeeper_long/explain_3.txt b/parser/testdata/01747_alter_partition_key_enum_zookeeper_long/explain_3.txt new file mode 100644 index 0000000000..89c0f3d7de --- /dev/null +++ b/parser/testdata/01747_alter_partition_key_enum_zookeeper_long/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier report diff --git a/parser/testdata/01747_alter_partition_key_enum_zookeeper_long/explain_7.txt b/parser/testdata/01747_alter_partition_key_enum_zookeeper_long/explain_7.txt new file mode 100644 index 0000000000..89c0f3d7de --- /dev/null +++ b/parser/testdata/01747_alter_partition_key_enum_zookeeper_long/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier report diff --git a/parser/testdata/01747_join_view_filter_dictionary/explain_8.txt b/parser/testdata/01747_join_view_filter_dictionary/explain_8.txt new file mode 100644 index 0000000000..86fd47e3cd --- /dev/null +++ b/parser/testdata/01747_join_view_filter_dictionary/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier summing_table01747 diff --git a/parser/testdata/01748_dictionary_table_dot/explain_8.txt b/parser/testdata/01748_dictionary_table_dot/explain_8.txt new file mode 100644 index 0000000000..8d48d75f16 --- /dev/null +++ b/parser/testdata/01748_dictionary_table_dot/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test.txt diff --git a/parser/testdata/01748_partition_id_pruning/explain_4.txt b/parser/testdata/01748_partition_id_pruning/explain_4.txt new file mode 100644 index 0000000000..cd76eec2c4 --- /dev/null +++ b/parser/testdata/01748_partition_id_pruning/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier x diff --git a/parser/testdata/01752_distributed_query_sigsegv/explain.txt b/parser/testdata/01752_distributed_query_sigsegv/explain.txt index c5a0e22dad..ab0c583ef6 100644 --- a/parser/testdata/01752_distributed_query_sigsegv/explain.txt +++ b/parser/testdata/01752_distributed_query_sigsegv/explain.txt @@ -15,4 +15,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Literal \'127.1\' Identifier system.one -The query succeeded but the server error '395' was expected (query: EXPLAIN AST SELECT throwIf(dummy = 0) FROM remote('127.1', system.one); -- { serverError FUNCTION_THROW_IF_VALUE_IS_NON_ZERO }). diff --git a/parser/testdata/01753_direct_dictionary_simple_key/explain_24.txt b/parser/testdata/01753_direct_dictionary_simple_key/explain_24.txt new file mode 100644 index 0000000000..8c4240d49e --- /dev/null +++ b/parser/testdata/01753_direct_dictionary_simple_key/explain_24.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01753_dictionary_db + Identifier simple_key_complex_attributes_source_table diff --git a/parser/testdata/01753_direct_dictionary_simple_key/explain_25.txt b/parser/testdata/01753_direct_dictionary_simple_key/explain_25.txt new file mode 100644 index 0000000000..8c4240d49e --- /dev/null +++ b/parser/testdata/01753_direct_dictionary_simple_key/explain_25.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01753_dictionary_db + Identifier simple_key_complex_attributes_source_table diff --git a/parser/testdata/01753_direct_dictionary_simple_key/explain_26.txt b/parser/testdata/01753_direct_dictionary_simple_key/explain_26.txt new file mode 100644 index 0000000000..8c4240d49e --- /dev/null +++ b/parser/testdata/01753_direct_dictionary_simple_key/explain_26.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01753_dictionary_db + Identifier simple_key_complex_attributes_source_table diff --git a/parser/testdata/01753_direct_dictionary_simple_key/explain_4.txt b/parser/testdata/01753_direct_dictionary_simple_key/explain_4.txt new file mode 100644 index 0000000000..cd82fe7826 --- /dev/null +++ b/parser/testdata/01753_direct_dictionary_simple_key/explain_4.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01753_dictionary_db + Identifier simple_key_simple_attributes_source_table diff --git a/parser/testdata/01753_direct_dictionary_simple_key/explain_44.txt b/parser/testdata/01753_direct_dictionary_simple_key/explain_44.txt new file mode 100644 index 0000000000..a493d39940 --- /dev/null +++ b/parser/testdata/01753_direct_dictionary_simple_key/explain_44.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01753_dictionary_db + Identifier simple_key_hierarchy_table diff --git a/parser/testdata/01753_direct_dictionary_simple_key/explain_45.txt b/parser/testdata/01753_direct_dictionary_simple_key/explain_45.txt new file mode 100644 index 0000000000..a493d39940 --- /dev/null +++ b/parser/testdata/01753_direct_dictionary_simple_key/explain_45.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01753_dictionary_db + Identifier simple_key_hierarchy_table diff --git a/parser/testdata/01753_direct_dictionary_simple_key/explain_46.txt b/parser/testdata/01753_direct_dictionary_simple_key/explain_46.txt new file mode 100644 index 0000000000..a493d39940 --- /dev/null +++ b/parser/testdata/01753_direct_dictionary_simple_key/explain_46.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01753_dictionary_db + Identifier simple_key_hierarchy_table diff --git a/parser/testdata/01753_direct_dictionary_simple_key/explain_47.txt b/parser/testdata/01753_direct_dictionary_simple_key/explain_47.txt new file mode 100644 index 0000000000..a493d39940 --- /dev/null +++ b/parser/testdata/01753_direct_dictionary_simple_key/explain_47.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01753_dictionary_db + Identifier simple_key_hierarchy_table diff --git a/parser/testdata/01753_direct_dictionary_simple_key/explain_5.txt b/parser/testdata/01753_direct_dictionary_simple_key/explain_5.txt new file mode 100644 index 0000000000..cd82fe7826 --- /dev/null +++ b/parser/testdata/01753_direct_dictionary_simple_key/explain_5.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01753_dictionary_db + Identifier simple_key_simple_attributes_source_table diff --git a/parser/testdata/01753_direct_dictionary_simple_key/explain_6.txt b/parser/testdata/01753_direct_dictionary_simple_key/explain_6.txt new file mode 100644 index 0000000000..cd82fe7826 --- /dev/null +++ b/parser/testdata/01753_direct_dictionary_simple_key/explain_6.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01753_dictionary_db + Identifier simple_key_simple_attributes_source_table diff --git a/parser/testdata/01754_direct_dictionary_complex_key/explain_24.txt b/parser/testdata/01754_direct_dictionary_complex_key/explain_24.txt new file mode 100644 index 0000000000..c816a0cca9 --- /dev/null +++ b/parser/testdata/01754_direct_dictionary_complex_key/explain_24.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01754_dictionary_db + Identifier complex_key_complex_attributes_source_table diff --git a/parser/testdata/01754_direct_dictionary_complex_key/explain_25.txt b/parser/testdata/01754_direct_dictionary_complex_key/explain_25.txt new file mode 100644 index 0000000000..c816a0cca9 --- /dev/null +++ b/parser/testdata/01754_direct_dictionary_complex_key/explain_25.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01754_dictionary_db + Identifier complex_key_complex_attributes_source_table diff --git a/parser/testdata/01754_direct_dictionary_complex_key/explain_26.txt b/parser/testdata/01754_direct_dictionary_complex_key/explain_26.txt new file mode 100644 index 0000000000..c816a0cca9 --- /dev/null +++ b/parser/testdata/01754_direct_dictionary_complex_key/explain_26.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01754_dictionary_db + Identifier complex_key_complex_attributes_source_table diff --git a/parser/testdata/01754_direct_dictionary_complex_key/explain_4.txt b/parser/testdata/01754_direct_dictionary_complex_key/explain_4.txt new file mode 100644 index 0000000000..111aac0d6c --- /dev/null +++ b/parser/testdata/01754_direct_dictionary_complex_key/explain_4.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01754_dictionary_db + Identifier complex_key_simple_attributes_source_table diff --git a/parser/testdata/01754_direct_dictionary_complex_key/explain_5.txt b/parser/testdata/01754_direct_dictionary_complex_key/explain_5.txt new file mode 100644 index 0000000000..111aac0d6c --- /dev/null +++ b/parser/testdata/01754_direct_dictionary_complex_key/explain_5.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01754_dictionary_db + Identifier complex_key_simple_attributes_source_table diff --git a/parser/testdata/01754_direct_dictionary_complex_key/explain_6.txt b/parser/testdata/01754_direct_dictionary_complex_key/explain_6.txt new file mode 100644 index 0000000000..111aac0d6c --- /dev/null +++ b/parser/testdata/01754_direct_dictionary_complex_key/explain_6.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01754_dictionary_db + Identifier complex_key_simple_attributes_source_table diff --git a/parser/testdata/01755_shard_pruning_with_literal/explain_6.txt b/parser/testdata/01755_shard_pruning_with_literal/explain_6.txt new file mode 100644 index 0000000000..5d21119ac9 --- /dev/null +++ b/parser/testdata/01755_shard_pruning_with_literal/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data_01755 diff --git a/parser/testdata/01756_optimize_skip_unused_shards_rewrite_in/explain_14.txt b/parser/testdata/01756_optimize_skip_unused_shards_rewrite_in/explain_14.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01756_optimize_skip_unused_shards_rewrite_in/explain_14.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01756_optimize_skip_unused_shards_rewrite_in/explain_19.txt b/parser/testdata/01756_optimize_skip_unused_shards_rewrite_in/explain_19.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01756_optimize_skip_unused_shards_rewrite_in/explain_19.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01756_optimize_skip_unused_shards_rewrite_in/explain_23.txt b/parser/testdata/01756_optimize_skip_unused_shards_rewrite_in/explain_23.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01756_optimize_skip_unused_shards_rewrite_in/explain_23.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01756_optimize_skip_unused_shards_rewrite_in/explain_27.txt b/parser/testdata/01756_optimize_skip_unused_shards_rewrite_in/explain_27.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01756_optimize_skip_unused_shards_rewrite_in/explain_27.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01756_optimize_skip_unused_shards_rewrite_in/explain_32.txt b/parser/testdata/01756_optimize_skip_unused_shards_rewrite_in/explain_32.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01756_optimize_skip_unused_shards_rewrite_in/explain_32.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01756_optimize_skip_unused_shards_rewrite_in/explain_49.txt b/parser/testdata/01756_optimize_skip_unused_shards_rewrite_in/explain_49.txt new file mode 100644 index 0000000000..b39e716386 --- /dev/null +++ b/parser/testdata/01756_optimize_skip_unused_shards_rewrite_in/explain_49.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data_01756_str diff --git a/parser/testdata/01757_optimize_skip_unused_shards_limit/explain_6.txt b/parser/testdata/01757_optimize_skip_unused_shards_limit/explain_6.txt index 1c84c5c725..2a1668542b 100644 --- a/parser/testdata/01757_optimize_skip_unused_shards_limit/explain_6.txt +++ b/parser/testdata/01757_optimize_skip_unused_shards_limit/explain_6.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 4) + SelectQuery (children 3) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 1) @@ -11,6 +11,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 2) Identifier dummy Literal Tuple_(UInt64_0, UInt64_1) - Set Identifier Null Set diff --git a/parser/testdata/01757_optimize_skip_unused_shards_limit/explain_9.txt b/parser/testdata/01757_optimize_skip_unused_shards_limit/explain_9.txt index 0a2342167a..7f7d6dece7 100644 --- a/parser/testdata/01757_optimize_skip_unused_shards_limit/explain_9.txt +++ b/parser/testdata/01757_optimize_skip_unused_shards_limit/explain_9.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 4) + SelectQuery (children 3) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 1) @@ -17,6 +17,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 2) Identifier dummy Literal UInt64_1 - Set Identifier Null Set diff --git a/parser/testdata/01759_dictionary_unique_attribute_names/explain_4.txt b/parser/testdata/01759_dictionary_unique_attribute_names/explain_4.txt new file mode 100644 index 0000000000..4de6a7b9c1 --- /dev/null +++ b/parser/testdata/01759_dictionary_unique_attribute_names/explain_4.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01759_db + Identifier dictionary_source_table diff --git a/parser/testdata/01760_ddl_dictionary_use_current_database_name/explain_3.txt b/parser/testdata/01760_ddl_dictionary_use_current_database_name/explain_3.txt new file mode 100644 index 0000000000..389ead97d4 --- /dev/null +++ b/parser/testdata/01760_ddl_dictionary_use_current_database_name/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ddl_dictonary_test_source diff --git a/parser/testdata/01760_ddl_dictionary_use_current_database_name/explain_4.txt b/parser/testdata/01760_ddl_dictionary_use_current_database_name/explain_4.txt new file mode 100644 index 0000000000..389ead97d4 --- /dev/null +++ b/parser/testdata/01760_ddl_dictionary_use_current_database_name/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ddl_dictonary_test_source diff --git a/parser/testdata/01760_modulo_negative/explain.txt b/parser/testdata/01760_modulo_negative/explain.txt index 6075caa9fc..0586ad88b8 100644 --- a/parser/testdata/01760_modulo_negative/explain.txt +++ b/parser/testdata/01760_modulo_negative/explain.txt @@ -12,4 +12,3 @@ SelectWithUnionQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) TableIdentifier system.numbers -The query succeeded but the server error '153' was expected (query: EXPLAIN AST SELECT -number % -9223372036854775808 FROM system.numbers; -- { serverError ILLEGAL_DIVISION }). diff --git a/parser/testdata/01760_polygon_dictionaries/explain_11.txt b/parser/testdata/01760_polygon_dictionaries/explain_11.txt new file mode 100644 index 0000000000..56bb60ba4d --- /dev/null +++ b/parser/testdata/01760_polygon_dictionaries/explain_11.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01760_db + Identifier points diff --git a/parser/testdata/01760_polygon_dictionaries/explain_12.txt b/parser/testdata/01760_polygon_dictionaries/explain_12.txt new file mode 100644 index 0000000000..56bb60ba4d --- /dev/null +++ b/parser/testdata/01760_polygon_dictionaries/explain_12.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01760_db + Identifier points diff --git a/parser/testdata/01760_polygon_dictionaries/explain_13.txt b/parser/testdata/01760_polygon_dictionaries/explain_13.txt new file mode 100644 index 0000000000..56bb60ba4d --- /dev/null +++ b/parser/testdata/01760_polygon_dictionaries/explain_13.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01760_db + Identifier points diff --git a/parser/testdata/01760_polygon_dictionaries/explain_14.txt b/parser/testdata/01760_polygon_dictionaries/explain_14.txt new file mode 100644 index 0000000000..56bb60ba4d --- /dev/null +++ b/parser/testdata/01760_polygon_dictionaries/explain_14.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01760_db + Identifier points diff --git a/parser/testdata/01760_polygon_dictionaries/explain_15.txt b/parser/testdata/01760_polygon_dictionaries/explain_15.txt new file mode 100644 index 0000000000..56bb60ba4d --- /dev/null +++ b/parser/testdata/01760_polygon_dictionaries/explain_15.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01760_db + Identifier points diff --git a/parser/testdata/01760_polygon_dictionaries/explain_5.txt b/parser/testdata/01760_polygon_dictionaries/explain_5.txt new file mode 100644 index 0000000000..557b21f6f8 --- /dev/null +++ b/parser/testdata/01760_polygon_dictionaries/explain_5.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01760_db + Identifier polygons diff --git a/parser/testdata/01760_polygon_dictionaries/explain_6.txt b/parser/testdata/01760_polygon_dictionaries/explain_6.txt new file mode 100644 index 0000000000..557b21f6f8 --- /dev/null +++ b/parser/testdata/01760_polygon_dictionaries/explain_6.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01760_db + Identifier polygons diff --git a/parser/testdata/01760_polygon_dictionaries/explain_7.txt b/parser/testdata/01760_polygon_dictionaries/explain_7.txt new file mode 100644 index 0000000000..557b21f6f8 --- /dev/null +++ b/parser/testdata/01760_polygon_dictionaries/explain_7.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01760_db + Identifier polygons diff --git a/parser/testdata/01760_polygon_dictionaries/explain_8.txt b/parser/testdata/01760_polygon_dictionaries/explain_8.txt new file mode 100644 index 0000000000..557b21f6f8 --- /dev/null +++ b/parser/testdata/01760_polygon_dictionaries/explain_8.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01760_db + Identifier polygons diff --git a/parser/testdata/01760_system_dictionaries/explain_18.txt b/parser/testdata/01760_system_dictionaries/explain_18.txt new file mode 100644 index 0000000000..3661358644 --- /dev/null +++ b/parser/testdata/01760_system_dictionaries/explain_18.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01760_db + Identifier example_complex_key_source diff --git a/parser/testdata/01760_system_dictionaries/explain_5.txt b/parser/testdata/01760_system_dictionaries/explain_5.txt new file mode 100644 index 0000000000..42f7ad32fa --- /dev/null +++ b/parser/testdata/01760_system_dictionaries/explain_5.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01760_db + Identifier example_simple_key_source diff --git a/parser/testdata/01761_alter_decimal_zookeeper_long/explain_12.txt b/parser/testdata/01761_alter_decimal_zookeeper_long/explain_12.txt new file mode 100644 index 0000000000..301915d039 --- /dev/null +++ b/parser/testdata/01761_alter_decimal_zookeeper_long/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_alter_decimal diff --git a/parser/testdata/01761_alter_decimal_zookeeper_long/explain_3.txt b/parser/testdata/01761_alter_decimal_zookeeper_long/explain_3.txt new file mode 100644 index 0000000000..301915d039 --- /dev/null +++ b/parser/testdata/01761_alter_decimal_zookeeper_long/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_alter_decimal diff --git a/parser/testdata/01761_alter_decimal_zookeeper_long/explain_4.txt b/parser/testdata/01761_alter_decimal_zookeeper_long/explain_4.txt new file mode 100644 index 0000000000..301915d039 --- /dev/null +++ b/parser/testdata/01761_alter_decimal_zookeeper_long/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_alter_decimal diff --git a/parser/testdata/01763_filter_push_down_bugs/explain_21.txt b/parser/testdata/01763_filter_push_down_bugs/explain_21.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/01763_filter_push_down_bugs/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/01763_filter_push_down_bugs/explain_22.txt b/parser/testdata/01763_filter_push_down_bugs/explain_22.txt new file mode 100644 index 0000000000..df4a687bc0 --- /dev/null +++ b/parser/testdata/01763_filter_push_down_bugs/explain_22.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2 diff --git a/parser/testdata/01764_collapsing_merge_adaptive_granularity/explain_11.txt b/parser/testdata/01764_collapsing_merge_adaptive_granularity/explain_11.txt new file mode 100644 index 0000000000..436fe88c90 --- /dev/null +++ b/parser/testdata/01764_collapsing_merge_adaptive_granularity/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier collapsing_suspicious_granularity diff --git a/parser/testdata/01764_prefer_column_name_to_alias/explain.txt b/parser/testdata/01764_prefer_column_name_to_alias/explain.txt index 11c487d20d..ba6800fef5 100644 --- a/parser/testdata/01764_prefer_column_name_to_alias/explain.txt +++ b/parser/testdata/01764_prefer_column_name_to_alias/explain.txt @@ -14,4 +14,3 @@ SelectWithUnionQuery (children 1) Function numbers (children 1) ExpressionList (children 1) Literal UInt64_10 -The query succeeded but the server error '184' was expected (query: EXPLAIN AST SELECT avg(number) AS number, max(number) FROM numbers(10); -- { serverError ILLEGAL_AGGREGATION }). diff --git a/parser/testdata/01764_prefer_column_name_to_alias/explain_10.txt b/parser/testdata/01764_prefer_column_name_to_alias/explain_10.txt new file mode 100644 index 0000000000..0280dd8d25 --- /dev/null +++ b/parser/testdata/01764_prefer_column_name_to_alias/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mytable diff --git a/parser/testdata/01764_table_function_dictionary/explain_3.txt b/parser/testdata/01764_table_function_dictionary/explain_3.txt new file mode 100644 index 0000000000..8582e0bb8c --- /dev/null +++ b/parser/testdata/01764_table_function_dictionary/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_function_dictionary_source_table diff --git a/parser/testdata/01764_table_function_dictionary/explain_4.txt b/parser/testdata/01764_table_function_dictionary/explain_4.txt new file mode 100644 index 0000000000..8582e0bb8c --- /dev/null +++ b/parser/testdata/01764_table_function_dictionary/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_function_dictionary_source_table diff --git a/parser/testdata/01765_hashed_dictionary_simple_key/explain_39.txt b/parser/testdata/01765_hashed_dictionary_simple_key/explain_39.txt new file mode 100644 index 0000000000..d098b53d54 --- /dev/null +++ b/parser/testdata/01765_hashed_dictionary_simple_key/explain_39.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01765_db + Identifier simple_key_complex_attributes_source_table diff --git a/parser/testdata/01765_hashed_dictionary_simple_key/explain_4.txt b/parser/testdata/01765_hashed_dictionary_simple_key/explain_4.txt new file mode 100644 index 0000000000..044e764578 --- /dev/null +++ b/parser/testdata/01765_hashed_dictionary_simple_key/explain_4.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01765_db + Identifier simple_key_simple_attributes_source_table diff --git a/parser/testdata/01765_hashed_dictionary_simple_key/explain_40.txt b/parser/testdata/01765_hashed_dictionary_simple_key/explain_40.txt new file mode 100644 index 0000000000..d098b53d54 --- /dev/null +++ b/parser/testdata/01765_hashed_dictionary_simple_key/explain_40.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01765_db + Identifier simple_key_complex_attributes_source_table diff --git a/parser/testdata/01765_hashed_dictionary_simple_key/explain_41.txt b/parser/testdata/01765_hashed_dictionary_simple_key/explain_41.txt new file mode 100644 index 0000000000..d098b53d54 --- /dev/null +++ b/parser/testdata/01765_hashed_dictionary_simple_key/explain_41.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01765_db + Identifier simple_key_complex_attributes_source_table diff --git a/parser/testdata/01765_hashed_dictionary_simple_key/explain_5.txt b/parser/testdata/01765_hashed_dictionary_simple_key/explain_5.txt new file mode 100644 index 0000000000..044e764578 --- /dev/null +++ b/parser/testdata/01765_hashed_dictionary_simple_key/explain_5.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01765_db + Identifier simple_key_simple_attributes_source_table diff --git a/parser/testdata/01765_hashed_dictionary_simple_key/explain_6.txt b/parser/testdata/01765_hashed_dictionary_simple_key/explain_6.txt new file mode 100644 index 0000000000..044e764578 --- /dev/null +++ b/parser/testdata/01765_hashed_dictionary_simple_key/explain_6.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01765_db + Identifier simple_key_simple_attributes_source_table diff --git a/parser/testdata/01765_hashed_dictionary_simple_key/explain_74.txt b/parser/testdata/01765_hashed_dictionary_simple_key/explain_74.txt new file mode 100644 index 0000000000..ddd3bf6656 --- /dev/null +++ b/parser/testdata/01765_hashed_dictionary_simple_key/explain_74.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01765_db + Identifier simple_key_hierarchy_table diff --git a/parser/testdata/01765_hashed_dictionary_simple_key/explain_75.txt b/parser/testdata/01765_hashed_dictionary_simple_key/explain_75.txt new file mode 100644 index 0000000000..ddd3bf6656 --- /dev/null +++ b/parser/testdata/01765_hashed_dictionary_simple_key/explain_75.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01765_db + Identifier simple_key_hierarchy_table diff --git a/parser/testdata/01765_hashed_dictionary_simple_key/explain_76.txt b/parser/testdata/01765_hashed_dictionary_simple_key/explain_76.txt new file mode 100644 index 0000000000..ddd3bf6656 --- /dev/null +++ b/parser/testdata/01765_hashed_dictionary_simple_key/explain_76.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01765_db + Identifier simple_key_hierarchy_table diff --git a/parser/testdata/01765_hashed_dictionary_simple_key/explain_77.txt b/parser/testdata/01765_hashed_dictionary_simple_key/explain_77.txt new file mode 100644 index 0000000000..ddd3bf6656 --- /dev/null +++ b/parser/testdata/01765_hashed_dictionary_simple_key/explain_77.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01765_db + Identifier simple_key_hierarchy_table diff --git a/parser/testdata/01765_move_to_table_overlapping_block_number/explain_10.txt b/parser/testdata/01765_move_to_table_overlapping_block_number/explain_10.txt new file mode 100644 index 0000000000..bcf53adb08 --- /dev/null +++ b/parser/testdata/01765_move_to_table_overlapping_block_number/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_src diff --git a/parser/testdata/01765_move_to_table_overlapping_block_number/explain_7.txt b/parser/testdata/01765_move_to_table_overlapping_block_number/explain_7.txt new file mode 100644 index 0000000000..176056e5ce --- /dev/null +++ b/parser/testdata/01765_move_to_table_overlapping_block_number/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_dst diff --git a/parser/testdata/01765_move_to_table_overlapping_block_number/explain_8.txt b/parser/testdata/01765_move_to_table_overlapping_block_number/explain_8.txt new file mode 100644 index 0000000000..176056e5ce --- /dev/null +++ b/parser/testdata/01765_move_to_table_overlapping_block_number/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_dst diff --git a/parser/testdata/01765_move_to_table_overlapping_block_number/explain_9.txt b/parser/testdata/01765_move_to_table_overlapping_block_number/explain_9.txt new file mode 100644 index 0000000000..176056e5ce --- /dev/null +++ b/parser/testdata/01765_move_to_table_overlapping_block_number/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_dst diff --git a/parser/testdata/01766_hashed_dictionary_complex_key/explain_24.txt b/parser/testdata/01766_hashed_dictionary_complex_key/explain_24.txt new file mode 100644 index 0000000000..f0ada08521 --- /dev/null +++ b/parser/testdata/01766_hashed_dictionary_complex_key/explain_24.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01766_db + Identifier complex_key_complex_attributes_source_table diff --git a/parser/testdata/01766_hashed_dictionary_complex_key/explain_25.txt b/parser/testdata/01766_hashed_dictionary_complex_key/explain_25.txt new file mode 100644 index 0000000000..f0ada08521 --- /dev/null +++ b/parser/testdata/01766_hashed_dictionary_complex_key/explain_25.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01766_db + Identifier complex_key_complex_attributes_source_table diff --git a/parser/testdata/01766_hashed_dictionary_complex_key/explain_26.txt b/parser/testdata/01766_hashed_dictionary_complex_key/explain_26.txt new file mode 100644 index 0000000000..f0ada08521 --- /dev/null +++ b/parser/testdata/01766_hashed_dictionary_complex_key/explain_26.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01766_db + Identifier complex_key_complex_attributes_source_table diff --git a/parser/testdata/01766_hashed_dictionary_complex_key/explain_4.txt b/parser/testdata/01766_hashed_dictionary_complex_key/explain_4.txt new file mode 100644 index 0000000000..ddef3289cb --- /dev/null +++ b/parser/testdata/01766_hashed_dictionary_complex_key/explain_4.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01766_db + Identifier complex_key_simple_attributes_source_table diff --git a/parser/testdata/01766_hashed_dictionary_complex_key/explain_5.txt b/parser/testdata/01766_hashed_dictionary_complex_key/explain_5.txt new file mode 100644 index 0000000000..ddef3289cb --- /dev/null +++ b/parser/testdata/01766_hashed_dictionary_complex_key/explain_5.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01766_db + Identifier complex_key_simple_attributes_source_table diff --git a/parser/testdata/01766_hashed_dictionary_complex_key/explain_6.txt b/parser/testdata/01766_hashed_dictionary_complex_key/explain_6.txt new file mode 100644 index 0000000000..ddef3289cb --- /dev/null +++ b/parser/testdata/01766_hashed_dictionary_complex_key/explain_6.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01766_db + Identifier complex_key_simple_attributes_source_table diff --git a/parser/testdata/01768_array_product/explain_13.txt b/parser/testdata/01768_array_product/explain_13.txt new file mode 100644 index 0000000000..0390ab9af1 --- /dev/null +++ b/parser/testdata/01768_array_product/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_aggregation diff --git a/parser/testdata/01768_array_product/explain_9.txt b/parser/testdata/01768_array_product/explain_9.txt new file mode 100644 index 0000000000..0390ab9af1 --- /dev/null +++ b/parser/testdata/01768_array_product/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_aggregation diff --git a/parser/testdata/01773_datetime64_add_ubsan/explain.txt b/parser/testdata/01773_datetime64_add_ubsan/explain.txt index 6b72e04253..13f338298b 100644 --- a/parser/testdata/01773_datetime64_add_ubsan/explain.txt +++ b/parser/testdata/01773_datetime64_add_ubsan/explain.txt @@ -16,4 +16,3 @@ SelectWithUnionQuery (children 1) Function numbers (children 1) ExpressionList (children 1) Literal UInt64_2 -The query succeeded but the server error '407' was expected (query: EXPLAIN AST SELECT ignore(addHours(now64(3), inf)) FROM numbers(2); -- { serverError DECIMAL_OVERFLOW }). diff --git a/parser/testdata/01773_min_max_time_system_parts_datetime64/explain_3.txt b/parser/testdata/01773_min_max_time_system_parts_datetime64/explain_3.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/01773_min_max_time_system_parts_datetime64/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/01774_bar_with_illegal_value/explain.txt b/parser/testdata/01774_bar_with_illegal_value/explain.txt index 814769c8cd..9b379f82da 100644 --- a/parser/testdata/01774_bar_with_illegal_value/explain.txt +++ b/parser/testdata/01774_bar_with_illegal_value/explain.txt @@ -16,4 +16,3 @@ SelectWithUnionQuery (children 1) Literal UInt64_7 Literal Float64_-inf Literal UInt64_1024 -The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT greatCircleAngle(1048575, 257, -9223372036854775808, 1048576) - NULL, bar(7, -inf, 1024); -- { serverError BAD_ARGUMENTS } ). diff --git a/parser/testdata/01776_decrypt_aead_size_check/explain.txt b/parser/testdata/01776_decrypt_aead_size_check/explain.txt index 5871404092..77408b5dd8 100644 --- a/parser/testdata/01776_decrypt_aead_size_check/explain.txt +++ b/parser/testdata/01776_decrypt_aead_size_check/explain.txt @@ -8,4 +8,3 @@ SelectWithUnionQuery (children 1) Literal \'text\' Literal \'key\' Literal \'IV\' -The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT decrypt('aes-128-gcm', 'text', 'key', 'IV'); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/01777_map_populate_series_ubsan/explain.txt b/parser/testdata/01777_map_populate_series_ubsan/explain.txt index 1740ea2e86..fbae790da0 100644 --- a/parser/testdata/01777_map_populate_series_ubsan/explain.txt +++ b/parser/testdata/01777_map_populate_series_ubsan/explain.txt @@ -16,4 +16,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) Literal UInt64_1023 Literal Int64_-1 -The query succeeded but the server error '128' was expected (query: EXPLAIN AST SELECT mapPopulateSeries([-9223372036854775808, toUInt32(2)], [toUInt32(1023), -1]); -- { serverError TOO_LARGE_ARRAY_SIZE }). diff --git a/parser/testdata/01778_hierarchical_dictionaries/explain_4.txt b/parser/testdata/01778_hierarchical_dictionaries/explain_4.txt new file mode 100644 index 0000000000..eb15986c3d --- /dev/null +++ b/parser/testdata/01778_hierarchical_dictionaries/explain_4.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01778_db + Identifier hierarchy_source_table diff --git a/parser/testdata/01778_where_with_column_name/explain_3.txt b/parser/testdata/01778_where_with_column_name/explain_3.txt new file mode 100644 index 0000000000..dc91af93e3 --- /dev/null +++ b/parser/testdata/01778_where_with_column_name/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttt01778 diff --git a/parser/testdata/01780_clickhouse_dictionary_source_loop/explain_11.txt b/parser/testdata/01780_clickhouse_dictionary_source_loop/explain_11.txt new file mode 100644 index 0000000000..7fbe44a49b --- /dev/null +++ b/parser/testdata/01780_clickhouse_dictionary_source_loop/explain_11.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01780_db + Identifier dict3_source diff --git a/parser/testdata/01780_column_sparse/explain_14.txt b/parser/testdata/01780_column_sparse/explain_14.txt new file mode 100644 index 0000000000..c01c9ae435 --- /dev/null +++ b/parser/testdata/01780_column_sparse/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_sparse_1 diff --git a/parser/testdata/01780_column_sparse_pk/explain_4.txt b/parser/testdata/01780_column_sparse_pk/explain_4.txt new file mode 100644 index 0000000000..9166719ca8 --- /dev/null +++ b/parser/testdata/01780_column_sparse_pk/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_sparse_pk diff --git a/parser/testdata/01780_dict_get_or_null/explain_14.txt b/parser/testdata/01780_dict_get_or_null/explain_14.txt new file mode 100644 index 0000000000..924840b4b1 --- /dev/null +++ b/parser/testdata/01780_dict_get_or_null/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier complex_key_dictionary_source_table diff --git a/parser/testdata/01780_dict_get_or_null/explain_15.txt b/parser/testdata/01780_dict_get_or_null/explain_15.txt new file mode 100644 index 0000000000..924840b4b1 --- /dev/null +++ b/parser/testdata/01780_dict_get_or_null/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier complex_key_dictionary_source_table diff --git a/parser/testdata/01780_dict_get_or_null/explain_16.txt b/parser/testdata/01780_dict_get_or_null/explain_16.txt new file mode 100644 index 0000000000..924840b4b1 --- /dev/null +++ b/parser/testdata/01780_dict_get_or_null/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier complex_key_dictionary_source_table diff --git a/parser/testdata/01780_dict_get_or_null/explain_25.txt b/parser/testdata/01780_dict_get_or_null/explain_25.txt new file mode 100644 index 0000000000..6e57126656 --- /dev/null +++ b/parser/testdata/01780_dict_get_or_null/explain_25.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier range_key_dictionary_source_table diff --git a/parser/testdata/01780_dict_get_or_null/explain_26.txt b/parser/testdata/01780_dict_get_or_null/explain_26.txt new file mode 100644 index 0000000000..6e57126656 --- /dev/null +++ b/parser/testdata/01780_dict_get_or_null/explain_26.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier range_key_dictionary_source_table diff --git a/parser/testdata/01780_dict_get_or_null/explain_27.txt b/parser/testdata/01780_dict_get_or_null/explain_27.txt new file mode 100644 index 0000000000..6e57126656 --- /dev/null +++ b/parser/testdata/01780_dict_get_or_null/explain_27.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier range_key_dictionary_source_table diff --git a/parser/testdata/01780_dict_get_or_null/explain_3.txt b/parser/testdata/01780_dict_get_or_null/explain_3.txt new file mode 100644 index 0000000000..a7366ac25f --- /dev/null +++ b/parser/testdata/01780_dict_get_or_null/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier simple_key_dictionary_source_table diff --git a/parser/testdata/01780_dict_get_or_null/explain_4.txt b/parser/testdata/01780_dict_get_or_null/explain_4.txt new file mode 100644 index 0000000000..a7366ac25f --- /dev/null +++ b/parser/testdata/01780_dict_get_or_null/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier simple_key_dictionary_source_table diff --git a/parser/testdata/01780_dict_get_or_null/explain_5.txt b/parser/testdata/01780_dict_get_or_null/explain_5.txt new file mode 100644 index 0000000000..a7366ac25f --- /dev/null +++ b/parser/testdata/01780_dict_get_or_null/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier simple_key_dictionary_source_table diff --git a/parser/testdata/01780_range_msan/explain.txt b/parser/testdata/01780_range_msan/explain.txt index 7db6ddc536..24362f4968 100644 --- a/parser/testdata/01780_range_msan/explain.txt +++ b/parser/testdata/01780_range_msan/explain.txt @@ -8,4 +8,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) Literal UInt64_1 Literal UInt64_1 -The query succeeded but the server error '44' was expected (query: EXPLAIN AST SELECT range(toUInt256(1), 1); -- { serverError ILLEGAL_COLUMN }). diff --git a/parser/testdata/01781_merge_tree_deduplication/explain_10.txt b/parser/testdata/01781_merge_tree_deduplication/explain_10.txt new file mode 100644 index 0000000000..db5a8b9288 --- /dev/null +++ b/parser/testdata/01781_merge_tree_deduplication/explain_10.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/01781_merge_tree_deduplication/explain_11.txt b/parser/testdata/01781_merge_tree_deduplication/explain_11.txt new file mode 100644 index 0000000000..db5a8b9288 --- /dev/null +++ b/parser/testdata/01781_merge_tree_deduplication/explain_11.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/01781_merge_tree_deduplication/explain_12.txt b/parser/testdata/01781_merge_tree_deduplication/explain_12.txt new file mode 100644 index 0000000000..db5a8b9288 --- /dev/null +++ b/parser/testdata/01781_merge_tree_deduplication/explain_12.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/01781_merge_tree_deduplication/explain_15.txt b/parser/testdata/01781_merge_tree_deduplication/explain_15.txt new file mode 100644 index 0000000000..db5a8b9288 --- /dev/null +++ b/parser/testdata/01781_merge_tree_deduplication/explain_15.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/01781_merge_tree_deduplication/explain_16.txt b/parser/testdata/01781_merge_tree_deduplication/explain_16.txt new file mode 100644 index 0000000000..db5a8b9288 --- /dev/null +++ b/parser/testdata/01781_merge_tree_deduplication/explain_16.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/01781_merge_tree_deduplication/explain_17.txt b/parser/testdata/01781_merge_tree_deduplication/explain_17.txt new file mode 100644 index 0000000000..db5a8b9288 --- /dev/null +++ b/parser/testdata/01781_merge_tree_deduplication/explain_17.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/01781_merge_tree_deduplication/explain_18.txt b/parser/testdata/01781_merge_tree_deduplication/explain_18.txt new file mode 100644 index 0000000000..db5a8b9288 --- /dev/null +++ b/parser/testdata/01781_merge_tree_deduplication/explain_18.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/01781_merge_tree_deduplication/explain_21.txt b/parser/testdata/01781_merge_tree_deduplication/explain_21.txt new file mode 100644 index 0000000000..db5a8b9288 --- /dev/null +++ b/parser/testdata/01781_merge_tree_deduplication/explain_21.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/01781_merge_tree_deduplication/explain_22.txt b/parser/testdata/01781_merge_tree_deduplication/explain_22.txt new file mode 100644 index 0000000000..db5a8b9288 --- /dev/null +++ b/parser/testdata/01781_merge_tree_deduplication/explain_22.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/01781_merge_tree_deduplication/explain_23.txt b/parser/testdata/01781_merge_tree_deduplication/explain_23.txt new file mode 100644 index 0000000000..db5a8b9288 --- /dev/null +++ b/parser/testdata/01781_merge_tree_deduplication/explain_23.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/01781_merge_tree_deduplication/explain_24.txt b/parser/testdata/01781_merge_tree_deduplication/explain_24.txt new file mode 100644 index 0000000000..db5a8b9288 --- /dev/null +++ b/parser/testdata/01781_merge_tree_deduplication/explain_24.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/01781_merge_tree_deduplication/explain_25.txt b/parser/testdata/01781_merge_tree_deduplication/explain_25.txt new file mode 100644 index 0000000000..db5a8b9288 --- /dev/null +++ b/parser/testdata/01781_merge_tree_deduplication/explain_25.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/01781_merge_tree_deduplication/explain_26.txt b/parser/testdata/01781_merge_tree_deduplication/explain_26.txt new file mode 100644 index 0000000000..db5a8b9288 --- /dev/null +++ b/parser/testdata/01781_merge_tree_deduplication/explain_26.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/01781_merge_tree_deduplication/explain_27.txt b/parser/testdata/01781_merge_tree_deduplication/explain_27.txt new file mode 100644 index 0000000000..db5a8b9288 --- /dev/null +++ b/parser/testdata/01781_merge_tree_deduplication/explain_27.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/01781_merge_tree_deduplication/explain_28.txt b/parser/testdata/01781_merge_tree_deduplication/explain_28.txt new file mode 100644 index 0000000000..db5a8b9288 --- /dev/null +++ b/parser/testdata/01781_merge_tree_deduplication/explain_28.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/01781_merge_tree_deduplication/explain_32.txt b/parser/testdata/01781_merge_tree_deduplication/explain_32.txt new file mode 100644 index 0000000000..db5a8b9288 --- /dev/null +++ b/parser/testdata/01781_merge_tree_deduplication/explain_32.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/01781_merge_tree_deduplication/explain_35.txt b/parser/testdata/01781_merge_tree_deduplication/explain_35.txt new file mode 100644 index 0000000000..db5a8b9288 --- /dev/null +++ b/parser/testdata/01781_merge_tree_deduplication/explain_35.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/01781_merge_tree_deduplication/explain_4.txt b/parser/testdata/01781_merge_tree_deduplication/explain_4.txt new file mode 100644 index 0000000000..db5a8b9288 --- /dev/null +++ b/parser/testdata/01781_merge_tree_deduplication/explain_4.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/01781_merge_tree_deduplication/explain_40.txt b/parser/testdata/01781_merge_tree_deduplication/explain_40.txt new file mode 100644 index 0000000000..db5a8b9288 --- /dev/null +++ b/parser/testdata/01781_merge_tree_deduplication/explain_40.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/01781_merge_tree_deduplication/explain_41.txt b/parser/testdata/01781_merge_tree_deduplication/explain_41.txt new file mode 100644 index 0000000000..db5a8b9288 --- /dev/null +++ b/parser/testdata/01781_merge_tree_deduplication/explain_41.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/01781_merge_tree_deduplication/explain_45.txt b/parser/testdata/01781_merge_tree_deduplication/explain_45.txt new file mode 100644 index 0000000000..dd6f8a58c5 --- /dev/null +++ b/parser/testdata/01781_merge_tree_deduplication/explain_45.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 3) + Identifier key + Identifier value + Identifier part diff --git a/parser/testdata/01781_merge_tree_deduplication/explain_47.txt b/parser/testdata/01781_merge_tree_deduplication/explain_47.txt new file mode 100644 index 0000000000..dd6f8a58c5 --- /dev/null +++ b/parser/testdata/01781_merge_tree_deduplication/explain_47.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 3) + Identifier key + Identifier value + Identifier part diff --git a/parser/testdata/01781_merge_tree_deduplication/explain_48.txt b/parser/testdata/01781_merge_tree_deduplication/explain_48.txt new file mode 100644 index 0000000000..db5a8b9288 --- /dev/null +++ b/parser/testdata/01781_merge_tree_deduplication/explain_48.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/01781_merge_tree_deduplication/explain_52.txt b/parser/testdata/01781_merge_tree_deduplication/explain_52.txt new file mode 100644 index 0000000000..dd6f8a58c5 --- /dev/null +++ b/parser/testdata/01781_merge_tree_deduplication/explain_52.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 3) + Identifier key + Identifier value + Identifier part diff --git a/parser/testdata/01781_merge_tree_deduplication/explain_53.txt b/parser/testdata/01781_merge_tree_deduplication/explain_53.txt new file mode 100644 index 0000000000..dd6f8a58c5 --- /dev/null +++ b/parser/testdata/01781_merge_tree_deduplication/explain_53.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 3) + Identifier key + Identifier value + Identifier part diff --git a/parser/testdata/01781_merge_tree_deduplication/explain_54.txt b/parser/testdata/01781_merge_tree_deduplication/explain_54.txt new file mode 100644 index 0000000000..dd6f8a58c5 --- /dev/null +++ b/parser/testdata/01781_merge_tree_deduplication/explain_54.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 3) + Identifier key + Identifier value + Identifier part diff --git a/parser/testdata/01781_merge_tree_deduplication/explain_55.txt b/parser/testdata/01781_merge_tree_deduplication/explain_55.txt new file mode 100644 index 0000000000..dd6f8a58c5 --- /dev/null +++ b/parser/testdata/01781_merge_tree_deduplication/explain_55.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 3) + Identifier key + Identifier value + Identifier part diff --git a/parser/testdata/01781_merge_tree_deduplication/explain_59.txt b/parser/testdata/01781_merge_tree_deduplication/explain_59.txt new file mode 100644 index 0000000000..dd6f8a58c5 --- /dev/null +++ b/parser/testdata/01781_merge_tree_deduplication/explain_59.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 3) + Identifier key + Identifier value + Identifier part diff --git a/parser/testdata/01781_merge_tree_deduplication/explain_6.txt b/parser/testdata/01781_merge_tree_deduplication/explain_6.txt new file mode 100644 index 0000000000..db5a8b9288 --- /dev/null +++ b/parser/testdata/01781_merge_tree_deduplication/explain_6.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/01781_merge_tree_deduplication/explain_60.txt b/parser/testdata/01781_merge_tree_deduplication/explain_60.txt new file mode 100644 index 0000000000..dd6f8a58c5 --- /dev/null +++ b/parser/testdata/01781_merge_tree_deduplication/explain_60.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 3) + Identifier key + Identifier value + Identifier part diff --git a/parser/testdata/01781_merge_tree_deduplication/explain_66.txt b/parser/testdata/01781_merge_tree_deduplication/explain_66.txt new file mode 100644 index 0000000000..dd6f8a58c5 --- /dev/null +++ b/parser/testdata/01781_merge_tree_deduplication/explain_66.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 3) + Identifier key + Identifier value + Identifier part diff --git a/parser/testdata/01781_merge_tree_deduplication/explain_69.txt b/parser/testdata/01781_merge_tree_deduplication/explain_69.txt new file mode 100644 index 0000000000..dd6f8a58c5 --- /dev/null +++ b/parser/testdata/01781_merge_tree_deduplication/explain_69.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 3) + Identifier key + Identifier value + Identifier part diff --git a/parser/testdata/01781_merge_tree_deduplication/explain_70.txt b/parser/testdata/01781_merge_tree_deduplication/explain_70.txt new file mode 100644 index 0000000000..dd6f8a58c5 --- /dev/null +++ b/parser/testdata/01781_merge_tree_deduplication/explain_70.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 3) + Identifier key + Identifier value + Identifier part diff --git a/parser/testdata/01781_merge_tree_deduplication/explain_71.txt b/parser/testdata/01781_merge_tree_deduplication/explain_71.txt new file mode 100644 index 0000000000..dd6f8a58c5 --- /dev/null +++ b/parser/testdata/01781_merge_tree_deduplication/explain_71.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 3) + Identifier key + Identifier value + Identifier part diff --git a/parser/testdata/01781_merge_tree_deduplication/explain_72.txt b/parser/testdata/01781_merge_tree_deduplication/explain_72.txt new file mode 100644 index 0000000000..dd6f8a58c5 --- /dev/null +++ b/parser/testdata/01781_merge_tree_deduplication/explain_72.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 3) + Identifier key + Identifier value + Identifier part diff --git a/parser/testdata/01781_merge_tree_deduplication/explain_73.txt b/parser/testdata/01781_merge_tree_deduplication/explain_73.txt new file mode 100644 index 0000000000..dd6f8a58c5 --- /dev/null +++ b/parser/testdata/01781_merge_tree_deduplication/explain_73.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 3) + Identifier key + Identifier value + Identifier part diff --git a/parser/testdata/01781_merge_tree_deduplication/explain_81.txt b/parser/testdata/01781_merge_tree_deduplication/explain_81.txt new file mode 100644 index 0000000000..ad266197c3 --- /dev/null +++ b/parser/testdata/01781_merge_tree_deduplication/explain_81.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_no_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/01781_merge_tree_deduplication/explain_82.txt b/parser/testdata/01781_merge_tree_deduplication/explain_82.txt new file mode 100644 index 0000000000..ad266197c3 --- /dev/null +++ b/parser/testdata/01781_merge_tree_deduplication/explain_82.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_no_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/01781_merge_tree_deduplication/explain_86.txt b/parser/testdata/01781_merge_tree_deduplication/explain_86.txt new file mode 100644 index 0000000000..ad266197c3 --- /dev/null +++ b/parser/testdata/01781_merge_tree_deduplication/explain_86.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_no_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/01781_merge_tree_deduplication/explain_87.txt b/parser/testdata/01781_merge_tree_deduplication/explain_87.txt new file mode 100644 index 0000000000..ad266197c3 --- /dev/null +++ b/parser/testdata/01781_merge_tree_deduplication/explain_87.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_no_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/01781_merge_tree_deduplication/explain_88.txt b/parser/testdata/01781_merge_tree_deduplication/explain_88.txt new file mode 100644 index 0000000000..ad266197c3 --- /dev/null +++ b/parser/testdata/01781_merge_tree_deduplication/explain_88.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_no_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/01781_merge_tree_deduplication/explain_9.txt b/parser/testdata/01781_merge_tree_deduplication/explain_9.txt new file mode 100644 index 0000000000..db5a8b9288 --- /dev/null +++ b/parser/testdata/01781_merge_tree_deduplication/explain_9.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/01781_merge_tree_deduplication/explain_91.txt b/parser/testdata/01781_merge_tree_deduplication/explain_91.txt new file mode 100644 index 0000000000..ad266197c3 --- /dev/null +++ b/parser/testdata/01781_merge_tree_deduplication/explain_91.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_no_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/01781_merge_tree_deduplication/explain_92.txt b/parser/testdata/01781_merge_tree_deduplication/explain_92.txt new file mode 100644 index 0000000000..ad266197c3 --- /dev/null +++ b/parser/testdata/01781_merge_tree_deduplication/explain_92.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_no_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/01783_merge_engine_join_key_condition/explain_8.txt b/parser/testdata/01783_merge_engine_join_key_condition/explain_8.txt new file mode 100644 index 0000000000..df4a687bc0 --- /dev/null +++ b/parser/testdata/01783_merge_engine_join_key_condition/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2 diff --git a/parser/testdata/01785_dictionary_element_count/explain_23.txt b/parser/testdata/01785_dictionary_element_count/explain_23.txt new file mode 100644 index 0000000000..5aadd53fda --- /dev/null +++ b/parser/testdata/01785_dictionary_element_count/explain_23.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01785_db + Identifier complex_key_source_table diff --git a/parser/testdata/01785_dictionary_element_count/explain_24.txt b/parser/testdata/01785_dictionary_element_count/explain_24.txt new file mode 100644 index 0000000000..5aadd53fda --- /dev/null +++ b/parser/testdata/01785_dictionary_element_count/explain_24.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01785_db + Identifier complex_key_source_table diff --git a/parser/testdata/01785_dictionary_element_count/explain_5.txt b/parser/testdata/01785_dictionary_element_count/explain_5.txt new file mode 100644 index 0000000000..04e23870fa --- /dev/null +++ b/parser/testdata/01785_dictionary_element_count/explain_5.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01785_db + Identifier simple_key_source_table diff --git a/parser/testdata/01785_dictionary_element_count/explain_6.txt b/parser/testdata/01785_dictionary_element_count/explain_6.txt new file mode 100644 index 0000000000..04e23870fa --- /dev/null +++ b/parser/testdata/01785_dictionary_element_count/explain_6.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01785_db + Identifier simple_key_source_table diff --git a/parser/testdata/01790_dist_INSERT_block_structure_mismatch_types_and_names/explain_11.txt b/parser/testdata/01790_dist_INSERT_block_structure_mismatch_types_and_names/explain_11.txt new file mode 100644 index 0000000000..e53fbb7964 --- /dev/null +++ b/parser/testdata/01790_dist_INSERT_block_structure_mismatch_types_and_names/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dist_01781 diff --git a/parser/testdata/01790_dist_INSERT_block_structure_mismatch_types_and_names/explain_7.txt b/parser/testdata/01790_dist_INSERT_block_structure_mismatch_types_and_names/explain_7.txt new file mode 100644 index 0000000000..e53fbb7964 --- /dev/null +++ b/parser/testdata/01790_dist_INSERT_block_structure_mismatch_types_and_names/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dist_01781 diff --git a/parser/testdata/01798_having_push_down/explain_13.txt b/parser/testdata/01798_having_push_down/explain_13.txt new file mode 100644 index 0000000000..753e371275 --- /dev/null +++ b/parser/testdata/01798_having_push_down/explain_13.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t_exact + ExpressionList (children 2) + Identifier c0 + Identifier c1 diff --git a/parser/testdata/01800_log_nested/explain_13.txt b/parser/testdata/01800_log_nested/explain_13.txt new file mode 100644 index 0000000000..503d3ea45d --- /dev/null +++ b/parser/testdata/01800_log_nested/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nested_01800_log diff --git a/parser/testdata/01800_log_nested/explain_3.txt b/parser/testdata/01800_log_nested/explain_3.txt new file mode 100644 index 0000000000..a1120be430 --- /dev/null +++ b/parser/testdata/01800_log_nested/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nested_01800_tiny_log diff --git a/parser/testdata/01800_log_nested/explain_8.txt b/parser/testdata/01800_log_nested/explain_8.txt new file mode 100644 index 0000000000..0c4b24b1bf --- /dev/null +++ b/parser/testdata/01800_log_nested/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nested_01800_stripe_log diff --git a/parser/testdata/01802_rank_corr_mann_whitney_over_window/explain_3.txt b/parser/testdata/01802_rank_corr_mann_whitney_over_window/explain_3.txt new file mode 100644 index 0000000000..7b8b48eebb --- /dev/null +++ b/parser/testdata/01802_rank_corr_mann_whitney_over_window/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 01802_empsalary diff --git a/parser/testdata/01803_const_nullable_map/explain_3.txt b/parser/testdata/01803_const_nullable_map/explain_3.txt new file mode 100644 index 0000000000..82b4158656 --- /dev/null +++ b/parser/testdata/01803_const_nullable_map/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_map_null diff --git a/parser/testdata/01804_dictionary_decimal256_type/explain_27.txt b/parser/testdata/01804_dictionary_decimal256_type/explain_27.txt new file mode 100644 index 0000000000..deae9938e6 --- /dev/null +++ b/parser/testdata/01804_dictionary_decimal256_type/explain_27.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ip_trie_dictionary_decimal_source_table diff --git a/parser/testdata/01804_dictionary_decimal256_type/explain_3.txt b/parser/testdata/01804_dictionary_decimal256_type/explain_3.txt new file mode 100644 index 0000000000..75efd887cb --- /dev/null +++ b/parser/testdata/01804_dictionary_decimal256_type/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dictionary_decimal_source_table diff --git a/parser/testdata/01804_dictionary_decimal256_type/explain_36.txt b/parser/testdata/01804_dictionary_decimal256_type/explain_36.txt new file mode 100644 index 0000000000..d2c5d587db --- /dev/null +++ b/parser/testdata/01804_dictionary_decimal256_type/explain_36.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dictionary_decimal_polygons_source_table diff --git a/parser/testdata/01804_uniq_up_to_ubsan/explain.txt b/parser/testdata/01804_uniq_up_to_ubsan/explain.txt index bbeaede3d1..040bf5a522 100644 --- a/parser/testdata/01804_uniq_up_to_ubsan/explain.txt +++ b/parser/testdata/01804_uniq_up_to_ubsan/explain.txt @@ -13,4 +13,3 @@ SelectWithUnionQuery (children 1) Function numbers (children 1) ExpressionList (children 1) Literal UInt64_5 -The query succeeded but the server error '70' was expected (query: EXPLAIN AST SELECT uniqUpTo(1e100)(number) FROM numbers(5); -- { serverError CANNOT_CONVERT_TYPE }). diff --git a/parser/testdata/01809_inactive_parts_to_delay_throw_insert/explain_3.txt b/parser/testdata/01809_inactive_parts_to_delay_throw_insert/explain_3.txt new file mode 100644 index 0000000000..17ea0992d8 --- /dev/null +++ b/parser/testdata/01809_inactive_parts_to_delay_throw_insert/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data_01809 diff --git a/parser/testdata/01809_inactive_parts_to_delay_throw_insert/explain_4.txt b/parser/testdata/01809_inactive_parts_to_delay_throw_insert/explain_4.txt new file mode 100644 index 0000000000..17ea0992d8 --- /dev/null +++ b/parser/testdata/01809_inactive_parts_to_delay_throw_insert/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data_01809 diff --git a/parser/testdata/01809_inactive_parts_to_delay_throw_insert/explain_6.txt b/parser/testdata/01809_inactive_parts_to_delay_throw_insert/explain_6.txt new file mode 100644 index 0000000000..17ea0992d8 --- /dev/null +++ b/parser/testdata/01809_inactive_parts_to_delay_throw_insert/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data_01809 diff --git a/parser/testdata/01811_datename/explain.txt b/parser/testdata/01811_datename/explain.txt new file mode 100644 index 0000000000..124d76b8e1 --- /dev/null +++ b/parser/testdata/01811_datename/explain.txt @@ -0,0 +1,34 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 4) + Function toDate (alias date_value) (children 1) + ExpressionList (children 1) + Literal \'2021-04-14\' + Function toDate32 (alias date_32_value) (children 1) + ExpressionList (children 1) + Literal \'2021-04-14\' + Function toDateTime (alias date_time_value) (children 1) + ExpressionList (children 1) + Literal \'2021-04-14 11:22:33\' + Function toDateTime64 (alias date_time_64_value) (children 1) + ExpressionList (children 2) + Literal \'2021-04-14 11:22:33\' + Literal UInt64_3 + ExpressionList (children 4) + Function dateName (children 1) + ExpressionList (children 2) + Literal \'year\' + Identifier date_value + Function dateName (children 1) + ExpressionList (children 2) + Literal \'year\' + Identifier date_32_value + Function dateName (children 1) + ExpressionList (children 2) + Literal \'year\' + Identifier date_time_value + Function dateName (children 1) + ExpressionList (children 2) + Literal \'year\' + Identifier date_time_64_value diff --git a/parser/testdata/01811_filter_by_null/explain_3.txt b/parser/testdata/01811_filter_by_null/explain_3.txt new file mode 100644 index 0000000000..0e32d7642d --- /dev/null +++ b/parser/testdata/01811_filter_by_null/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_01344 diff --git a/parser/testdata/01813_distributed_scalar_subqueries_alias/explain_5.txt b/parser/testdata/01813_distributed_scalar_subqueries_alias/explain_5.txt new file mode 100644 index 0000000000..36337a4d9e --- /dev/null +++ b/parser/testdata/01813_distributed_scalar_subqueries_alias/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data diff --git a/parser/testdata/01813_quantileBfloat16_nans/explain.txt b/parser/testdata/01813_quantileBfloat16_nans/explain.txt new file mode 100644 index 0000000000..07ad8a06f3 --- /dev/null +++ b/parser/testdata/01813_quantileBfloat16_nans/explain.txt @@ -0,0 +1,76 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier eq + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 3) + Function range (alias arr) (children 1) + ExpressionList (children 1) + Function plus (children 1) + ExpressionList (children 2) + Literal UInt64_2 + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 + Function arrayMap (alias arr_with_nan) (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function if (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Identifier x + Function intDiv (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 + Literal Float64_nan + Identifier x + Identifier arr + Function arrayFilter (alias arr_filtered) (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function notEquals (children 1) + ExpressionList (children 2) + Identifier x + Function intDiv (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 + Identifier arr + ExpressionList (children 4) + Identifier number + Function arrayReduce (alias q1) (children 1) + ExpressionList (children 2) + Literal \'quantileBFloat16\' + Identifier arr_with_nan + Function arrayReduce (alias q2) (children 1) + ExpressionList (children 2) + Literal \'quantileBFloat16\' + Identifier arr_filtered + Function equals (alias eq) (children 1) + ExpressionList (children 2) + Identifier q1 + Identifier q2 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_100 diff --git a/parser/testdata/01821_dictionary_primary_key_wrong_order/explain_3.txt b/parser/testdata/01821_dictionary_primary_key_wrong_order/explain_3.txt new file mode 100644 index 0000000000..025e70d950 --- /dev/null +++ b/parser/testdata/01821_dictionary_primary_key_wrong_order/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dictionary_primary_key_source_table diff --git a/parser/testdata/01821_join_table_mutation/explain_9.txt b/parser/testdata/01821_join_table_mutation/explain_9.txt new file mode 100644 index 0000000000..65451bf313 --- /dev/null +++ b/parser/testdata/01821_join_table_mutation/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier join_table_mutation diff --git a/parser/testdata/01823_array_low_cardinality_KuliginStepan/explain.txt b/parser/testdata/01823_array_low_cardinality_KuliginStepan/explain.txt new file mode 100644 index 0000000000..f9a9489e76 --- /dev/null +++ b/parser/testdata/01823_array_low_cardinality_KuliginStepan/explain.txt @@ -0,0 +1,12 @@ +CreateQuery test (children 2) + Identifier test + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration arr (children 1) + DataType Array (children 1) + ExpressionList (children 1) + DataType Array (children 1) + ExpressionList (children 1) + DataType LowCardinality (children 1) + ExpressionList (children 1) + DataType String diff --git a/parser/testdata/01823_array_low_cardinality_KuliginStepan/explain_2.txt b/parser/testdata/01823_array_low_cardinality_KuliginStepan/explain_2.txt new file mode 100644 index 0000000000..a0cac5dac1 --- /dev/null +++ b/parser/testdata/01823_array_low_cardinality_KuliginStepan/explain_2.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 1) + Identifier arr diff --git a/parser/testdata/01824_prefer_global_in_and_join/explain_11.txt b/parser/testdata/01824_prefer_global_in_and_join/explain_11.txt new file mode 100644 index 0000000000..e4508d9ff9 --- /dev/null +++ b/parser/testdata/01824_prefer_global_in_and_join/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1_shard diff --git a/parser/testdata/01824_prefer_global_in_and_join/explain_12.txt b/parser/testdata/01824_prefer_global_in_and_join/explain_12.txt new file mode 100644 index 0000000000..6fd9cc1ec6 --- /dev/null +++ b/parser/testdata/01824_prefer_global_in_and_join/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2_shard diff --git a/parser/testdata/01825_new_type_json_10/explain_5.txt b/parser/testdata/01825_new_type_json_10/explain_5.txt new file mode 100644 index 0000000000..6ca379499a --- /dev/null +++ b/parser/testdata/01825_new_type_json_10/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_json_10 diff --git a/parser/testdata/01825_new_type_json_18/explain_4.txt b/parser/testdata/01825_new_type_json_18/explain_4.txt new file mode 100644 index 0000000000..23db1ca9e8 --- /dev/null +++ b/parser/testdata/01825_new_type_json_18/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_json_2 diff --git a/parser/testdata/01825_new_type_json_18/explain_7.txt b/parser/testdata/01825_new_type_json_18/explain_7.txt new file mode 100644 index 0000000000..23db1ca9e8 --- /dev/null +++ b/parser/testdata/01825_new_type_json_18/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_json_2 diff --git a/parser/testdata/01825_new_type_json_2/explain_13.txt b/parser/testdata/01825_new_type_json_2/explain_13.txt new file mode 100644 index 0000000000..23db1ca9e8 --- /dev/null +++ b/parser/testdata/01825_new_type_json_2/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_json_2 diff --git a/parser/testdata/01825_new_type_json_2/explain_16.txt b/parser/testdata/01825_new_type_json_2/explain_16.txt new file mode 100644 index 0000000000..23db1ca9e8 --- /dev/null +++ b/parser/testdata/01825_new_type_json_2/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_json_2 diff --git a/parser/testdata/01825_new_type_json_2/explain_21.txt b/parser/testdata/01825_new_type_json_2/explain_21.txt new file mode 100644 index 0000000000..23db1ca9e8 --- /dev/null +++ b/parser/testdata/01825_new_type_json_2/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_json_2 diff --git a/parser/testdata/01825_new_type_json_2/explain_5.txt b/parser/testdata/01825_new_type_json_2/explain_5.txt new file mode 100644 index 0000000000..23db1ca9e8 --- /dev/null +++ b/parser/testdata/01825_new_type_json_2/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_json_2 diff --git a/parser/testdata/01825_new_type_json_2/explain_8.txt b/parser/testdata/01825_new_type_json_2/explain_8.txt new file mode 100644 index 0000000000..23db1ca9e8 --- /dev/null +++ b/parser/testdata/01825_new_type_json_2/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_json_2 diff --git a/parser/testdata/01825_new_type_json_9/explain_4.txt b/parser/testdata/01825_new_type_json_9/explain_4.txt new file mode 100644 index 0000000000..80379f056a --- /dev/null +++ b/parser/testdata/01825_new_type_json_9/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_json diff --git a/parser/testdata/01825_new_type_json_9/explain_5.txt b/parser/testdata/01825_new_type_json_9/explain_5.txt new file mode 100644 index 0000000000..80379f056a --- /dev/null +++ b/parser/testdata/01825_new_type_json_9/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_json diff --git a/parser/testdata/01825_new_type_json_bools/explain_4.txt b/parser/testdata/01825_new_type_json_bools/explain_4.txt new file mode 100644 index 0000000000..f93c6a6706 --- /dev/null +++ b/parser/testdata/01825_new_type_json_bools/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_json_bools diff --git a/parser/testdata/01825_new_type_json_distributed/explain_6.txt b/parser/testdata/01825_new_type_json_distributed/explain_6.txt new file mode 100644 index 0000000000..d8acbf4d1e --- /dev/null +++ b/parser/testdata/01825_new_type_json_distributed/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_json_local diff --git a/parser/testdata/01825_new_type_json_ephemeral/explain_4.txt b/parser/testdata/01825_new_type_json_ephemeral/explain_4.txt new file mode 100644 index 0000000000..eebed221fb --- /dev/null +++ b/parser/testdata/01825_new_type_json_ephemeral/explain_4.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t_github_json + ExpressionList (children 1) + Identifier message_raw diff --git a/parser/testdata/01825_new_type_json_in_array/explain_13.txt b/parser/testdata/01825_new_type_json_in_array/explain_13.txt new file mode 100644 index 0000000000..0e2221b3ae --- /dev/null +++ b/parser/testdata/01825_new_type_json_in_array/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_json_array diff --git a/parser/testdata/01825_new_type_json_in_array/explain_8.txt b/parser/testdata/01825_new_type_json_in_array/explain_8.txt new file mode 100644 index 0000000000..0e2221b3ae --- /dev/null +++ b/parser/testdata/01825_new_type_json_in_array/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_json_array diff --git a/parser/testdata/01825_new_type_json_insert_select/explain_13.txt b/parser/testdata/01825_new_type_json_insert_select/explain_13.txt new file mode 100644 index 0000000000..ed02bbd363 --- /dev/null +++ b/parser/testdata/01825_new_type_json_insert_select/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier type_json_src diff --git a/parser/testdata/01825_new_type_json_insert_select/explain_17.txt b/parser/testdata/01825_new_type_json_insert_select/explain_17.txt new file mode 100644 index 0000000000..f9452add38 --- /dev/null +++ b/parser/testdata/01825_new_type_json_insert_select/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier type_json_dst diff --git a/parser/testdata/01825_new_type_json_insert_select/explain_18.txt b/parser/testdata/01825_new_type_json_insert_select/explain_18.txt new file mode 100644 index 0000000000..ed02bbd363 --- /dev/null +++ b/parser/testdata/01825_new_type_json_insert_select/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier type_json_src diff --git a/parser/testdata/01825_new_type_json_insert_select/explain_21.txt b/parser/testdata/01825_new_type_json_insert_select/explain_21.txt new file mode 100644 index 0000000000..ed02bbd363 --- /dev/null +++ b/parser/testdata/01825_new_type_json_insert_select/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier type_json_src diff --git a/parser/testdata/01825_new_type_json_insert_select/explain_33.txt b/parser/testdata/01825_new_type_json_insert_select/explain_33.txt new file mode 100644 index 0000000000..ed02bbd363 --- /dev/null +++ b/parser/testdata/01825_new_type_json_insert_select/explain_33.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier type_json_src diff --git a/parser/testdata/01825_new_type_json_insert_select/explain_34.txt b/parser/testdata/01825_new_type_json_insert_select/explain_34.txt new file mode 100644 index 0000000000..ed02bbd363 --- /dev/null +++ b/parser/testdata/01825_new_type_json_insert_select/explain_34.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier type_json_src diff --git a/parser/testdata/01825_new_type_json_insert_select/explain_40.txt b/parser/testdata/01825_new_type_json_insert_select/explain_40.txt new file mode 100644 index 0000000000..ed02bbd363 --- /dev/null +++ b/parser/testdata/01825_new_type_json_insert_select/explain_40.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier type_json_src diff --git a/parser/testdata/01825_new_type_json_insert_select/explain_41.txt b/parser/testdata/01825_new_type_json_insert_select/explain_41.txt new file mode 100644 index 0000000000..ed02bbd363 --- /dev/null +++ b/parser/testdata/01825_new_type_json_insert_select/explain_41.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier type_json_src diff --git a/parser/testdata/01825_new_type_json_insert_select/explain_9.txt b/parser/testdata/01825_new_type_json_insert_select/explain_9.txt new file mode 100644 index 0000000000..ed02bbd363 --- /dev/null +++ b/parser/testdata/01825_new_type_json_insert_select/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier type_json_src diff --git a/parser/testdata/01825_new_type_json_missed_values/explain_6.txt b/parser/testdata/01825_new_type_json_missed_values/explain_6.txt new file mode 100644 index 0000000000..80379f056a --- /dev/null +++ b/parser/testdata/01825_new_type_json_missed_values/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_json diff --git a/parser/testdata/01825_new_type_json_mutations/explain_6.txt b/parser/testdata/01825_new_type_json_mutations/explain_6.txt new file mode 100644 index 0000000000..e047d6d4f7 --- /dev/null +++ b/parser/testdata/01825_new_type_json_mutations/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_json_mutations diff --git a/parser/testdata/01825_new_type_json_mutations/explain_7.txt b/parser/testdata/01825_new_type_json_mutations/explain_7.txt new file mode 100644 index 0000000000..e047d6d4f7 --- /dev/null +++ b/parser/testdata/01825_new_type_json_mutations/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_json_mutations diff --git a/parser/testdata/01825_new_type_json_mutations/explain_8.txt b/parser/testdata/01825_new_type_json_mutations/explain_8.txt new file mode 100644 index 0000000000..e047d6d4f7 --- /dev/null +++ b/parser/testdata/01825_new_type_json_mutations/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_json_mutations diff --git a/parser/testdata/01825_new_type_json_partitions/explain_4.txt b/parser/testdata/01825_new_type_json_partitions/explain_4.txt new file mode 100644 index 0000000000..1c8525536a --- /dev/null +++ b/parser/testdata/01825_new_type_json_partitions/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_json_partitions diff --git a/parser/testdata/01832_memory_write_suffix/explain_3.txt b/parser/testdata/01832_memory_write_suffix/explain_3.txt new file mode 100644 index 0000000000..74b9acb0df --- /dev/null +++ b/parser/testdata/01832_memory_write_suffix/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data_01832 diff --git a/parser/testdata/01833_test_collation_alvarotuso/explain_3.txt b/parser/testdata/01833_test_collation_alvarotuso/explain_3.txt new file mode 100644 index 0000000000..40bb595df0 --- /dev/null +++ b/parser/testdata/01833_test_collation_alvarotuso/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_collation diff --git a/parser/testdata/01833_test_collation_alvarotuso/explain_4.txt b/parser/testdata/01833_test_collation_alvarotuso/explain_4.txt new file mode 100644 index 0000000000..40bb595df0 --- /dev/null +++ b/parser/testdata/01833_test_collation_alvarotuso/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_collation diff --git a/parser/testdata/01833_test_collation_alvarotuso/explain_5.txt b/parser/testdata/01833_test_collation_alvarotuso/explain_5.txt new file mode 100644 index 0000000000..40bb595df0 --- /dev/null +++ b/parser/testdata/01833_test_collation_alvarotuso/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_collation diff --git a/parser/testdata/01833_test_collation_alvarotuso/explain_6.txt b/parser/testdata/01833_test_collation_alvarotuso/explain_6.txt new file mode 100644 index 0000000000..40bb595df0 --- /dev/null +++ b/parser/testdata/01833_test_collation_alvarotuso/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_collation diff --git a/parser/testdata/01833_test_collation_alvarotuso/explain_7.txt b/parser/testdata/01833_test_collation_alvarotuso/explain_7.txt new file mode 100644 index 0000000000..40bb595df0 --- /dev/null +++ b/parser/testdata/01833_test_collation_alvarotuso/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_collation diff --git a/parser/testdata/01833_test_collation_alvarotuso/explain_8.txt b/parser/testdata/01833_test_collation_alvarotuso/explain_8.txt new file mode 100644 index 0000000000..40bb595df0 --- /dev/null +++ b/parser/testdata/01833_test_collation_alvarotuso/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_collation diff --git a/parser/testdata/01835_alias_to_primary_key_cyfdecyf/explain_3.txt b/parser/testdata/01835_alias_to_primary_key_cyfdecyf/explain_3.txt new file mode 100644 index 0000000000..3481b9b2aa --- /dev/null +++ b/parser/testdata/01835_alias_to_primary_key_cyfdecyf/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tb diff --git a/parser/testdata/01836_date_time_keep_default_timezone_on_operations_den_crane/explain_13.txt b/parser/testdata/01836_date_time_keep_default_timezone_on_operations_den_crane/explain_13.txt new file mode 100644 index 0000000000..85a8d43f96 --- /dev/null +++ b/parser/testdata/01836_date_time_keep_default_timezone_on_operations_den_crane/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tt_null diff --git a/parser/testdata/01837_database_memory_ddl_dictionaries/explain_5.txt b/parser/testdata/01837_database_memory_ddl_dictionaries/explain_5.txt new file mode 100644 index 0000000000..cbe0b31f6b --- /dev/null +++ b/parser/testdata/01837_database_memory_ddl_dictionaries/explain_5.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01837_db + Identifier simple_key_dictionary_source diff --git a/parser/testdata/01837_database_memory_ddl_dictionaries/explain_6.txt b/parser/testdata/01837_database_memory_ddl_dictionaries/explain_6.txt new file mode 100644 index 0000000000..cbe0b31f6b --- /dev/null +++ b/parser/testdata/01837_database_memory_ddl_dictionaries/explain_6.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01837_db + Identifier simple_key_dictionary_source diff --git a/parser/testdata/01837_database_memory_ddl_dictionaries/explain_7.txt b/parser/testdata/01837_database_memory_ddl_dictionaries/explain_7.txt new file mode 100644 index 0000000000..cbe0b31f6b --- /dev/null +++ b/parser/testdata/01837_database_memory_ddl_dictionaries/explain_7.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01837_db + Identifier simple_key_dictionary_source diff --git a/parser/testdata/01839_join_to_subqueries_rewriter_columns_matcher/explain.txt b/parser/testdata/01839_join_to_subqueries_rewriter_columns_matcher/explain.txt new file mode 100644 index 0000000000..44d93c268b --- /dev/null +++ b/parser/testdata/01839_join_to_subqueries_rewriter_columns_matcher/explain.txt @@ -0,0 +1,50 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function if (alias a.test) (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Identifier a.test + Literal \'a\' + Identifier b.test + Identifier c.test + TablesInSelectQuery (children 3) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias a) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_1 (alias id) + Literal \'a\' (alias test) + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias b) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_1 (alias id) + Literal \'b\' (alias test) + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier b.id + Identifier a.id + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias c) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_1 (alias id) + Literal \'c\' (alias test) + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier c.id + Identifier a.id diff --git a/parser/testdata/01848_partition_value_column/explain_11.txt b/parser/testdata/01848_partition_value_column/explain_11.txt new file mode 100644 index 0000000000..311b4dfcef --- /dev/null +++ b/parser/testdata/01848_partition_value_column/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tbl2 diff --git a/parser/testdata/01848_partition_value_column/explain_4.txt b/parser/testdata/01848_partition_value_column/explain_4.txt new file mode 100644 index 0000000000..fded649204 --- /dev/null +++ b/parser/testdata/01848_partition_value_column/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tbl diff --git a/parser/testdata/01849_geoToS2/explain_10.txt b/parser/testdata/01849_geoToS2/explain_10.txt new file mode 100644 index 0000000000..d4a5290db8 --- /dev/null +++ b/parser/testdata/01849_geoToS2/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier s2_indexes diff --git a/parser/testdata/01849_geoToS2/explain_11.txt b/parser/testdata/01849_geoToS2/explain_11.txt new file mode 100644 index 0000000000..d4a5290db8 --- /dev/null +++ b/parser/testdata/01849_geoToS2/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier s2_indexes diff --git a/parser/testdata/01849_geoToS2/explain_12.txt b/parser/testdata/01849_geoToS2/explain_12.txt new file mode 100644 index 0000000000..d4a5290db8 --- /dev/null +++ b/parser/testdata/01849_geoToS2/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier s2_indexes diff --git a/parser/testdata/01849_geoToS2/explain_13.txt b/parser/testdata/01849_geoToS2/explain_13.txt new file mode 100644 index 0000000000..d4a5290db8 --- /dev/null +++ b/parser/testdata/01849_geoToS2/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier s2_indexes diff --git a/parser/testdata/01849_geoToS2/explain_14.txt b/parser/testdata/01849_geoToS2/explain_14.txt new file mode 100644 index 0000000000..d4a5290db8 --- /dev/null +++ b/parser/testdata/01849_geoToS2/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier s2_indexes diff --git a/parser/testdata/01849_geoToS2/explain_15.txt b/parser/testdata/01849_geoToS2/explain_15.txt new file mode 100644 index 0000000000..d4a5290db8 --- /dev/null +++ b/parser/testdata/01849_geoToS2/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier s2_indexes diff --git a/parser/testdata/01849_geoToS2/explain_16.txt b/parser/testdata/01849_geoToS2/explain_16.txt new file mode 100644 index 0000000000..d4a5290db8 --- /dev/null +++ b/parser/testdata/01849_geoToS2/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier s2_indexes diff --git a/parser/testdata/01849_geoToS2/explain_17.txt b/parser/testdata/01849_geoToS2/explain_17.txt new file mode 100644 index 0000000000..d4a5290db8 --- /dev/null +++ b/parser/testdata/01849_geoToS2/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier s2_indexes diff --git a/parser/testdata/01849_geoToS2/explain_18.txt b/parser/testdata/01849_geoToS2/explain_18.txt new file mode 100644 index 0000000000..d4a5290db8 --- /dev/null +++ b/parser/testdata/01849_geoToS2/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier s2_indexes diff --git a/parser/testdata/01849_geoToS2/explain_19.txt b/parser/testdata/01849_geoToS2/explain_19.txt new file mode 100644 index 0000000000..d4a5290db8 --- /dev/null +++ b/parser/testdata/01849_geoToS2/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier s2_indexes diff --git a/parser/testdata/01849_geoToS2/explain_20.txt b/parser/testdata/01849_geoToS2/explain_20.txt new file mode 100644 index 0000000000..d4a5290db8 --- /dev/null +++ b/parser/testdata/01849_geoToS2/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier s2_indexes diff --git a/parser/testdata/01849_geoToS2/explain_21.txt b/parser/testdata/01849_geoToS2/explain_21.txt new file mode 100644 index 0000000000..d4a5290db8 --- /dev/null +++ b/parser/testdata/01849_geoToS2/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier s2_indexes diff --git a/parser/testdata/01849_geoToS2/explain_22.txt b/parser/testdata/01849_geoToS2/explain_22.txt new file mode 100644 index 0000000000..d4a5290db8 --- /dev/null +++ b/parser/testdata/01849_geoToS2/explain_22.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier s2_indexes diff --git a/parser/testdata/01849_geoToS2/explain_3.txt b/parser/testdata/01849_geoToS2/explain_3.txt new file mode 100644 index 0000000000..d4a5290db8 --- /dev/null +++ b/parser/testdata/01849_geoToS2/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier s2_indexes diff --git a/parser/testdata/01849_geoToS2/explain_4.txt b/parser/testdata/01849_geoToS2/explain_4.txt new file mode 100644 index 0000000000..d4a5290db8 --- /dev/null +++ b/parser/testdata/01849_geoToS2/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier s2_indexes diff --git a/parser/testdata/01849_geoToS2/explain_5.txt b/parser/testdata/01849_geoToS2/explain_5.txt new file mode 100644 index 0000000000..d4a5290db8 --- /dev/null +++ b/parser/testdata/01849_geoToS2/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier s2_indexes diff --git a/parser/testdata/01849_geoToS2/explain_6.txt b/parser/testdata/01849_geoToS2/explain_6.txt new file mode 100644 index 0000000000..d4a5290db8 --- /dev/null +++ b/parser/testdata/01849_geoToS2/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier s2_indexes diff --git a/parser/testdata/01849_geoToS2/explain_7.txt b/parser/testdata/01849_geoToS2/explain_7.txt new file mode 100644 index 0000000000..d4a5290db8 --- /dev/null +++ b/parser/testdata/01849_geoToS2/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier s2_indexes diff --git a/parser/testdata/01849_geoToS2/explain_8.txt b/parser/testdata/01849_geoToS2/explain_8.txt new file mode 100644 index 0000000000..d4a5290db8 --- /dev/null +++ b/parser/testdata/01849_geoToS2/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier s2_indexes diff --git a/parser/testdata/01849_geoToS2/explain_9.txt b/parser/testdata/01849_geoToS2/explain_9.txt new file mode 100644 index 0000000000..d4a5290db8 --- /dev/null +++ b/parser/testdata/01849_geoToS2/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier s2_indexes diff --git a/parser/testdata/01850_dist_INSERT_preserve_error/explain_9.txt b/parser/testdata/01850_dist_INSERT_preserve_error/explain_9.txt new file mode 100644 index 0000000000..6a7a8c6697 --- /dev/null +++ b/parser/testdata/01850_dist_INSERT_preserve_error/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dist_01850 diff --git a/parser/testdata/01851_array_difference_decimal_overflow_ubsan/explain.txt b/parser/testdata/01851_array_difference_decimal_overflow_ubsan/explain.txt index 92dc6e3fd5..3b86c2c87f 100644 --- a/parser/testdata/01851_array_difference_decimal_overflow_ubsan/explain.txt +++ b/parser/testdata/01851_array_difference_decimal_overflow_ubsan/explain.txt @@ -11,4 +11,3 @@ SelectWithUnionQuery (children 1) Literal Float64_100.0000991821289 Literal UInt64_0 Literal Int64_-2147483647 -The query succeeded but the server error '407' was expected (query: EXPLAIN AST SELECT arrayDifference([toDecimal32(100.0000991821289, 0), -2147483647]) AS x; --{serverError DECIMAL_OVERFLOW}). diff --git a/parser/testdata/01851_fix_row_policy_empty_result/explain_3.txt b/parser/testdata/01851_fix_row_policy_empty_result/explain_3.txt new file mode 100644 index 0000000000..fded649204 --- /dev/null +++ b/parser/testdata/01851_fix_row_policy_empty_result/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tbl diff --git a/parser/testdata/01852_dictionary_query_count_long/explain_106.txt b/parser/testdata/01852_dictionary_query_count_long/explain_106.txt new file mode 100644 index 0000000000..2c5a1bd096 --- /dev/null +++ b/parser/testdata/01852_dictionary_query_count_long/explain_106.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier polygons_01862 diff --git a/parser/testdata/01852_dictionary_query_count_long/explain_107.txt b/parser/testdata/01852_dictionary_query_count_long/explain_107.txt new file mode 100644 index 0000000000..2c5a1bd096 --- /dev/null +++ b/parser/testdata/01852_dictionary_query_count_long/explain_107.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier polygons_01862 diff --git a/parser/testdata/01852_dictionary_query_count_long/explain_108.txt b/parser/testdata/01852_dictionary_query_count_long/explain_108.txt new file mode 100644 index 0000000000..2c5a1bd096 --- /dev/null +++ b/parser/testdata/01852_dictionary_query_count_long/explain_108.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier polygons_01862 diff --git a/parser/testdata/01852_dictionary_query_count_long/explain_109.txt b/parser/testdata/01852_dictionary_query_count_long/explain_109.txt new file mode 100644 index 0000000000..2c5a1bd096 --- /dev/null +++ b/parser/testdata/01852_dictionary_query_count_long/explain_109.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier polygons_01862 diff --git a/parser/testdata/01852_dictionary_query_count_long/explain_112.txt b/parser/testdata/01852_dictionary_query_count_long/explain_112.txt new file mode 100644 index 0000000000..170b64f2df --- /dev/null +++ b/parser/testdata/01852_dictionary_query_count_long/explain_112.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier points_01862 diff --git a/parser/testdata/01852_dictionary_query_count_long/explain_113.txt b/parser/testdata/01852_dictionary_query_count_long/explain_113.txt new file mode 100644 index 0000000000..170b64f2df --- /dev/null +++ b/parser/testdata/01852_dictionary_query_count_long/explain_113.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier points_01862 diff --git a/parser/testdata/01852_dictionary_query_count_long/explain_114.txt b/parser/testdata/01852_dictionary_query_count_long/explain_114.txt new file mode 100644 index 0000000000..170b64f2df --- /dev/null +++ b/parser/testdata/01852_dictionary_query_count_long/explain_114.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier points_01862 diff --git a/parser/testdata/01852_dictionary_query_count_long/explain_115.txt b/parser/testdata/01852_dictionary_query_count_long/explain_115.txt new file mode 100644 index 0000000000..170b64f2df --- /dev/null +++ b/parser/testdata/01852_dictionary_query_count_long/explain_115.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier points_01862 diff --git a/parser/testdata/01852_dictionary_query_count_long/explain_116.txt b/parser/testdata/01852_dictionary_query_count_long/explain_116.txt new file mode 100644 index 0000000000..170b64f2df --- /dev/null +++ b/parser/testdata/01852_dictionary_query_count_long/explain_116.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier points_01862 diff --git a/parser/testdata/01852_dictionary_query_count_long/explain_3.txt b/parser/testdata/01852_dictionary_query_count_long/explain_3.txt new file mode 100644 index 0000000000..7234517d95 --- /dev/null +++ b/parser/testdata/01852_dictionary_query_count_long/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier simple_key_source_table_01862 diff --git a/parser/testdata/01852_dictionary_query_count_long/explain_4.txt b/parser/testdata/01852_dictionary_query_count_long/explain_4.txt new file mode 100644 index 0000000000..7234517d95 --- /dev/null +++ b/parser/testdata/01852_dictionary_query_count_long/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier simple_key_source_table_01862 diff --git a/parser/testdata/01852_dictionary_query_count_long/explain_51.txt b/parser/testdata/01852_dictionary_query_count_long/explain_51.txt new file mode 100644 index 0000000000..b605ecd45b --- /dev/null +++ b/parser/testdata/01852_dictionary_query_count_long/explain_51.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier complex_key_source_table_01862 diff --git a/parser/testdata/01852_dictionary_query_count_long/explain_52.txt b/parser/testdata/01852_dictionary_query_count_long/explain_52.txt new file mode 100644 index 0000000000..b605ecd45b --- /dev/null +++ b/parser/testdata/01852_dictionary_query_count_long/explain_52.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier complex_key_source_table_01862 diff --git a/parser/testdata/01852_dictionary_query_count_long/explain_80.txt b/parser/testdata/01852_dictionary_query_count_long/explain_80.txt new file mode 100644 index 0000000000..3314340e1c --- /dev/null +++ b/parser/testdata/01852_dictionary_query_count_long/explain_80.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier range_key_source_table_01862 diff --git a/parser/testdata/01852_dictionary_query_count_long/explain_81.txt b/parser/testdata/01852_dictionary_query_count_long/explain_81.txt new file mode 100644 index 0000000000..3314340e1c --- /dev/null +++ b/parser/testdata/01852_dictionary_query_count_long/explain_81.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier range_key_source_table_01862 diff --git a/parser/testdata/01852_dictionary_query_count_long/explain_93.txt b/parser/testdata/01852_dictionary_query_count_long/explain_93.txt new file mode 100644 index 0000000000..ebde58972b --- /dev/null +++ b/parser/testdata/01852_dictionary_query_count_long/explain_93.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ip_trie_source_table_01862 diff --git a/parser/testdata/01852_dictionary_query_count_long/explain_94.txt b/parser/testdata/01852_dictionary_query_count_long/explain_94.txt new file mode 100644 index 0000000000..ebde58972b --- /dev/null +++ b/parser/testdata/01852_dictionary_query_count_long/explain_94.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ip_trie_source_table_01862 diff --git a/parser/testdata/01852_jit_if/explain_10.txt b/parser/testdata/01852_jit_if/explain_10.txt new file mode 100644 index 0000000000..c1d365fae6 --- /dev/null +++ b/parser/testdata/01852_jit_if/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_jit_nullable diff --git a/parser/testdata/01852_jit_if/explain_5.txt b/parser/testdata/01852_jit_if/explain_5.txt new file mode 100644 index 0000000000..bf29533053 --- /dev/null +++ b/parser/testdata/01852_jit_if/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_jit_nonnull diff --git a/parser/testdata/01852_map_combinator/explain_37.txt b/parser/testdata/01852_map_combinator/explain_37.txt new file mode 100644 index 0000000000..5e138b9479 --- /dev/null +++ b/parser/testdata/01852_map_combinator/explain_37.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier sum_map_decimal diff --git a/parser/testdata/01852_map_combinator/explain_4.txt b/parser/testdata/01852_map_combinator/explain_4.txt new file mode 100644 index 0000000000..04048b04f5 --- /dev/null +++ b/parser/testdata/01852_map_combinator/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier map_comb diff --git a/parser/testdata/01852_multiple_joins_with_union_join/explain_6.txt b/parser/testdata/01852_multiple_joins_with_union_join/explain_6.txt new file mode 100644 index 0000000000..8359036009 --- /dev/null +++ b/parser/testdata/01852_multiple_joins_with_union_join/explain_6.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier v1 + ExpressionList (children 1) + Identifier id diff --git a/parser/testdata/01852_multiple_joins_with_union_join/explain_7.txt b/parser/testdata/01852_multiple_joins_with_union_join/explain_7.txt new file mode 100644 index 0000000000..b054ce4894 --- /dev/null +++ b/parser/testdata/01852_multiple_joins_with_union_join/explain_7.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier v2 + ExpressionList (children 1) + Identifier value diff --git a/parser/testdata/01855_jit_comparison_constant_result/explain_17.txt b/parser/testdata/01855_jit_comparison_constant_result/explain_17.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/01855_jit_comparison_constant_result/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/01855_jit_comparison_constant_result/explain_6.txt b/parser/testdata/01855_jit_comparison_constant_result/explain_6.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/01855_jit_comparison_constant_result/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/01866_aggregate_function_interval_length_sum/explain_10.txt b/parser/testdata/01866_aggregate_function_interval_length_sum/explain_10.txt new file mode 100644 index 0000000000..953f409f35 --- /dev/null +++ b/parser/testdata/01866_aggregate_function_interval_length_sum/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dt_interval diff --git a/parser/testdata/01866_aggregate_function_interval_length_sum/explain_12.txt b/parser/testdata/01866_aggregate_function_interval_length_sum/explain_12.txt new file mode 100644 index 0000000000..14d259a3e2 --- /dev/null +++ b/parser/testdata/01866_aggregate_function_interval_length_sum/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier date_interval diff --git a/parser/testdata/01866_aggregate_function_interval_length_sum/explain_6.txt b/parser/testdata/01866_aggregate_function_interval_length_sum/explain_6.txt new file mode 100644 index 0000000000..2ee19a0ddd --- /dev/null +++ b/parser/testdata/01866_aggregate_function_interval_length_sum/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier interval diff --git a/parser/testdata/01866_aggregate_function_interval_length_sum/explain_8.txt b/parser/testdata/01866_aggregate_function_interval_length_sum/explain_8.txt new file mode 100644 index 0000000000..d3029a6d42 --- /dev/null +++ b/parser/testdata/01866_aggregate_function_interval_length_sum/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier fl_interval diff --git a/parser/testdata/01866_datetime64_cmp_with_constant/explain_2.txt b/parser/testdata/01866_datetime64_cmp_with_constant/explain_2.txt new file mode 100644 index 0000000000..44f82ce618 --- /dev/null +++ b/parser/testdata/01866_datetime64_cmp_with_constant/explain_2.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier dt64test + ExpressionList (children 1) + Identifier dt64_column diff --git a/parser/testdata/01867_support_datetime64_version_column/explain_3.txt b/parser/testdata/01867_support_datetime64_version_column/explain_3.txt new file mode 100644 index 0000000000..4cfe449c4f --- /dev/null +++ b/parser/testdata/01867_support_datetime64_version_column/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replacing diff --git a/parser/testdata/01867_support_datetime64_version_column/explain_4.txt b/parser/testdata/01867_support_datetime64_version_column/explain_4.txt new file mode 100644 index 0000000000..4cfe449c4f --- /dev/null +++ b/parser/testdata/01867_support_datetime64_version_column/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replacing diff --git a/parser/testdata/01867_support_datetime64_version_column/explain_5.txt b/parser/testdata/01867_support_datetime64_version_column/explain_5.txt new file mode 100644 index 0000000000..4cfe449c4f --- /dev/null +++ b/parser/testdata/01867_support_datetime64_version_column/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replacing diff --git a/parser/testdata/01867_support_datetime64_version_column/explain_6.txt b/parser/testdata/01867_support_datetime64_version_column/explain_6.txt new file mode 100644 index 0000000000..4cfe449c4f --- /dev/null +++ b/parser/testdata/01867_support_datetime64_version_column/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replacing diff --git a/parser/testdata/01867_support_datetime64_version_column/explain_7.txt b/parser/testdata/01867_support_datetime64_version_column/explain_7.txt new file mode 100644 index 0000000000..4cfe449c4f --- /dev/null +++ b/parser/testdata/01867_support_datetime64_version_column/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replacing diff --git a/parser/testdata/01867_support_datetime64_version_column/explain_8.txt b/parser/testdata/01867_support_datetime64_version_column/explain_8.txt new file mode 100644 index 0000000000..4cfe449c4f --- /dev/null +++ b/parser/testdata/01867_support_datetime64_version_column/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replacing diff --git a/parser/testdata/01867_support_datetime64_version_column/explain_9.txt b/parser/testdata/01867_support_datetime64_version_column/explain_9.txt new file mode 100644 index 0000000000..4cfe449c4f --- /dev/null +++ b/parser/testdata/01867_support_datetime64_version_column/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replacing diff --git a/parser/testdata/01872_functions_to_subcolumns_analyzer/explain_21.txt b/parser/testdata/01872_functions_to_subcolumns_analyzer/explain_21.txt new file mode 100644 index 0000000000..d539a43209 --- /dev/null +++ b/parser/testdata/01872_functions_to_subcolumns_analyzer/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_tuple_null diff --git a/parser/testdata/01872_functions_to_subcolumns_analyzer/explain_5.txt b/parser/testdata/01872_functions_to_subcolumns_analyzer/explain_5.txt new file mode 100644 index 0000000000..a88f5b6d61 --- /dev/null +++ b/parser/testdata/01872_functions_to_subcolumns_analyzer/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_func_to_subcolumns diff --git a/parser/testdata/01881_to_week_monotonic_fix/explain_3.txt b/parser/testdata/01881_to_week_monotonic_fix/explain_3.txt new file mode 100644 index 0000000000..d8d2e3004d --- /dev/null +++ b/parser/testdata/01881_to_week_monotonic_fix/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_tbl diff --git a/parser/testdata/01882_check_max_parts_to_merge_at_once/explain_10.txt b/parser/testdata/01882_check_max_parts_to_merge_at_once/explain_10.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01882_check_max_parts_to_merge_at_once/explain_10.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01883_subcolumns_distributed/explain_5.txt b/parser/testdata/01883_subcolumns_distributed/explain_5.txt new file mode 100644 index 0000000000..7676b2ddc4 --- /dev/null +++ b/parser/testdata/01883_subcolumns_distributed/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_subcolumns_local diff --git a/parser/testdata/01883_subcolumns_distributed/explain_9.txt b/parser/testdata/01883_subcolumns_distributed/explain_9.txt new file mode 100644 index 0000000000..7676b2ddc4 --- /dev/null +++ b/parser/testdata/01883_subcolumns_distributed/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_subcolumns_local diff --git a/parser/testdata/01888_bloom_filter_hasAny/explain.txt b/parser/testdata/01888_bloom_filter_hasAny/explain.txt new file mode 100644 index 0000000000..ce44910236 --- /dev/null +++ b/parser/testdata/01888_bloom_filter_hasAny/explain.txt @@ -0,0 +1,23 @@ +CreateQuery bftest (children 3) + Identifier bftest + Columns definition (children 2) + ExpressionList (children 3) + ColumnDeclaration k (children 1) + DataType Int64 + ColumnDeclaration y (children 2) + DataType Array (children 1) + ExpressionList (children 1) + DataType Int64 + Identifier x + ColumnDeclaration x (children 1) + DataType Array (children 1) + ExpressionList (children 1) + DataType Int64 + ExpressionList (children 1) + Index (children 2) + Identifier x + Function bloom_filter (children 1) + ExpressionList + Storage definition (children 2) + Function MergeTree + Identifier k diff --git a/parser/testdata/01888_read_int_safe/explain.txt b/parser/testdata/01888_read_int_safe/explain.txt index ea9f985a45..ba927c30a2 100644 --- a/parser/testdata/01888_read_int_safe/explain.txt +++ b/parser/testdata/01888_read_int_safe/explain.txt @@ -5,4 +5,3 @@ SelectWithUnionQuery (children 1) Function toInt64 (children 1) ExpressionList (children 1) Literal \'--1\' -The query succeeded but the server error '72' was expected (query: EXPLAIN AST select toInt64('--1'); -- { serverError CANNOT_PARSE_NUMBER }). diff --git a/parser/testdata/01889_key_condition_function_chains/explain_16.txt b/parser/testdata/01889_key_condition_function_chains/explain_16.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/01889_key_condition_function_chains/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/01889_key_condition_function_chains/explain_21.txt b/parser/testdata/01889_key_condition_function_chains/explain_21.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/01889_key_condition_function_chains/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/01889_key_condition_function_chains/explain_4.txt b/parser/testdata/01889_key_condition_function_chains/explain_4.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/01889_key_condition_function_chains/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/01889_key_condition_function_chains/explain_9.txt b/parser/testdata/01889_key_condition_function_chains/explain_9.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/01889_key_condition_function_chains/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/01889_sql_json_functions/explain_79.txt b/parser/testdata/01889_sql_json_functions/explain_79.txt new file mode 100644 index 0000000000..6102e42f12 --- /dev/null +++ b/parser/testdata/01889_sql_json_functions/explain_79.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier 01889_sql_json + ExpressionList (children 2) + Identifier id + Identifier json diff --git a/parser/testdata/01889_sql_json_functions/explain_80.txt b/parser/testdata/01889_sql_json_functions/explain_80.txt new file mode 100644 index 0000000000..6102e42f12 --- /dev/null +++ b/parser/testdata/01889_sql_json_functions/explain_80.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier 01889_sql_json + ExpressionList (children 2) + Identifier id + Identifier json diff --git a/parser/testdata/01889_sql_json_functions/explain_81.txt b/parser/testdata/01889_sql_json_functions/explain_81.txt new file mode 100644 index 0000000000..6102e42f12 --- /dev/null +++ b/parser/testdata/01889_sql_json_functions/explain_81.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier 01889_sql_json + ExpressionList (children 2) + Identifier id + Identifier json diff --git a/parser/testdata/01890_jit_aggregation_function_sum_long/explain_42.txt b/parser/testdata/01890_jit_aggregation_function_sum_long/explain_42.txt new file mode 100644 index 0000000000..0311b13882 --- /dev/null +++ b/parser/testdata/01890_jit_aggregation_function_sum_long/explain_42.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_null_specifics diff --git a/parser/testdata/01890_jit_aggregation_function_sum_long/explain_43.txt b/parser/testdata/01890_jit_aggregation_function_sum_long/explain_43.txt new file mode 100644 index 0000000000..0311b13882 --- /dev/null +++ b/parser/testdata/01890_jit_aggregation_function_sum_long/explain_43.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_null_specifics diff --git a/parser/testdata/01890_jit_aggregation_function_sum_long/explain_44.txt b/parser/testdata/01890_jit_aggregation_function_sum_long/explain_44.txt new file mode 100644 index 0000000000..0311b13882 --- /dev/null +++ b/parser/testdata/01890_jit_aggregation_function_sum_long/explain_44.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_null_specifics diff --git a/parser/testdata/01891_jit_aggregation_function_any_long/explain_42.txt b/parser/testdata/01891_jit_aggregation_function_any_long/explain_42.txt new file mode 100644 index 0000000000..0311b13882 --- /dev/null +++ b/parser/testdata/01891_jit_aggregation_function_any_long/explain_42.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_null_specifics diff --git a/parser/testdata/01891_jit_aggregation_function_any_long/explain_43.txt b/parser/testdata/01891_jit_aggregation_function_any_long/explain_43.txt new file mode 100644 index 0000000000..0311b13882 --- /dev/null +++ b/parser/testdata/01891_jit_aggregation_function_any_long/explain_43.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_null_specifics diff --git a/parser/testdata/01891_jit_aggregation_function_any_long/explain_44.txt b/parser/testdata/01891_jit_aggregation_function_any_long/explain_44.txt new file mode 100644 index 0000000000..0311b13882 --- /dev/null +++ b/parser/testdata/01891_jit_aggregation_function_any_long/explain_44.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_null_specifics diff --git a/parser/testdata/01891_not_in_partition_prune/explain_12.txt b/parser/testdata/01891_not_in_partition_prune/explain_12.txt new file mode 100644 index 0000000000..b9fa0477a5 --- /dev/null +++ b/parser/testdata/01891_not_in_partition_prune/explain_12.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 2) + Identifier a + Identifier b diff --git a/parser/testdata/01891_not_in_partition_prune/explain_13.txt b/parser/testdata/01891_not_in_partition_prune/explain_13.txt new file mode 100644 index 0000000000..97617edb1a --- /dev/null +++ b/parser/testdata/01891_not_in_partition_prune/explain_13.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t2 + ExpressionList (children 2) + Identifier a + Identifier b diff --git a/parser/testdata/01891_not_like_partition_prune/explain_3.txt b/parser/testdata/01891_not_like_partition_prune/explain_3.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/01891_not_like_partition_prune/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/01891_partition_by_uuid/explain_3.txt b/parser/testdata/01891_partition_by_uuid/explain_3.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/01891_partition_by_uuid/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/01891_partition_hash/explain_3.txt b/parser/testdata/01891_partition_hash/explain_3.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/01891_partition_hash/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/01891_partition_hash/explain_4.txt b/parser/testdata/01891_partition_hash/explain_4.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/01891_partition_hash/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/01891_partition_hash_no_long_int/explain_3.txt b/parser/testdata/01891_partition_hash_no_long_int/explain_3.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/01891_partition_hash_no_long_int/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/01892_jit_aggregation_function_any_last_long/explain_42.txt b/parser/testdata/01892_jit_aggregation_function_any_last_long/explain_42.txt new file mode 100644 index 0000000000..0311b13882 --- /dev/null +++ b/parser/testdata/01892_jit_aggregation_function_any_last_long/explain_42.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_null_specifics diff --git a/parser/testdata/01892_jit_aggregation_function_any_last_long/explain_43.txt b/parser/testdata/01892_jit_aggregation_function_any_last_long/explain_43.txt new file mode 100644 index 0000000000..0311b13882 --- /dev/null +++ b/parser/testdata/01892_jit_aggregation_function_any_last_long/explain_43.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_null_specifics diff --git a/parser/testdata/01892_jit_aggregation_function_any_last_long/explain_44.txt b/parser/testdata/01892_jit_aggregation_function_any_last_long/explain_44.txt new file mode 100644 index 0000000000..0311b13882 --- /dev/null +++ b/parser/testdata/01892_jit_aggregation_function_any_last_long/explain_44.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_null_specifics diff --git a/parser/testdata/01893_jit_aggregation_function_min_long/explain_42.txt b/parser/testdata/01893_jit_aggregation_function_min_long/explain_42.txt new file mode 100644 index 0000000000..0311b13882 --- /dev/null +++ b/parser/testdata/01893_jit_aggregation_function_min_long/explain_42.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_null_specifics diff --git a/parser/testdata/01893_jit_aggregation_function_min_long/explain_43.txt b/parser/testdata/01893_jit_aggregation_function_min_long/explain_43.txt new file mode 100644 index 0000000000..0311b13882 --- /dev/null +++ b/parser/testdata/01893_jit_aggregation_function_min_long/explain_43.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_null_specifics diff --git a/parser/testdata/01893_jit_aggregation_function_min_long/explain_44.txt b/parser/testdata/01893_jit_aggregation_function_min_long/explain_44.txt new file mode 100644 index 0000000000..0311b13882 --- /dev/null +++ b/parser/testdata/01893_jit_aggregation_function_min_long/explain_44.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_null_specifics diff --git a/parser/testdata/01894_jit_aggregation_function_max_long/explain_42.txt b/parser/testdata/01894_jit_aggregation_function_max_long/explain_42.txt new file mode 100644 index 0000000000..0311b13882 --- /dev/null +++ b/parser/testdata/01894_jit_aggregation_function_max_long/explain_42.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_null_specifics diff --git a/parser/testdata/01894_jit_aggregation_function_max_long/explain_43.txt b/parser/testdata/01894_jit_aggregation_function_max_long/explain_43.txt new file mode 100644 index 0000000000..0311b13882 --- /dev/null +++ b/parser/testdata/01894_jit_aggregation_function_max_long/explain_43.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_null_specifics diff --git a/parser/testdata/01894_jit_aggregation_function_max_long/explain_44.txt b/parser/testdata/01894_jit_aggregation_function_max_long/explain_44.txt new file mode 100644 index 0000000000..0311b13882 --- /dev/null +++ b/parser/testdata/01894_jit_aggregation_function_max_long/explain_44.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_null_specifics diff --git a/parser/testdata/01895_jit_aggregation_function_avg_long/explain_42.txt b/parser/testdata/01895_jit_aggregation_function_avg_long/explain_42.txt new file mode 100644 index 0000000000..0311b13882 --- /dev/null +++ b/parser/testdata/01895_jit_aggregation_function_avg_long/explain_42.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_null_specifics diff --git a/parser/testdata/01895_jit_aggregation_function_avg_long/explain_43.txt b/parser/testdata/01895_jit_aggregation_function_avg_long/explain_43.txt new file mode 100644 index 0000000000..0311b13882 --- /dev/null +++ b/parser/testdata/01895_jit_aggregation_function_avg_long/explain_43.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_null_specifics diff --git a/parser/testdata/01895_jit_aggregation_function_avg_long/explain_44.txt b/parser/testdata/01895_jit_aggregation_function_avg_long/explain_44.txt new file mode 100644 index 0000000000..0311b13882 --- /dev/null +++ b/parser/testdata/01895_jit_aggregation_function_avg_long/explain_44.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_null_specifics diff --git a/parser/testdata/01896_jit_aggregation_function_if_long/explain_42.txt b/parser/testdata/01896_jit_aggregation_function_if_long/explain_42.txt new file mode 100644 index 0000000000..0311b13882 --- /dev/null +++ b/parser/testdata/01896_jit_aggregation_function_if_long/explain_42.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_null_specifics diff --git a/parser/testdata/01896_jit_aggregation_function_if_long/explain_43.txt b/parser/testdata/01896_jit_aggregation_function_if_long/explain_43.txt new file mode 100644 index 0000000000..0311b13882 --- /dev/null +++ b/parser/testdata/01896_jit_aggregation_function_if_long/explain_43.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_null_specifics diff --git a/parser/testdata/01896_jit_aggregation_function_if_long/explain_44.txt b/parser/testdata/01896_jit_aggregation_function_if_long/explain_44.txt new file mode 100644 index 0000000000..0311b13882 --- /dev/null +++ b/parser/testdata/01896_jit_aggregation_function_if_long/explain_44.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_null_specifics diff --git a/parser/testdata/01896_jit_aggregation_function_if_long/explain_50.txt b/parser/testdata/01896_jit_aggregation_function_if_long/explain_50.txt new file mode 100644 index 0000000000..0311b13882 --- /dev/null +++ b/parser/testdata/01896_jit_aggregation_function_if_long/explain_50.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_null_specifics diff --git a/parser/testdata/01896_jit_aggregation_function_if_long/explain_51.txt b/parser/testdata/01896_jit_aggregation_function_if_long/explain_51.txt new file mode 100644 index 0000000000..0311b13882 --- /dev/null +++ b/parser/testdata/01896_jit_aggregation_function_if_long/explain_51.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_null_specifics diff --git a/parser/testdata/01896_jit_aggregation_function_if_long/explain_52.txt b/parser/testdata/01896_jit_aggregation_function_if_long/explain_52.txt new file mode 100644 index 0000000000..0311b13882 --- /dev/null +++ b/parser/testdata/01896_jit_aggregation_function_if_long/explain_52.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_null_specifics diff --git a/parser/testdata/01897_jit_aggregation_function_avg_weighted_long/explain_42.txt b/parser/testdata/01897_jit_aggregation_function_avg_weighted_long/explain_42.txt new file mode 100644 index 0000000000..0311b13882 --- /dev/null +++ b/parser/testdata/01897_jit_aggregation_function_avg_weighted_long/explain_42.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_null_specifics diff --git a/parser/testdata/01897_jit_aggregation_function_avg_weighted_long/explain_43.txt b/parser/testdata/01897_jit_aggregation_function_avg_weighted_long/explain_43.txt new file mode 100644 index 0000000000..0311b13882 --- /dev/null +++ b/parser/testdata/01897_jit_aggregation_function_avg_weighted_long/explain_43.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_null_specifics diff --git a/parser/testdata/01897_jit_aggregation_function_avg_weighted_long/explain_44.txt b/parser/testdata/01897_jit_aggregation_function_avg_weighted_long/explain_44.txt new file mode 100644 index 0000000000..0311b13882 --- /dev/null +++ b/parser/testdata/01897_jit_aggregation_function_avg_weighted_long/explain_44.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_null_specifics diff --git a/parser/testdata/01901_in_literal_shard_prune/explain_7.txt b/parser/testdata/01901_in_literal_shard_prune/explain_7.txt new file mode 100644 index 0000000000..2cc970a43d --- /dev/null +++ b/parser/testdata/01901_in_literal_shard_prune/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier d diff --git a/parser/testdata/01901_test_attach_partition_from/explain_4.txt b/parser/testdata/01901_test_attach_partition_from/explain_4.txt new file mode 100644 index 0000000000..e28aabc6ee --- /dev/null +++ b/parser/testdata/01901_test_attach_partition_from/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_alter_attach_01901S diff --git a/parser/testdata/01901_test_attach_partition_from/explain_9.txt b/parser/testdata/01901_test_attach_partition_from/explain_9.txt new file mode 100644 index 0000000000..e28aabc6ee --- /dev/null +++ b/parser/testdata/01901_test_attach_partition_from/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_alter_attach_01901S diff --git a/parser/testdata/01902_dictionary_array_type/explain_3.txt b/parser/testdata/01902_dictionary_array_type/explain_3.txt new file mode 100644 index 0000000000..19103ad6b9 --- /dev/null +++ b/parser/testdata/01902_dictionary_array_type/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dictionary_array_source_table diff --git a/parser/testdata/01902_dictionary_array_type/explain_37.txt b/parser/testdata/01902_dictionary_array_type/explain_37.txt new file mode 100644 index 0000000000..a568bbce4d --- /dev/null +++ b/parser/testdata/01902_dictionary_array_type/explain_37.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ip_trie_dictionary_array_source_table diff --git a/parser/testdata/01902_dictionary_array_type/explain_46.txt b/parser/testdata/01902_dictionary_array_type/explain_46.txt new file mode 100644 index 0000000000..394cb44c78 --- /dev/null +++ b/parser/testdata/01902_dictionary_array_type/explain_46.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier polygon_dictionary_array_source_table diff --git a/parser/testdata/01902_dictionary_array_type/explain_57.txt b/parser/testdata/01902_dictionary_array_type/explain_57.txt new file mode 100644 index 0000000000..6df8aad188 --- /dev/null +++ b/parser/testdata/01902_dictionary_array_type/explain_57.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier range_dictionary_array_source_table diff --git a/parser/testdata/01904_dictionary_default_nullable_type/explain_5.txt b/parser/testdata/01904_dictionary_default_nullable_type/explain_5.txt new file mode 100644 index 0000000000..23526a9eed --- /dev/null +++ b/parser/testdata/01904_dictionary_default_nullable_type/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dictionary_nullable_source_table diff --git a/parser/testdata/01904_dictionary_default_nullable_type/explain_57.txt b/parser/testdata/01904_dictionary_default_nullable_type/explain_57.txt new file mode 100644 index 0000000000..447552a64d --- /dev/null +++ b/parser/testdata/01904_dictionary_default_nullable_type/explain_57.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier polygon_dictionary_nullable_source_table diff --git a/parser/testdata/01904_dictionary_default_nullable_type/explain_58.txt b/parser/testdata/01904_dictionary_default_nullable_type/explain_58.txt new file mode 100644 index 0000000000..ee3dc961b0 --- /dev/null +++ b/parser/testdata/01904_dictionary_default_nullable_type/explain_58.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier polygon_dictionary_nullable_default_source_table diff --git a/parser/testdata/01904_dictionary_default_nullable_type/explain_6.txt b/parser/testdata/01904_dictionary_default_nullable_type/explain_6.txt new file mode 100644 index 0000000000..1cd3a56c32 --- /dev/null +++ b/parser/testdata/01904_dictionary_default_nullable_type/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dictionary_nullable_default_source_table diff --git a/parser/testdata/01904_dictionary_default_nullable_type/explain_75.txt b/parser/testdata/01904_dictionary_default_nullable_type/explain_75.txt new file mode 100644 index 0000000000..3f4f26faef --- /dev/null +++ b/parser/testdata/01904_dictionary_default_nullable_type/explain_75.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier range_dictionary_nullable_source_table diff --git a/parser/testdata/01904_dictionary_default_nullable_type/explain_76.txt b/parser/testdata/01904_dictionary_default_nullable_type/explain_76.txt new file mode 100644 index 0000000000..5760d9d85e --- /dev/null +++ b/parser/testdata/01904_dictionary_default_nullable_type/explain_76.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier range_dictionary_nullable_default_source_table diff --git a/parser/testdata/01905_to_json_string/explain.txt b/parser/testdata/01905_to_json_string/explain.txt new file mode 100644 index 0000000000..4cd5cc553e --- /dev/null +++ b/parser/testdata/01905_to_json_string/explain.txt @@ -0,0 +1,19 @@ +CreateQuery t (children 3) + Identifier t + Storage definition (children 1) + Function Memory + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function generateRandom (children 1) + ExpressionList (children 4) + Literal \' a Array(Int8), b UInt32, c Nullable(String), d Decimal32(4), e Nullable(Enum16(\\\'h\\\' = 1, \\\'w\\\' = 5 , \\\'o\\\' = -200)), f Float64, g Tuple(Date, DateTime(\\\'Asia/Istanbul\\\'), DateTime64(3, \\\'Asia/Istanbul\\\'), UUID), h FixedString(2), i Array(Nullable(UUID)) \' + Literal UInt64_10 + Literal UInt64_5 + Literal UInt64_3 + Literal UInt64_2 diff --git a/parser/testdata/01906_bigint_accurate_cast_ubsan/explain.txt b/parser/testdata/01906_bigint_accurate_cast_ubsan/explain.txt index 4f6377d90c..44f08d1261 100644 --- a/parser/testdata/01906_bigint_accurate_cast_ubsan/explain.txt +++ b/parser/testdata/01906_bigint_accurate_cast_ubsan/explain.txt @@ -6,4 +6,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Literal Float64_1e35 Literal \'UInt32\' -The query succeeded but the server error '70' was expected (query: EXPLAIN AST SELECT accurateCast(1e35, 'UInt32'); -- { serverError CANNOT_CONVERT_TYPE }). diff --git a/parser/testdata/01906_h3_to_geo/explain_10.txt b/parser/testdata/01906_h3_to_geo/explain_10.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/01906_h3_to_geo/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/01906_h3_to_geo/explain_11.txt b/parser/testdata/01906_h3_to_geo/explain_11.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/01906_h3_to_geo/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/01906_h3_to_geo/explain_12.txt b/parser/testdata/01906_h3_to_geo/explain_12.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/01906_h3_to_geo/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/01906_h3_to_geo/explain_13.txt b/parser/testdata/01906_h3_to_geo/explain_13.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/01906_h3_to_geo/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/01906_h3_to_geo/explain_14.txt b/parser/testdata/01906_h3_to_geo/explain_14.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/01906_h3_to_geo/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/01906_h3_to_geo/explain_15.txt b/parser/testdata/01906_h3_to_geo/explain_15.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/01906_h3_to_geo/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/01906_h3_to_geo/explain_16.txt b/parser/testdata/01906_h3_to_geo/explain_16.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/01906_h3_to_geo/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/01906_h3_to_geo/explain_17.txt b/parser/testdata/01906_h3_to_geo/explain_17.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/01906_h3_to_geo/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/01906_h3_to_geo/explain_18.txt b/parser/testdata/01906_h3_to_geo/explain_18.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/01906_h3_to_geo/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/01906_h3_to_geo/explain_23.txt b/parser/testdata/01906_h3_to_geo/explain_23.txt new file mode 100644 index 0000000000..977c23ac6f --- /dev/null +++ b/parser/testdata/01906_h3_to_geo/explain_23.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_geo diff --git a/parser/testdata/01906_h3_to_geo/explain_24.txt b/parser/testdata/01906_h3_to_geo/explain_24.txt new file mode 100644 index 0000000000..977c23ac6f --- /dev/null +++ b/parser/testdata/01906_h3_to_geo/explain_24.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_geo diff --git a/parser/testdata/01906_h3_to_geo/explain_25.txt b/parser/testdata/01906_h3_to_geo/explain_25.txt new file mode 100644 index 0000000000..977c23ac6f --- /dev/null +++ b/parser/testdata/01906_h3_to_geo/explain_25.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_geo diff --git a/parser/testdata/01906_h3_to_geo/explain_26.txt b/parser/testdata/01906_h3_to_geo/explain_26.txt new file mode 100644 index 0000000000..977c23ac6f --- /dev/null +++ b/parser/testdata/01906_h3_to_geo/explain_26.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_geo diff --git a/parser/testdata/01906_h3_to_geo/explain_27.txt b/parser/testdata/01906_h3_to_geo/explain_27.txt new file mode 100644 index 0000000000..977c23ac6f --- /dev/null +++ b/parser/testdata/01906_h3_to_geo/explain_27.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_geo diff --git a/parser/testdata/01906_h3_to_geo/explain_28.txt b/parser/testdata/01906_h3_to_geo/explain_28.txt new file mode 100644 index 0000000000..977c23ac6f --- /dev/null +++ b/parser/testdata/01906_h3_to_geo/explain_28.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_geo diff --git a/parser/testdata/01906_h3_to_geo/explain_29.txt b/parser/testdata/01906_h3_to_geo/explain_29.txt new file mode 100644 index 0000000000..977c23ac6f --- /dev/null +++ b/parser/testdata/01906_h3_to_geo/explain_29.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_geo diff --git a/parser/testdata/01906_h3_to_geo/explain_3.txt b/parser/testdata/01906_h3_to_geo/explain_3.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/01906_h3_to_geo/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/01906_h3_to_geo/explain_30.txt b/parser/testdata/01906_h3_to_geo/explain_30.txt new file mode 100644 index 0000000000..977c23ac6f --- /dev/null +++ b/parser/testdata/01906_h3_to_geo/explain_30.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_geo diff --git a/parser/testdata/01906_h3_to_geo/explain_31.txt b/parser/testdata/01906_h3_to_geo/explain_31.txt new file mode 100644 index 0000000000..977c23ac6f --- /dev/null +++ b/parser/testdata/01906_h3_to_geo/explain_31.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_geo diff --git a/parser/testdata/01906_h3_to_geo/explain_32.txt b/parser/testdata/01906_h3_to_geo/explain_32.txt new file mode 100644 index 0000000000..977c23ac6f --- /dev/null +++ b/parser/testdata/01906_h3_to_geo/explain_32.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_geo diff --git a/parser/testdata/01906_h3_to_geo/explain_33.txt b/parser/testdata/01906_h3_to_geo/explain_33.txt new file mode 100644 index 0000000000..977c23ac6f --- /dev/null +++ b/parser/testdata/01906_h3_to_geo/explain_33.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_geo diff --git a/parser/testdata/01906_h3_to_geo/explain_34.txt b/parser/testdata/01906_h3_to_geo/explain_34.txt new file mode 100644 index 0000000000..977c23ac6f --- /dev/null +++ b/parser/testdata/01906_h3_to_geo/explain_34.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_geo diff --git a/parser/testdata/01906_h3_to_geo/explain_35.txt b/parser/testdata/01906_h3_to_geo/explain_35.txt new file mode 100644 index 0000000000..977c23ac6f --- /dev/null +++ b/parser/testdata/01906_h3_to_geo/explain_35.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_geo diff --git a/parser/testdata/01906_h3_to_geo/explain_36.txt b/parser/testdata/01906_h3_to_geo/explain_36.txt new file mode 100644 index 0000000000..977c23ac6f --- /dev/null +++ b/parser/testdata/01906_h3_to_geo/explain_36.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_geo diff --git a/parser/testdata/01906_h3_to_geo/explain_37.txt b/parser/testdata/01906_h3_to_geo/explain_37.txt new file mode 100644 index 0000000000..977c23ac6f --- /dev/null +++ b/parser/testdata/01906_h3_to_geo/explain_37.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_geo diff --git a/parser/testdata/01906_h3_to_geo/explain_38.txt b/parser/testdata/01906_h3_to_geo/explain_38.txt new file mode 100644 index 0000000000..977c23ac6f --- /dev/null +++ b/parser/testdata/01906_h3_to_geo/explain_38.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_geo diff --git a/parser/testdata/01906_h3_to_geo/explain_4.txt b/parser/testdata/01906_h3_to_geo/explain_4.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/01906_h3_to_geo/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/01906_h3_to_geo/explain_5.txt b/parser/testdata/01906_h3_to_geo/explain_5.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/01906_h3_to_geo/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/01906_h3_to_geo/explain_6.txt b/parser/testdata/01906_h3_to_geo/explain_6.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/01906_h3_to_geo/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/01906_h3_to_geo/explain_7.txt b/parser/testdata/01906_h3_to_geo/explain_7.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/01906_h3_to_geo/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/01906_h3_to_geo/explain_8.txt b/parser/testdata/01906_h3_to_geo/explain_8.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/01906_h3_to_geo/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/01906_h3_to_geo/explain_9.txt b/parser/testdata/01906_h3_to_geo/explain_9.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/01906_h3_to_geo/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/01906_lc_in_bug/explain_3.txt b/parser/testdata/01906_lc_in_bug/explain_3.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/01906_lc_in_bug/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/01907_multiple_aliases/explain_4.txt b/parser/testdata/01907_multiple_aliases/explain_4.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/01907_multiple_aliases/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/01910_view_dictionary/explain_6.txt b/parser/testdata/01910_view_dictionary/explain_6.txt new file mode 100644 index 0000000000..28d9a88b97 --- /dev/null +++ b/parser/testdata/01910_view_dictionary/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dictionary_source_en diff --git a/parser/testdata/01910_view_dictionary/explain_8.txt b/parser/testdata/01910_view_dictionary/explain_8.txt new file mode 100644 index 0000000000..cca4bf5ebe --- /dev/null +++ b/parser/testdata/01910_view_dictionary/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dictionary_source_ru diff --git a/parser/testdata/01910_view_dictionary_check_refresh/explain_13.txt b/parser/testdata/01910_view_dictionary_check_refresh/explain_13.txt new file mode 100644 index 0000000000..0f0eb8e7a9 --- /dev/null +++ b/parser/testdata/01910_view_dictionary_check_refresh/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier TestTbl diff --git a/parser/testdata/01910_view_dictionary_check_refresh/explain_9.txt b/parser/testdata/01910_view_dictionary_check_refresh/explain_9.txt new file mode 100644 index 0000000000..0f0eb8e7a9 --- /dev/null +++ b/parser/testdata/01910_view_dictionary_check_refresh/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier TestTbl diff --git a/parser/testdata/01911_logical_error_minus/explain_12.txt b/parser/testdata/01911_logical_error_minus/explain_12.txt new file mode 100644 index 0000000000..b58c7a7ce7 --- /dev/null +++ b/parser/testdata/01911_logical_error_minus/explain_12.txt @@ -0,0 +1,8 @@ +InsertQuery (children 2) + Identifier codecTest + ExpressionList (children 5) + Identifier key + Identifier ref_valueU64 + Identifier valueU64 + Identifier ref_valueI64 + Identifier valueI64 diff --git a/parser/testdata/01912_bad_cast_join_fuzz/explain.txt b/parser/testdata/01912_bad_cast_join_fuzz/explain.txt new file mode 100644 index 0000000000..42a6718c2a --- /dev/null +++ b/parser/testdata/01912_bad_cast_join_fuzz/explain.txt @@ -0,0 +1,60 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Function plus (children 1) + ExpressionList (children 2) + Literal UInt64_1023 + Identifier l + Asterisk + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias s1) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function toLowCardinality (alias l) (children 1) + ExpressionList (children 1) + Function toNullable (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_10 + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias s2) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function toLowCardinality (alias r) (children 1) + ExpressionList (children 1) + Function toNullable (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_7 + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Function plus (children 1) + ExpressionList (children 2) + Identifier l + Literal UInt64_1023 + Function multiply (children 1) + ExpressionList (children 2) + Identifier r + Literal UInt64_3 + ExpressionList (children 2) + OrderByElement (children 1) + Identifier l + OrderByElement (children 1) + Identifier r diff --git a/parser/testdata/01913_exact_rows_before_limit/explain_12.txt b/parser/testdata/01913_exact_rows_before_limit/explain_12.txt index 82ebf867cb..6110a63273 100644 --- a/parser/testdata/01913_exact_rows_before_limit/explain_12.txt +++ b/parser/testdata/01913_exact_rows_before_limit/explain_12.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 4) + SelectQuery (children 3) ExpressionList (children 1) Literal UInt64_0 TablesInSelectQuery (children 1) @@ -8,6 +8,5 @@ SelectWithUnionQuery (children 3) TableExpression (children 1) TableIdentifier test_rows_wide_part Literal UInt64_1 - Set Identifier JSONCompact Set diff --git a/parser/testdata/01913_exact_rows_before_limit/explain_13.txt b/parser/testdata/01913_exact_rows_before_limit/explain_13.txt index 82ebf867cb..6110a63273 100644 --- a/parser/testdata/01913_exact_rows_before_limit/explain_13.txt +++ b/parser/testdata/01913_exact_rows_before_limit/explain_13.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 4) + SelectQuery (children 3) ExpressionList (children 1) Literal UInt64_0 TablesInSelectQuery (children 1) @@ -8,6 +8,5 @@ SelectWithUnionQuery (children 3) TableExpression (children 1) TableIdentifier test_rows_wide_part Literal UInt64_1 - Set Identifier JSONCompact Set diff --git a/parser/testdata/01913_exact_rows_before_limit/explain_5.txt b/parser/testdata/01913_exact_rows_before_limit/explain_5.txt index c869c2cae7..3cb4aebf58 100644 --- a/parser/testdata/01913_exact_rows_before_limit/explain_5.txt +++ b/parser/testdata/01913_exact_rows_before_limit/explain_5.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 4) + SelectQuery (children 3) ExpressionList (children 1) Literal UInt64_0 TablesInSelectQuery (children 1) @@ -8,6 +8,5 @@ SelectWithUnionQuery (children 3) TableExpression (children 1) TableIdentifier test_rows_compact_part Literal UInt64_1 - Set Identifier JSONCompact Set diff --git a/parser/testdata/01913_exact_rows_before_limit/explain_6.txt b/parser/testdata/01913_exact_rows_before_limit/explain_6.txt index c869c2cae7..3cb4aebf58 100644 --- a/parser/testdata/01913_exact_rows_before_limit/explain_6.txt +++ b/parser/testdata/01913_exact_rows_before_limit/explain_6.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 4) + SelectQuery (children 3) ExpressionList (children 1) Literal UInt64_0 TablesInSelectQuery (children 1) @@ -8,6 +8,5 @@ SelectWithUnionQuery (children 3) TableExpression (children 1) TableIdentifier test_rows_compact_part Literal UInt64_1 - Set Identifier JSONCompact Set diff --git a/parser/testdata/01913_join_push_down_bug/explain_3.txt b/parser/testdata/01913_join_push_down_bug/explain_3.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/01913_join_push_down_bug/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/01913_names_of_tuple_literal/explain_3.txt b/parser/testdata/01913_names_of_tuple_literal/explain_3.txt index fd9e3d325c..007b70bbef 100644 --- a/parser/testdata/01913_names_of_tuple_literal/explain_3.txt +++ b/parser/testdata/01913_names_of_tuple_literal/explain_3.txt @@ -1,8 +1,7 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 2) + SelectQuery (children 1) ExpressionList (children 1) Literal Tuple_(Tuple_(UInt64_1, UInt64_2), Tuple_(UInt64_2, UInt64_3), Tuple_(UInt64_3, UInt64_4)) - Set Identifier TSVWithNames Set diff --git a/parser/testdata/01913_replace_dictionary/explain_11.txt b/parser/testdata/01913_replace_dictionary/explain_11.txt new file mode 100644 index 0000000000..96fdd71dd6 --- /dev/null +++ b/parser/testdata/01913_replace_dictionary/explain_11.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01913_db + Identifier test_source_table_2 diff --git a/parser/testdata/01913_replace_dictionary/explain_5.txt b/parser/testdata/01913_replace_dictionary/explain_5.txt new file mode 100644 index 0000000000..a850783b51 --- /dev/null +++ b/parser/testdata/01913_replace_dictionary/explain_5.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01913_db + Identifier test_source_table_1 diff --git a/parser/testdata/01913_summing_mt_and_simple_agg_function_with_lc/explain_3.txt b/parser/testdata/01913_summing_mt_and_simple_agg_function_with_lc/explain_3.txt new file mode 100644 index 0000000000..0d8c2aaa03 --- /dev/null +++ b/parser/testdata/01913_summing_mt_and_simple_agg_function_with_lc/explain_3.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier smta + ExpressionList (children 2) + Identifier k + Identifier city diff --git a/parser/testdata/01913_summing_mt_and_simple_agg_function_with_lc/explain_5.txt b/parser/testdata/01913_summing_mt_and_simple_agg_function_with_lc/explain_5.txt new file mode 100644 index 0000000000..0d8c2aaa03 --- /dev/null +++ b/parser/testdata/01913_summing_mt_and_simple_agg_function_with_lc/explain_5.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier smta + ExpressionList (children 2) + Identifier k + Identifier city diff --git a/parser/testdata/01914_exchange_dictionaries/explain_7.txt b/parser/testdata/01914_exchange_dictionaries/explain_7.txt new file mode 100644 index 0000000000..7c2ddcf02a --- /dev/null +++ b/parser/testdata/01914_exchange_dictionaries/explain_7.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01914_db + Identifier table_1 diff --git a/parser/testdata/01914_exchange_dictionaries/explain_8.txt b/parser/testdata/01914_exchange_dictionaries/explain_8.txt new file mode 100644 index 0000000000..439658cefd --- /dev/null +++ b/parser/testdata/01914_exchange_dictionaries/explain_8.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01914_db + Identifier table_2 diff --git a/parser/testdata/01914_index_bgranvea/explain_3.txt b/parser/testdata/01914_index_bgranvea/explain_3.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/01914_index_bgranvea/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/01915_create_or_replace_dictionary/explain_11.txt b/parser/testdata/01915_create_or_replace_dictionary/explain_11.txt new file mode 100644 index 0000000000..9adb54288a --- /dev/null +++ b/parser/testdata/01915_create_or_replace_dictionary/explain_11.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier test_01915_db + Identifier test_source_table_2 diff --git a/parser/testdata/01915_create_or_replace_dictionary/explain_5.txt b/parser/testdata/01915_create_or_replace_dictionary/explain_5.txt new file mode 100644 index 0000000000..edbf74c27d --- /dev/null +++ b/parser/testdata/01915_create_or_replace_dictionary/explain_5.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier test_01915_db + Identifier test_source_table_1 diff --git a/parser/testdata/01915_for_each_crakjie/explain.txt b/parser/testdata/01915_for_each_crakjie/explain.txt new file mode 100644 index 0000000000..b6d3f6b29b --- /dev/null +++ b/parser/testdata/01915_for_each_crakjie/explain.txt @@ -0,0 +1,35 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 1) + Function arrayJoin (alias z) (children 1) + ExpressionList (children 1) + Literal Array_[\'a\', \'b\'] + ExpressionList (children 2) + Identifier z + Function sumMergeForEach (alias x) (children 1) + ExpressionList (children 1) + Identifier x + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function sumStateForEach (alias x) (children 1) + ExpressionList (children 1) + Literal Array_[Float64_1, Float64_1.1, Float64_1.1300175] + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.0.0.{1,2}\' + Identifier system.one + ExpressionList (children 1) + Identifier z + ExpressionList (children 1) + OrderByElement (children 1) + Identifier z diff --git a/parser/testdata/01916_lowcard_dict_type/explain_10.txt b/parser/testdata/01916_lowcard_dict_type/explain_10.txt new file mode 100644 index 0000000000..df4a687bc0 --- /dev/null +++ b/parser/testdata/01916_lowcard_dict_type/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2 diff --git a/parser/testdata/01916_lowcard_dict_type/explain_4.txt b/parser/testdata/01916_lowcard_dict_type/explain_4.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/01916_lowcard_dict_type/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/01916_lowcard_dict_type/explain_8.txt b/parser/testdata/01916_lowcard_dict_type/explain_8.txt new file mode 100644 index 0000000000..df4a687bc0 --- /dev/null +++ b/parser/testdata/01916_lowcard_dict_type/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2 diff --git a/parser/testdata/01916_multiple_join_view_optimize_predicate_chertus/explain_5.txt b/parser/testdata/01916_multiple_join_view_optimize_predicate_chertus/explain_5.txt new file mode 100644 index 0000000000..b99677bd61 --- /dev/null +++ b/parser/testdata/01916_multiple_join_view_optimize_predicate_chertus/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier a diff --git a/parser/testdata/01916_multiple_join_view_optimize_predicate_chertus/explain_6.txt b/parser/testdata/01916_multiple_join_view_optimize_predicate_chertus/explain_6.txt new file mode 100644 index 0000000000..5d66d2c02d --- /dev/null +++ b/parser/testdata/01916_multiple_join_view_optimize_predicate_chertus/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier j diff --git a/parser/testdata/01917_distinct_on/explain_3.txt b/parser/testdata/01917_distinct_on/explain_3.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/01917_distinct_on/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/01917_prewhere_column_type/explain_4.txt b/parser/testdata/01917_prewhere_column_type/explain_4.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/01917_prewhere_column_type/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/01921_datatype_date32/explain_3.txt b/parser/testdata/01921_datatype_date32/explain_3.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/01921_datatype_date32/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/01921_with_fill_with_totals/explain.txt b/parser/testdata/01921_with_fill_with_totals/explain.txt new file mode 100644 index 0000000000..f2ab71065c --- /dev/null +++ b/parser/testdata/01921_with_fill_with_totals/explain.txt @@ -0,0 +1,27 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 2) + Identifier number + Function sum (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_3 + Literal UInt64_1 + ExpressionList (children 1) + Identifier number + ExpressionList (children 1) + OrderByElement (children 2) + Identifier number + Literal UInt64_15 diff --git a/parser/testdata/01922_array_join_with_index/explain_3.txt b/parser/testdata/01922_array_join_with_index/explain_3.txt new file mode 100644 index 0000000000..99383a4fab --- /dev/null +++ b/parser/testdata/01922_array_join_with_index/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_array_index diff --git a/parser/testdata/01923_different_expression_name_alias/explain_4.txt b/parser/testdata/01923_different_expression_name_alias/explain_4.txt new file mode 100644 index 0000000000..b4979608ff --- /dev/null +++ b/parser/testdata/01923_different_expression_name_alias/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier merge_tree_table diff --git a/parser/testdata/01923_ttl_with_modify_column/explain_10.txt b/parser/testdata/01923_ttl_with_modify_column/explain_10.txt new file mode 100644 index 0000000000..6dc60844f6 --- /dev/null +++ b/parser/testdata/01923_ttl_with_modify_column/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_ttl_modify_column diff --git a/parser/testdata/01923_ttl_with_modify_column/explain_12.txt b/parser/testdata/01923_ttl_with_modify_column/explain_12.txt new file mode 100644 index 0000000000..6dc60844f6 --- /dev/null +++ b/parser/testdata/01923_ttl_with_modify_column/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_ttl_modify_column diff --git a/parser/testdata/01923_ttl_with_modify_column/explain_3.txt b/parser/testdata/01923_ttl_with_modify_column/explain_3.txt new file mode 100644 index 0000000000..6dc60844f6 --- /dev/null +++ b/parser/testdata/01923_ttl_with_modify_column/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_ttl_modify_column diff --git a/parser/testdata/01923_ttl_with_modify_column/explain_6.txt b/parser/testdata/01923_ttl_with_modify_column/explain_6.txt new file mode 100644 index 0000000000..6dc60844f6 --- /dev/null +++ b/parser/testdata/01923_ttl_with_modify_column/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_ttl_modify_column diff --git a/parser/testdata/01925_join_materialized_columns/explain_5.txt b/parser/testdata/01925_join_materialized_columns/explain_5.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/01925_join_materialized_columns/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/01925_join_materialized_columns/explain_6.txt b/parser/testdata/01925_join_materialized_columns/explain_6.txt new file mode 100644 index 0000000000..df4a687bc0 --- /dev/null +++ b/parser/testdata/01925_join_materialized_columns/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2 diff --git a/parser/testdata/01925_json_as_string_data_in_square_brackets/explain_3.txt b/parser/testdata/01925_json_as_string_data_in_square_brackets/explain_3.txt new file mode 100644 index 0000000000..c1604b9399 --- /dev/null +++ b/parser/testdata/01925_json_as_string_data_in_square_brackets/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier json_square_brackets diff --git a/parser/testdata/01925_json_as_string_data_in_square_brackets/explain_4.txt b/parser/testdata/01925_json_as_string_data_in_square_brackets/explain_4.txt new file mode 100644 index 0000000000..c1604b9399 --- /dev/null +++ b/parser/testdata/01925_json_as_string_data_in_square_brackets/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier json_square_brackets diff --git a/parser/testdata/01925_json_as_string_data_in_square_brackets/explain_5.txt b/parser/testdata/01925_json_as_string_data_in_square_brackets/explain_5.txt new file mode 100644 index 0000000000..c1604b9399 --- /dev/null +++ b/parser/testdata/01925_json_as_string_data_in_square_brackets/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier json_square_brackets diff --git a/parser/testdata/01925_test_storage_merge_aliases/explain_12.txt b/parser/testdata/01925_test_storage_merge_aliases/explain_12.txt new file mode 100644 index 0000000000..f4dca61977 --- /dev/null +++ b/parser/testdata/01925_test_storage_merge_aliases/explain_12.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier alias_2 + ExpressionList (children 4) + Identifier dt + Identifier col + Identifier col2 + Identifier col3 diff --git a/parser/testdata/01925_test_storage_merge_aliases/explain_6.txt b/parser/testdata/01925_test_storage_merge_aliases/explain_6.txt new file mode 100644 index 0000000000..b6ebf6b4a6 --- /dev/null +++ b/parser/testdata/01925_test_storage_merge_aliases/explain_6.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier alias_1 + ExpressionList (children 4) + Identifier dt + Identifier col + Identifier col2 + Identifier col3 diff --git a/parser/testdata/01925_test_storage_merge_aliases_analyzer/explain_13.txt b/parser/testdata/01925_test_storage_merge_aliases_analyzer/explain_13.txt new file mode 100644 index 0000000000..f4dca61977 --- /dev/null +++ b/parser/testdata/01925_test_storage_merge_aliases_analyzer/explain_13.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier alias_2 + ExpressionList (children 4) + Identifier dt + Identifier col + Identifier col2 + Identifier col3 diff --git a/parser/testdata/01925_test_storage_merge_aliases_analyzer/explain_7.txt b/parser/testdata/01925_test_storage_merge_aliases_analyzer/explain_7.txt new file mode 100644 index 0000000000..b6ebf6b4a6 --- /dev/null +++ b/parser/testdata/01925_test_storage_merge_aliases_analyzer/explain_7.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier alias_1 + ExpressionList (children 4) + Identifier dt + Identifier col + Identifier col2 + Identifier col3 diff --git a/parser/testdata/01926_date_date_time_supertype/explain_7.txt b/parser/testdata/01926_date_date_time_supertype/explain_7.txt new file mode 100644 index 0000000000..e1c6880783 --- /dev/null +++ b/parser/testdata/01926_date_date_time_supertype/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier predicate_table diff --git a/parser/testdata/01926_order_by_desc_limit/explain_7.txt b/parser/testdata/01926_order_by_desc_limit/explain_7.txt index a6208d81de..ae657c7abc 100644 --- a/parser/testdata/01926_order_by_desc_limit/explain_7.txt +++ b/parser/testdata/01926_order_by_desc_limit/explain_7.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 5) + SelectQuery (children 4) ExpressionList (children 1) Identifier s TablesInSelectQuery (children 1) @@ -11,6 +11,5 @@ SelectWithUnionQuery (children 3) OrderByElement (children 1) Identifier u Literal UInt64_10 - Set Identifier Null Set diff --git a/parser/testdata/01926_order_by_desc_limit/explain_8.txt b/parser/testdata/01926_order_by_desc_limit/explain_8.txt index a6208d81de..ae657c7abc 100644 --- a/parser/testdata/01926_order_by_desc_limit/explain_8.txt +++ b/parser/testdata/01926_order_by_desc_limit/explain_8.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 5) + SelectQuery (children 4) ExpressionList (children 1) Identifier s TablesInSelectQuery (children 1) @@ -11,6 +11,5 @@ SelectWithUnionQuery (children 3) OrderByElement (children 1) Identifier u Literal UInt64_10 - Set Identifier Null Set diff --git a/parser/testdata/01926_order_by_desc_limit/explain_9.txt b/parser/testdata/01926_order_by_desc_limit/explain_9.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01926_order_by_desc_limit/explain_9.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01926_union_all_schmak/explain.txt b/parser/testdata/01926_union_all_schmak/explain.txt new file mode 100644 index 0000000000..b0e0e29e6f --- /dev/null +++ b/parser/testdata/01926_union_all_schmak/explain.txt @@ -0,0 +1,42 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 2) + SelectQuery (children 2) + ExpressionList (children 2) + Literal UInt64_1 (alias a) + Literal UInt64_2 (alias b) + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.one + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier system.one + TableJoin (children 1) + ExpressionList (children 1) + Identifier dummy + SelectQuery (children 2) + ExpressionList (children 2) + Literal UInt64_3 (alias a) + Literal UInt64_4 (alias b) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.one + Function notEquals (children 1) + ExpressionList (children 2) + Identifier a + Literal UInt64_10 + ExpressionList (children 2) + OrderByElement (children 1) + Identifier a + OrderByElement (children 1) + Identifier b diff --git a/parser/testdata/01927_query_views_log_current_database/explain_18.txt b/parser/testdata/01927_query_views_log_current_database/explain_18.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01927_query_views_log_current_database/explain_18.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01933_invalid_date/explain.txt b/parser/testdata/01933_invalid_date/explain.txt index c40690c7a5..3872c8d690 100644 --- a/parser/testdata/01933_invalid_date/explain.txt +++ b/parser/testdata/01933_invalid_date/explain.txt @@ -5,4 +5,3 @@ SelectWithUnionQuery (children 1) Function toDate (children 1) ExpressionList (children 1) Literal \'07-08-2019\' -The query succeeded but the server error '38' was expected (query: EXPLAIN AST SELECT toDate('07-08-2019'); -- { serverError CANNOT_PARSE_DATE }). diff --git a/parser/testdata/01933_invalid_date/explain_6.txt b/parser/testdata/01933_invalid_date/explain_6.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/01933_invalid_date/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/01936_empty_function_support_uuid/explain_10.txt b/parser/testdata/01936_empty_function_support_uuid/explain_10.txt new file mode 100644 index 0000000000..d2d300ec04 --- /dev/null +++ b/parser/testdata/01936_empty_function_support_uuid/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier orders diff --git a/parser/testdata/01936_empty_function_support_uuid/explain_8.txt b/parser/testdata/01936_empty_function_support_uuid/explain_8.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/01936_empty_function_support_uuid/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/01936_empty_function_support_uuid/explain_9.txt b/parser/testdata/01936_empty_function_support_uuid/explain_9.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/01936_empty_function_support_uuid/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/01938_joins_identifiers/explain_5.txt b/parser/testdata/01938_joins_identifiers/explain_5.txt new file mode 100644 index 0000000000..13cd3717a9 --- /dev/null +++ b/parser/testdata/01938_joins_identifiers/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier /t0 diff --git a/parser/testdata/01938_joins_identifiers/explain_6.txt b/parser/testdata/01938_joins_identifiers/explain_6.txt new file mode 100644 index 0000000000..dcf5e6b6a0 --- /dev/null +++ b/parser/testdata/01938_joins_identifiers/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier /t1 diff --git a/parser/testdata/01939_type_map_json/explain_14.txt b/parser/testdata/01939_type_map_json/explain_14.txt new file mode 100644 index 0000000000..d3d8a39efe --- /dev/null +++ b/parser/testdata/01939_type_map_json/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier map_json diff --git a/parser/testdata/01939_type_map_json/explain_16.txt b/parser/testdata/01939_type_map_json/explain_16.txt index f0b2cab6dc..3aa6b815a3 100644 --- a/parser/testdata/01939_type_map_json/explain_16.txt +++ b/parser/testdata/01939_type_map_json/explain_16.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 3) Identifier m1 Identifier m2 @@ -9,6 +9,5 @@ SelectWithUnionQuery (children 3) TablesInSelectQueryElement (children 1) TableExpression (children 1) TableIdentifier map_json - Set Identifier JSONEachRow Set diff --git a/parser/testdata/01939_type_map_json/explain_5.txt b/parser/testdata/01939_type_map_json/explain_5.txt index 96b05eed82..d6a15da567 100644 --- a/parser/testdata/01939_type_map_json/explain_5.txt +++ b/parser/testdata/01939_type_map_json/explain_5.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 1) Function map (alias m) (children 1) ExpressionList (children 4) @@ -18,6 +18,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 2) Literal UInt64_1 Literal UInt64_1 - Set Identifier JSONEachRow Set diff --git a/parser/testdata/01940_totimezone_operator_monotonicity/explain_3.txt b/parser/testdata/01940_totimezone_operator_monotonicity/explain_3.txt new file mode 100644 index 0000000000..47c096f6e9 --- /dev/null +++ b/parser/testdata/01940_totimezone_operator_monotonicity/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier totimezone_op_mono diff --git a/parser/testdata/01941_dict_get_has_complex_single_key/explain_3.txt b/parser/testdata/01941_dict_get_has_complex_single_key/explain_3.txt new file mode 100644 index 0000000000..3e40376927 --- /dev/null +++ b/parser/testdata/01941_dict_get_has_complex_single_key/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_dictionary_source diff --git a/parser/testdata/01942_create_table_with_sample/explain.txt b/parser/testdata/01942_create_table_with_sample/explain.txt index eb2d78d51a..4ef84dd21b 100644 --- a/parser/testdata/01942_create_table_with_sample/explain.txt +++ b/parser/testdata/01942_create_table_with_sample/explain.txt @@ -4,8 +4,9 @@ CreateQuery sample_incorrect (children 3) ExpressionList (children 1) ColumnDeclaration x (children 1) DataType UUID - Storage definition (children 2) + Storage definition (children 3) Function MergeTree Function tuple (children 1) ExpressionList (children 1) Identifier x + Identifier x diff --git a/parser/testdata/01942_snowflakeIDToDateTime/explain_25.txt b/parser/testdata/01942_snowflakeIDToDateTime/explain_25.txt index 731314f719..c77f1234a2 100644 --- a/parser/testdata/01942_snowflakeIDToDateTime/explain_25.txt +++ b/parser/testdata/01942_snowflakeIDToDateTime/explain_25.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 3) Literal UInt64_7204436857747984384 (alias sf) Literal UInt64_0 (alias epoch) @@ -19,6 +19,5 @@ SelectWithUnionQuery (children 3) Identifier sf Identifier epoch Identifier tz - Set Identifier Vertical Set diff --git a/parser/testdata/01942_snowflakeToDateTime/explain_15.txt b/parser/testdata/01942_snowflakeToDateTime/explain_15.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/01942_snowflakeToDateTime/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/01943_log_column_sizes/explain_5.txt b/parser/testdata/01943_log_column_sizes/explain_5.txt new file mode 100644 index 0000000000..a315f5acae --- /dev/null +++ b/parser/testdata/01943_log_column_sizes/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_log diff --git a/parser/testdata/01943_log_column_sizes/explain_6.txt b/parser/testdata/01943_log_column_sizes/explain_6.txt new file mode 100644 index 0000000000..bb066281f7 --- /dev/null +++ b/parser/testdata/01943_log_column_sizes/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_tiny_log diff --git a/parser/testdata/01943_non_deterministic_order_key/explain.txt b/parser/testdata/01943_non_deterministic_order_key/explain.txt index 6e54fe1b1e..c0e7f8de73 100644 --- a/parser/testdata/01943_non_deterministic_order_key/explain.txt +++ b/parser/testdata/01943_non_deterministic_order_key/explain.txt @@ -21,4 +21,3 @@ CreateQuery a (children 3) Function negate (children 1) ExpressionList (children 1) Identifier number -The query succeeded but the server error '36' was expected (query: EXPLAIN AST CREATE TABLE a (number UInt64) ENGINE = MergeTree ORDER BY if(now() > toDateTime('2020-06-01 13:31:40'), toInt64(number), -number); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/01943_query_id_check/explain_12.txt b/parser/testdata/01943_query_id_check/explain_12.txt new file mode 100644 index 0000000000..b6afc5fd77 --- /dev/null +++ b/parser/testdata/01943_query_id_check/explain_12.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier tmp + ExpressionList (children 1) + Asterisk diff --git a/parser/testdata/01943_query_id_check/explain_4.txt b/parser/testdata/01943_query_id_check/explain_4.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01943_query_id_check/explain_4.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01943_query_id_check/explain_8.txt b/parser/testdata/01943_query_id_check/explain_8.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01943_query_id_check/explain_8.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01944_insert_partition_by/explain.txt b/parser/testdata/01944_insert_partition_by/explain.txt index d29cdf4af0..0fd9fbc1f7 100644 --- a/parser/testdata/01944_insert_partition_by/explain.txt +++ b/parser/testdata/01944_insert_partition_by/explain.txt @@ -7,4 +7,3 @@ InsertQuery (children 2) Literal \'CSV\' Literal \'id Int32, val String\' Identifier val -The query succeeded but the server error '6' was expected (query: EXPLAIN AST INSERT INTO TABLE FUNCTION s3('http://localhost:9001/foo/test_{_partition_id}.csv', 'admin', 'admin', 'CSV', 'id Int32, val String') PARTITION BY val VALUES (1, '\r\n'); -- { serverError CANNOT_PARSE_TEXT }). diff --git a/parser/testdata/01944_insert_partition_by/explain_2.txt b/parser/testdata/01944_insert_partition_by/explain_2.txt new file mode 100644 index 0000000000..0fd9fbc1f7 --- /dev/null +++ b/parser/testdata/01944_insert_partition_by/explain_2.txt @@ -0,0 +1,9 @@ +InsertQuery (children 2) + Function s3 (children 1) + ExpressionList (children 5) + Literal \'http://localhost:9001/foo/test_{_partition_id}.csv\' + Literal \'admin\' + Literal \'admin\' + Literal \'CSV\' + Literal \'id Int32, val String\' + Identifier val diff --git a/parser/testdata/01944_insert_partition_by/explain_3.txt b/parser/testdata/01944_insert_partition_by/explain_3.txt new file mode 100644 index 0000000000..0fd9fbc1f7 --- /dev/null +++ b/parser/testdata/01944_insert_partition_by/explain_3.txt @@ -0,0 +1,9 @@ +InsertQuery (children 2) + Function s3 (children 1) + ExpressionList (children 5) + Literal \'http://localhost:9001/foo/test_{_partition_id}.csv\' + Literal \'admin\' + Literal \'admin\' + Literal \'CSV\' + Literal \'id Int32, val String\' + Identifier val diff --git a/parser/testdata/01944_insert_partition_by/explain_4.txt b/parser/testdata/01944_insert_partition_by/explain_4.txt new file mode 100644 index 0000000000..0fd9fbc1f7 --- /dev/null +++ b/parser/testdata/01944_insert_partition_by/explain_4.txt @@ -0,0 +1,9 @@ +InsertQuery (children 2) + Function s3 (children 1) + ExpressionList (children 5) + Literal \'http://localhost:9001/foo/test_{_partition_id}.csv\' + Literal \'admin\' + Literal \'admin\' + Literal \'CSV\' + Literal \'id Int32, val String\' + Identifier val diff --git a/parser/testdata/01944_insert_partition_by/explain_5.txt b/parser/testdata/01944_insert_partition_by/explain_5.txt new file mode 100644 index 0000000000..0fd9fbc1f7 --- /dev/null +++ b/parser/testdata/01944_insert_partition_by/explain_5.txt @@ -0,0 +1,9 @@ +InsertQuery (children 2) + Function s3 (children 1) + ExpressionList (children 5) + Literal \'http://localhost:9001/foo/test_{_partition_id}.csv\' + Literal \'admin\' + Literal \'admin\' + Literal \'CSV\' + Literal \'id Int32, val String\' + Identifier val diff --git a/parser/testdata/01944_insert_partition_by/explain_6.txt b/parser/testdata/01944_insert_partition_by/explain_6.txt new file mode 100644 index 0000000000..3a439cfd97 --- /dev/null +++ b/parser/testdata/01944_insert_partition_by/explain_6.txt @@ -0,0 +1,9 @@ +InsertQuery (children 2) + Function s3 (children 1) + ExpressionList (children 5) + Literal \'http://localhost:9001/foo/{_partition_id}\' + Literal \'admin\' + Literal \'admin\' + Literal \'CSV\' + Literal \'id Int32, val String\' + Identifier val diff --git a/parser/testdata/01946_profile_sleep/explain_10.txt b/parser/testdata/01946_profile_sleep/explain_10.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01946_profile_sleep/explain_10.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01946_profile_sleep/explain_13.txt b/parser/testdata/01946_profile_sleep/explain_13.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01946_profile_sleep/explain_13.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01946_profile_sleep/explain_16.txt b/parser/testdata/01946_profile_sleep/explain_16.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01946_profile_sleep/explain_16.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01946_profile_sleep/explain_19.txt b/parser/testdata/01946_profile_sleep/explain_19.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01946_profile_sleep/explain_19.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01946_profile_sleep/explain_4.txt b/parser/testdata/01946_profile_sleep/explain_4.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01946_profile_sleep/explain_4.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01946_profile_sleep/explain_7.txt b/parser/testdata/01946_profile_sleep/explain_7.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01946_profile_sleep/explain_7.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01947_mv_subquery/explain_18.txt b/parser/testdata/01947_mv_subquery/explain_18.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01947_mv_subquery/explain_18.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01947_mv_subquery/explain_9.txt b/parser/testdata/01947_mv_subquery/explain_9.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/01947_mv_subquery/explain_9.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01948_dictionary_quoted_database_name/explain_4.txt b/parser/testdata/01948_dictionary_quoted_database_name/explain_4.txt new file mode 100644 index 0000000000..0663cae58f --- /dev/null +++ b/parser/testdata/01948_dictionary_quoted_database_name/explain_4.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 01945.db + Identifier test_dictionary_values diff --git a/parser/testdata/01950_aliases_bad_cast/explain.txt b/parser/testdata/01950_aliases_bad_cast/explain.txt index e0f8720dca..0d9758e8a9 100644 --- a/parser/testdata/01950_aliases_bad_cast/explain.txt +++ b/parser/testdata/01950_aliases_bad_cast/explain.txt @@ -13,4 +13,3 @@ SelectWithUnionQuery (children 1) SelectQuery (children 1) ExpressionList (children 1) Literal NULL (alias 1) -The query succeeded but the server error '352' was expected (query: EXPLAIN AST SELECT 1, * FROM (SELECT NULL AS `1`); -- { serverError AMBIGUOUS_COLUMN_NAME }). diff --git a/parser/testdata/01960_lambda_precedence/explain.txt b/parser/testdata/01960_lambda_precedence/explain.txt new file mode 100644 index 0000000000..e9fda2bf59 --- /dev/null +++ b/parser/testdata/01960_lambda_precedence/explain.txt @@ -0,0 +1,21 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 3) + Literal UInt64_1000 (alias a) + Function arrayMap (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier a + Function plus (children 1) + ExpressionList (children 2) + Identifier a + Literal UInt64_1 + Literal Array_[UInt64_1, UInt64_2, UInt64_3] + Function plus (alias c) (children 1) + ExpressionList (children 2) + Identifier a + Literal UInt64_10 diff --git a/parser/testdata/02000_default_from_default_empty_column/explain_3.txt b/parser/testdata/02000_default_from_default_empty_column/explain_3.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02000_default_from_default_empty_column/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02000_join_on_const/explain_5.txt b/parser/testdata/02000_join_on_const/explain_5.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/02000_join_on_const/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/02000_join_on_const/explain_6.txt b/parser/testdata/02000_join_on_const/explain_6.txt new file mode 100644 index 0000000000..df4a687bc0 --- /dev/null +++ b/parser/testdata/02000_join_on_const/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2 diff --git a/parser/testdata/02000_map_full_text_bloom_filter_index/explain_107.txt b/parser/testdata/02000_map_full_text_bloom_filter_index/explain_107.txt new file mode 100644 index 0000000000..a175fbadfb --- /dev/null +++ b/parser/testdata/02000_map_full_text_bloom_filter_index/explain_107.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier bf_ngrambf_map_values_test diff --git a/parser/testdata/02000_map_full_text_bloom_filter_index/explain_33.txt b/parser/testdata/02000_map_full_text_bloom_filter_index/explain_33.txt new file mode 100644 index 0000000000..5392263615 --- /dev/null +++ b/parser/testdata/02000_map_full_text_bloom_filter_index/explain_33.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier bf_tokenbf_map_values_test diff --git a/parser/testdata/02000_map_full_text_bloom_filter_index/explain_4.txt b/parser/testdata/02000_map_full_text_bloom_filter_index/explain_4.txt new file mode 100644 index 0000000000..7228dd6c89 --- /dev/null +++ b/parser/testdata/02000_map_full_text_bloom_filter_index/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier bf_tokenbf_map_keys_test diff --git a/parser/testdata/02000_map_full_text_bloom_filter_index/explain_78.txt b/parser/testdata/02000_map_full_text_bloom_filter_index/explain_78.txt new file mode 100644 index 0000000000..5353e84042 --- /dev/null +++ b/parser/testdata/02000_map_full_text_bloom_filter_index/explain_78.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier bf_ngrambf_map_keys_test diff --git a/parser/testdata/02001_join_on_const/explain_5.txt b/parser/testdata/02001_join_on_const/explain_5.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/02001_join_on_const/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/02002_global_subqueries_subquery_or_table_name/explain.txt b/parser/testdata/02002_global_subqueries_subquery_or_table_name/explain.txt new file mode 100644 index 0000000000..041cb3c435 --- /dev/null +++ b/parser/testdata/02002_global_subqueries_subquery_or_table_name/explain.txt @@ -0,0 +1,61 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Function cityHash64 (children 1) + ExpressionList (children 7) + Function globalIn (children 1) + ExpressionList (children 2) + Identifier number + Literal Tuple_(NULL, Int64_-2147483648, Int64_-9223372036854775808) + Literal Float64_nan + Literal UInt64_1024 + Literal NULL + Literal NULL + Literal Float64_1.000100016593933 + Literal NULL + Function tuple (children 1) + ExpressionList (children 4) + Literal NULL + Function cityHash64 (children 1) + ExpressionList (children 5) + Literal Float64_inf + Literal Int64_-2147483648 + Literal NULL + Literal NULL + Literal Float64_10.000100135803223 + Function cityHash64 (children 1) + ExpressionList (children 4) + Literal Float64_1.1754943508222875e-38 + Literal NULL + Literal NULL + Literal NULL + Literal UInt64_2147483647 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function cluster (children 1) + ExpressionList (children 2) + Identifier test_cluster_two_shards_localhost + Function numbers (children 1) + ExpressionList (children 2) + Function globalIn (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 3) + Literal NULL + Function cityHash64 (children 1) + ExpressionList (children 6) + Literal Float64_0 + Literal UInt64_65536 + Literal NULL + Literal NULL + Literal Float64_10000000000 + Literal NULL + Literal UInt64_0 + Identifier some_identifier + Literal UInt64_65536 + Function globalIn (children 1) + ExpressionList (children 2) + Identifier number + Literal Array_[UInt64_1025] diff --git a/parser/testdata/02002_parse_map_int_key/explain_3.txt b/parser/testdata/02002_parse_map_int_key/explain_3.txt new file mode 100644 index 0000000000..17b8b236e9 --- /dev/null +++ b/parser/testdata/02002_parse_map_int_key/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_map_int_key diff --git a/parser/testdata/02002_sampling_and_unknown_column_bug/explain_3.txt b/parser/testdata/02002_sampling_and_unknown_column_bug/explain_3.txt new file mode 100644 index 0000000000..f5c0bc8dc8 --- /dev/null +++ b/parser/testdata/02002_sampling_and_unknown_column_bug/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier sessions diff --git a/parser/testdata/02003_bug_from_23515/explain_3.txt b/parser/testdata/02003_bug_from_23515/explain_3.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02003_bug_from_23515/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02004_invalid_partition_mutation_stuck/explain_10.txt b/parser/testdata/02004_invalid_partition_mutation_stuck/explain_10.txt new file mode 100644 index 0000000000..36337a4d9e --- /dev/null +++ b/parser/testdata/02004_invalid_partition_mutation_stuck/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data diff --git a/parser/testdata/02004_invalid_partition_mutation_stuck/explain_4.txt b/parser/testdata/02004_invalid_partition_mutation_stuck/explain_4.txt new file mode 100644 index 0000000000..66ce442193 --- /dev/null +++ b/parser/testdata/02004_invalid_partition_mutation_stuck/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rep_data diff --git a/parser/testdata/02005_log_formatted_queries/explain_3.txt b/parser/testdata/02005_log_formatted_queries/explain_3.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02005_log_formatted_queries/explain_3.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02006_client_test_hint_error_name/explain.txt b/parser/testdata/02006_client_test_hint_error_name/explain.txt index 50dbd7e7ff..65544bd80e 100644 --- a/parser/testdata/02006_client_test_hint_error_name/explain.txt +++ b/parser/testdata/02006_client_test_hint_error_name/explain.txt @@ -5,4 +5,3 @@ SelectWithUnionQuery (children 1) Function throwIf (children 1) ExpressionList (children 1) Literal UInt64_1 -The query succeeded but the server error '395' was expected (query: EXPLAIN AST select throwIf(1); -- { serverError FUNCTION_THROW_IF_VALUE_IS_NON_ZERO }). diff --git a/parser/testdata/02006_h3_to_geo_boundary/explain_10.txt b/parser/testdata/02006_h3_to_geo_boundary/explain_10.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02006_h3_to_geo_boundary/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02006_h3_to_geo_boundary/explain_11.txt b/parser/testdata/02006_h3_to_geo_boundary/explain_11.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02006_h3_to_geo_boundary/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02006_h3_to_geo_boundary/explain_12.txt b/parser/testdata/02006_h3_to_geo_boundary/explain_12.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02006_h3_to_geo_boundary/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02006_h3_to_geo_boundary/explain_13.txt b/parser/testdata/02006_h3_to_geo_boundary/explain_13.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02006_h3_to_geo_boundary/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02006_h3_to_geo_boundary/explain_14.txt b/parser/testdata/02006_h3_to_geo_boundary/explain_14.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02006_h3_to_geo_boundary/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02006_h3_to_geo_boundary/explain_15.txt b/parser/testdata/02006_h3_to_geo_boundary/explain_15.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02006_h3_to_geo_boundary/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02006_h3_to_geo_boundary/explain_16.txt b/parser/testdata/02006_h3_to_geo_boundary/explain_16.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02006_h3_to_geo_boundary/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02006_h3_to_geo_boundary/explain_17.txt b/parser/testdata/02006_h3_to_geo_boundary/explain_17.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02006_h3_to_geo_boundary/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02006_h3_to_geo_boundary/explain_18.txt b/parser/testdata/02006_h3_to_geo_boundary/explain_18.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02006_h3_to_geo_boundary/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02006_h3_to_geo_boundary/explain_3.txt b/parser/testdata/02006_h3_to_geo_boundary/explain_3.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02006_h3_to_geo_boundary/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02006_h3_to_geo_boundary/explain_4.txt b/parser/testdata/02006_h3_to_geo_boundary/explain_4.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02006_h3_to_geo_boundary/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02006_h3_to_geo_boundary/explain_5.txt b/parser/testdata/02006_h3_to_geo_boundary/explain_5.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02006_h3_to_geo_boundary/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02006_h3_to_geo_boundary/explain_6.txt b/parser/testdata/02006_h3_to_geo_boundary/explain_6.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02006_h3_to_geo_boundary/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02006_h3_to_geo_boundary/explain_7.txt b/parser/testdata/02006_h3_to_geo_boundary/explain_7.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02006_h3_to_geo_boundary/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02006_h3_to_geo_boundary/explain_8.txt b/parser/testdata/02006_h3_to_geo_boundary/explain_8.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02006_h3_to_geo_boundary/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02006_h3_to_geo_boundary/explain_9.txt b/parser/testdata/02006_h3_to_geo_boundary/explain_9.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02006_h3_to_geo_boundary/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02006_test_positional_arguments/explain_20.txt b/parser/testdata/02006_test_positional_arguments/explain_20.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02006_test_positional_arguments/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02006_test_positional_arguments/explain_46.txt b/parser/testdata/02006_test_positional_arguments/explain_46.txt new file mode 100644 index 0000000000..f67968f237 --- /dev/null +++ b/parser/testdata/02006_test_positional_arguments/explain_46.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test2 diff --git a/parser/testdata/02006_test_positional_arguments/explain_7.txt b/parser/testdata/02006_test_positional_arguments/explain_7.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02006_test_positional_arguments/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02006_use_constants_in_with_and_select/explain.txt b/parser/testdata/02006_use_constants_in_with_and_select/explain.txt new file mode 100644 index 0000000000..e5be489e6b --- /dev/null +++ b/parser/testdata/02006_use_constants_in_with_and_select/explain.txt @@ -0,0 +1,34 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Literal UInt64_1 (alias max_size) + Function groupArray (children 2) + ExpressionList (children 1) + Identifier col + ExpressionList (children 1) + Identifier max_size + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier col + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 2) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 (alias col) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_2 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier col diff --git a/parser/testdata/02008_complex_key_range_hashed_dictionary/explain_3.txt b/parser/testdata/02008_complex_key_range_hashed_dictionary/explain_3.txt new file mode 100644 index 0000000000..f25193c794 --- /dev/null +++ b/parser/testdata/02008_complex_key_range_hashed_dictionary/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier date_table diff --git a/parser/testdata/02008_complex_key_range_hashed_dictionary/explain_32.txt b/parser/testdata/02008_complex_key_range_hashed_dictionary/explain_32.txt new file mode 100644 index 0000000000..f25193c794 --- /dev/null +++ b/parser/testdata/02008_complex_key_range_hashed_dictionary/explain_32.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier date_table diff --git a/parser/testdata/02008_complex_key_range_hashed_dictionary/explain_33.txt b/parser/testdata/02008_complex_key_range_hashed_dictionary/explain_33.txt new file mode 100644 index 0000000000..f25193c794 --- /dev/null +++ b/parser/testdata/02008_complex_key_range_hashed_dictionary/explain_33.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier date_table diff --git a/parser/testdata/02008_complex_key_range_hashed_dictionary/explain_34.txt b/parser/testdata/02008_complex_key_range_hashed_dictionary/explain_34.txt new file mode 100644 index 0000000000..f25193c794 --- /dev/null +++ b/parser/testdata/02008_complex_key_range_hashed_dictionary/explain_34.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier date_table diff --git a/parser/testdata/02008_complex_key_range_hashed_dictionary/explain_4.txt b/parser/testdata/02008_complex_key_range_hashed_dictionary/explain_4.txt new file mode 100644 index 0000000000..f25193c794 --- /dev/null +++ b/parser/testdata/02008_complex_key_range_hashed_dictionary/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier date_table diff --git a/parser/testdata/02008_complex_key_range_hashed_dictionary/explain_5.txt b/parser/testdata/02008_complex_key_range_hashed_dictionary/explain_5.txt new file mode 100644 index 0000000000..f25193c794 --- /dev/null +++ b/parser/testdata/02008_complex_key_range_hashed_dictionary/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier date_table diff --git a/parser/testdata/02008_tuple_to_name_value_pairs/explain_4.txt b/parser/testdata/02008_tuple_to_name_value_pairs/explain_4.txt new file mode 100644 index 0000000000..b4f6ee839f --- /dev/null +++ b/parser/testdata/02008_tuple_to_name_value_pairs/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test02008 diff --git a/parser/testdata/02008_tuple_to_name_value_pairs/explain_5.txt b/parser/testdata/02008_tuple_to_name_value_pairs/explain_5.txt new file mode 100644 index 0000000000..b4f6ee839f --- /dev/null +++ b/parser/testdata/02008_tuple_to_name_value_pairs/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test02008 diff --git a/parser/testdata/02008_tuple_to_name_value_pairs/explain_9.txt b/parser/testdata/02008_tuple_to_name_value_pairs/explain_9.txt new file mode 100644 index 0000000000..b4f6ee839f --- /dev/null +++ b/parser/testdata/02008_tuple_to_name_value_pairs/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test02008 diff --git a/parser/testdata/02011_dictionary_empty_attribute_list/explain_3.txt b/parser/testdata/02011_dictionary_empty_attribute_list/explain_3.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02011_dictionary_empty_attribute_list/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02011_normalize_utf8/explain_10.txt b/parser/testdata/02011_normalize_utf8/explain_10.txt new file mode 100644 index 0000000000..e2f102bb21 --- /dev/null +++ b/parser/testdata/02011_normalize_utf8/explain_10.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier normalize_test + ExpressionList (children 2) + Identifier id + Identifier value diff --git a/parser/testdata/02011_normalize_utf8/explain_11.txt b/parser/testdata/02011_normalize_utf8/explain_11.txt new file mode 100644 index 0000000000..e2f102bb21 --- /dev/null +++ b/parser/testdata/02011_normalize_utf8/explain_11.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier normalize_test + ExpressionList (children 2) + Identifier id + Identifier value diff --git a/parser/testdata/02011_normalize_utf8/explain_12.txt b/parser/testdata/02011_normalize_utf8/explain_12.txt new file mode 100644 index 0000000000..e2f102bb21 --- /dev/null +++ b/parser/testdata/02011_normalize_utf8/explain_12.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier normalize_test + ExpressionList (children 2) + Identifier id + Identifier value diff --git a/parser/testdata/02011_normalize_utf8/explain_13.txt b/parser/testdata/02011_normalize_utf8/explain_13.txt new file mode 100644 index 0000000000..e2f102bb21 --- /dev/null +++ b/parser/testdata/02011_normalize_utf8/explain_13.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier normalize_test + ExpressionList (children 2) + Identifier id + Identifier value diff --git a/parser/testdata/02011_normalize_utf8/explain_4.txt b/parser/testdata/02011_normalize_utf8/explain_4.txt new file mode 100644 index 0000000000..e2f102bb21 --- /dev/null +++ b/parser/testdata/02011_normalize_utf8/explain_4.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier normalize_test + ExpressionList (children 2) + Identifier id + Identifier value diff --git a/parser/testdata/02011_normalize_utf8/explain_5.txt b/parser/testdata/02011_normalize_utf8/explain_5.txt new file mode 100644 index 0000000000..e2f102bb21 --- /dev/null +++ b/parser/testdata/02011_normalize_utf8/explain_5.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier normalize_test + ExpressionList (children 2) + Identifier id + Identifier value diff --git a/parser/testdata/02011_normalize_utf8/explain_6.txt b/parser/testdata/02011_normalize_utf8/explain_6.txt new file mode 100644 index 0000000000..e2f102bb21 --- /dev/null +++ b/parser/testdata/02011_normalize_utf8/explain_6.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier normalize_test + ExpressionList (children 2) + Identifier id + Identifier value diff --git a/parser/testdata/02011_normalize_utf8/explain_7.txt b/parser/testdata/02011_normalize_utf8/explain_7.txt new file mode 100644 index 0000000000..e2f102bb21 --- /dev/null +++ b/parser/testdata/02011_normalize_utf8/explain_7.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier normalize_test + ExpressionList (children 2) + Identifier id + Identifier value diff --git a/parser/testdata/02011_normalize_utf8/explain_8.txt b/parser/testdata/02011_normalize_utf8/explain_8.txt new file mode 100644 index 0000000000..e2f102bb21 --- /dev/null +++ b/parser/testdata/02011_normalize_utf8/explain_8.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier normalize_test + ExpressionList (children 2) + Identifier id + Identifier value diff --git a/parser/testdata/02011_normalize_utf8/explain_9.txt b/parser/testdata/02011_normalize_utf8/explain_9.txt new file mode 100644 index 0000000000..e2f102bb21 --- /dev/null +++ b/parser/testdata/02011_normalize_utf8/explain_9.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier normalize_test + ExpressionList (children 2) + Identifier id + Identifier value diff --git a/parser/testdata/02012_changed_enum_type_non_replicated/explain_2.txt b/parser/testdata/02012_changed_enum_type_non_replicated/explain_2.txt new file mode 100644 index 0000000000..56a187c5de --- /dev/null +++ b/parser/testdata/02012_changed_enum_type_non_replicated/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier enum_alter_issue diff --git a/parser/testdata/02012_changed_enum_type_non_replicated/explain_4.txt b/parser/testdata/02012_changed_enum_type_non_replicated/explain_4.txt new file mode 100644 index 0000000000..56a187c5de --- /dev/null +++ b/parser/testdata/02012_changed_enum_type_non_replicated/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier enum_alter_issue diff --git a/parser/testdata/02012_low_cardinality_uuid_with_extremes/explain_4.txt b/parser/testdata/02012_low_cardinality_uuid_with_extremes/explain_4.txt new file mode 100644 index 0000000000..fded649204 --- /dev/null +++ b/parser/testdata/02012_low_cardinality_uuid_with_extremes/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tbl diff --git a/parser/testdata/02012_zookeeper_changed_enum_type/explain.txt b/parser/testdata/02012_zookeeper_changed_enum_type/explain.txt index efbb5047c2..36c56c43a6 100644 --- a/parser/testdata/02012_zookeeper_changed_enum_type/explain.txt +++ b/parser/testdata/02012_zookeeper_changed_enum_type/explain.txt @@ -1,4 +1,4 @@ -CreateQuery enum_alter_issue (children 2) +CreateQuery enum_alter_issue (children 3) Identifier enum_alter_issue Columns definition (children 1) ExpressionList (children 2) @@ -15,3 +15,9 @@ CreateQuery enum_alter_issue (children 2) Literal UInt64_2 ColumnDeclaration b (children 1) DataType Int + Storage definition (children 2) + Function ReplicatedMergeTree (children 1) + ExpressionList (children 2) + Literal \'/clickhouse/tables/{database}/test_02012/enum_alter_issue\' + Literal \'r1\' + Identifier a diff --git a/parser/testdata/02012_zookeeper_changed_enum_type/explain_2.txt b/parser/testdata/02012_zookeeper_changed_enum_type/explain_2.txt new file mode 100644 index 0000000000..56a187c5de --- /dev/null +++ b/parser/testdata/02012_zookeeper_changed_enum_type/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier enum_alter_issue diff --git a/parser/testdata/02012_zookeeper_changed_enum_type/explain_4.txt b/parser/testdata/02012_zookeeper_changed_enum_type/explain_4.txt new file mode 100644 index 0000000000..56a187c5de --- /dev/null +++ b/parser/testdata/02012_zookeeper_changed_enum_type/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier enum_alter_issue diff --git a/parser/testdata/02012_zookeeper_changed_enum_type_incompatible/explain_3.txt b/parser/testdata/02012_zookeeper_changed_enum_type_incompatible/explain_3.txt new file mode 100644 index 0000000000..56a187c5de --- /dev/null +++ b/parser/testdata/02012_zookeeper_changed_enum_type_incompatible/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier enum_alter_issue diff --git a/parser/testdata/02012_zookeeper_changed_enum_type_incompatible/explain_6.txt b/parser/testdata/02012_zookeeper_changed_enum_type_incompatible/explain_6.txt new file mode 100644 index 0000000000..56a187c5de --- /dev/null +++ b/parser/testdata/02012_zookeeper_changed_enum_type_incompatible/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier enum_alter_issue diff --git a/parser/testdata/02013_emptystring_cast/explain_11.txt b/parser/testdata/02013_emptystring_cast/explain_11.txt new file mode 100644 index 0000000000..11b74d3448 --- /dev/null +++ b/parser/testdata/02013_emptystring_cast/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_date diff --git a/parser/testdata/02013_emptystring_cast/explain_15.txt b/parser/testdata/02013_emptystring_cast/explain_15.txt new file mode 100644 index 0000000000..a541a8ee2d --- /dev/null +++ b/parser/testdata/02013_emptystring_cast/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_datetime diff --git a/parser/testdata/02013_emptystring_cast/explain_3.txt b/parser/testdata/02013_emptystring_cast/explain_3.txt new file mode 100644 index 0000000000..79a26fd59a --- /dev/null +++ b/parser/testdata/02013_emptystring_cast/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_uint64 diff --git a/parser/testdata/02013_emptystring_cast/explain_7.txt b/parser/testdata/02013_emptystring_cast/explain_7.txt new file mode 100644 index 0000000000..dec3e151de --- /dev/null +++ b/parser/testdata/02013_emptystring_cast/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_float64 diff --git a/parser/testdata/02014_dict_get_nullable_key/explain_14.txt b/parser/testdata/02014_dict_get_nullable_key/explain_14.txt new file mode 100644 index 0000000000..23526a9eed --- /dev/null +++ b/parser/testdata/02014_dict_get_nullable_key/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dictionary_nullable_source_table diff --git a/parser/testdata/02014_dict_get_nullable_key/explain_3.txt b/parser/testdata/02014_dict_get_nullable_key/explain_3.txt new file mode 100644 index 0000000000..d0923935ab --- /dev/null +++ b/parser/testdata/02014_dict_get_nullable_key/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dictionary_non_nullable_source_table diff --git a/parser/testdata/02014_map_different_keys/explain_14.txt b/parser/testdata/02014_map_different_keys/explain_14.txt new file mode 100644 index 0000000000..6c94da3210 --- /dev/null +++ b/parser/testdata/02014_map_different_keys/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_map_02014 diff --git a/parser/testdata/02014_map_different_keys/explain_8.txt b/parser/testdata/02014_map_different_keys/explain_8.txt new file mode 100644 index 0000000000..6c94da3210 --- /dev/null +++ b/parser/testdata/02014_map_different_keys/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_map_02014 diff --git a/parser/testdata/02015_column_default_dict_get_identifier/explain_2.txt b/parser/testdata/02015_column_default_dict_get_identifier/explain_2.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02015_column_default_dict_get_identifier/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02015_column_default_dict_get_identifier/explain_5.txt b/parser/testdata/02015_column_default_dict_get_identifier/explain_5.txt new file mode 100644 index 0000000000..096f7a8059 --- /dev/null +++ b/parser/testdata/02015_column_default_dict_get_identifier/explain_5.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test_table_default + ExpressionList (children 1) + Identifier data_1 diff --git a/parser/testdata/02015_division_by_nullable/explain_59.txt b/parser/testdata/02015_division_by_nullable/explain_59.txt new file mode 100644 index 0000000000..307a1c20d0 --- /dev/null +++ b/parser/testdata/02015_division_by_nullable/explain_59.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nullable_division diff --git a/parser/testdata/02016_aggregation_spark_bar/explain_3.txt b/parser/testdata/02016_aggregation_spark_bar/explain_3.txt new file mode 100644 index 0000000000..caae60f51e --- /dev/null +++ b/parser/testdata/02016_aggregation_spark_bar/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier spark_bar_test diff --git a/parser/testdata/02016_bit_shift_right_for_string_integer/explain_95.txt b/parser/testdata/02016_bit_shift_right_for_string_integer/explain_95.txt new file mode 100644 index 0000000000..c24bb44fa8 --- /dev/null +++ b/parser/testdata/02016_bit_shift_right_for_string_integer/explain_95.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_bit_shift_right_string_integer diff --git a/parser/testdata/02016_order_by_with_fill_monotonic_functions_removal/explain.txt b/parser/testdata/02016_order_by_with_fill_monotonic_functions_removal/explain.txt index 5751fb9f06..e61659c55b 100644 --- a/parser/testdata/02016_order_by_with_fill_monotonic_functions_removal/explain.txt +++ b/parser/testdata/02016_order_by_with_fill_monotonic_functions_removal/explain.txt @@ -17,13 +17,12 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) Literal \'2021-07-07 15:21:05\' ExpressionList (children 1) - OrderByElement (children 2) + OrderByElement (children 4) Identifier ts - FillModifier (children 3) - Function toDateTime (children 1) - ExpressionList (children 1) - Literal \'2021-07-07 15:21:00\' - Function toDateTime (children 1) - ExpressionList (children 1) - Literal \'2021-07-07 15:21:15\' - Literal UInt64_5 + Function toDateTime (children 1) + ExpressionList (children 1) + Literal \'2021-07-07 15:21:00\' + Function toDateTime (children 1) + ExpressionList (children 1) + Literal \'2021-07-07 15:21:15\' + Literal UInt64_5 diff --git a/parser/testdata/02017_bit_shift_left_for_string_integer/explain_95.txt b/parser/testdata/02017_bit_shift_left_for_string_integer/explain_95.txt new file mode 100644 index 0000000000..a5e1a67d09 --- /dev/null +++ b/parser/testdata/02017_bit_shift_left_for_string_integer/explain_95.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_bit_shift_left_string_integer diff --git a/parser/testdata/02017_columns_with_dot/explain_11.txt b/parser/testdata/02017_columns_with_dot/explain_11.txt new file mode 100644 index 0000000000..0f8e759eb5 --- /dev/null +++ b/parser/testdata/02017_columns_with_dot/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_with_dots diff --git a/parser/testdata/02017_columns_with_dot/explain_3.txt b/parser/testdata/02017_columns_with_dot/explain_3.txt new file mode 100644 index 0000000000..0f8e759eb5 --- /dev/null +++ b/parser/testdata/02017_columns_with_dot/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_with_dots diff --git a/parser/testdata/02017_columns_with_dot/explain_7.txt b/parser/testdata/02017_columns_with_dot/explain_7.txt new file mode 100644 index 0000000000..0f8e759eb5 --- /dev/null +++ b/parser/testdata/02017_columns_with_dot/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_with_dots diff --git a/parser/testdata/02017_columns_with_dot_2/explain_3.txt b/parser/testdata/02017_columns_with_dot_2/explain_3.txt new file mode 100644 index 0000000000..2efc63f56c --- /dev/null +++ b/parser/testdata/02017_columns_with_dot_2/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_nested diff --git a/parser/testdata/02018_multiple_with_fill_for_the_same_column/explain.txt b/parser/testdata/02018_multiple_with_fill_for_the_same_column/explain.txt index fa9eaf0868..e57d24da08 100644 --- a/parser/testdata/02018_multiple_with_fill_for_the_same_column/explain.txt +++ b/parser/testdata/02018_multiple_with_fill_for_the_same_column/explain.txt @@ -25,4 +25,3 @@ SelectWithUnionQuery (children 1) Identifier x Literal UInt64_1 Literal UInt64_10 -The query succeeded but the server error '475' was expected (query: EXPLAIN AST SELECT x, y FROM (SELECT 5 AS x, 'Hello' AS y) ORDER BY x WITH FILL FROM 3 TO 7, y, x WITH FILL FROM 1 TO 10; -- { serverError INVALID_WITH_FILL_EXPRESSION }). diff --git a/parser/testdata/02019_multiple_weird_with_fill/explain.txt b/parser/testdata/02019_multiple_weird_with_fill/explain.txt new file mode 100644 index 0000000000..502754f53b --- /dev/null +++ b/parser/testdata/02019_multiple_weird_with_fill/explain.txt @@ -0,0 +1,32 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 3) + Identifier x + Function negate (children 1) + ExpressionList (children 1) + Identifier x + Identifier y + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_5 (alias x) + Literal \'Hello\' (alias y) + ExpressionList (children 3) + OrderByElement (children 3) + Identifier x + Literal UInt64_3 + Literal UInt64_7 + OrderByElement (children 1) + Identifier y + OrderByElement (children 3) + Function negate (children 1) + ExpressionList (children 1) + Identifier x + Literal Int64_-10 + Literal Int64_-1 diff --git a/parser/testdata/02020_exponential_smoothing_cross_block/explain.txt b/parser/testdata/02020_exponential_smoothing_cross_block/explain.txt index e189c6eb98..178370ca04 100644 --- a/parser/testdata/02020_exponential_smoothing_cross_block/explain.txt +++ b/parser/testdata/02020_exponential_smoothing_cross_block/explain.txt @@ -14,39 +14,33 @@ SelectWithUnionQuery (children 1) SelectQuery (children 2) ExpressionList (children 8) Literal NULL - Function exponentialTimeDecayedSum (children 3) + Function exponentialTimeDecayedSum (children 2) ExpressionList (children 2) Identifier value Identifier time ExpressionList (children 1) Literal Float64_100000002004087730000 - WindowDefinition (children 1) - Literal UInt64_255 Function equals (children 1) ExpressionList (children 2) Identifier number Literal Int64_-2147483649 - Function exponentialTimeDecayedSum (children 3) + Function exponentialTimeDecayedSum (children 2) ExpressionList (children 2) Identifier value Identifier time ExpressionList (children 1) Literal Int64_-1 - WindowDefinition (children 1) - Literal UInt64_65537 Identifier number (alias value) Function equals (children 1) ExpressionList (children 2) Identifier number Literal NULL - Function exponentialTimeDecayedSum (children 3) + Function exponentialTimeDecayedSum (children 2) ExpressionList (children 2) Identifier value Identifier time ExpressionList (children 1) Literal UInt64_65537 - WindowDefinition (children 1) - Literal UInt64_1048577 Identifier number (alias time) TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) diff --git a/parser/testdata/02021_h3_get_faces/explain_3.txt b/parser/testdata/02021_h3_get_faces/explain_3.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02021_h3_get_faces/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02021_h3_get_faces/explain_4.txt b/parser/testdata/02021_h3_get_faces/explain_4.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02021_h3_get_faces/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02021_h3_get_faces/explain_5.txt b/parser/testdata/02021_h3_get_faces/explain_5.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02021_h3_get_faces/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02021_h3_get_faces/explain_6.txt b/parser/testdata/02021_h3_get_faces/explain_6.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02021_h3_get_faces/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02021_h3_is_pentagon/explain_3.txt b/parser/testdata/02021_h3_is_pentagon/explain_3.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02021_h3_is_pentagon/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02021_h3_is_pentagon/explain_4.txt b/parser/testdata/02021_h3_is_pentagon/explain_4.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02021_h3_is_pentagon/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02021_h3_is_pentagon/explain_5.txt b/parser/testdata/02021_h3_is_pentagon/explain_5.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02021_h3_is_pentagon/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02021_h3_is_pentagon/explain_6.txt b/parser/testdata/02021_h3_is_pentagon/explain_6.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02021_h3_is_pentagon/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02021_h3_is_res_classIII/explain_3.txt b/parser/testdata/02021_h3_is_res_classIII/explain_3.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02021_h3_is_res_classIII/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02021_h3_is_res_classIII/explain_4.txt b/parser/testdata/02021_h3_is_res_classIII/explain_4.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02021_h3_is_res_classIII/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02021_h3_is_res_classIII/explain_5.txt b/parser/testdata/02021_h3_is_res_classIII/explain_5.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02021_h3_is_res_classIII/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02021_h3_is_res_classIII/explain_6.txt b/parser/testdata/02021_h3_is_res_classIII/explain_6.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02021_h3_is_res_classIII/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02021_map_bloom_filter_index/explain_3.txt b/parser/testdata/02021_map_bloom_filter_index/explain_3.txt new file mode 100644 index 0000000000..6a78522674 --- /dev/null +++ b/parser/testdata/02021_map_bloom_filter_index/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier map_test_index_map_keys diff --git a/parser/testdata/02021_map_bloom_filter_index/explain_50.txt b/parser/testdata/02021_map_bloom_filter_index/explain_50.txt new file mode 100644 index 0000000000..fc765fe933 --- /dev/null +++ b/parser/testdata/02021_map_bloom_filter_index/explain_50.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier map_test_index_map_values diff --git a/parser/testdata/02021_map_has/explain_4.txt b/parser/testdata/02021_map_has/explain_4.txt new file mode 100644 index 0000000000..9ef2ad5086 --- /dev/null +++ b/parser/testdata/02021_map_has/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_map diff --git a/parser/testdata/02021_prewhere_always_true_where/explain_3.txt b/parser/testdata/02021_prewhere_always_true_where/explain_3.txt new file mode 100644 index 0000000000..68ecdff722 --- /dev/null +++ b/parser/testdata/02021_prewhere_always_true_where/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data_02021 diff --git a/parser/testdata/02021_prewhere_column_optimization/explain_3.txt b/parser/testdata/02021_prewhere_column_optimization/explain_3.txt new file mode 100644 index 0000000000..68ecdff722 --- /dev/null +++ b/parser/testdata/02021_prewhere_column_optimization/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data_02021 diff --git a/parser/testdata/02022_array_full_text_bloom_filter_index/explain_5.txt b/parser/testdata/02022_array_full_text_bloom_filter_index/explain_5.txt new file mode 100644 index 0000000000..6ff20c4df6 --- /dev/null +++ b/parser/testdata/02022_array_full_text_bloom_filter_index/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier bf_tokenbf_array_test diff --git a/parser/testdata/02022_array_full_text_bloom_filter_index/explain_6.txt b/parser/testdata/02022_array_full_text_bloom_filter_index/explain_6.txt new file mode 100644 index 0000000000..d0e9bd9f9d --- /dev/null +++ b/parser/testdata/02022_array_full_text_bloom_filter_index/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier bf_ngram_array_test diff --git a/parser/testdata/02023_nullable_int_uint_where/explain_4.txt b/parser/testdata/02023_nullable_int_uint_where/explain_4.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/02023_nullable_int_uint_where/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/02024_create_dictionary_with_comment/explain_2.txt b/parser/testdata/02024_create_dictionary_with_comment/explain_2.txt new file mode 100644 index 0000000000..afef4051d6 --- /dev/null +++ b/parser/testdata/02024_create_dictionary_with_comment/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier source_table diff --git a/parser/testdata/02024_create_dictionary_with_comment/explain_3.txt b/parser/testdata/02024_create_dictionary_with_comment/explain_3.txt new file mode 100644 index 0000000000..afef4051d6 --- /dev/null +++ b/parser/testdata/02024_create_dictionary_with_comment/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier source_table diff --git a/parser/testdata/02025_dictionary_array_nested_map/explain_2.txt b/parser/testdata/02025_dictionary_array_nested_map/explain_2.txt new file mode 100644 index 0000000000..bb11101e3a --- /dev/null +++ b/parser/testdata/02025_dictionary_array_nested_map/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dict_nested_map_test_table diff --git a/parser/testdata/02025_dictionary_view_different_db/explain_5.txt b/parser/testdata/02025_dictionary_view_different_db/explain_5.txt new file mode 100644 index 0000000000..0875ef88cc --- /dev/null +++ b/parser/testdata/02025_dictionary_view_different_db/explain_5.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier test_db_2025 + Identifier test_table diff --git a/parser/testdata/02025_dictionary_view_different_db/explain_9.txt b/parser/testdata/02025_dictionary_view_different_db/explain_9.txt new file mode 100644 index 0000000000..ebb7c3d435 --- /dev/null +++ b/parser/testdata/02025_dictionary_view_different_db/explain_9.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier test_db_2025 + Identifier view_table diff --git a/parser/testdata/02028_add_default_database_for_alterquery_on_cluster/explain_6.txt b/parser/testdata/02028_add_default_database_for_alterquery_on_cluster/explain_6.txt new file mode 100644 index 0000000000..96b6c165af --- /dev/null +++ b/parser/testdata/02028_add_default_database_for_alterquery_on_cluster/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1_local diff --git a/parser/testdata/02028_add_default_database_for_alterquery_on_cluster/explain_7.txt b/parser/testdata/02028_add_default_database_for_alterquery_on_cluster/explain_7.txt new file mode 100644 index 0000000000..96b6c165af --- /dev/null +++ b/parser/testdata/02028_add_default_database_for_alterquery_on_cluster/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1_local diff --git a/parser/testdata/02028_add_default_database_for_alterquery_on_cluster/explain_8.txt b/parser/testdata/02028_add_default_database_for_alterquery_on_cluster/explain_8.txt new file mode 100644 index 0000000000..e50e47ec57 --- /dev/null +++ b/parser/testdata/02028_add_default_database_for_alterquery_on_cluster/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2_local diff --git a/parser/testdata/02028_add_default_database_for_alterquery_on_cluster/explain_9.txt b/parser/testdata/02028_add_default_database_for_alterquery_on_cluster/explain_9.txt new file mode 100644 index 0000000000..e50e47ec57 --- /dev/null +++ b/parser/testdata/02028_add_default_database_for_alterquery_on_cluster/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2_local diff --git a/parser/testdata/02028_create_select_settings/explain.txt b/parser/testdata/02028_create_select_settings/explain.txt index 1273fa7c40..8e8d7e1962 100644 --- a/parser/testdata/02028_create_select_settings/explain.txt +++ b/parser/testdata/02028_create_select_settings/explain.txt @@ -34,4 +34,3 @@ CreateQuery test_table (children 3) Literal UInt64_10000 TableJoin Set -The query succeeded but the server error '241' was expected (query: EXPLAIN AST create table test_table engine MergeTree order by a as select a_table.a, b_table.b_arr from (select arrayJoin(range(10000)) as a) a_table cross join (select range(10000) as b_arr) b_table settings max_memory_usage = 1; -- { serverError MEMORY_LIMIT_EXCEEDED }). diff --git a/parser/testdata/02028_system_data_skipping_indices_size/explain_3.txt b/parser/testdata/02028_system_data_skipping_indices_size/explain_3.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02028_system_data_skipping_indices_size/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02029_output_csv_null_representation/explain_3.txt b/parser/testdata/02029_output_csv_null_representation/explain_3.txt new file mode 100644 index 0000000000..79a845154b --- /dev/null +++ b/parser/testdata/02029_output_csv_null_representation/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_data diff --git a/parser/testdata/02029_quantile_sanitizer/explain.txt b/parser/testdata/02029_quantile_sanitizer/explain.txt index c55f60b405..9a5d9e54a6 100644 --- a/parser/testdata/02029_quantile_sanitizer/explain.txt +++ b/parser/testdata/02029_quantile_sanitizer/explain.txt @@ -10,4 +10,3 @@ SelectWithUnionQuery (children 1) Literal UInt64_1 ExpressionList (children 1) Literal Float64_-0 -The query succeeded but the server error '407' was expected (query: EXPLAIN AST SELECT quantileTDigestWeighted(-0.)(toDateTime(10000000000.), 1); -- { serverError DECIMAL_OVERFLOW }). diff --git a/parser/testdata/02030_function_mapContainsKeyLike/explain_3.txt b/parser/testdata/02030_function_mapContainsKeyLike/explain_3.txt new file mode 100644 index 0000000000..bb23af019d --- /dev/null +++ b/parser/testdata/02030_function_mapContainsKeyLike/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier map_containsKeyLike_test diff --git a/parser/testdata/02030_function_mapContainsKeyLike/explain_4.txt b/parser/testdata/02030_function_mapContainsKeyLike/explain_4.txt new file mode 100644 index 0000000000..bb23af019d --- /dev/null +++ b/parser/testdata/02030_function_mapContainsKeyLike/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier map_containsKeyLike_test diff --git a/parser/testdata/02030_function_mapContainsKeyLike/explain_5.txt b/parser/testdata/02030_function_mapContainsKeyLike/explain_5.txt new file mode 100644 index 0000000000..bb23af019d --- /dev/null +++ b/parser/testdata/02030_function_mapContainsKeyLike/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier map_containsKeyLike_test diff --git a/parser/testdata/02030_quantiles_underflow/explain.txt b/parser/testdata/02030_quantiles_underflow/explain.txt new file mode 100644 index 0000000000..1886de7455 --- /dev/null +++ b/parser/testdata/02030_quantiles_underflow/explain.txt @@ -0,0 +1,32 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function arrayMap (alias q) (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier y + Function round (children 1) + ExpressionList (children 2) + Identifier y + Literal UInt64_1 + Function quantilesExactInclusive (children 2) + ExpressionList (children 1) + Identifier x + ExpressionList (children 2) + Literal Float64_0.1 + Literal Float64_0.9 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayJoin (alias x) (children 1) + ExpressionList (children 1) + Literal Array_[Int64_-2147483648, UInt64_1, UInt64_2] diff --git a/parser/testdata/02030_tuple_filter/explain_4.txt b/parser/testdata/02030_tuple_filter/explain_4.txt new file mode 100644 index 0000000000..403e953c56 --- /dev/null +++ b/parser/testdata/02030_tuple_filter/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_tuple_filter diff --git a/parser/testdata/02036_jit_short_circuit/explain_6.txt b/parser/testdata/02036_jit_short_circuit/explain_6.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02036_jit_short_circuit/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02042_map_get_non_const_key/explain.txt b/parser/testdata/02042_map_get_non_const_key/explain.txt index b96c00e3af..a20cb86cf7 100644 --- a/parser/testdata/02042_map_get_non_const_key/explain.txt +++ b/parser/testdata/02042_map_get_non_const_key/explain.txt @@ -17,7 +17,7 @@ SelectWithUnionQuery (children 1) Function materialize (alias key) (children 1) ExpressionList (children 1) Literal \'key\' - Function CAST (children 1) + Function CAST (alias map) (children 1) ExpressionList (children 2) Function tuple (children 1) ExpressionList (children 2) diff --git a/parser/testdata/02046_remote_table_function_named_collections/explain_3.txt b/parser/testdata/02046_remote_table_function_named_collections/explain_3.txt new file mode 100644 index 0000000000..ed9e351e10 --- /dev/null +++ b/parser/testdata/02046_remote_table_function_named_collections/explain_3.txt @@ -0,0 +1,9 @@ +InsertQuery (children 1) + Function remote (children 1) + ExpressionList (children 2) + Identifier remote1 + Function equals (children 1) + ExpressionList (children 2) + Identifier database + Function currentDatabase (children 1) + ExpressionList diff --git a/parser/testdata/02046_remote_table_function_named_collections/explain_4.txt b/parser/testdata/02046_remote_table_function_named_collections/explain_4.txt new file mode 100644 index 0000000000..ed9e351e10 --- /dev/null +++ b/parser/testdata/02046_remote_table_function_named_collections/explain_4.txt @@ -0,0 +1,9 @@ +InsertQuery (children 1) + Function remote (children 1) + ExpressionList (children 2) + Identifier remote1 + Function equals (children 1) + ExpressionList (children 2) + Identifier database + Function currentDatabase (children 1) + ExpressionList diff --git a/parser/testdata/02046_remote_table_function_named_collections/explain_5.txt b/parser/testdata/02046_remote_table_function_named_collections/explain_5.txt new file mode 100644 index 0000000000..ed9e351e10 --- /dev/null +++ b/parser/testdata/02046_remote_table_function_named_collections/explain_5.txt @@ -0,0 +1,9 @@ +InsertQuery (children 1) + Function remote (children 1) + ExpressionList (children 2) + Identifier remote1 + Function equals (children 1) + ExpressionList (children 2) + Identifier database + Function currentDatabase (children 1) + ExpressionList diff --git a/parser/testdata/02046_remote_table_function_named_collections/explain_6.txt b/parser/testdata/02046_remote_table_function_named_collections/explain_6.txt new file mode 100644 index 0000000000..ed9e351e10 --- /dev/null +++ b/parser/testdata/02046_remote_table_function_named_collections/explain_6.txt @@ -0,0 +1,9 @@ +InsertQuery (children 1) + Function remote (children 1) + ExpressionList (children 2) + Identifier remote1 + Function equals (children 1) + ExpressionList (children 2) + Identifier database + Function currentDatabase (children 1) + ExpressionList diff --git a/parser/testdata/02053_INSERT_SELECT_MATERIALIZED/explain_2.txt b/parser/testdata/02053_INSERT_SELECT_MATERIALIZED/explain_2.txt new file mode 100644 index 0000000000..01620a5c81 --- /dev/null +++ b/parser/testdata/02053_INSERT_SELECT_MATERIALIZED/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data_02053 diff --git a/parser/testdata/02071_lower_upper_utf8_row_overlaps/explain_3.txt b/parser/testdata/02071_lower_upper_utf8_row_overlaps/explain_3.txt new file mode 100644 index 0000000000..e6972c3e34 --- /dev/null +++ b/parser/testdata/02071_lower_upper_utf8_row_overlaps/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier utf8_overlap diff --git a/parser/testdata/02096_join_unusual_identifier_begin/explain_5.txt b/parser/testdata/02096_join_unusual_identifier_begin/explain_5.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/02096_join_unusual_identifier_begin/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/02096_join_unusual_identifier_begin/explain_7.txt b/parser/testdata/02096_join_unusual_identifier_begin/explain_7.txt new file mode 100644 index 0000000000..df4a687bc0 --- /dev/null +++ b/parser/testdata/02096_join_unusual_identifier_begin/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2 diff --git a/parser/testdata/02096_join_unusual_identifier_begin/explain_9.txt b/parser/testdata/02096_join_unusual_identifier_begin/explain_9.txt new file mode 100644 index 0000000000..ffa366159a --- /dev/null +++ b/parser/testdata/02096_join_unusual_identifier_begin/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t3 diff --git a/parser/testdata/02097_polygon_dictionary_store_key/explain_3.txt b/parser/testdata/02097_polygon_dictionary_store_key/explain_3.txt new file mode 100644 index 0000000000..a319b170f0 --- /dev/null +++ b/parser/testdata/02097_polygon_dictionary_store_key/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier polygons_test_table diff --git a/parser/testdata/02097_remove_sample_by/explain_19.txt b/parser/testdata/02097_remove_sample_by/explain_19.txt new file mode 100644 index 0000000000..01dd611d5b --- /dev/null +++ b/parser/testdata/02097_remove_sample_by/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_remove_sample_by diff --git a/parser/testdata/02100_now64_types_bug/explain.txt b/parser/testdata/02100_now64_types_bug/explain.txt index ca52a950a8..1e7f81e27f 100644 --- a/parser/testdata/02100_now64_types_bug/explain.txt +++ b/parser/testdata/02100_now64_types_bug/explain.txt @@ -66,7 +66,7 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Identifier number Literal NULL - Literal Float64_NaN + Literal Float64_nan Function toFloat64 (children 1) ExpressionList (children 1) Identifier number @@ -120,7 +120,7 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Identifier number Literal NULL - Literal Float64_NaN + Literal Float64_nan Function toFloat64 (children 1) ExpressionList (children 1) Identifier number diff --git a/parser/testdata/02100_replaceRegexpAll_bug/explain_10.txt b/parser/testdata/02100_replaceRegexpAll_bug/explain_10.txt index 674351a030..b5be6f8c92 100644 --- a/parser/testdata/02100_replaceRegexpAll_bug/explain_10.txt +++ b/parser/testdata/02100_replaceRegexpAll_bug/explain_10.txt @@ -5,18 +5,7 @@ SelectWithUnionQuery (children 1) Function equals (alias x) (children 1) ExpressionList (children 2) Literal \'5935,5998,6014\' - Function replaceRegexpAll (children 1) - ExpressionList (children 3) + Function trimBoth (children 1) + ExpressionList (children 2) Literal \'5935,5998,6014, \' - Function concat (children 1) - ExpressionList (children 5) - Literal \'^[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \', \' - Literal \']+|[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \', \' - Literal \']+$\' - Literal \'\' + Literal \', \' diff --git a/parser/testdata/02100_replaceRegexpAll_bug/explain_12.txt b/parser/testdata/02100_replaceRegexpAll_bug/explain_12.txt index 3c450780b2..edd851042d 100644 --- a/parser/testdata/02100_replaceRegexpAll_bug/explain_12.txt +++ b/parser/testdata/02100_replaceRegexpAll_bug/explain_12.txt @@ -4,19 +4,8 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) Function equals (children 1) ExpressionList (children 2) - Function replaceRegexpAll (children 1) - ExpressionList (children 3) + Function trimBoth (children 1) + ExpressionList (children 2) Literal \'2\' - Function concat (children 1) - ExpressionList (children 5) - Literal \'^[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \'"\' - Literal \']+|[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \'"\' - Literal \']+$\' - Literal \'\' + Literal \'"\' Literal \'2\' diff --git a/parser/testdata/02100_replaceRegexpAll_bug/explain_2.txt b/parser/testdata/02100_replaceRegexpAll_bug/explain_2.txt index b53e880fac..84b10fd321 100644 --- a/parser/testdata/02100_replaceRegexpAll_bug/explain_2.txt +++ b/parser/testdata/02100_replaceRegexpAll_bug/explain_2.txt @@ -5,14 +5,7 @@ SelectWithUnionQuery (children 1) Function equals (alias x) (children 1) ExpressionList (children 2) Literal \'b aaaa\' - Function replaceRegexpOne (children 1) - ExpressionList (children 3) + Function trimRight (children 1) + ExpressionList (children 2) Literal \'b aaaabb \' - Function concat (children 1) - ExpressionList (children 3) - Literal \'[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \'b \' - Literal \']+$\' - Literal \'\' + Literal \'b \' diff --git a/parser/testdata/02100_replaceRegexpAll_bug/explain_3.txt b/parser/testdata/02100_replaceRegexpAll_bug/explain_3.txt index 9e80dae93f..6db8211a1b 100644 --- a/parser/testdata/02100_replaceRegexpAll_bug/explain_3.txt +++ b/parser/testdata/02100_replaceRegexpAll_bug/explain_3.txt @@ -5,18 +5,7 @@ SelectWithUnionQuery (children 1) Function equals (alias x) (children 1) ExpressionList (children 2) Literal \'aaaa\' - Function replaceRegexpAll (children 1) - ExpressionList (children 3) + Function trimBoth (children 1) + ExpressionList (children 2) Literal \'b aaaabb \' - Function concat (children 1) - ExpressionList (children 5) - Literal \'^[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \'b \' - Literal \']+|[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \'b \' - Literal \']+$\' - Literal \'\' + Literal \'b \' diff --git a/parser/testdata/02111_function_mapExtractKeyLike/explain_3.txt b/parser/testdata/02111_function_mapExtractKeyLike/explain_3.txt new file mode 100644 index 0000000000..a4a81837ac --- /dev/null +++ b/parser/testdata/02111_function_mapExtractKeyLike/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier map_extractKeyLike_test diff --git a/parser/testdata/02111_function_mapExtractKeyLike/explain_4.txt b/parser/testdata/02111_function_mapExtractKeyLike/explain_4.txt new file mode 100644 index 0000000000..a4a81837ac --- /dev/null +++ b/parser/testdata/02111_function_mapExtractKeyLike/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier map_extractKeyLike_test diff --git a/parser/testdata/02111_function_mapExtractKeyLike/explain_5.txt b/parser/testdata/02111_function_mapExtractKeyLike/explain_5.txt new file mode 100644 index 0000000000..a4a81837ac --- /dev/null +++ b/parser/testdata/02111_function_mapExtractKeyLike/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier map_extractKeyLike_test diff --git a/parser/testdata/02111_global_context_temporary_tables/explain.txt b/parser/testdata/02111_global_context_temporary_tables/explain.txt index dca1d2c2ba..45a45f18a2 100644 --- a/parser/testdata/02111_global_context_temporary_tables/explain.txt +++ b/parser/testdata/02111_global_context_temporary_tables/explain.txt @@ -14,4 +14,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Literal UInt64_1 Identifier id -The query succeeded but the server error '60' was expected (query: EXPLAIN AST SELECT * FROM remote('127.1', system.one, 1 IN id); -- { serverError UNKNOWN_TABLE }). diff --git a/parser/testdata/02111_with_fill_no_rows/explain.txt b/parser/testdata/02111_with_fill_no_rows/explain.txt index a764537a0d..823d7d1d3e 100644 --- a/parser/testdata/02111_with_fill_no_rows/explain.txt +++ b/parser/testdata/02111_with_fill_no_rows/explain.txt @@ -21,8 +21,7 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) Identifier y ExpressionList (children 1) - OrderByElement (children 2) + OrderByElement (children 3) Identifier y - FillModifier (children 2) - Literal UInt64_2019 - Literal UInt64_2023 + Literal UInt64_2019 + Literal UInt64_2023 diff --git a/parser/testdata/02112_skip_index_set_and_or/explain_3.txt b/parser/testdata/02112_skip_index_set_and_or/explain_3.txt new file mode 100644 index 0000000000..26c70c6b45 --- /dev/null +++ b/parser/testdata/02112_skip_index_set_and_or/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier set_index diff --git a/parser/testdata/02112_with_fill_interval/explain_28.txt b/parser/testdata/02112_with_fill_interval/explain_28.txt new file mode 100644 index 0000000000..5675efd621 --- /dev/null +++ b/parser/testdata/02112_with_fill_interval/explain_28.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier with_fill_date diff --git a/parser/testdata/02112_with_fill_interval/explain_29.txt b/parser/testdata/02112_with_fill_interval/explain_29.txt new file mode 100644 index 0000000000..5675efd621 --- /dev/null +++ b/parser/testdata/02112_with_fill_interval/explain_29.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier with_fill_date diff --git a/parser/testdata/02112_with_fill_interval/explain_3.txt b/parser/testdata/02112_with_fill_interval/explain_3.txt new file mode 100644 index 0000000000..5675efd621 --- /dev/null +++ b/parser/testdata/02112_with_fill_interval/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier with_fill_date diff --git a/parser/testdata/02112_with_fill_interval/explain_4.txt b/parser/testdata/02112_with_fill_interval/explain_4.txt new file mode 100644 index 0000000000..5675efd621 --- /dev/null +++ b/parser/testdata/02112_with_fill_interval/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier with_fill_date diff --git a/parser/testdata/02112_with_fill_interval/explain_45.txt b/parser/testdata/02112_with_fill_interval/explain_45.txt new file mode 100644 index 0000000000..5675efd621 --- /dev/null +++ b/parser/testdata/02112_with_fill_interval/explain_45.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier with_fill_date diff --git a/parser/testdata/02112_with_fill_interval/explain_46.txt b/parser/testdata/02112_with_fill_interval/explain_46.txt new file mode 100644 index 0000000000..5675efd621 --- /dev/null +++ b/parser/testdata/02112_with_fill_interval/explain_46.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier with_fill_date diff --git a/parser/testdata/02112_with_fill_interval/explain_47.txt b/parser/testdata/02112_with_fill_interval/explain_47.txt new file mode 100644 index 0000000000..5675efd621 --- /dev/null +++ b/parser/testdata/02112_with_fill_interval/explain_47.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier with_fill_date diff --git a/parser/testdata/02112_with_fill_interval/explain_48.txt b/parser/testdata/02112_with_fill_interval/explain_48.txt new file mode 100644 index 0000000000..5675efd621 --- /dev/null +++ b/parser/testdata/02112_with_fill_interval/explain_48.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier with_fill_date diff --git a/parser/testdata/02112_with_fill_interval/explain_5.txt b/parser/testdata/02112_with_fill_interval/explain_5.txt new file mode 100644 index 0000000000..5675efd621 --- /dev/null +++ b/parser/testdata/02112_with_fill_interval/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier with_fill_date diff --git a/parser/testdata/02112_with_fill_interval/explain_6.txt b/parser/testdata/02112_with_fill_interval/explain_6.txt new file mode 100644 index 0000000000..5675efd621 --- /dev/null +++ b/parser/testdata/02112_with_fill_interval/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier with_fill_date diff --git a/parser/testdata/02113_base64encode_trailing_bytes/explain_8.txt b/parser/testdata/02113_base64encode_trailing_bytes/explain_8.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02113_base64encode_trailing_bytes/explain_8.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02113_base64encode_trailing_bytes_1/explain.txt b/parser/testdata/02113_base64encode_trailing_bytes_1/explain.txt new file mode 100644 index 0000000000..dc5fdecd1c --- /dev/null +++ b/parser/testdata/02113_base64encode_trailing_bytes_1/explain.txt @@ -0,0 +1,21 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Identifier number + Function hex (alias r) (children 1) + ExpressionList (children 1) + Function base64Decode (children 1) + ExpressionList (children 1) + Function base64Encode (children 1) + ExpressionList (children 1) + Function repeat (children 1) + ExpressionList (children 2) + Literal \'a\' + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_100 diff --git a/parser/testdata/02113_format_row_bug/explain.txt b/parser/testdata/02113_format_row_bug/explain.txt index c8be4215ac..cafbba992a 100644 --- a/parser/testdata/02113_format_row_bug/explain.txt +++ b/parser/testdata/02113_format_row_bug/explain.txt @@ -15,4 +15,3 @@ SelectWithUnionQuery (children 1) Function numbers (children 1) ExpressionList (children 1) Literal UInt64_5 -The query succeeded but the server error '36' was expected (query: EXPLAIN AST select formatRow('ORC', number, toDate(number)) from numbers(5); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/02113_untuple_func_alias/explain.txt b/parser/testdata/02113_untuple_func_alias/explain.txt index fe51822bb7..eec59e4f84 100644 --- a/parser/testdata/02113_untuple_func_alias/explain.txt +++ b/parser/testdata/02113_untuple_func_alias/explain.txt @@ -1,6 +1,6 @@ -SelectWithUnionQuery (children 1) +SelectWithUnionQuery (children 2) ExpressionList (children 1) - SelectQuery (children 1) + SelectQuery (children 2) ExpressionList (children 2) Function untuple (alias ut) (children 1) ExpressionList (children 1) @@ -18,3 +18,14 @@ SelectWithUnionQuery (children 1) Literal UInt64_3 Literal UInt64_2 Identifier a + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_1 (alias a) + Literal NULL (alias b) + Identifier TSVWithNames diff --git a/parser/testdata/02114_bool_type/explain_11.txt b/parser/testdata/02114_bool_type/explain_11.txt new file mode 100644 index 0000000000..7f8d8291b5 --- /dev/null +++ b/parser/testdata/02114_bool_type/explain_11.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier bool_test + ExpressionList (children 2) + Identifier value + Identifier f diff --git a/parser/testdata/02114_bool_type/explain_15.txt b/parser/testdata/02114_bool_type/explain_15.txt new file mode 100644 index 0000000000..7f8d8291b5 --- /dev/null +++ b/parser/testdata/02114_bool_type/explain_15.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier bool_test + ExpressionList (children 2) + Identifier value + Identifier f diff --git a/parser/testdata/02114_bool_type/explain_19.txt b/parser/testdata/02114_bool_type/explain_19.txt new file mode 100644 index 0000000000..7f8d8291b5 --- /dev/null +++ b/parser/testdata/02114_bool_type/explain_19.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier bool_test + ExpressionList (children 2) + Identifier value + Identifier f diff --git a/parser/testdata/02114_bool_type/explain_4.txt b/parser/testdata/02114_bool_type/explain_4.txt new file mode 100644 index 0000000000..7f8d8291b5 --- /dev/null +++ b/parser/testdata/02114_bool_type/explain_4.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier bool_test + ExpressionList (children 2) + Identifier value + Identifier f diff --git a/parser/testdata/02114_bool_type/explain_5.txt b/parser/testdata/02114_bool_type/explain_5.txt new file mode 100644 index 0000000000..7f8d8291b5 --- /dev/null +++ b/parser/testdata/02114_bool_type/explain_5.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier bool_test + ExpressionList (children 2) + Identifier value + Identifier f diff --git a/parser/testdata/02115_map_contains_analyzer/explain_3.txt b/parser/testdata/02115_map_contains_analyzer/explain_3.txt new file mode 100644 index 0000000000..f18a7d1313 --- /dev/null +++ b/parser/testdata/02115_map_contains_analyzer/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_map_contains diff --git a/parser/testdata/02115_rewrite_local_join_right_distribute_table/explain_11.txt b/parser/testdata/02115_rewrite_local_join_right_distribute_table/explain_11.txt new file mode 100644 index 0000000000..96b6c165af --- /dev/null +++ b/parser/testdata/02115_rewrite_local_join_right_distribute_table/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1_local diff --git a/parser/testdata/02115_rewrite_local_join_right_distribute_table/explain_12.txt b/parser/testdata/02115_rewrite_local_join_right_distribute_table/explain_12.txt new file mode 100644 index 0000000000..e50e47ec57 --- /dev/null +++ b/parser/testdata/02115_rewrite_local_join_right_distribute_table/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2_local diff --git a/parser/testdata/02116_tuple_element_analyzer/explain_3.txt b/parser/testdata/02116_tuple_element_analyzer/explain_3.txt new file mode 100644 index 0000000000..3b192e9319 --- /dev/null +++ b/parser/testdata/02116_tuple_element_analyzer/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_tuple_element diff --git a/parser/testdata/02117_show_create_table_system/explain.txt b/parser/testdata/02117_show_create_table_system/explain.txt new file mode 100644 index 0000000000..c70fa3b425 --- /dev/null +++ b/parser/testdata/02117_show_create_table_system/explain.txt @@ -0,0 +1,2 @@ +UseQuery system (children 1) + Identifier system diff --git a/parser/testdata/02119_sumcount/explain.txt b/parser/testdata/02119_sumcount/explain.txt new file mode 100644 index 0000000000..6c6d1b1511 --- /dev/null +++ b/parser/testdata/02119_sumcount/explain.txt @@ -0,0 +1,48 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function toTypeName (children 1) + ExpressionList (children 1) + Function sumCount (children 1) + ExpressionList (children 1) + Identifier v + Function sumCount (children 1) + ExpressionList (children 1) + Identifier v + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier v + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 3) + SelectQuery (children 1) + ExpressionList (children 1) + Function CAST (alias v) (children 1) + ExpressionList (children 2) + Literal \'9007199254740992\' + Literal \'UInt64\' + SelectQuery (children 1) + ExpressionList (children 1) + Function CAST (alias v) (children 1) + ExpressionList (children 2) + Literal \'1\' + Literal \'UInt64\' + SelectQuery (children 1) + ExpressionList (children 1) + Function CAST (alias v) (children 1) + ExpressionList (children 2) + Literal \'1\' + Literal \'UInt64\' + ExpressionList (children 1) + OrderByElement (children 1) + Identifier v diff --git a/parser/testdata/02124_clickhouse_dictionary_with_predefined_configuration/explain_4.txt b/parser/testdata/02124_clickhouse_dictionary_with_predefined_configuration/explain_4.txt new file mode 100644 index 0000000000..9c1eff95db --- /dev/null +++ b/parser/testdata/02124_clickhouse_dictionary_with_predefined_configuration/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier s diff --git a/parser/testdata/02124_comparison_betwwen_decimal_and_float/explain_21.txt b/parser/testdata/02124_comparison_betwwen_decimal_and_float/explain_21.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/02124_comparison_betwwen_decimal_and_float/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/02124_comparison_betwwen_decimal_and_float/explain_22.txt b/parser/testdata/02124_comparison_betwwen_decimal_and_float/explain_22.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/02124_comparison_betwwen_decimal_and_float/explain_22.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/02124_empty_uuid/explain.txt b/parser/testdata/02124_empty_uuid/explain.txt new file mode 100644 index 0000000000..3db77e9a24 --- /dev/null +++ b/parser/testdata/02124_empty_uuid/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function arrayJoin (alias x) (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 2) + Function toUUID (children 1) + ExpressionList (children 1) + Literal \'00000000-0000-0000-0000-000000000000\' + Function toUUID (children 1) + ExpressionList (children 1) + Literal \'992f6910-42b2-43cd-98bc-c812fbf9b683\' + Function empty (alias emp) (children 1) + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/02124_insert_deduplication_token/explain_10.txt b/parser/testdata/02124_insert_deduplication_token/explain_10.txt new file mode 100644 index 0000000000..bc20325b71 --- /dev/null +++ b/parser/testdata/02124_insert_deduplication_token/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier insert_dedup_token diff --git a/parser/testdata/02124_insert_deduplication_token/explain_11.txt b/parser/testdata/02124_insert_deduplication_token/explain_11.txt new file mode 100644 index 0000000000..bc20325b71 --- /dev/null +++ b/parser/testdata/02124_insert_deduplication_token/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier insert_dedup_token diff --git a/parser/testdata/02124_insert_deduplication_token/explain_15.txt b/parser/testdata/02124_insert_deduplication_token/explain_15.txt new file mode 100644 index 0000000000..bc20325b71 --- /dev/null +++ b/parser/testdata/02124_insert_deduplication_token/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier insert_dedup_token diff --git a/parser/testdata/02124_insert_deduplication_token/explain_16.txt b/parser/testdata/02124_insert_deduplication_token/explain_16.txt new file mode 100644 index 0000000000..bc20325b71 --- /dev/null +++ b/parser/testdata/02124_insert_deduplication_token/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier insert_dedup_token diff --git a/parser/testdata/02124_insert_deduplication_token/explain_20.txt b/parser/testdata/02124_insert_deduplication_token/explain_20.txt new file mode 100644 index 0000000000..bc20325b71 --- /dev/null +++ b/parser/testdata/02124_insert_deduplication_token/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier insert_dedup_token diff --git a/parser/testdata/02124_insert_deduplication_token/explain_5.txt b/parser/testdata/02124_insert_deduplication_token/explain_5.txt new file mode 100644 index 0000000000..bc20325b71 --- /dev/null +++ b/parser/testdata/02124_insert_deduplication_token/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier insert_dedup_token diff --git a/parser/testdata/02124_insert_deduplication_token/explain_6.txt b/parser/testdata/02124_insert_deduplication_token/explain_6.txt new file mode 100644 index 0000000000..bc20325b71 --- /dev/null +++ b/parser/testdata/02124_insert_deduplication_token/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier insert_dedup_token diff --git a/parser/testdata/02124_insert_deduplication_token_replica/explain_13.txt b/parser/testdata/02124_insert_deduplication_token_replica/explain_13.txt new file mode 100644 index 0000000000..57112a0541 --- /dev/null +++ b/parser/testdata/02124_insert_deduplication_token_replica/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier insert_dedup_token1 diff --git a/parser/testdata/02124_insert_deduplication_token_replica/explain_14.txt b/parser/testdata/02124_insert_deduplication_token_replica/explain_14.txt new file mode 100644 index 0000000000..57112a0541 --- /dev/null +++ b/parser/testdata/02124_insert_deduplication_token_replica/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier insert_dedup_token1 diff --git a/parser/testdata/02124_insert_deduplication_token_replica/explain_18.txt b/parser/testdata/02124_insert_deduplication_token_replica/explain_18.txt new file mode 100644 index 0000000000..57112a0541 --- /dev/null +++ b/parser/testdata/02124_insert_deduplication_token_replica/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier insert_dedup_token1 diff --git a/parser/testdata/02124_insert_deduplication_token_replica/explain_25.txt b/parser/testdata/02124_insert_deduplication_token_replica/explain_25.txt new file mode 100644 index 0000000000..6cf0f1b0e5 --- /dev/null +++ b/parser/testdata/02124_insert_deduplication_token_replica/explain_25.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier insert_dedup_token2 diff --git a/parser/testdata/02124_insert_deduplication_token_replica/explain_29.txt b/parser/testdata/02124_insert_deduplication_token_replica/explain_29.txt new file mode 100644 index 0000000000..6cf0f1b0e5 --- /dev/null +++ b/parser/testdata/02124_insert_deduplication_token_replica/explain_29.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier insert_dedup_token2 diff --git a/parser/testdata/02124_insert_deduplication_token_replica/explain_33.txt b/parser/testdata/02124_insert_deduplication_token_replica/explain_33.txt new file mode 100644 index 0000000000..6cf0f1b0e5 --- /dev/null +++ b/parser/testdata/02124_insert_deduplication_token_replica/explain_33.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier insert_dedup_token2 diff --git a/parser/testdata/02124_insert_deduplication_token_replica/explain_6.txt b/parser/testdata/02124_insert_deduplication_token_replica/explain_6.txt new file mode 100644 index 0000000000..57112a0541 --- /dev/null +++ b/parser/testdata/02124_insert_deduplication_token_replica/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier insert_dedup_token1 diff --git a/parser/testdata/02124_insert_deduplication_token_replica/explain_7.txt b/parser/testdata/02124_insert_deduplication_token_replica/explain_7.txt new file mode 100644 index 0000000000..57112a0541 --- /dev/null +++ b/parser/testdata/02124_insert_deduplication_token_replica/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier insert_dedup_token1 diff --git a/parser/testdata/02124_insert_deduplication_token_replica/explain_9.txt b/parser/testdata/02124_insert_deduplication_token_replica/explain_9.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02124_insert_deduplication_token_replica/explain_9.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02125_constant_if_condition_and_not_existing_column/explain_3.txt b/parser/testdata/02125_constant_if_condition_and_not_existing_column/explain_3.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02125_constant_if_condition_and_not_existing_column/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02125_dict_get_type_nullable_fix/explain_3.txt b/parser/testdata/02125_dict_get_type_nullable_fix/explain_3.txt new file mode 100644 index 0000000000..fd74c7dc68 --- /dev/null +++ b/parser/testdata/02125_dict_get_type_nullable_fix/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02125_test_table diff --git a/parser/testdata/02125_fix_storage_filelog/explain.txt b/parser/testdata/02125_fix_storage_filelog/explain.txt index ecae66728b..9ea1db487e 100644 --- a/parser/testdata/02125_fix_storage_filelog/explain.txt +++ b/parser/testdata/02125_fix_storage_filelog/explain.txt @@ -9,4 +9,3 @@ CreateQuery log (children 3) ExpressionList (children 2) Literal \'/tmp/aaa.csv\' Literal \'CSV\' -The query succeeded but the server error '36' was expected (query: EXPLAIN AST CREATE TABLE log (A String) ENGINE= FileLog('/tmp/aaa.csv', 'CSV'); -- {serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/02125_query_views_log/explain_11.txt b/parser/testdata/02125_query_views_log/explain_11.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02125_query_views_log/explain_11.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02126_lc_window_functions/explain.txt b/parser/testdata/02126_lc_window_functions/explain.txt index f344b91c17..5470e6b4cf 100644 --- a/parser/testdata/02126_lc_window_functions/explain.txt +++ b/parser/testdata/02126_lc_window_functions/explain.txt @@ -2,10 +2,9 @@ SelectWithUnionQuery (children 2) ExpressionList (children 1) SelectQuery (children 2) ExpressionList (children 1) - Function max (alias aid) (children 2) + Function max (alias aid) (children 1) ExpressionList (children 1) Identifier id - WindowDefinition TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) diff --git a/parser/testdata/02128_apply_lambda_parsing/explain.txt b/parser/testdata/02128_apply_lambda_parsing/explain.txt deleted file mode 100644 index 8b13789179..0000000000 --- a/parser/testdata/02128_apply_lambda_parsing/explain.txt +++ /dev/null @@ -1 +0,0 @@ - diff --git a/parser/testdata/02131_materialize_column_cast/explain_3.txt b/parser/testdata/02131_materialize_column_cast/explain_3.txt new file mode 100644 index 0000000000..3cdab0a874 --- /dev/null +++ b/parser/testdata/02131_materialize_column_cast/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_materialize_column diff --git a/parser/testdata/02131_materialize_column_cast/explain_8.txt b/parser/testdata/02131_materialize_column_cast/explain_8.txt new file mode 100644 index 0000000000..164230faee --- /dev/null +++ b/parser/testdata/02131_materialize_column_cast/explain_8.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t_materialize_column + ExpressionList (children 1) + Identifier i diff --git a/parser/testdata/02131_row_policies_combination/explain_3.txt b/parser/testdata/02131_row_policies_combination/explain_3.txt new file mode 100644 index 0000000000..002b809db2 --- /dev/null +++ b/parser/testdata/02131_row_policies_combination/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02131_rptable diff --git a/parser/testdata/02131_skip_index_not_materialized/explain_3.txt b/parser/testdata/02131_skip_index_not_materialized/explain_3.txt new file mode 100644 index 0000000000..0ce924e5db --- /dev/null +++ b/parser/testdata/02131_skip_index_not_materialized/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_index_non_materialized diff --git a/parser/testdata/02131_used_row_policies_in_query_log/explain_3.txt b/parser/testdata/02131_used_row_policies_in_query_log/explain_3.txt new file mode 100644 index 0000000000..b67a448a18 --- /dev/null +++ b/parser/testdata/02131_used_row_policies_in_query_log/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02131_rqtable diff --git a/parser/testdata/02131_used_row_policies_in_query_log/explain_43.txt b/parser/testdata/02131_used_row_policies_in_query_log/explain_43.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02131_used_row_policies_in_query_log/explain_43.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02133_issue_32458/explain_5.txt b/parser/testdata/02133_issue_32458/explain_5.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/02133_issue_32458/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/02133_issue_32458/explain_6.txt b/parser/testdata/02133_issue_32458/explain_6.txt new file mode 100644 index 0000000000..df4a687bc0 --- /dev/null +++ b/parser/testdata/02133_issue_32458/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2 diff --git a/parser/testdata/02136_scalar_subquery_metrics/explain_5.txt b/parser/testdata/02136_scalar_subquery_metrics/explain_5.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02136_scalar_subquery_metrics/explain_5.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02137_mv_into_join/explain_6.txt b/parser/testdata/02137_mv_into_join/explain_6.txt new file mode 100644 index 0000000000..d37ab39b4d --- /dev/null +++ b/parser/testdata/02137_mv_into_join/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier main diff --git a/parser/testdata/02148_sql_user_defined_function_subquery/explain_16.txt b/parser/testdata/02148_sql_user_defined_function_subquery/explain_16.txt new file mode 100644 index 0000000000..eb24cce48b --- /dev/null +++ b/parser/testdata/02148_sql_user_defined_function_subquery/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02148_test_table diff --git a/parser/testdata/02149_read_in_order_fixed_prefix/explain_31.txt b/parser/testdata/02149_read_in_order_fixed_prefix/explain_31.txt new file mode 100644 index 0000000000..e6b9000595 --- /dev/null +++ b/parser/testdata/02149_read_in_order_fixed_prefix/explain_31.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_read_in_order diff --git a/parser/testdata/02149_read_in_order_fixed_prefix/explain_32.txt b/parser/testdata/02149_read_in_order_fixed_prefix/explain_32.txt new file mode 100644 index 0000000000..e6b9000595 --- /dev/null +++ b/parser/testdata/02149_read_in_order_fixed_prefix/explain_32.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_read_in_order diff --git a/parser/testdata/02152_count_distinct_optimization/explain_3.txt b/parser/testdata/02152_count_distinct_optimization/explain_3.txt new file mode 100644 index 0000000000..09ff3c1cad --- /dev/null +++ b/parser/testdata/02152_count_distinct_optimization/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_02152 diff --git a/parser/testdata/02152_dictionary_date32_type/explain_3.txt b/parser/testdata/02152_dictionary_date32_type/explain_3.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02152_dictionary_date32_type/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02154_default_keyword_insert/explain_2.txt b/parser/testdata/02154_default_keyword_insert/explain_2.txt new file mode 100644 index 0000000000..cc5fa44d89 --- /dev/null +++ b/parser/testdata/02154_default_keyword_insert/explain_2.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier default_table + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/02154_default_keyword_insert/explain_3.txt b/parser/testdata/02154_default_keyword_insert/explain_3.txt new file mode 100644 index 0000000000..93a3b6011c --- /dev/null +++ b/parser/testdata/02154_default_keyword_insert/explain_3.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier default_table + ExpressionList (children 2) + Identifier x + Identifier z diff --git a/parser/testdata/02154_default_keyword_insert/explain_4.txt b/parser/testdata/02154_default_keyword_insert/explain_4.txt new file mode 100644 index 0000000000..7e9c376d84 --- /dev/null +++ b/parser/testdata/02154_default_keyword_insert/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier default_table diff --git a/parser/testdata/02155_binary_op_between_float_and_decimal/explain_14.txt b/parser/testdata/02155_binary_op_between_float_and_decimal/explain_14.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/02155_binary_op_between_float_and_decimal/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/02155_binary_op_between_float_and_decimal/explain_15.txt b/parser/testdata/02155_binary_op_between_float_and_decimal/explain_15.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/02155_binary_op_between_float_and_decimal/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/02155_binary_op_between_float_and_decimal/explain_16.txt b/parser/testdata/02155_binary_op_between_float_and_decimal/explain_16.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/02155_binary_op_between_float_and_decimal/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/02155_binary_op_between_float_and_decimal/explain_17.txt b/parser/testdata/02155_binary_op_between_float_and_decimal/explain_17.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/02155_binary_op_between_float_and_decimal/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/02155_create_table_w_timezone/explain.txt b/parser/testdata/02155_create_table_w_timezone/explain.txt deleted file mode 100644 index 8b13789179..0000000000 --- a/parser/testdata/02155_create_table_w_timezone/explain.txt +++ /dev/null @@ -1 +0,0 @@ - diff --git a/parser/testdata/02155_dictionary_comment/explain_3.txt b/parser/testdata/02155_dictionary_comment/explain_3.txt new file mode 100644 index 0000000000..b23454c5d3 --- /dev/null +++ b/parser/testdata/02155_dictionary_comment/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02155_test_table diff --git a/parser/testdata/02155_h3_to_center_child/explain_3.txt b/parser/testdata/02155_h3_to_center_child/explain_3.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02155_h3_to_center_child/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02155_nested_lc_defalut_bug/explain_4.txt b/parser/testdata/02155_nested_lc_defalut_bug/explain_4.txt new file mode 100644 index 0000000000..d2fe35c6f4 --- /dev/null +++ b/parser/testdata/02155_nested_lc_defalut_bug/explain_4.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier nested_test + ExpressionList (children 3) + Identifier x + Identifier nest.col1 + Identifier nest.col2 diff --git a/parser/testdata/02155_read_in_order_max_rows_to_read/explain_10.txt b/parser/testdata/02155_read_in_order_max_rows_to_read/explain_10.txt index b26db14211..86ed4d374e 100644 --- a/parser/testdata/02155_read_in_order_max_rows_to_read/explain_10.txt +++ b/parser/testdata/02155_read_in_order_max_rows_to_read/explain_10.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 5) + SelectQuery (children 4) ExpressionList (children 1) Identifier a TablesInSelectQuery (children 1) @@ -11,6 +11,5 @@ SelectWithUnionQuery (children 3) OrderByElement (children 1) Identifier a Literal UInt64_20 - Set Identifier Null Set diff --git a/parser/testdata/02155_read_in_order_max_rows_to_read/explain_11.txt b/parser/testdata/02155_read_in_order_max_rows_to_read/explain_11.txt index 5839716b32..8bae0d6b50 100644 --- a/parser/testdata/02155_read_in_order_max_rows_to_read/explain_11.txt +++ b/parser/testdata/02155_read_in_order_max_rows_to_read/explain_11.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 6) + SelectQuery (children 5) ExpressionList (children 1) Identifier a TablesInSelectQuery (children 1) @@ -15,6 +15,5 @@ SelectWithUnionQuery (children 3) OrderByElement (children 1) Identifier a Literal UInt64_5 - Set Identifier Null Set diff --git a/parser/testdata/02155_read_in_order_max_rows_to_read/explain_12.txt b/parser/testdata/02155_read_in_order_max_rows_to_read/explain_12.txt index 03cc21db57..d04e651165 100644 --- a/parser/testdata/02155_read_in_order_max_rows_to_read/explain_12.txt +++ b/parser/testdata/02155_read_in_order_max_rows_to_read/explain_12.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 4) + SelectQuery (children 3) ExpressionList (children 1) Identifier a TablesInSelectQuery (children 1) @@ -17,6 +17,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 2) Identifier a Literal UInt64_20 - Set Identifier Null Set diff --git a/parser/testdata/02156_minus_op_with_datatime64/explain.txt b/parser/testdata/02156_minus_op_with_datatime64/explain.txt new file mode 100644 index 0000000000..0e3aafe73e --- /dev/null +++ b/parser/testdata/02156_minus_op_with_datatime64/explain.txt @@ -0,0 +1,69 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 7) + Function minus (alias result_no_materialize_1) (children 1) + ExpressionList (children 2) + Function toDateTime64 (children 1) + ExpressionList (children 2) + Literal \'2023-10-01 12:00:00\' + Literal UInt64_3 + Function toDateTime (children 1) + ExpressionList (children 1) + Literal \'2023-10-01 11:00:00\' + Function minus (alias result_no_materialize_2) (children 1) + ExpressionList (children 2) + Function toDateTime64 (children 1) + ExpressionList (children 2) + Literal \'2023-10-01 12:00:00.123\' + Literal UInt64_3 + Function toDateTime (children 1) + ExpressionList (children 1) + Literal \'2023-10-01 11:00:00\' + Function minus (alias result_no_materialize_3) (children 1) + ExpressionList (children 2) + Function toDateTime64 (children 1) + ExpressionList (children 2) + Literal \'2023-10-02 12:00:00\' + Literal UInt64_0 + Function toDateTime (children 1) + ExpressionList (children 1) + Literal \'2023-10-01 11:00:00\' + Function minus (alias result_no_materialize_4) (children 1) + ExpressionList (children 2) + Function toDateTime64 (children 1) + ExpressionList (children 2) + Literal \'2023-10-01 12:00:00.123\' + Literal UInt64_3 + Function toDateTime64 (children 1) + ExpressionList (children 2) + Literal \'2023-10-01 11:00:00.123456\' + Literal UInt64_6 + Function minus (alias result_no_materialize_5) (children 1) + ExpressionList (children 2) + Function toDateTime64 (children 1) + ExpressionList (children 2) + Literal \'2023-10-01 12:00:00.123456\' + Literal UInt64_6 + Function toDateTime64 (children 1) + ExpressionList (children 2) + Literal \'2023-10-01 11:00:00.123\' + Literal UInt64_3 + Function minus (alias result_no_materialize_6) (children 1) + ExpressionList (children 2) + Function toDateTime (children 1) + ExpressionList (children 1) + Literal \'2023-10-01 12:00:00\' + Function toDateTime64 (children 1) + ExpressionList (children 2) + Literal \'2023-10-01 11:00:00\' + Literal UInt64_3 + Function minus (alias result_no_materialize_7) (children 1) + ExpressionList (children 2) + Function toDateTime (children 1) + ExpressionList (children 1) + Literal \'2023-10-01 12:00:00\' + Function toDateTime64 (children 1) + ExpressionList (children 2) + Literal \'2023-10-01 11:00:00\' + Literal UInt64_6 diff --git a/parser/testdata/02156_storage_merge_prewhere_2/explain_8.txt b/parser/testdata/02156_storage_merge_prewhere_2/explain_8.txt new file mode 100644 index 0000000000..c9509f6f4b --- /dev/null +++ b/parser/testdata/02156_storage_merge_prewhere_2/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_02156_ololo_1 diff --git a/parser/testdata/02156_storage_merge_prewhere_2/explain_9.txt b/parser/testdata/02156_storage_merge_prewhere_2/explain_9.txt new file mode 100644 index 0000000000..da3cc96c07 --- /dev/null +++ b/parser/testdata/02156_storage_merge_prewhere_2/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_02156_ololo_2 diff --git a/parser/testdata/02158_proportions_ztest/explain_4.txt b/parser/testdata/02158_proportions_ztest/explain_4.txt new file mode 100644 index 0000000000..0b38151187 --- /dev/null +++ b/parser/testdata/02158_proportions_ztest/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier proportions_ztest diff --git a/parser/testdata/02160_h3_cell_area_m2/explain_10.txt b/parser/testdata/02160_h3_cell_area_m2/explain_10.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02160_h3_cell_area_m2/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02160_h3_cell_area_m2/explain_11.txt b/parser/testdata/02160_h3_cell_area_m2/explain_11.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02160_h3_cell_area_m2/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02160_h3_cell_area_m2/explain_12.txt b/parser/testdata/02160_h3_cell_area_m2/explain_12.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02160_h3_cell_area_m2/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02160_h3_cell_area_m2/explain_13.txt b/parser/testdata/02160_h3_cell_area_m2/explain_13.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02160_h3_cell_area_m2/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02160_h3_cell_area_m2/explain_14.txt b/parser/testdata/02160_h3_cell_area_m2/explain_14.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02160_h3_cell_area_m2/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02160_h3_cell_area_m2/explain_15.txt b/parser/testdata/02160_h3_cell_area_m2/explain_15.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02160_h3_cell_area_m2/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02160_h3_cell_area_m2/explain_16.txt b/parser/testdata/02160_h3_cell_area_m2/explain_16.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02160_h3_cell_area_m2/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02160_h3_cell_area_m2/explain_17.txt b/parser/testdata/02160_h3_cell_area_m2/explain_17.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02160_h3_cell_area_m2/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02160_h3_cell_area_m2/explain_18.txt b/parser/testdata/02160_h3_cell_area_m2/explain_18.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02160_h3_cell_area_m2/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02160_h3_cell_area_m2/explain_3.txt b/parser/testdata/02160_h3_cell_area_m2/explain_3.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02160_h3_cell_area_m2/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02160_h3_cell_area_m2/explain_4.txt b/parser/testdata/02160_h3_cell_area_m2/explain_4.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02160_h3_cell_area_m2/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02160_h3_cell_area_m2/explain_5.txt b/parser/testdata/02160_h3_cell_area_m2/explain_5.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02160_h3_cell_area_m2/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02160_h3_cell_area_m2/explain_6.txt b/parser/testdata/02160_h3_cell_area_m2/explain_6.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02160_h3_cell_area_m2/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02160_h3_cell_area_m2/explain_7.txt b/parser/testdata/02160_h3_cell_area_m2/explain_7.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02160_h3_cell_area_m2/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02160_h3_cell_area_m2/explain_8.txt b/parser/testdata/02160_h3_cell_area_m2/explain_8.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02160_h3_cell_area_m2/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02160_h3_cell_area_m2/explain_9.txt b/parser/testdata/02160_h3_cell_area_m2/explain_9.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02160_h3_cell_area_m2/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02160_h3_cell_area_rads2/explain_10.txt b/parser/testdata/02160_h3_cell_area_rads2/explain_10.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02160_h3_cell_area_rads2/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02160_h3_cell_area_rads2/explain_11.txt b/parser/testdata/02160_h3_cell_area_rads2/explain_11.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02160_h3_cell_area_rads2/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02160_h3_cell_area_rads2/explain_12.txt b/parser/testdata/02160_h3_cell_area_rads2/explain_12.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02160_h3_cell_area_rads2/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02160_h3_cell_area_rads2/explain_13.txt b/parser/testdata/02160_h3_cell_area_rads2/explain_13.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02160_h3_cell_area_rads2/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02160_h3_cell_area_rads2/explain_14.txt b/parser/testdata/02160_h3_cell_area_rads2/explain_14.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02160_h3_cell_area_rads2/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02160_h3_cell_area_rads2/explain_15.txt b/parser/testdata/02160_h3_cell_area_rads2/explain_15.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02160_h3_cell_area_rads2/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02160_h3_cell_area_rads2/explain_16.txt b/parser/testdata/02160_h3_cell_area_rads2/explain_16.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02160_h3_cell_area_rads2/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02160_h3_cell_area_rads2/explain_17.txt b/parser/testdata/02160_h3_cell_area_rads2/explain_17.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02160_h3_cell_area_rads2/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02160_h3_cell_area_rads2/explain_18.txt b/parser/testdata/02160_h3_cell_area_rads2/explain_18.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02160_h3_cell_area_rads2/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02160_h3_cell_area_rads2/explain_3.txt b/parser/testdata/02160_h3_cell_area_rads2/explain_3.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02160_h3_cell_area_rads2/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02160_h3_cell_area_rads2/explain_4.txt b/parser/testdata/02160_h3_cell_area_rads2/explain_4.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02160_h3_cell_area_rads2/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02160_h3_cell_area_rads2/explain_5.txt b/parser/testdata/02160_h3_cell_area_rads2/explain_5.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02160_h3_cell_area_rads2/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02160_h3_cell_area_rads2/explain_6.txt b/parser/testdata/02160_h3_cell_area_rads2/explain_6.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02160_h3_cell_area_rads2/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02160_h3_cell_area_rads2/explain_7.txt b/parser/testdata/02160_h3_cell_area_rads2/explain_7.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02160_h3_cell_area_rads2/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02160_h3_cell_area_rads2/explain_8.txt b/parser/testdata/02160_h3_cell_area_rads2/explain_8.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02160_h3_cell_area_rads2/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02160_h3_cell_area_rads2/explain_9.txt b/parser/testdata/02160_h3_cell_area_rads2/explain_9.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02160_h3_cell_area_rads2/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02160_monthname/explain.txt b/parser/testdata/02160_monthname/explain.txt new file mode 100644 index 0000000000..1b3d853b9a --- /dev/null +++ b/parser/testdata/02160_monthname/explain.txt @@ -0,0 +1,24 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 3) + Function toDate (alias date_value) (children 1) + ExpressionList (children 1) + Literal \'2021-01-14\' + Function toDateTime (alias date_time_value) (children 1) + ExpressionList (children 1) + Literal \'2021-01-14 11:22:33\' + Function toDateTime64 (alias date_time_64_value) (children 1) + ExpressionList (children 2) + Literal \'2021-01-14 11:22:33\' + Literal UInt64_3 + ExpressionList (children 3) + Function monthName (children 1) + ExpressionList (children 1) + Identifier date_value + Function monthName (children 1) + ExpressionList (children 1) + Identifier date_time_value + Function monthName (children 1) + ExpressionList (children 1) + Identifier date_time_64_value diff --git a/parser/testdata/02160_special_functions/explain_10.txt b/parser/testdata/02160_special_functions/explain_10.txt index 3b99282374..c3e8a67497 100644 --- a/parser/testdata/02160_special_functions/explain_10.txt +++ b/parser/testdata/02160_special_functions/explain_10.txt @@ -2,18 +2,7 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 1) ExpressionList (children 1) - Function replaceRegexpAll (children 1) - ExpressionList (children 3) + Function trimBoth (children 1) + ExpressionList (children 2) Literal \'abcdef\' - Function concat (children 1) - ExpressionList (children 5) - Literal \'^[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \'af\' - Literal \']+|[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \'af\' - Literal \']+$\' - Literal \'\' + Literal \'af\' diff --git a/parser/testdata/02160_special_functions/explain_8.txt b/parser/testdata/02160_special_functions/explain_8.txt index 9b3a0566a6..569e52acbf 100644 --- a/parser/testdata/02160_special_functions/explain_8.txt +++ b/parser/testdata/02160_special_functions/explain_8.txt @@ -2,14 +2,7 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 1) ExpressionList (children 1) - Function replaceRegexpOne (children 1) - ExpressionList (children 3) + Function trimLeft (children 1) + ExpressionList (children 2) Literal \'abcdef\' - Function concat (children 1) - ExpressionList (children 3) - Literal \'^[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \'abc\' - Literal \']+\' - Literal \'\' + Literal \'abc\' diff --git a/parser/testdata/02160_special_functions/explain_9.txt b/parser/testdata/02160_special_functions/explain_9.txt index 6c73cffed8..a45d4e80bb 100644 --- a/parser/testdata/02160_special_functions/explain_9.txt +++ b/parser/testdata/02160_special_functions/explain_9.txt @@ -2,14 +2,7 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 1) ExpressionList (children 1) - Function replaceRegexpOne (children 1) - ExpressionList (children 3) + Function trimRight (children 1) + ExpressionList (children 2) Literal \'abcdef\' - Function concat (children 1) - ExpressionList (children 3) - Literal \'[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \'def\' - Literal \']+$\' - Literal \'\' + Literal \'def\' diff --git a/parser/testdata/02161_addressToLineWithInlines/explain_10.txt b/parser/testdata/02161_addressToLineWithInlines/explain_10.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02161_addressToLineWithInlines/explain_10.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02162_range_hashed_dictionary_ddl_expression/explain_3.txt b/parser/testdata/02162_range_hashed_dictionary_ddl_expression/explain_3.txt new file mode 100644 index 0000000000..d92e418eac --- /dev/null +++ b/parser/testdata/02162_range_hashed_dictionary_ddl_expression/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02162_test_table diff --git a/parser/testdata/02163_operators/explain.txt b/parser/testdata/02163_operators/explain.txt new file mode 100644 index 0000000000..f0f365d068 --- /dev/null +++ b/parser/testdata/02163_operators/explain.txt @@ -0,0 +1,107 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 22) + Literal UInt64_2 (alias b.c) + Literal Array_[UInt64_4, UInt64_5] (alias a) + Literal UInt64_6 (alias u) + Literal UInt64_3 (alias v) + Literal UInt64_2 (alias d) + Literal Bool_1 (alias e) + Literal UInt64_1 (alias f) + Literal UInt64_0 (alias g) + Literal UInt64_2 (alias h) + Literal \'Hello\' (alias i) + Literal \'World\' (alias j) + Literal \'hi\' (alias w) + Literal NULL (alias k) + Literal Tuple_(UInt64_1, UInt64_2) (alias l) + Literal UInt64_2 (alias m) + Literal UInt64_3 (alias n) + Function array (alias o) (children 1) + ExpressionList + Literal Array_[UInt64_1] (alias p) + Literal UInt64_1 (alias q) + Identifier q (alias r) + Literal UInt64_1 (alias s) + Literal UInt64_1 (alias t) + ExpressionList (children 1) + Function or (alias upyachka) (children 1) + ExpressionList (children 2) + Function isNull (children 1) + ExpressionList (children 1) + Function toIntervalMinute (children 1) + ExpressionList (children 1) + Function concat (children 1) + ExpressionList (children 2) + Function caseWithExpression (children 1) + ExpressionList (children 4) + Function multiIf (children 1) + ExpressionList (children 3) + Function or (children 1) + ExpressionList (children 2) + Function and (children 1) + ExpressionList (children 2) + Function not (children 1) + ExpressionList (children 1) + Function isNotNull (children 1) + ExpressionList (children 1) + Function plus (children 1) + ExpressionList (children 2) + Function intDiv (children 1) + ExpressionList (children 2) + Function multiply (children 1) + ExpressionList (children 2) + Function negate (children 1) + ExpressionList (children 1) + Function arrayElement (children 1) + ExpressionList (children 2) + Identifier a + Identifier b.c + Identifier u + Identifier v + Identifier d + Identifier e + Function and (children 1) + ExpressionList (children 2) + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Identifier f + Identifier g + Function lessOrEquals (children 1) + ExpressionList (children 2) + Identifier f + Identifier h + Identifier i + Identifier j + Identifier w + Identifier k + Literal NULL + Function array (children 1) + ExpressionList (children 2) + Identifier l + Function tuple (children 1) + ExpressionList (children 2) + Identifier m + Identifier n + Function not (children 1) + ExpressionList (children 1) + Function notEquals (children 1) + ExpressionList (children 2) + Function greater (children 1) + ExpressionList (children 2) + Function less (children 1) + ExpressionList (children 2) + Function notEquals (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Function CAST (children 1) + ExpressionList (children 2) + Identifier o + Literal \'Array(INT)\' + Identifier p + Identifier q + Identifier r + Identifier s + Identifier t diff --git a/parser/testdata/02164_materialized_view_support_virtual_column/explain_5.txt b/parser/testdata/02164_materialized_view_support_virtual_column/explain_5.txt new file mode 100644 index 0000000000..dcda5a7f0d --- /dev/null +++ b/parser/testdata/02164_materialized_view_support_virtual_column/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_tb diff --git a/parser/testdata/02165_h3_exact_edge_length_Km/explain_10.txt b/parser/testdata/02165_h3_exact_edge_length_Km/explain_10.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02165_h3_exact_edge_length_Km/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02165_h3_exact_edge_length_Km/explain_11.txt b/parser/testdata/02165_h3_exact_edge_length_Km/explain_11.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02165_h3_exact_edge_length_Km/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02165_h3_exact_edge_length_Km/explain_12.txt b/parser/testdata/02165_h3_exact_edge_length_Km/explain_12.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02165_h3_exact_edge_length_Km/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02165_h3_exact_edge_length_Km/explain_13.txt b/parser/testdata/02165_h3_exact_edge_length_Km/explain_13.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02165_h3_exact_edge_length_Km/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02165_h3_exact_edge_length_Km/explain_14.txt b/parser/testdata/02165_h3_exact_edge_length_Km/explain_14.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02165_h3_exact_edge_length_Km/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02165_h3_exact_edge_length_Km/explain_15.txt b/parser/testdata/02165_h3_exact_edge_length_Km/explain_15.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02165_h3_exact_edge_length_Km/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02165_h3_exact_edge_length_Km/explain_16.txt b/parser/testdata/02165_h3_exact_edge_length_Km/explain_16.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02165_h3_exact_edge_length_Km/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02165_h3_exact_edge_length_Km/explain_17.txt b/parser/testdata/02165_h3_exact_edge_length_Km/explain_17.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02165_h3_exact_edge_length_Km/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02165_h3_exact_edge_length_Km/explain_18.txt b/parser/testdata/02165_h3_exact_edge_length_Km/explain_18.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02165_h3_exact_edge_length_Km/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02165_h3_exact_edge_length_Km/explain_3.txt b/parser/testdata/02165_h3_exact_edge_length_Km/explain_3.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02165_h3_exact_edge_length_Km/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02165_h3_exact_edge_length_Km/explain_4.txt b/parser/testdata/02165_h3_exact_edge_length_Km/explain_4.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02165_h3_exact_edge_length_Km/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02165_h3_exact_edge_length_Km/explain_5.txt b/parser/testdata/02165_h3_exact_edge_length_Km/explain_5.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02165_h3_exact_edge_length_Km/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02165_h3_exact_edge_length_Km/explain_6.txt b/parser/testdata/02165_h3_exact_edge_length_Km/explain_6.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02165_h3_exact_edge_length_Km/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02165_h3_exact_edge_length_Km/explain_7.txt b/parser/testdata/02165_h3_exact_edge_length_Km/explain_7.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02165_h3_exact_edge_length_Km/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02165_h3_exact_edge_length_Km/explain_8.txt b/parser/testdata/02165_h3_exact_edge_length_Km/explain_8.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02165_h3_exact_edge_length_Km/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02165_h3_exact_edge_length_Km/explain_9.txt b/parser/testdata/02165_h3_exact_edge_length_Km/explain_9.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02165_h3_exact_edge_length_Km/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02165_h3_exact_edge_length_m/explain_10.txt b/parser/testdata/02165_h3_exact_edge_length_m/explain_10.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02165_h3_exact_edge_length_m/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02165_h3_exact_edge_length_m/explain_11.txt b/parser/testdata/02165_h3_exact_edge_length_m/explain_11.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02165_h3_exact_edge_length_m/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02165_h3_exact_edge_length_m/explain_12.txt b/parser/testdata/02165_h3_exact_edge_length_m/explain_12.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02165_h3_exact_edge_length_m/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02165_h3_exact_edge_length_m/explain_13.txt b/parser/testdata/02165_h3_exact_edge_length_m/explain_13.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02165_h3_exact_edge_length_m/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02165_h3_exact_edge_length_m/explain_14.txt b/parser/testdata/02165_h3_exact_edge_length_m/explain_14.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02165_h3_exact_edge_length_m/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02165_h3_exact_edge_length_m/explain_15.txt b/parser/testdata/02165_h3_exact_edge_length_m/explain_15.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02165_h3_exact_edge_length_m/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02165_h3_exact_edge_length_m/explain_16.txt b/parser/testdata/02165_h3_exact_edge_length_m/explain_16.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02165_h3_exact_edge_length_m/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02165_h3_exact_edge_length_m/explain_17.txt b/parser/testdata/02165_h3_exact_edge_length_m/explain_17.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02165_h3_exact_edge_length_m/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02165_h3_exact_edge_length_m/explain_18.txt b/parser/testdata/02165_h3_exact_edge_length_m/explain_18.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02165_h3_exact_edge_length_m/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02165_h3_exact_edge_length_m/explain_3.txt b/parser/testdata/02165_h3_exact_edge_length_m/explain_3.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02165_h3_exact_edge_length_m/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02165_h3_exact_edge_length_m/explain_4.txt b/parser/testdata/02165_h3_exact_edge_length_m/explain_4.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02165_h3_exact_edge_length_m/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02165_h3_exact_edge_length_m/explain_5.txt b/parser/testdata/02165_h3_exact_edge_length_m/explain_5.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02165_h3_exact_edge_length_m/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02165_h3_exact_edge_length_m/explain_6.txt b/parser/testdata/02165_h3_exact_edge_length_m/explain_6.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02165_h3_exact_edge_length_m/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02165_h3_exact_edge_length_m/explain_7.txt b/parser/testdata/02165_h3_exact_edge_length_m/explain_7.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02165_h3_exact_edge_length_m/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02165_h3_exact_edge_length_m/explain_8.txt b/parser/testdata/02165_h3_exact_edge_length_m/explain_8.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02165_h3_exact_edge_length_m/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02165_h3_exact_edge_length_m/explain_9.txt b/parser/testdata/02165_h3_exact_edge_length_m/explain_9.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02165_h3_exact_edge_length_m/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02165_h3_exact_edge_length_rads/explain_10.txt b/parser/testdata/02165_h3_exact_edge_length_rads/explain_10.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02165_h3_exact_edge_length_rads/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02165_h3_exact_edge_length_rads/explain_11.txt b/parser/testdata/02165_h3_exact_edge_length_rads/explain_11.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02165_h3_exact_edge_length_rads/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02165_h3_exact_edge_length_rads/explain_12.txt b/parser/testdata/02165_h3_exact_edge_length_rads/explain_12.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02165_h3_exact_edge_length_rads/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02165_h3_exact_edge_length_rads/explain_13.txt b/parser/testdata/02165_h3_exact_edge_length_rads/explain_13.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02165_h3_exact_edge_length_rads/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02165_h3_exact_edge_length_rads/explain_14.txt b/parser/testdata/02165_h3_exact_edge_length_rads/explain_14.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02165_h3_exact_edge_length_rads/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02165_h3_exact_edge_length_rads/explain_15.txt b/parser/testdata/02165_h3_exact_edge_length_rads/explain_15.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02165_h3_exact_edge_length_rads/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02165_h3_exact_edge_length_rads/explain_16.txt b/parser/testdata/02165_h3_exact_edge_length_rads/explain_16.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02165_h3_exact_edge_length_rads/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02165_h3_exact_edge_length_rads/explain_17.txt b/parser/testdata/02165_h3_exact_edge_length_rads/explain_17.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02165_h3_exact_edge_length_rads/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02165_h3_exact_edge_length_rads/explain_18.txt b/parser/testdata/02165_h3_exact_edge_length_rads/explain_18.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02165_h3_exact_edge_length_rads/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02165_h3_exact_edge_length_rads/explain_3.txt b/parser/testdata/02165_h3_exact_edge_length_rads/explain_3.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02165_h3_exact_edge_length_rads/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02165_h3_exact_edge_length_rads/explain_4.txt b/parser/testdata/02165_h3_exact_edge_length_rads/explain_4.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02165_h3_exact_edge_length_rads/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02165_h3_exact_edge_length_rads/explain_5.txt b/parser/testdata/02165_h3_exact_edge_length_rads/explain_5.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02165_h3_exact_edge_length_rads/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02165_h3_exact_edge_length_rads/explain_6.txt b/parser/testdata/02165_h3_exact_edge_length_rads/explain_6.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02165_h3_exact_edge_length_rads/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02165_h3_exact_edge_length_rads/explain_7.txt b/parser/testdata/02165_h3_exact_edge_length_rads/explain_7.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02165_h3_exact_edge_length_rads/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02165_h3_exact_edge_length_rads/explain_8.txt b/parser/testdata/02165_h3_exact_edge_length_rads/explain_8.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02165_h3_exact_edge_length_rads/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02165_h3_exact_edge_length_rads/explain_9.txt b/parser/testdata/02165_h3_exact_edge_length_rads/explain_9.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02165_h3_exact_edge_length_rads/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02165_replicated_grouping_sets/explain.txt b/parser/testdata/02165_replicated_grouping_sets/explain.txt new file mode 100644 index 0000000000..02048148ec --- /dev/null +++ b/parser/testdata/02165_replicated_grouping_sets/explain.txt @@ -0,0 +1,33 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 4) + Identifier k1 + Identifier k2 + Function SUM (alias sum_value) (children 1) + ExpressionList (children 1) + Identifier number + Function count (alias count_value) (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_6 + ExpressionList (children 2) + ExpressionList (children 1) + Function modulo (alias k1) (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + ExpressionList (children 1) + Function modulo (alias k2) (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_3 + ExpressionList (children 2) + OrderByElement (children 1) + Identifier sum_value + OrderByElement (children 1) + Identifier count_value diff --git a/parser/testdata/02165_replicated_grouping_sets/explain_10.txt b/parser/testdata/02165_replicated_grouping_sets/explain_10.txt new file mode 100644 index 0000000000..4fd98320c7 --- /dev/null +++ b/parser/testdata/02165_replicated_grouping_sets/explain_10.txt @@ -0,0 +1,46 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 2) + Function count (children 1) + ExpressionList + Function toString (alias k) (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.0.0.{1,2}\' + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + Function greater (children 1) + ExpressionList (children 2) + Identifier number + Function equals (children 1) + ExpressionList (children 2) + Function queryID (children 1) + ExpressionList + Function initialQueryID (children 1) + ExpressionList + ExpressionList (children 3) + ExpressionList (children 1) + Identifier k + ExpressionList (children 2) + Function plus (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_1 + Identifier k + ExpressionList (children 2) + Identifier k + Function plus (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier k + Set diff --git a/parser/testdata/02165_replicated_grouping_sets/explain_11.txt b/parser/testdata/02165_replicated_grouping_sets/explain_11.txt new file mode 100644 index 0000000000..9ead4f0b5e --- /dev/null +++ b/parser/testdata/02165_replicated_grouping_sets/explain_11.txt @@ -0,0 +1,45 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 2) + Function count (children 1) + ExpressionList + Function arrayMap (alias k) (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Literal \'.\' + Function range (children 1) + ExpressionList (children 1) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.0.0.{3,2}\' + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + Function greater (children 1) + ExpressionList (children 2) + Identifier number + Function equals (children 1) + ExpressionList (children 2) + Function queryID (children 1) + ExpressionList + Function initialQueryID (children 1) + ExpressionList + ExpressionList (children 1) + ExpressionList (children 1) + Identifier k + ExpressionList (children 1) + OrderByElement (children 1) + Identifier k + Set diff --git a/parser/testdata/02165_replicated_grouping_sets/explain_12.txt b/parser/testdata/02165_replicated_grouping_sets/explain_12.txt new file mode 100644 index 0000000000..69896a997c --- /dev/null +++ b/parser/testdata/02165_replicated_grouping_sets/explain_12.txt @@ -0,0 +1,48 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 2) + Function count (children 1) + ExpressionList + Function arrayMap (alias k) (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Literal \'.\' + Function range (children 1) + ExpressionList (children 1) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.0.0.{3,2}\' + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + Function greater (children 1) + ExpressionList (children 2) + Identifier number + Function equals (children 1) + ExpressionList (children 2) + Function queryID (children 1) + ExpressionList + Function initialQueryID (children 1) + ExpressionList + ExpressionList (children 2) + ExpressionList (children 1) + Identifier k + ExpressionList (children 2) + Identifier k + Identifier k + ExpressionList (children 1) + OrderByElement (children 1) + Identifier k + Set diff --git a/parser/testdata/02165_replicated_grouping_sets/explain_13.txt b/parser/testdata/02165_replicated_grouping_sets/explain_13.txt new file mode 100644 index 0000000000..aedc988c4e --- /dev/null +++ b/parser/testdata/02165_replicated_grouping_sets/explain_13.txt @@ -0,0 +1,34 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 2) + Function count (children 1) + ExpressionList + Function toString (alias k) (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.0.0.{3,2}\' + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + Function greater (children 1) + ExpressionList (children 2) + Identifier number + Function equals (children 1) + ExpressionList (children 2) + Function queryID (children 1) + ExpressionList + Function initialQueryID (children 1) + ExpressionList + ExpressionList (children 1) + ExpressionList (children 1) + Identifier k + ExpressionList (children 1) + OrderByElement (children 1) + Identifier k + Set diff --git a/parser/testdata/02165_replicated_grouping_sets/explain_14.txt b/parser/testdata/02165_replicated_grouping_sets/explain_14.txt new file mode 100644 index 0000000000..aa73c52f0b --- /dev/null +++ b/parser/testdata/02165_replicated_grouping_sets/explain_14.txt @@ -0,0 +1,37 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 2) + Function count (children 1) + ExpressionList + Function toString (alias k) (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.0.0.{3,2}\' + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + Function greater (children 1) + ExpressionList (children 2) + Identifier number + Function equals (children 1) + ExpressionList (children 2) + Function queryID (children 1) + ExpressionList + Function initialQueryID (children 1) + ExpressionList + ExpressionList (children 2) + ExpressionList (children 1) + Identifier k + ExpressionList (children 2) + Identifier k + Identifier k + ExpressionList (children 1) + OrderByElement (children 1) + Identifier k + Set diff --git a/parser/testdata/02165_replicated_grouping_sets/explain_15.txt b/parser/testdata/02165_replicated_grouping_sets/explain_15.txt new file mode 100644 index 0000000000..e475e802b3 --- /dev/null +++ b/parser/testdata/02165_replicated_grouping_sets/explain_15.txt @@ -0,0 +1,40 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 2) + Function count (children 1) + ExpressionList + Function toString (alias k) (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.0.0.{3,2}\' + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + Function greater (children 1) + ExpressionList (children 2) + Identifier number + Function equals (children 1) + ExpressionList (children 2) + Function queryID (children 1) + ExpressionList + Function initialQueryID (children 1) + ExpressionList + ExpressionList (children 2) + ExpressionList (children 1) + Identifier k + ExpressionList (children 2) + Function plus (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_1 + Identifier k + ExpressionList (children 1) + OrderByElement (children 1) + Identifier k + Set diff --git a/parser/testdata/02165_replicated_grouping_sets/explain_16.txt b/parser/testdata/02165_replicated_grouping_sets/explain_16.txt new file mode 100644 index 0000000000..11aaadddc4 --- /dev/null +++ b/parser/testdata/02165_replicated_grouping_sets/explain_16.txt @@ -0,0 +1,46 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 2) + Function count (children 1) + ExpressionList + Function toString (alias k) (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.0.0.{3,2}\' + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + Function greater (children 1) + ExpressionList (children 2) + Identifier number + Function equals (children 1) + ExpressionList (children 2) + Function queryID (children 1) + ExpressionList + Function initialQueryID (children 1) + ExpressionList + ExpressionList (children 3) + ExpressionList (children 1) + Identifier k + ExpressionList (children 2) + Function plus (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_1 + Identifier k + ExpressionList (children 2) + Identifier k + Function plus (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier k + Set diff --git a/parser/testdata/02165_replicated_grouping_sets/explain_5.txt b/parser/testdata/02165_replicated_grouping_sets/explain_5.txt new file mode 100644 index 0000000000..22920ebeaf --- /dev/null +++ b/parser/testdata/02165_replicated_grouping_sets/explain_5.txt @@ -0,0 +1,45 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 2) + Function count (children 1) + ExpressionList + Function arrayMap (alias k) (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Literal \'.\' + Function range (children 1) + ExpressionList (children 1) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.0.0.{1,2}\' + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + Function greater (children 1) + ExpressionList (children 2) + Identifier number + Function equals (children 1) + ExpressionList (children 2) + Function queryID (children 1) + ExpressionList + Function initialQueryID (children 1) + ExpressionList + ExpressionList (children 1) + ExpressionList (children 1) + Identifier k + ExpressionList (children 1) + OrderByElement (children 1) + Identifier k + Set diff --git a/parser/testdata/02165_replicated_grouping_sets/explain_6.txt b/parser/testdata/02165_replicated_grouping_sets/explain_6.txt new file mode 100644 index 0000000000..7881bfeb5a --- /dev/null +++ b/parser/testdata/02165_replicated_grouping_sets/explain_6.txt @@ -0,0 +1,48 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 2) + Function count (children 1) + ExpressionList + Function arrayMap (alias k) (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Literal \'.\' + Function range (children 1) + ExpressionList (children 1) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.0.0.{1,2}\' + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + Function greater (children 1) + ExpressionList (children 2) + Identifier number + Function equals (children 1) + ExpressionList (children 2) + Function queryID (children 1) + ExpressionList + Function initialQueryID (children 1) + ExpressionList + ExpressionList (children 2) + ExpressionList (children 1) + Identifier k + ExpressionList (children 2) + Identifier k + Identifier k + ExpressionList (children 1) + OrderByElement (children 1) + Identifier k + Set diff --git a/parser/testdata/02165_replicated_grouping_sets/explain_7.txt b/parser/testdata/02165_replicated_grouping_sets/explain_7.txt new file mode 100644 index 0000000000..691f330e46 --- /dev/null +++ b/parser/testdata/02165_replicated_grouping_sets/explain_7.txt @@ -0,0 +1,34 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 2) + Function count (children 1) + ExpressionList + Function toString (alias k) (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.0.0.{1,2}\' + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + Function greater (children 1) + ExpressionList (children 2) + Identifier number + Function equals (children 1) + ExpressionList (children 2) + Function queryID (children 1) + ExpressionList + Function initialQueryID (children 1) + ExpressionList + ExpressionList (children 1) + ExpressionList (children 1) + Identifier k + ExpressionList (children 1) + OrderByElement (children 1) + Identifier k + Set diff --git a/parser/testdata/02165_replicated_grouping_sets/explain_8.txt b/parser/testdata/02165_replicated_grouping_sets/explain_8.txt new file mode 100644 index 0000000000..fab2424fa9 --- /dev/null +++ b/parser/testdata/02165_replicated_grouping_sets/explain_8.txt @@ -0,0 +1,37 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 2) + Function count (children 1) + ExpressionList + Function toString (alias k) (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.0.0.{1,2}\' + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + Function greater (children 1) + ExpressionList (children 2) + Identifier number + Function equals (children 1) + ExpressionList (children 2) + Function queryID (children 1) + ExpressionList + Function initialQueryID (children 1) + ExpressionList + ExpressionList (children 2) + ExpressionList (children 1) + Identifier k + ExpressionList (children 2) + Identifier k + Identifier k + ExpressionList (children 1) + OrderByElement (children 1) + Identifier k + Set diff --git a/parser/testdata/02165_replicated_grouping_sets/explain_9.txt b/parser/testdata/02165_replicated_grouping_sets/explain_9.txt new file mode 100644 index 0000000000..435929d694 --- /dev/null +++ b/parser/testdata/02165_replicated_grouping_sets/explain_9.txt @@ -0,0 +1,40 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 2) + Function count (children 1) + ExpressionList + Function toString (alias k) (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.0.0.{1,2}\' + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + Function greater (children 1) + ExpressionList (children 2) + Identifier number + Function equals (children 1) + ExpressionList (children 2) + Function queryID (children 1) + ExpressionList + Function initialQueryID (children 1) + ExpressionList + ExpressionList (children 2) + ExpressionList (children 1) + Identifier k + ExpressionList (children 2) + Function plus (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_1 + Identifier k + ExpressionList (children 1) + OrderByElement (children 1) + Identifier k + Set diff --git a/parser/testdata/02167_columns_with_dots_default_values/explain_3.txt b/parser/testdata/02167_columns_with_dots_default_values/explain_3.txt new file mode 100644 index 0000000000..79a89d94c2 --- /dev/null +++ b/parser/testdata/02167_columns_with_dots_default_values/explain_3.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test_nested_default + ExpressionList (children 2) + Identifier id + Identifier with_dot.array diff --git a/parser/testdata/02174_cte_scalar_cache/explain_2.txt b/parser/testdata/02174_cte_scalar_cache/explain_2.txt index f61f60db4a..1bcbf78a64 100644 --- a/parser/testdata/02174_cte_scalar_cache/explain_2.txt +++ b/parser/testdata/02174_cte_scalar_cache/explain_2.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 5) + SelectQuery (children 4) ExpressionList (children 5) Subquery (alias a1) (children 1) SelectWithUnionQuery (children 1) @@ -74,6 +74,5 @@ SelectWithUnionQuery (children 3) TableExpression (children 1) TableIdentifier system.numbers Literal UInt64_100 - Set Identifier Null Set diff --git a/parser/testdata/02174_cte_scalar_cache/explain_3.txt b/parser/testdata/02174_cte_scalar_cache/explain_3.txt index 80cd23e4d9..6a4ae55a90 100644 --- a/parser/testdata/02174_cte_scalar_cache/explain_3.txt +++ b/parser/testdata/02174_cte_scalar_cache/explain_3.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 5) + SelectQuery (children 4) ExpressionList (children 5) Subquery (alias a1) (children 1) SelectWithUnionQuery (children 1) @@ -74,6 +74,5 @@ SelectWithUnionQuery (children 3) TableExpression (children 1) TableIdentifier system.numbers Literal UInt64_100 - Set Identifier Null Set diff --git a/parser/testdata/02174_cte_scalar_cache/explain_4.txt b/parser/testdata/02174_cte_scalar_cache/explain_4.txt index cb4f4b1c5e..e6bf865ea0 100644 --- a/parser/testdata/02174_cte_scalar_cache/explain_4.txt +++ b/parser/testdata/02174_cte_scalar_cache/explain_4.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 5) + SelectQuery (children 4) ExpressionList (children 5) Subquery (alias a1) (children 1) SelectWithUnionQuery (children 1) @@ -74,6 +74,5 @@ SelectWithUnionQuery (children 3) TableExpression (children 1) TableIdentifier system.numbers Literal UInt64_100 - Set Identifier Null Set diff --git a/parser/testdata/02174_cte_scalar_cache/explain_5.txt b/parser/testdata/02174_cte_scalar_cache/explain_5.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02174_cte_scalar_cache/explain_5.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02174_cte_scalar_cache_mv/explain_14.txt b/parser/testdata/02174_cte_scalar_cache_mv/explain_14.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02174_cte_scalar_cache_mv/explain_14.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02174_cte_scalar_cache_mv/explain_22.txt b/parser/testdata/02174_cte_scalar_cache_mv/explain_22.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02174_cte_scalar_cache_mv/explain_22.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02174_cte_scalar_cache_mv/explain_28.txt b/parser/testdata/02174_cte_scalar_cache_mv/explain_28.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02174_cte_scalar_cache_mv/explain_28.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02174_cte_scalar_cache_mv/explain_35.txt b/parser/testdata/02174_cte_scalar_cache_mv/explain_35.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02174_cte_scalar_cache_mv/explain_35.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02174_cte_scalar_cache_mv/explain_41.txt b/parser/testdata/02174_cte_scalar_cache_mv/explain_41.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02174_cte_scalar_cache_mv/explain_41.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02174_cte_scalar_cache_mv/explain_8.txt b/parser/testdata/02174_cte_scalar_cache_mv/explain_8.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02174_cte_scalar_cache_mv/explain_8.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02176_dict_get_has_implicit_key_cast/explain_16.txt b/parser/testdata/02176_dict_get_has_implicit_key_cast/explain_16.txt new file mode 100644 index 0000000000..f40b1a4a35 --- /dev/null +++ b/parser/testdata/02176_dict_get_has_implicit_key_cast/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02176_test_complex_key_table diff --git a/parser/testdata/02176_dict_get_has_implicit_key_cast/explain_3.txt b/parser/testdata/02176_dict_get_has_implicit_key_cast/explain_3.txt new file mode 100644 index 0000000000..94f7666ccf --- /dev/null +++ b/parser/testdata/02176_dict_get_has_implicit_key_cast/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02176_test_simple_key_table diff --git a/parser/testdata/02176_toStartOfWeek_overflow_pruning/explain_7.txt b/parser/testdata/02176_toStartOfWeek_overflow_pruning/explain_7.txt new file mode 100644 index 0000000000..1b6cc7a3e6 --- /dev/null +++ b/parser/testdata/02176_toStartOfWeek_overflow_pruning/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t02176 diff --git a/parser/testdata/02177_merge_optimize_aggregation_in_order/explain_3.txt b/parser/testdata/02177_merge_optimize_aggregation_in_order/explain_3.txt new file mode 100644 index 0000000000..2d7033ea4e --- /dev/null +++ b/parser/testdata/02177_merge_optimize_aggregation_in_order/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data_02177 diff --git a/parser/testdata/02178_column_function_insert_from/explain_3.txt b/parser/testdata/02178_column_function_insert_from/explain_3.txt new file mode 100644 index 0000000000..e711ae5072 --- /dev/null +++ b/parser/testdata/02178_column_function_insert_from/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier TESTTABLE diff --git a/parser/testdata/02179_degrees_radians/explain_10.txt b/parser/testdata/02179_degrees_radians/explain_10.txt new file mode 100644 index 0000000000..c4529d2d8d --- /dev/null +++ b/parser/testdata/02179_degrees_radians/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_degs_to_rads diff --git a/parser/testdata/02179_degrees_radians/explain_11.txt b/parser/testdata/02179_degrees_radians/explain_11.txt new file mode 100644 index 0000000000..c4529d2d8d --- /dev/null +++ b/parser/testdata/02179_degrees_radians/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_degs_to_rads diff --git a/parser/testdata/02179_degrees_radians/explain_17.txt b/parser/testdata/02179_degrees_radians/explain_17.txt new file mode 100644 index 0000000000..2bb6dbbf9f --- /dev/null +++ b/parser/testdata/02179_degrees_radians/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_rads_to_degs diff --git a/parser/testdata/02179_degrees_radians/explain_18.txt b/parser/testdata/02179_degrees_radians/explain_18.txt new file mode 100644 index 0000000000..2bb6dbbf9f --- /dev/null +++ b/parser/testdata/02179_degrees_radians/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_rads_to_degs diff --git a/parser/testdata/02179_degrees_radians/explain_19.txt b/parser/testdata/02179_degrees_radians/explain_19.txt new file mode 100644 index 0000000000..2bb6dbbf9f --- /dev/null +++ b/parser/testdata/02179_degrees_radians/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_rads_to_degs diff --git a/parser/testdata/02179_degrees_radians/explain_20.txt b/parser/testdata/02179_degrees_radians/explain_20.txt new file mode 100644 index 0000000000..2bb6dbbf9f --- /dev/null +++ b/parser/testdata/02179_degrees_radians/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_rads_to_degs diff --git a/parser/testdata/02179_degrees_radians/explain_21.txt b/parser/testdata/02179_degrees_radians/explain_21.txt new file mode 100644 index 0000000000..2bb6dbbf9f --- /dev/null +++ b/parser/testdata/02179_degrees_radians/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_rads_to_degs diff --git a/parser/testdata/02179_degrees_radians/explain_22.txt b/parser/testdata/02179_degrees_radians/explain_22.txt new file mode 100644 index 0000000000..2bb6dbbf9f --- /dev/null +++ b/parser/testdata/02179_degrees_radians/explain_22.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_rads_to_degs diff --git a/parser/testdata/02179_degrees_radians/explain_23.txt b/parser/testdata/02179_degrees_radians/explain_23.txt new file mode 100644 index 0000000000..2bb6dbbf9f --- /dev/null +++ b/parser/testdata/02179_degrees_radians/explain_23.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_rads_to_degs diff --git a/parser/testdata/02179_degrees_radians/explain_24.txt b/parser/testdata/02179_degrees_radians/explain_24.txt new file mode 100644 index 0000000000..2bb6dbbf9f --- /dev/null +++ b/parser/testdata/02179_degrees_radians/explain_24.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_rads_to_degs diff --git a/parser/testdata/02179_degrees_radians/explain_25.txt b/parser/testdata/02179_degrees_radians/explain_25.txt new file mode 100644 index 0000000000..2bb6dbbf9f --- /dev/null +++ b/parser/testdata/02179_degrees_radians/explain_25.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_rads_to_degs diff --git a/parser/testdata/02179_degrees_radians/explain_26.txt b/parser/testdata/02179_degrees_radians/explain_26.txt new file mode 100644 index 0000000000..2bb6dbbf9f --- /dev/null +++ b/parser/testdata/02179_degrees_radians/explain_26.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_rads_to_degs diff --git a/parser/testdata/02179_degrees_radians/explain_27.txt b/parser/testdata/02179_degrees_radians/explain_27.txt new file mode 100644 index 0000000000..2bb6dbbf9f --- /dev/null +++ b/parser/testdata/02179_degrees_radians/explain_27.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_rads_to_degs diff --git a/parser/testdata/02179_degrees_radians/explain_28.txt b/parser/testdata/02179_degrees_radians/explain_28.txt new file mode 100644 index 0000000000..2bb6dbbf9f --- /dev/null +++ b/parser/testdata/02179_degrees_radians/explain_28.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_rads_to_degs diff --git a/parser/testdata/02179_degrees_radians/explain_3.txt b/parser/testdata/02179_degrees_radians/explain_3.txt new file mode 100644 index 0000000000..c4529d2d8d --- /dev/null +++ b/parser/testdata/02179_degrees_radians/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_degs_to_rads diff --git a/parser/testdata/02179_degrees_radians/explain_4.txt b/parser/testdata/02179_degrees_radians/explain_4.txt new file mode 100644 index 0000000000..c4529d2d8d --- /dev/null +++ b/parser/testdata/02179_degrees_radians/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_degs_to_rads diff --git a/parser/testdata/02179_degrees_radians/explain_5.txt b/parser/testdata/02179_degrees_radians/explain_5.txt new file mode 100644 index 0000000000..c4529d2d8d --- /dev/null +++ b/parser/testdata/02179_degrees_radians/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_degs_to_rads diff --git a/parser/testdata/02179_degrees_radians/explain_6.txt b/parser/testdata/02179_degrees_radians/explain_6.txt new file mode 100644 index 0000000000..c4529d2d8d --- /dev/null +++ b/parser/testdata/02179_degrees_radians/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_degs_to_rads diff --git a/parser/testdata/02179_degrees_radians/explain_7.txt b/parser/testdata/02179_degrees_radians/explain_7.txt new file mode 100644 index 0000000000..c4529d2d8d --- /dev/null +++ b/parser/testdata/02179_degrees_radians/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_degs_to_rads diff --git a/parser/testdata/02179_degrees_radians/explain_8.txt b/parser/testdata/02179_degrees_radians/explain_8.txt new file mode 100644 index 0000000000..c4529d2d8d --- /dev/null +++ b/parser/testdata/02179_degrees_radians/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_degs_to_rads diff --git a/parser/testdata/02179_degrees_radians/explain_9.txt b/parser/testdata/02179_degrees_radians/explain_9.txt new file mode 100644 index 0000000000..c4529d2d8d --- /dev/null +++ b/parser/testdata/02179_degrees_radians/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_degs_to_rads diff --git a/parser/testdata/02179_dict_reload_on_cluster/explain_5.txt b/parser/testdata/02179_dict_reload_on_cluster/explain_5.txt new file mode 100644 index 0000000000..c58b95fb81 --- /dev/null +++ b/parser/testdata/02179_dict_reload_on_cluster/explain_5.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier dict_db_02179 + Identifier dict_data diff --git a/parser/testdata/02179_key_condition_no_common_type/explain_3.txt b/parser/testdata/02179_key_condition_no_common_type/explain_3.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/02179_key_condition_no_common_type/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/02179_map_cast_to_array/explain.txt b/parser/testdata/02179_map_cast_to_array/explain.txt new file mode 100644 index 0000000000..88fc45dc71 --- /dev/null +++ b/parser/testdata/02179_map_cast_to_array/explain.txt @@ -0,0 +1,21 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function map (alias value) (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal \'Test\' + Literal \'Array(Tuple(UInt64, String))\' (alias type) + ExpressionList (children 3) + Identifier value + Function CAST (children 1) + ExpressionList (children 2) + Identifier value + Identifier type + Function CAST (children 1) + ExpressionList (children 2) + Function materialize (children 1) + ExpressionList (children 1) + Identifier value + Identifier type diff --git a/parser/testdata/02179_range_hashed_dictionary_invalid_interval/explain_3.txt b/parser/testdata/02179_range_hashed_dictionary_invalid_interval/explain_3.txt new file mode 100644 index 0000000000..24e34644fa --- /dev/null +++ b/parser/testdata/02179_range_hashed_dictionary_invalid_interval/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02179_test_table diff --git a/parser/testdata/02179_range_hashed_dictionary_invalid_interval/explain_4.txt b/parser/testdata/02179_range_hashed_dictionary_invalid_interval/explain_4.txt new file mode 100644 index 0000000000..24e34644fa --- /dev/null +++ b/parser/testdata/02179_range_hashed_dictionary_invalid_interval/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02179_test_table diff --git a/parser/testdata/02179_range_hashed_dictionary_invalid_interval/explain_5.txt b/parser/testdata/02179_range_hashed_dictionary_invalid_interval/explain_5.txt new file mode 100644 index 0000000000..24e34644fa --- /dev/null +++ b/parser/testdata/02179_range_hashed_dictionary_invalid_interval/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02179_test_table diff --git a/parser/testdata/02180_group_by_lowcardinality/explain.txt b/parser/testdata/02180_group_by_lowcardinality/explain.txt index 6d975a4d08..365810a305 100644 --- a/parser/testdata/02180_group_by_lowcardinality/explain.txt +++ b/parser/testdata/02180_group_by_lowcardinality/explain.txt @@ -1,4 +1,4 @@ -CreateQuery t_group_by_lowcardinality (children 2) +CreateQuery t_group_by_lowcardinality (children 3) Identifier t_group_by_lowcardinality Columns definition (children 1) ExpressionList (children 2) @@ -10,3 +10,9 @@ CreateQuery t_group_by_lowcardinality (children 2) DataType Nullable (children 1) ExpressionList (children 1) DataType String + Storage definition (children 3) + Function MergeTree (children 1) + ExpressionList + Identifier p_date + Function tuple (children 1) + ExpressionList diff --git a/parser/testdata/02180_insert_into_values_settings/explain_3.txt b/parser/testdata/02180_insert_into_values_settings/explain_3.txt new file mode 100644 index 0000000000..ba352a692f --- /dev/null +++ b/parser/testdata/02180_insert_into_values_settings/explain_3.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier t + Set diff --git a/parser/testdata/02181_dictionary_attach_detach/explain_3.txt b/parser/testdata/02181_dictionary_attach_detach/explain_3.txt new file mode 100644 index 0000000000..e0e5199e41 --- /dev/null +++ b/parser/testdata/02181_dictionary_attach_detach/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02181_test_table diff --git a/parser/testdata/02181_sql_user_defined_functions_invalid_lambda/explain.txt b/parser/testdata/02181_sql_user_defined_functions_invalid_lambda/explain.txt index 877263c019..dd7c2a0636 100644 --- a/parser/testdata/02181_sql_user_defined_functions_invalid_lambda/explain.txt +++ b/parser/testdata/02181_sql_user_defined_functions_invalid_lambda/explain.txt @@ -9,4 +9,3 @@ CreateFunctionQuery 02181_invalid_lambda (children 2) Identifier x Literal UInt64_2 Identifier x_doubled -The query succeeded but the server error '36' was expected (query: EXPLAIN AST CREATE FUNCTION 02181_invalid_lambda AS lambda(((x * 2) AS x_doubled) + x_doubled); --{serverError BAD_ARGUMENTS}). diff --git a/parser/testdata/02183_dictionary_date_types/explain_3.txt b/parser/testdata/02183_dictionary_date_types/explain_3.txt new file mode 100644 index 0000000000..cfacebea4f --- /dev/null +++ b/parser/testdata/02183_dictionary_date_types/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02183_dictionary_source_table diff --git a/parser/testdata/02183_dictionary_date_types/explain_34.txt b/parser/testdata/02183_dictionary_date_types/explain_34.txt new file mode 100644 index 0000000000..35e535d732 --- /dev/null +++ b/parser/testdata/02183_dictionary_date_types/explain_34.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02183_ip_trie_dictionary_source_table diff --git a/parser/testdata/02183_dictionary_date_types/explain_44.txt b/parser/testdata/02183_dictionary_date_types/explain_44.txt new file mode 100644 index 0000000000..c167d9f26b --- /dev/null +++ b/parser/testdata/02183_dictionary_date_types/explain_44.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02183_polygon_dictionary_source_table diff --git a/parser/testdata/02183_dictionary_date_types/explain_53.txt b/parser/testdata/02183_dictionary_date_types/explain_53.txt new file mode 100644 index 0000000000..8075b8f91e --- /dev/null +++ b/parser/testdata/02183_dictionary_date_types/explain_53.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02183_range_dictionary_source_table diff --git a/parser/testdata/02183_dictionary_no_attributes/explain_3.txt b/parser/testdata/02183_dictionary_no_attributes/explain_3.txt new file mode 100644 index 0000000000..75c56a0be4 --- /dev/null +++ b/parser/testdata/02183_dictionary_no_attributes/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02183_dictionary_test_table diff --git a/parser/testdata/02183_dictionary_no_attributes/explain_49.txt b/parser/testdata/02183_dictionary_no_attributes/explain_49.txt new file mode 100644 index 0000000000..4f2dbeda9a --- /dev/null +++ b/parser/testdata/02183_dictionary_no_attributes/explain_49.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ip_trie_dictionary_source_table diff --git a/parser/testdata/02183_dictionary_no_attributes/explain_60.txt b/parser/testdata/02183_dictionary_no_attributes/explain_60.txt new file mode 100644 index 0000000000..c167d9f26b --- /dev/null +++ b/parser/testdata/02183_dictionary_no_attributes/explain_60.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02183_polygon_dictionary_source_table diff --git a/parser/testdata/02183_dictionary_no_attributes/explain_71.txt b/parser/testdata/02183_dictionary_no_attributes/explain_71.txt new file mode 100644 index 0000000000..8075b8f91e --- /dev/null +++ b/parser/testdata/02183_dictionary_no_attributes/explain_71.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02183_range_dictionary_source_table diff --git a/parser/testdata/02184_default_table_engine/explain_106.txt b/parser/testdata/02184_default_table_engine/explain_106.txt index 5ea0f6458d..2c88f5e9cf 100644 --- a/parser/testdata/02184_default_table_engine/explain_106.txt +++ b/parser/testdata/02184_default_table_engine/explain_106.txt @@ -4,4 +4,5 @@ CreateQuery kek (children 3) ExpressionList (children 1) ColumnDeclaration n (children 1) DataType int - Set + Storage definition (children 1) + Set diff --git a/parser/testdata/02184_default_table_engine/explain_39.txt b/parser/testdata/02184_default_table_engine/explain_39.txt new file mode 100644 index 0000000000..2044bbfcbc --- /dev/null +++ b/parser/testdata/02184_default_table_engine/explain_39.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test_table + ExpressionList (children 2) + Identifier EventDate + Identifier UTCEventTime diff --git a/parser/testdata/02184_ipv6_cast_test/explain_3.txt b/parser/testdata/02184_ipv6_cast_test/explain_3.txt new file mode 100644 index 0000000000..79a22cba11 --- /dev/null +++ b/parser/testdata/02184_ipv6_cast_test/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ipv6_test26473 diff --git a/parser/testdata/02184_ipv6_select_parsing/explain_4.txt b/parser/testdata/02184_ipv6_select_parsing/explain_4.txt new file mode 100644 index 0000000000..9dc68c2370 --- /dev/null +++ b/parser/testdata/02184_ipv6_select_parsing/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ips_v6 diff --git a/parser/testdata/02184_ipv6_select_parsing/explain_5.txt b/parser/testdata/02184_ipv6_select_parsing/explain_5.txt new file mode 100644 index 0000000000..9dc68c2370 --- /dev/null +++ b/parser/testdata/02184_ipv6_select_parsing/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ips_v6 diff --git a/parser/testdata/02184_nested_tuple/explain_5.txt b/parser/testdata/02184_nested_tuple/explain_5.txt new file mode 100644 index 0000000000..4662dba57a --- /dev/null +++ b/parser/testdata/02184_nested_tuple/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_nested_tuple diff --git a/parser/testdata/02184_range_hashed_dictionary_outside_range_values/explain_3.txt b/parser/testdata/02184_range_hashed_dictionary_outside_range_values/explain_3.txt new file mode 100644 index 0000000000..6102730e9b --- /dev/null +++ b/parser/testdata/02184_range_hashed_dictionary_outside_range_values/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02184_range_dictionary_source_table diff --git a/parser/testdata/02185_arraySlice_negative_offset_size/explain_10.txt b/parser/testdata/02185_arraySlice_negative_offset_size/explain_10.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/02185_arraySlice_negative_offset_size/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/02185_range_hashed_dictionary_open_ranges/explain_3.txt b/parser/testdata/02185_range_hashed_dictionary_open_ranges/explain_3.txt new file mode 100644 index 0000000000..b9d91b034d --- /dev/null +++ b/parser/testdata/02185_range_hashed_dictionary_open_ranges/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02185_range_dictionary_source_table diff --git a/parser/testdata/02186_range_hashed_dictionary_intersecting_intervals/explain_3.txt b/parser/testdata/02186_range_hashed_dictionary_intersecting_intervals/explain_3.txt new file mode 100644 index 0000000000..4511cdfdef --- /dev/null +++ b/parser/testdata/02186_range_hashed_dictionary_intersecting_intervals/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02186_range_dictionary_source_table diff --git a/parser/testdata/02186_range_hashed_dictionary_intersecting_intervals/explain_4.txt b/parser/testdata/02186_range_hashed_dictionary_intersecting_intervals/explain_4.txt new file mode 100644 index 0000000000..4511cdfdef --- /dev/null +++ b/parser/testdata/02186_range_hashed_dictionary_intersecting_intervals/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02186_range_dictionary_source_table diff --git a/parser/testdata/02186_range_hashed_dictionary_intersecting_intervals/explain_5.txt b/parser/testdata/02186_range_hashed_dictionary_intersecting_intervals/explain_5.txt new file mode 100644 index 0000000000..4511cdfdef --- /dev/null +++ b/parser/testdata/02186_range_hashed_dictionary_intersecting_intervals/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02186_range_dictionary_source_table diff --git a/parser/testdata/02187_insert_values_with_mv/explain_10.txt b/parser/testdata/02187_insert_values_with_mv/explain_10.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02187_insert_values_with_mv/explain_10.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02187_insert_values_with_mv/explain_8.txt b/parser/testdata/02187_insert_values_with_mv/explain_8.txt new file mode 100644 index 0000000000..9ec5c9300b --- /dev/null +++ b/parser/testdata/02187_insert_values_with_mv/explain_8.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier data_a_02187 + Set diff --git a/parser/testdata/02187_test_final_and_limit_modifier/explain_3.txt b/parser/testdata/02187_test_final_and_limit_modifier/explain_3.txt new file mode 100644 index 0000000000..6f2b37035b --- /dev/null +++ b/parser/testdata/02187_test_final_and_limit_modifier/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_02187 diff --git a/parser/testdata/02187_test_final_and_limit_modifier/explain_4.txt b/parser/testdata/02187_test_final_and_limit_modifier/explain_4.txt new file mode 100644 index 0000000000..6f2b37035b --- /dev/null +++ b/parser/testdata/02187_test_final_and_limit_modifier/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_02187 diff --git a/parser/testdata/02188_parser_dictionary_primary_key/explain_3.txt b/parser/testdata/02188_parser_dictionary_primary_key/explain_3.txt new file mode 100644 index 0000000000..7b8027ff99 --- /dev/null +++ b/parser/testdata/02188_parser_dictionary_primary_key/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02188_test_dictionary_source diff --git a/parser/testdata/02188_table_function_format/explain.txt b/parser/testdata/02188_table_function_format/explain.txt new file mode 100644 index 0000000000..6756f3f065 --- /dev/null +++ b/parser/testdata/02188_table_function_format/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function format (children 1) + ExpressionList (children 2) + Identifier JSONEachRow + Literal \' {"a": "Hello", "b": 111} {"a": "World", "b": 123} {"a": "Hello", "b": 111} {"a": "World", "b": 123} {"a": "Hello", "b": 111} {"a": "World", "b": 123} {"a": "Hello", "b": 111} {"a": "World", "b": 123} {"a": "Hello", "b": 111} {"a": "World", "b": 123} {"a": "Hello", "b": 111} {"a": "World", "b": 123} {"a": "Hello", "b": 111} {"a": "World", "b": 123} {"a": "Hello", "b": 111} {"a": "World", "b": 123} {"a": "Hello", "b": 111} {"a": "World", "b": 123} {"a": "Hello", "b": 111} {"a": "World", "b": 123} \' diff --git a/parser/testdata/02191_nested_with_dots/explain_14.txt b/parser/testdata/02191_nested_with_dots/explain_14.txt new file mode 100644 index 0000000000..de22be655c --- /dev/null +++ b/parser/testdata/02191_nested_with_dots/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_nested_with_dots diff --git a/parser/testdata/02191_nested_with_dots/explain_3.txt b/parser/testdata/02191_nested_with_dots/explain_3.txt new file mode 100644 index 0000000000..de22be655c --- /dev/null +++ b/parser/testdata/02191_nested_with_dots/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_nested_with_dots diff --git a/parser/testdata/02191_nested_with_dots/explain_9.txt b/parser/testdata/02191_nested_with_dots/explain_9.txt new file mode 100644 index 0000000000..de22be655c --- /dev/null +++ b/parser/testdata/02191_nested_with_dots/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_nested_with_dots diff --git a/parser/testdata/02193_async_insert_tcp_client_1/explain_4.txt b/parser/testdata/02193_async_insert_tcp_client_1/explain_4.txt new file mode 100644 index 0000000000..7f37884dcd --- /dev/null +++ b/parser/testdata/02193_async_insert_tcp_client_1/explain_4.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier t_async_insert_02193_1 + Set diff --git a/parser/testdata/02193_async_insert_tcp_client_1/explain_6.txt b/parser/testdata/02193_async_insert_tcp_client_1/explain_6.txt new file mode 100644 index 0000000000..977fe18b2d --- /dev/null +++ b/parser/testdata/02193_async_insert_tcp_client_1/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_async_insert_02193_1 diff --git a/parser/testdata/02193_async_insert_tcp_client_1/explain_7.txt b/parser/testdata/02193_async_insert_tcp_client_1/explain_7.txt new file mode 100644 index 0000000000..977fe18b2d --- /dev/null +++ b/parser/testdata/02193_async_insert_tcp_client_1/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_async_insert_02193_1 diff --git a/parser/testdata/02193_async_insert_tcp_client_1/explain_9.txt b/parser/testdata/02193_async_insert_tcp_client_1/explain_9.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02193_async_insert_tcp_client_1/explain_9.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02200_use_skip_indexes/explain.txt b/parser/testdata/02200_use_skip_indexes/explain.txt new file mode 100644 index 0000000000..ca9cf05e7a --- /dev/null +++ b/parser/testdata/02200_use_skip_indexes/explain.txt @@ -0,0 +1,18 @@ +CreateQuery data_02200 (children 3) + Identifier data_02200 + Columns definition (children 2) + ExpressionList (children 2) + ColumnDeclaration key (children 1) + DataType Int + ColumnDeclaration value (children 1) + DataType Int + ExpressionList (children 1) + Index (children 2) + Identifier value + Function minmax (children 1) + ExpressionList + Storage definition (children 3) + Function MergeTree (children 1) + ExpressionList + Identifier key + Identifier key diff --git a/parser/testdata/02201_use_skip_indexes_if_final/explain.txt b/parser/testdata/02201_use_skip_indexes_if_final/explain.txt new file mode 100644 index 0000000000..12f6415253 --- /dev/null +++ b/parser/testdata/02201_use_skip_indexes_if_final/explain.txt @@ -0,0 +1,18 @@ +CreateQuery data_02201 (children 3) + Identifier data_02201 + Columns definition (children 2) + ExpressionList (children 2) + ColumnDeclaration key (children 1) + DataType Int + ColumnDeclaration value (children 1) + DataType Int + ExpressionList (children 1) + Index (children 2) + Identifier value + Function minmax (children 1) + ExpressionList + Storage definition (children 3) + Function AggregatingMergeTree (children 1) + ExpressionList + Identifier key + Identifier key diff --git a/parser/testdata/02202_use_skip_indexes_if_final/explain.txt b/parser/testdata/02202_use_skip_indexes_if_final/explain.txt new file mode 100644 index 0000000000..d9cf44281c --- /dev/null +++ b/parser/testdata/02202_use_skip_indexes_if_final/explain.txt @@ -0,0 +1,21 @@ +CreateQuery data_02201 (children 3) + Identifier data_02201 + Columns definition (children 2) + ExpressionList (children 2) + ColumnDeclaration key (children 1) + DataType Int + ColumnDeclaration value_max (children 1) + DataType SimpleAggregateFunction (children 1) + ExpressionList (children 2) + Identifier max + DataType Int + ExpressionList (children 1) + Index (children 2) + Identifier value_max + Function minmax (children 1) + ExpressionList + Storage definition (children 3) + Function AggregatingMergeTree (children 1) + ExpressionList + Identifier key + Identifier key diff --git a/parser/testdata/02202_use_skip_indexes_if_final/explain_5.txt b/parser/testdata/02202_use_skip_indexes_if_final/explain_5.txt new file mode 100644 index 0000000000..a60238a20f --- /dev/null +++ b/parser/testdata/02202_use_skip_indexes_if_final/explain_5.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier data_02201 + Function equals (children 1) + ExpressionList (children 2) + Identifier value_max + Literal UInt64_1 + ExpressionList (children 2) + OrderByElement (children 1) + Identifier key + OrderByElement (children 1) + Identifier value_max + Set diff --git a/parser/testdata/02202_use_skip_indexes_if_final/explain_6.txt b/parser/testdata/02202_use_skip_indexes_if_final/explain_6.txt new file mode 100644 index 0000000000..a60238a20f --- /dev/null +++ b/parser/testdata/02202_use_skip_indexes_if_final/explain_6.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier data_02201 + Function equals (children 1) + ExpressionList (children 2) + Identifier value_max + Literal UInt64_1 + ExpressionList (children 2) + OrderByElement (children 1) + Identifier key + OrderByElement (children 1) + Identifier value_max + Set diff --git a/parser/testdata/02205_ephemeral_1/explain_27.txt b/parser/testdata/02205_ephemeral_1/explain_27.txt new file mode 100644 index 0000000000..3d4b8e2b0a --- /dev/null +++ b/parser/testdata/02205_ephemeral_1/explain_27.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_ephemeral_02205_1 diff --git a/parser/testdata/02205_ephemeral_1/explain_8.txt b/parser/testdata/02205_ephemeral_1/explain_8.txt new file mode 100644 index 0000000000..3d4b8e2b0a --- /dev/null +++ b/parser/testdata/02205_ephemeral_1/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_ephemeral_02205_1 diff --git a/parser/testdata/02205_map_populate_series_non_const/explain_10.txt b/parser/testdata/02205_map_populate_series_non_const/explain_10.txt new file mode 100644 index 0000000000..e553ea918d --- /dev/null +++ b/parser/testdata/02205_map_populate_series_non_const/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02005_test_table diff --git a/parser/testdata/02205_map_populate_series_non_const/explain_13.txt b/parser/testdata/02205_map_populate_series_non_const/explain_13.txt new file mode 100644 index 0000000000..e553ea918d --- /dev/null +++ b/parser/testdata/02205_map_populate_series_non_const/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02005_test_table diff --git a/parser/testdata/02205_map_populate_series_non_const/explain_16.txt b/parser/testdata/02205_map_populate_series_non_const/explain_16.txt new file mode 100644 index 0000000000..e553ea918d --- /dev/null +++ b/parser/testdata/02205_map_populate_series_non_const/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02005_test_table diff --git a/parser/testdata/02205_map_populate_series_non_const/explain_22.txt b/parser/testdata/02205_map_populate_series_non_const/explain_22.txt new file mode 100644 index 0000000000..e553ea918d --- /dev/null +++ b/parser/testdata/02205_map_populate_series_non_const/explain_22.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02005_test_table diff --git a/parser/testdata/02205_map_populate_series_non_const/explain_25.txt b/parser/testdata/02205_map_populate_series_non_const/explain_25.txt new file mode 100644 index 0000000000..e553ea918d --- /dev/null +++ b/parser/testdata/02205_map_populate_series_non_const/explain_25.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02005_test_table diff --git a/parser/testdata/02205_map_populate_series_non_const/explain_28.txt b/parser/testdata/02205_map_populate_series_non_const/explain_28.txt new file mode 100644 index 0000000000..e553ea918d --- /dev/null +++ b/parser/testdata/02205_map_populate_series_non_const/explain_28.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02005_test_table diff --git a/parser/testdata/02205_map_populate_series_non_const/explain_31.txt b/parser/testdata/02205_map_populate_series_non_const/explain_31.txt new file mode 100644 index 0000000000..e553ea918d --- /dev/null +++ b/parser/testdata/02205_map_populate_series_non_const/explain_31.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02005_test_table diff --git a/parser/testdata/02205_map_populate_series_non_const/explain_47.txt b/parser/testdata/02205_map_populate_series_non_const/explain_47.txt new file mode 100644 index 0000000000..e553ea918d --- /dev/null +++ b/parser/testdata/02205_map_populate_series_non_const/explain_47.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02005_test_table diff --git a/parser/testdata/02205_map_populate_series_non_const/explain_50.txt b/parser/testdata/02205_map_populate_series_non_const/explain_50.txt new file mode 100644 index 0000000000..e553ea918d --- /dev/null +++ b/parser/testdata/02205_map_populate_series_non_const/explain_50.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02005_test_table diff --git a/parser/testdata/02205_map_populate_series_non_const/explain_53.txt b/parser/testdata/02205_map_populate_series_non_const/explain_53.txt new file mode 100644 index 0000000000..e553ea918d --- /dev/null +++ b/parser/testdata/02205_map_populate_series_non_const/explain_53.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02005_test_table diff --git a/parser/testdata/02205_map_populate_series_non_const/explain_56.txt b/parser/testdata/02205_map_populate_series_non_const/explain_56.txt new file mode 100644 index 0000000000..e553ea918d --- /dev/null +++ b/parser/testdata/02205_map_populate_series_non_const/explain_56.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02005_test_table diff --git a/parser/testdata/02205_map_populate_series_non_const/explain_62.txt b/parser/testdata/02205_map_populate_series_non_const/explain_62.txt new file mode 100644 index 0000000000..e553ea918d --- /dev/null +++ b/parser/testdata/02205_map_populate_series_non_const/explain_62.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02005_test_table diff --git a/parser/testdata/02205_map_populate_series_non_const/explain_65.txt b/parser/testdata/02205_map_populate_series_non_const/explain_65.txt new file mode 100644 index 0000000000..e553ea918d --- /dev/null +++ b/parser/testdata/02205_map_populate_series_non_const/explain_65.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02005_test_table diff --git a/parser/testdata/02205_map_populate_series_non_const/explain_68.txt b/parser/testdata/02205_map_populate_series_non_const/explain_68.txt new file mode 100644 index 0000000000..e553ea918d --- /dev/null +++ b/parser/testdata/02205_map_populate_series_non_const/explain_68.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02005_test_table diff --git a/parser/testdata/02205_map_populate_series_non_const/explain_7.txt b/parser/testdata/02205_map_populate_series_non_const/explain_7.txt new file mode 100644 index 0000000000..e553ea918d --- /dev/null +++ b/parser/testdata/02205_map_populate_series_non_const/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02005_test_table diff --git a/parser/testdata/02205_map_populate_series_non_const/explain_71.txt b/parser/testdata/02205_map_populate_series_non_const/explain_71.txt new file mode 100644 index 0000000000..e553ea918d --- /dev/null +++ b/parser/testdata/02205_map_populate_series_non_const/explain_71.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02005_test_table diff --git a/parser/testdata/02206_minimum_sample_size/explain_15.txt b/parser/testdata/02206_minimum_sample_size/explain_15.txt new file mode 100644 index 0000000000..ebf4c11523 --- /dev/null +++ b/parser/testdata/02206_minimum_sample_size/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier minimum_sample_size_continuos diff --git a/parser/testdata/02206_minimum_sample_size/explain_16.txt b/parser/testdata/02206_minimum_sample_size/explain_16.txt new file mode 100644 index 0000000000..ebf4c11523 --- /dev/null +++ b/parser/testdata/02206_minimum_sample_size/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier minimum_sample_size_continuos diff --git a/parser/testdata/02206_minimum_sample_size/explain_25.txt b/parser/testdata/02206_minimum_sample_size/explain_25.txt new file mode 100644 index 0000000000..358ab5fe5b --- /dev/null +++ b/parser/testdata/02206_minimum_sample_size/explain_25.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier minimum_sample_size_conversion diff --git a/parser/testdata/02206_minimum_sample_size/explain_26.txt b/parser/testdata/02206_minimum_sample_size/explain_26.txt new file mode 100644 index 0000000000..358ab5fe5b --- /dev/null +++ b/parser/testdata/02206_minimum_sample_size/explain_26.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier minimum_sample_size_conversion diff --git a/parser/testdata/02206_minimum_sample_size/explain_7.txt b/parser/testdata/02206_minimum_sample_size/explain_7.txt new file mode 100644 index 0000000000..ebf4c11523 --- /dev/null +++ b/parser/testdata/02206_minimum_sample_size/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier minimum_sample_size_continuos diff --git a/parser/testdata/02206_minimum_sample_size/explain_8.txt b/parser/testdata/02206_minimum_sample_size/explain_8.txt new file mode 100644 index 0000000000..ebf4c11523 --- /dev/null +++ b/parser/testdata/02206_minimum_sample_size/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier minimum_sample_size_continuos diff --git a/parser/testdata/02207_key_condition_floats/explain_10.txt b/parser/testdata/02207_key_condition_floats/explain_10.txt new file mode 100644 index 0000000000..85783376ab --- /dev/null +++ b/parser/testdata/02207_key_condition_floats/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_key_condition_float diff --git a/parser/testdata/02207_key_condition_floats/explain_17.txt b/parser/testdata/02207_key_condition_floats/explain_17.txt new file mode 100644 index 0000000000..85783376ab --- /dev/null +++ b/parser/testdata/02207_key_condition_floats/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_key_condition_float diff --git a/parser/testdata/02207_key_condition_floats/explain_3.txt b/parser/testdata/02207_key_condition_floats/explain_3.txt new file mode 100644 index 0000000000..85783376ab --- /dev/null +++ b/parser/testdata/02207_key_condition_floats/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_key_condition_float diff --git a/parser/testdata/02210_processors_profile_log/explain_3.txt b/parser/testdata/02210_processors_profile_log/explain_3.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02210_processors_profile_log/explain_3.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02212_h3_get_pentagon_indexes/explain_10.txt b/parser/testdata/02212_h3_get_pentagon_indexes/explain_10.txt new file mode 100644 index 0000000000..05c1b71925 --- /dev/null +++ b/parser/testdata/02212_h3_get_pentagon_indexes/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table1 diff --git a/parser/testdata/02212_h3_get_pentagon_indexes/explain_11.txt b/parser/testdata/02212_h3_get_pentagon_indexes/explain_11.txt new file mode 100644 index 0000000000..05c1b71925 --- /dev/null +++ b/parser/testdata/02212_h3_get_pentagon_indexes/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table1 diff --git a/parser/testdata/02212_h3_get_pentagon_indexes/explain_12.txt b/parser/testdata/02212_h3_get_pentagon_indexes/explain_12.txt new file mode 100644 index 0000000000..05c1b71925 --- /dev/null +++ b/parser/testdata/02212_h3_get_pentagon_indexes/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table1 diff --git a/parser/testdata/02212_h3_get_pentagon_indexes/explain_13.txt b/parser/testdata/02212_h3_get_pentagon_indexes/explain_13.txt new file mode 100644 index 0000000000..05c1b71925 --- /dev/null +++ b/parser/testdata/02212_h3_get_pentagon_indexes/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table1 diff --git a/parser/testdata/02212_h3_get_pentagon_indexes/explain_14.txt b/parser/testdata/02212_h3_get_pentagon_indexes/explain_14.txt new file mode 100644 index 0000000000..05c1b71925 --- /dev/null +++ b/parser/testdata/02212_h3_get_pentagon_indexes/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table1 diff --git a/parser/testdata/02212_h3_get_pentagon_indexes/explain_15.txt b/parser/testdata/02212_h3_get_pentagon_indexes/explain_15.txt new file mode 100644 index 0000000000..05c1b71925 --- /dev/null +++ b/parser/testdata/02212_h3_get_pentagon_indexes/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table1 diff --git a/parser/testdata/02212_h3_get_pentagon_indexes/explain_16.txt b/parser/testdata/02212_h3_get_pentagon_indexes/explain_16.txt new file mode 100644 index 0000000000..05c1b71925 --- /dev/null +++ b/parser/testdata/02212_h3_get_pentagon_indexes/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table1 diff --git a/parser/testdata/02212_h3_get_pentagon_indexes/explain_17.txt b/parser/testdata/02212_h3_get_pentagon_indexes/explain_17.txt new file mode 100644 index 0000000000..05c1b71925 --- /dev/null +++ b/parser/testdata/02212_h3_get_pentagon_indexes/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table1 diff --git a/parser/testdata/02212_h3_get_pentagon_indexes/explain_18.txt b/parser/testdata/02212_h3_get_pentagon_indexes/explain_18.txt new file mode 100644 index 0000000000..05c1b71925 --- /dev/null +++ b/parser/testdata/02212_h3_get_pentagon_indexes/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table1 diff --git a/parser/testdata/02212_h3_get_pentagon_indexes/explain_3.txt b/parser/testdata/02212_h3_get_pentagon_indexes/explain_3.txt new file mode 100644 index 0000000000..05c1b71925 --- /dev/null +++ b/parser/testdata/02212_h3_get_pentagon_indexes/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table1 diff --git a/parser/testdata/02212_h3_get_pentagon_indexes/explain_4.txt b/parser/testdata/02212_h3_get_pentagon_indexes/explain_4.txt new file mode 100644 index 0000000000..05c1b71925 --- /dev/null +++ b/parser/testdata/02212_h3_get_pentagon_indexes/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table1 diff --git a/parser/testdata/02212_h3_get_pentagon_indexes/explain_5.txt b/parser/testdata/02212_h3_get_pentagon_indexes/explain_5.txt new file mode 100644 index 0000000000..05c1b71925 --- /dev/null +++ b/parser/testdata/02212_h3_get_pentagon_indexes/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table1 diff --git a/parser/testdata/02212_h3_get_pentagon_indexes/explain_6.txt b/parser/testdata/02212_h3_get_pentagon_indexes/explain_6.txt new file mode 100644 index 0000000000..05c1b71925 --- /dev/null +++ b/parser/testdata/02212_h3_get_pentagon_indexes/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table1 diff --git a/parser/testdata/02212_h3_get_pentagon_indexes/explain_7.txt b/parser/testdata/02212_h3_get_pentagon_indexes/explain_7.txt new file mode 100644 index 0000000000..05c1b71925 --- /dev/null +++ b/parser/testdata/02212_h3_get_pentagon_indexes/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table1 diff --git a/parser/testdata/02212_h3_get_pentagon_indexes/explain_8.txt b/parser/testdata/02212_h3_get_pentagon_indexes/explain_8.txt new file mode 100644 index 0000000000..05c1b71925 --- /dev/null +++ b/parser/testdata/02212_h3_get_pentagon_indexes/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table1 diff --git a/parser/testdata/02212_h3_get_pentagon_indexes/explain_9.txt b/parser/testdata/02212_h3_get_pentagon_indexes/explain_9.txt new file mode 100644 index 0000000000..05c1b71925 --- /dev/null +++ b/parser/testdata/02212_h3_get_pentagon_indexes/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table1 diff --git a/parser/testdata/02212_h3_point_dist/explain_10.txt b/parser/testdata/02212_h3_point_dist/explain_10.txt new file mode 100644 index 0000000000..05c1b71925 --- /dev/null +++ b/parser/testdata/02212_h3_point_dist/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table1 diff --git a/parser/testdata/02212_h3_point_dist/explain_11.txt b/parser/testdata/02212_h3_point_dist/explain_11.txt new file mode 100644 index 0000000000..05c1b71925 --- /dev/null +++ b/parser/testdata/02212_h3_point_dist/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table1 diff --git a/parser/testdata/02212_h3_point_dist/explain_12.txt b/parser/testdata/02212_h3_point_dist/explain_12.txt new file mode 100644 index 0000000000..05c1b71925 --- /dev/null +++ b/parser/testdata/02212_h3_point_dist/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table1 diff --git a/parser/testdata/02212_h3_point_dist/explain_13.txt b/parser/testdata/02212_h3_point_dist/explain_13.txt new file mode 100644 index 0000000000..05c1b71925 --- /dev/null +++ b/parser/testdata/02212_h3_point_dist/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table1 diff --git a/parser/testdata/02212_h3_point_dist/explain_14.txt b/parser/testdata/02212_h3_point_dist/explain_14.txt new file mode 100644 index 0000000000..05c1b71925 --- /dev/null +++ b/parser/testdata/02212_h3_point_dist/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table1 diff --git a/parser/testdata/02212_h3_point_dist/explain_3.txt b/parser/testdata/02212_h3_point_dist/explain_3.txt new file mode 100644 index 0000000000..05c1b71925 --- /dev/null +++ b/parser/testdata/02212_h3_point_dist/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table1 diff --git a/parser/testdata/02212_h3_point_dist/explain_4.txt b/parser/testdata/02212_h3_point_dist/explain_4.txt new file mode 100644 index 0000000000..05c1b71925 --- /dev/null +++ b/parser/testdata/02212_h3_point_dist/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table1 diff --git a/parser/testdata/02212_h3_point_dist/explain_5.txt b/parser/testdata/02212_h3_point_dist/explain_5.txt new file mode 100644 index 0000000000..05c1b71925 --- /dev/null +++ b/parser/testdata/02212_h3_point_dist/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table1 diff --git a/parser/testdata/02212_h3_point_dist/explain_6.txt b/parser/testdata/02212_h3_point_dist/explain_6.txt new file mode 100644 index 0000000000..05c1b71925 --- /dev/null +++ b/parser/testdata/02212_h3_point_dist/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table1 diff --git a/parser/testdata/02212_h3_point_dist/explain_7.txt b/parser/testdata/02212_h3_point_dist/explain_7.txt new file mode 100644 index 0000000000..05c1b71925 --- /dev/null +++ b/parser/testdata/02212_h3_point_dist/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table1 diff --git a/parser/testdata/02212_h3_point_dist/explain_8.txt b/parser/testdata/02212_h3_point_dist/explain_8.txt new file mode 100644 index 0000000000..05c1b71925 --- /dev/null +++ b/parser/testdata/02212_h3_point_dist/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table1 diff --git a/parser/testdata/02212_h3_point_dist/explain_9.txt b/parser/testdata/02212_h3_point_dist/explain_9.txt new file mode 100644 index 0000000000..05c1b71925 --- /dev/null +++ b/parser/testdata/02212_h3_point_dist/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table1 diff --git a/parser/testdata/02224_parallel_distributed_insert_select_cluster/explain_5.txt b/parser/testdata/02224_parallel_distributed_insert_select_cluster/explain_5.txt new file mode 100644 index 0000000000..fa2be6c961 --- /dev/null +++ b/parser/testdata/02224_parallel_distributed_insert_select_cluster/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier src_02224 diff --git a/parser/testdata/02226_async_insert_table_function/explain_4.txt b/parser/testdata/02226_async_insert_table_function/explain_4.txt new file mode 100644 index 0000000000..f86d0db020 --- /dev/null +++ b/parser/testdata/02226_async_insert_table_function/explain_4.txt @@ -0,0 +1,7 @@ +InsertQuery (children 1) + Function remote (children 1) + ExpressionList (children 3) + Literal \'127.0.0.1\' + Function currentDatabase (children 1) + ExpressionList + Identifier t_async_insert_table_function diff --git a/parser/testdata/02226_in_untuple_issue_34810/explain_4.txt b/parser/testdata/02226_in_untuple_issue_34810/explain_4.txt new file mode 100644 index 0000000000..d7b820cdf0 --- /dev/null +++ b/parser/testdata/02226_in_untuple_issue_34810/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier calendar diff --git a/parser/testdata/02226_in_untuple_issue_34810/explain_6.txt b/parser/testdata/02226_in_untuple_issue_34810/explain_6.txt new file mode 100644 index 0000000000..588272a6b3 --- /dev/null +++ b/parser/testdata/02226_in_untuple_issue_34810/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier events32 diff --git a/parser/testdata/02226_low_cardinality_text_bloom_filter_index/explain_5.txt b/parser/testdata/02226_low_cardinality_text_bloom_filter_index/explain_5.txt new file mode 100644 index 0000000000..6d833592a7 --- /dev/null +++ b/parser/testdata/02226_low_cardinality_text_bloom_filter_index/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier bf_tokenbf_lowcard_test diff --git a/parser/testdata/02226_low_cardinality_text_bloom_filter_index/explain_6.txt b/parser/testdata/02226_low_cardinality_text_bloom_filter_index/explain_6.txt new file mode 100644 index 0000000000..d846ca87be --- /dev/null +++ b/parser/testdata/02226_low_cardinality_text_bloom_filter_index/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier bf_ngram_lowcard_test diff --git a/parser/testdata/02226_low_cardinality_text_bloom_filter_index/explain_7.txt b/parser/testdata/02226_low_cardinality_text_bloom_filter_index/explain_7.txt new file mode 100644 index 0000000000..6d833592a7 --- /dev/null +++ b/parser/testdata/02226_low_cardinality_text_bloom_filter_index/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier bf_tokenbf_lowcard_test diff --git a/parser/testdata/02226_low_cardinality_text_bloom_filter_index/explain_8.txt b/parser/testdata/02226_low_cardinality_text_bloom_filter_index/explain_8.txt new file mode 100644 index 0000000000..d846ca87be --- /dev/null +++ b/parser/testdata/02226_low_cardinality_text_bloom_filter_index/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier bf_ngram_lowcard_test diff --git a/parser/testdata/02231_hierarchical_dictionaries_constant/explain_3.txt b/parser/testdata/02231_hierarchical_dictionaries_constant/explain_3.txt new file mode 100644 index 0000000000..a7daa9d1e9 --- /dev/null +++ b/parser/testdata/02231_hierarchical_dictionaries_constant/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier hierarchy_source_table diff --git a/parser/testdata/02232_functions_to_subcolumns_alias/explain_3.txt b/parser/testdata/02232_functions_to_subcolumns_alias/explain_3.txt new file mode 100644 index 0000000000..8386b1a9e4 --- /dev/null +++ b/parser/testdata/02232_functions_to_subcolumns_alias/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_functions_to_subcolumns_alias diff --git a/parser/testdata/02232_partition_pruner_mixed_constant_type/explain_3.txt b/parser/testdata/02232_partition_pruner_mixed_constant_type/explain_3.txt new file mode 100644 index 0000000000..109c76259d --- /dev/null +++ b/parser/testdata/02232_partition_pruner_mixed_constant_type/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier broken + ExpressionList (children 1) + Identifier time diff --git a/parser/testdata/02232_partition_pruner_single_point/explain_3.txt b/parser/testdata/02232_partition_pruner_single_point/explain_3.txt new file mode 100644 index 0000000000..c2bd415e14 --- /dev/null +++ b/parser/testdata/02232_partition_pruner_single_point/explain_3.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier lower_test + ExpressionList (children 2) + Identifier a + Identifier b diff --git a/parser/testdata/02233_interpolate_1/explain_17.txt b/parser/testdata/02233_interpolate_1/explain_17.txt new file mode 100644 index 0000000000..0a4aa84c8b --- /dev/null +++ b/parser/testdata/02233_interpolate_1/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_inter_02233 diff --git a/parser/testdata/02233_optimize_aggregation_in_order_prefix_with_merge/explain_3.txt b/parser/testdata/02233_optimize_aggregation_in_order_prefix_with_merge/explain_3.txt new file mode 100644 index 0000000000..ac836bdfab --- /dev/null +++ b/parser/testdata/02233_optimize_aggregation_in_order_prefix_with_merge/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data_02233 diff --git a/parser/testdata/02233_optimize_aggregation_in_order_prefix_with_merge/explain_4.txt b/parser/testdata/02233_optimize_aggregation_in_order_prefix_with_merge/explain_4.txt new file mode 100644 index 0000000000..ac836bdfab --- /dev/null +++ b/parser/testdata/02233_optimize_aggregation_in_order_prefix_with_merge/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data_02233 diff --git a/parser/testdata/02233_set_enable_with_statement_cte_perf/explain_10.txt b/parser/testdata/02233_set_enable_with_statement_cte_perf/explain_10.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02233_set_enable_with_statement_cte_perf/explain_10.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02234_column_function_short_circuit/explain_5.txt b/parser/testdata/02234_column_function_short_circuit/explain_5.txt new file mode 100644 index 0000000000..8c3b902d41 --- /dev/null +++ b/parser/testdata/02234_column_function_short_circuit/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dict_table diff --git a/parser/testdata/02234_column_function_short_circuit/explain_8.txt b/parser/testdata/02234_column_function_short_circuit/explain_8.txt new file mode 100644 index 0000000000..66e09495ee --- /dev/null +++ b/parser/testdata/02234_column_function_short_circuit/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data_table diff --git a/parser/testdata/02242_join_rocksdb/explain_32.txt b/parser/testdata/02242_join_rocksdb/explain_32.txt index 899bbb2777..8364eab1b7 100644 --- a/parser/testdata/02242_join_rocksdb/explain_32.txt +++ b/parser/testdata/02242_join_rocksdb/explain_32.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 2) @@ -15,6 +15,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 2) Identifier rdb.key Identifier t1.k - Set Identifier Null Set diff --git a/parser/testdata/02242_join_rocksdb/explain_34.txt b/parser/testdata/02242_join_rocksdb/explain_34.txt index 899bbb2777..8364eab1b7 100644 --- a/parser/testdata/02242_join_rocksdb/explain_34.txt +++ b/parser/testdata/02242_join_rocksdb/explain_34.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 2) @@ -15,6 +15,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 2) Identifier rdb.key Identifier t1.k - Set Identifier Null Set diff --git a/parser/testdata/02242_join_rocksdb/explain_36.txt b/parser/testdata/02242_join_rocksdb/explain_36.txt index 9fb6f307e6..978135af97 100644 --- a/parser/testdata/02242_join_rocksdb/explain_36.txt +++ b/parser/testdata/02242_join_rocksdb/explain_36.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 2) @@ -18,6 +18,5 @@ SelectWithUnionQuery (children 3) Identifier rdb.key Literal UInt64_1 Identifier t1.k - Set Identifier Null Set diff --git a/parser/testdata/02242_join_rocksdb/explain_38.txt b/parser/testdata/02242_join_rocksdb/explain_38.txt index fc4dec4062..879ea40975 100644 --- a/parser/testdata/02242_join_rocksdb/explain_38.txt +++ b/parser/testdata/02242_join_rocksdb/explain_38.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 2) @@ -24,6 +24,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 2) Identifier rdb.key Identifier t1.k - Set Identifier Null Set diff --git a/parser/testdata/02242_subcolumns_sizes/explain_3.txt b/parser/testdata/02242_subcolumns_sizes/explain_3.txt new file mode 100644 index 0000000000..756e174d12 --- /dev/null +++ b/parser/testdata/02242_subcolumns_sizes/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_subcolumns_sizes diff --git a/parser/testdata/02243_in_ip_address/explain_3.txt b/parser/testdata/02243_in_ip_address/explain_3.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02243_in_ip_address/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02243_ipv6_long_parsing/explain_3.txt b/parser/testdata/02243_ipv6_long_parsing/explain_3.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02243_ipv6_long_parsing/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02243_ipv6_long_parsing/explain_4.txt b/parser/testdata/02243_ipv6_long_parsing/explain_4.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02243_ipv6_long_parsing/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02243_ipv6_long_parsing/explain_5.txt b/parser/testdata/02243_ipv6_long_parsing/explain_5.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02243_ipv6_long_parsing/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02244_casewithexpression_return_type/explain.txt b/parser/testdata/02244_casewithexpression_return_type/explain.txt index cf70bc5ce6..e509f4b761 100644 --- a/parser/testdata/02244_casewithexpression_return_type/explain.txt +++ b/parser/testdata/02244_casewithexpression_return_type/explain.txt @@ -3,7 +3,7 @@ SelectWithUnionQuery (children 1) SelectQuery (children 3) ExpressionList (children 2) Identifier number - Function caseWithExpression (children 1) + Function caseWithExpression (alias LONG_COL_0) (children 1) ExpressionList (children 8) Identifier number Literal UInt64_3 diff --git a/parser/testdata/02244_ip_address_invalid_insert/explain_10.txt b/parser/testdata/02244_ip_address_invalid_insert/explain_10.txt new file mode 100644 index 0000000000..033785b37a --- /dev/null +++ b/parser/testdata/02244_ip_address_invalid_insert/explain_10.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test_table_ipv4_materialized + ExpressionList (children 1) + Identifier ip diff --git a/parser/testdata/02244_ip_address_invalid_insert/explain_11.txt b/parser/testdata/02244_ip_address_invalid_insert/explain_11.txt new file mode 100644 index 0000000000..033785b37a --- /dev/null +++ b/parser/testdata/02244_ip_address_invalid_insert/explain_11.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test_table_ipv4_materialized + ExpressionList (children 1) + Identifier ip diff --git a/parser/testdata/02244_ip_address_invalid_insert/explain_12.txt b/parser/testdata/02244_ip_address_invalid_insert/explain_12.txt new file mode 100644 index 0000000000..033785b37a --- /dev/null +++ b/parser/testdata/02244_ip_address_invalid_insert/explain_12.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test_table_ipv4_materialized + ExpressionList (children 1) + Identifier ip diff --git a/parser/testdata/02244_ip_address_invalid_insert/explain_19.txt b/parser/testdata/02244_ip_address_invalid_insert/explain_19.txt new file mode 100644 index 0000000000..db5f318aaa --- /dev/null +++ b/parser/testdata/02244_ip_address_invalid_insert/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_ipv6 diff --git a/parser/testdata/02244_ip_address_invalid_insert/explain_20.txt b/parser/testdata/02244_ip_address_invalid_insert/explain_20.txt new file mode 100644 index 0000000000..db5f318aaa --- /dev/null +++ b/parser/testdata/02244_ip_address_invalid_insert/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_ipv6 diff --git a/parser/testdata/02244_ip_address_invalid_insert/explain_26.txt b/parser/testdata/02244_ip_address_invalid_insert/explain_26.txt new file mode 100644 index 0000000000..32e02b5b38 --- /dev/null +++ b/parser/testdata/02244_ip_address_invalid_insert/explain_26.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test_table_ipv6_materialized + ExpressionList (children 1) + Identifier ip diff --git a/parser/testdata/02244_ip_address_invalid_insert/explain_27.txt b/parser/testdata/02244_ip_address_invalid_insert/explain_27.txt new file mode 100644 index 0000000000..32e02b5b38 --- /dev/null +++ b/parser/testdata/02244_ip_address_invalid_insert/explain_27.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test_table_ipv6_materialized + ExpressionList (children 1) + Identifier ip diff --git a/parser/testdata/02244_ip_address_invalid_insert/explain_28.txt b/parser/testdata/02244_ip_address_invalid_insert/explain_28.txt new file mode 100644 index 0000000000..32e02b5b38 --- /dev/null +++ b/parser/testdata/02244_ip_address_invalid_insert/explain_28.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test_table_ipv6_materialized + ExpressionList (children 1) + Identifier ip diff --git a/parser/testdata/02244_ip_address_invalid_insert/explain_3.txt b/parser/testdata/02244_ip_address_invalid_insert/explain_3.txt new file mode 100644 index 0000000000..ac51f89d2e --- /dev/null +++ b/parser/testdata/02244_ip_address_invalid_insert/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_ipv4 diff --git a/parser/testdata/02244_ip_address_invalid_insert/explain_4.txt b/parser/testdata/02244_ip_address_invalid_insert/explain_4.txt new file mode 100644 index 0000000000..ac51f89d2e --- /dev/null +++ b/parser/testdata/02244_ip_address_invalid_insert/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_ipv4 diff --git a/parser/testdata/02244_lowcardinality_hash_join/explain_3.txt b/parser/testdata/02244_lowcardinality_hash_join/explain_3.txt new file mode 100644 index 0000000000..49e22316b4 --- /dev/null +++ b/parser/testdata/02244_lowcardinality_hash_join/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier lc_table diff --git a/parser/testdata/02244_url_engine_headers_test/explain.txt b/parser/testdata/02244_url_engine_headers_test/explain.txt index e45c250fe3..5f09db1f45 100644 --- a/parser/testdata/02244_url_engine_headers_test/explain.txt +++ b/parser/testdata/02244_url_engine_headers_test/explain.txt @@ -17,4 +17,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Identifier format Literal \'RawBLOB\' -The query succeeded but the server error '86' was expected (query: EXPLAIN AST select * from url(url_with_headers, url='http://127.0.0.1:8123?query=select+12', format='RawBLOB'); -- { serverError RECEIVED_ERROR_FROM_REMOTE_IO_SERVER }). diff --git a/parser/testdata/02245_join_with_nullable_lowcardinality_crash/explain_5.txt b/parser/testdata/02245_join_with_nullable_lowcardinality_crash/explain_5.txt new file mode 100644 index 0000000000..ed65237806 --- /dev/null +++ b/parser/testdata/02245_join_with_nullable_lowcardinality_crash/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier with_nullable diff --git a/parser/testdata/02245_join_with_nullable_lowcardinality_crash/explain_6.txt b/parser/testdata/02245_join_with_nullable_lowcardinality_crash/explain_6.txt new file mode 100644 index 0000000000..9a4d6650d7 --- /dev/null +++ b/parser/testdata/02245_join_with_nullable_lowcardinality_crash/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier without_nullable diff --git a/parser/testdata/02245_s3_support_read_nested_column/explain_15.txt b/parser/testdata/02245_s3_support_read_nested_column/explain_15.txt new file mode 100644 index 0000000000..1c0944251a --- /dev/null +++ b/parser/testdata/02245_s3_support_read_nested_column/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_02245_s3_nested_arrow1 diff --git a/parser/testdata/02245_s3_support_read_nested_column/explain_18.txt b/parser/testdata/02245_s3_support_read_nested_column/explain_18.txt new file mode 100644 index 0000000000..28e157c52b --- /dev/null +++ b/parser/testdata/02245_s3_support_read_nested_column/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_02245_s3_nested_arrow2 diff --git a/parser/testdata/02245_s3_support_read_nested_column/explain_24.txt b/parser/testdata/02245_s3_support_read_nested_column/explain_24.txt new file mode 100644 index 0000000000..ff5c8bddb1 --- /dev/null +++ b/parser/testdata/02245_s3_support_read_nested_column/explain_24.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_02245_s3_nested_orc1 diff --git a/parser/testdata/02245_s3_support_read_nested_column/explain_27.txt b/parser/testdata/02245_s3_support_read_nested_column/explain_27.txt new file mode 100644 index 0000000000..6736160ca3 --- /dev/null +++ b/parser/testdata/02245_s3_support_read_nested_column/explain_27.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_02245_s3_nested_orc2 diff --git a/parser/testdata/02245_s3_support_read_nested_column/explain_6.txt b/parser/testdata/02245_s3_support_read_nested_column/explain_6.txt new file mode 100644 index 0000000000..1bb67ec119 --- /dev/null +++ b/parser/testdata/02245_s3_support_read_nested_column/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_02245_s3_nested_parquet1 diff --git a/parser/testdata/02245_s3_support_read_nested_column/explain_9.txt b/parser/testdata/02245_s3_support_read_nested_column/explain_9.txt new file mode 100644 index 0000000000..eebc1f067f --- /dev/null +++ b/parser/testdata/02245_s3_support_read_nested_column/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_02245_s3_nested_parquet2 diff --git a/parser/testdata/02246_flatten_tuple/explain_5.txt b/parser/testdata/02246_flatten_tuple/explain_5.txt new file mode 100644 index 0000000000..899179363e --- /dev/null +++ b/parser/testdata/02246_flatten_tuple/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_flatten_tuple diff --git a/parser/testdata/02249_insert_select_from_input_schema_inference/explain_4.txt b/parser/testdata/02249_insert_select_from_input_schema_inference/explain_4.txt new file mode 100644 index 0000000000..f7082fc73c --- /dev/null +++ b/parser/testdata/02249_insert_select_from_input_schema_inference/explain_4.txt @@ -0,0 +1,12 @@ +InsertQuery (children 2) + Identifier test_02249 + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function input (children 1) + ExpressionList diff --git a/parser/testdata/02249_parse_date_time_basic/explain_4.txt b/parser/testdata/02249_parse_date_time_basic/explain_4.txt new file mode 100644 index 0000000000..c865806944 --- /dev/null +++ b/parser/testdata/02249_parse_date_time_basic/explain_4.txt @@ -0,0 +1,8 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 5) + Identifier a + Identifier b + Identifier c + Identifier d + Identifier e diff --git a/parser/testdata/02249_parse_date_time_basic/explain_5.txt b/parser/testdata/02249_parse_date_time_basic/explain_5.txt new file mode 100644 index 0000000000..c865806944 --- /dev/null +++ b/parser/testdata/02249_parse_date_time_basic/explain_5.txt @@ -0,0 +1,8 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 5) + Identifier a + Identifier b + Identifier c + Identifier d + Identifier e diff --git a/parser/testdata/02249_parse_date_time_basic/explain_6.txt b/parser/testdata/02249_parse_date_time_basic/explain_6.txt new file mode 100644 index 0000000000..c865806944 --- /dev/null +++ b/parser/testdata/02249_parse_date_time_basic/explain_6.txt @@ -0,0 +1,8 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 5) + Identifier a + Identifier b + Identifier c + Identifier d + Identifier e diff --git a/parser/testdata/02249_parse_date_time_basic/explain_7.txt b/parser/testdata/02249_parse_date_time_basic/explain_7.txt new file mode 100644 index 0000000000..c865806944 --- /dev/null +++ b/parser/testdata/02249_parse_date_time_basic/explain_7.txt @@ -0,0 +1,8 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 5) + Identifier a + Identifier b + Identifier c + Identifier d + Identifier e diff --git a/parser/testdata/02249_parse_date_time_basic/explain_8.txt b/parser/testdata/02249_parse_date_time_basic/explain_8.txt new file mode 100644 index 0000000000..c865806944 --- /dev/null +++ b/parser/testdata/02249_parse_date_time_basic/explain_8.txt @@ -0,0 +1,8 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 5) + Identifier a + Identifier b + Identifier c + Identifier d + Identifier e diff --git a/parser/testdata/02251_alter_enum_nested_struct/explain_3.txt b/parser/testdata/02251_alter_enum_nested_struct/explain_3.txt new file mode 100644 index 0000000000..b933f9ef21 --- /dev/null +++ b/parser/testdata/02251_alter_enum_nested_struct/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier alter_enum_array diff --git a/parser/testdata/02251_alter_enum_nested_struct/explain_5.txt b/parser/testdata/02251_alter_enum_nested_struct/explain_5.txt new file mode 100644 index 0000000000..b933f9ef21 --- /dev/null +++ b/parser/testdata/02251_alter_enum_nested_struct/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier alter_enum_array diff --git a/parser/testdata/02251_last_day_of_month/explain.txt b/parser/testdata/02251_last_day_of_month/explain.txt new file mode 100644 index 0000000000..f9b91a1ef6 --- /dev/null +++ b/parser/testdata/02251_last_day_of_month/explain.txt @@ -0,0 +1,24 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 3) + Function toDate (alias date_value) (children 1) + ExpressionList (children 1) + Literal \'2021-09-12\' + Function toDateTime (alias date_time_value) (children 1) + ExpressionList (children 1) + Literal \'2021-09-12 11:22:33\' + Function toDateTime64 (alias date_time_64_value) (children 1) + ExpressionList (children 2) + Literal \'2021-09-12 11:22:33\' + Literal UInt64_3 + ExpressionList (children 3) + Function toLastDayOfMonth (children 1) + ExpressionList (children 1) + Identifier date_value + Function toLastDayOfMonth (children 1) + ExpressionList (children 1) + Identifier date_time_value + Function toLastDayOfMonth (children 1) + ExpressionList (children 1) + Identifier date_time_64_value diff --git a/parser/testdata/02252_executable_user_defined_function_short_circuit/explain_2.txt b/parser/testdata/02252_executable_user_defined_function_short_circuit/explain_2.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02252_executable_user_defined_function_short_circuit/explain_2.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02252_jit_profile_events/explain_10.txt b/parser/testdata/02252_jit_profile_events/explain_10.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02252_jit_profile_events/explain_10.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02252_jit_profile_events/explain_5.txt b/parser/testdata/02252_jit_profile_events/explain_5.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02252_jit_profile_events/explain_5.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02265_column_ttl/explain_13.txt b/parser/testdata/02265_column_ttl/explain_13.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02265_column_ttl/explain_13.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02265_column_ttl/explain_5.txt b/parser/testdata/02265_column_ttl/explain_5.txt new file mode 100644 index 0000000000..377df91f24 --- /dev/null +++ b/parser/testdata/02265_column_ttl/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl_02265 diff --git a/parser/testdata/02265_limit_push_down_over_window_functions_bug/explain.txt b/parser/testdata/02265_limit_push_down_over_window_functions_bug/explain.txt new file mode 100644 index 0000000000..9574681079 --- /dev/null +++ b/parser/testdata/02265_limit_push_down_over_window_functions_bug/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 2) + Identifier number + Function leadInFrame (alias W) (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + ExpressionList (children 1) + WindowListElement + Literal UInt64_3 diff --git a/parser/testdata/02265_per_table_ttl_mutation_on_change/explain_3.txt b/parser/testdata/02265_per_table_ttl_mutation_on_change/explain_3.txt new file mode 100644 index 0000000000..83c23a27a9 --- /dev/null +++ b/parser/testdata/02265_per_table_ttl_mutation_on_change/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier per_table_ttl_02265 diff --git a/parser/testdata/02265_rename_join_ordinary_to_atomic/explain_8.txt b/parser/testdata/02265_rename_join_ordinary_to_atomic/explain_8.txt new file mode 100644 index 0000000000..229b49b810 --- /dev/null +++ b/parser/testdata/02265_rename_join_ordinary_to_atomic/explain_8.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 02265_ordinary_db + Identifier join_table diff --git a/parser/testdata/02267_jsonlines_ndjson_format/explain_5.txt b/parser/testdata/02267_jsonlines_ndjson_format/explain_5.txt new file mode 100644 index 0000000000..3d3f506be9 --- /dev/null +++ b/parser/testdata/02267_jsonlines_ndjson_format/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02267_t diff --git a/parser/testdata/02267_jsonlines_ndjson_format/explain_6.txt b/parser/testdata/02267_jsonlines_ndjson_format/explain_6.txt new file mode 100644 index 0000000000..3d3f506be9 --- /dev/null +++ b/parser/testdata/02267_jsonlines_ndjson_format/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02267_t diff --git a/parser/testdata/02267_output_format_prometheus/explain.txt b/parser/testdata/02267_output_format_prometheus/explain.txt new file mode 100644 index 0000000000..ece649f958 --- /dev/null +++ b/parser/testdata/02267_output_format_prometheus/explain.txt @@ -0,0 +1,287 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 19) + SelectQuery (children 1) + ExpressionList (children 6) + Literal \'http_requests_total\' (alias name) + Literal \'counter\' (alias type) + Literal \'Total number of HTTP requests\' (alias help) + Function map (alias labels) (children 1) + ExpressionList (children 4) + Literal \'method\' + Literal \'post\' + Literal \'code\' + Literal \'200\' + Literal UInt64_1027 (alias value) + Function CAST (alias timestamp) (children 1) + ExpressionList (children 2) + Literal \'1395066363000\' + Literal \'Float64\' + SelectQuery (children 1) + ExpressionList (children 6) + Literal \'http_requests_total\' (alias name) + Literal \'counter\' (alias type) + Literal \'\' (alias help) + Function map (alias labels) (children 1) + ExpressionList (children 4) + Literal \'method\' + Literal \'post\' + Literal \'code\' + Literal \'400\' + Literal UInt64_3 (alias value) + Function CAST (alias timestamp) (children 1) + ExpressionList (children 2) + Literal \'1395066363000\' + Literal \'Float64\' + SelectQuery (children 1) + ExpressionList (children 6) + Literal \'msdos_file_access_time_seconds\' (alias name) + Literal \'\' (alias type) + Literal \'\' (alias help) + Function map (alias labels) (children 1) + ExpressionList (children 4) + Literal \'path\' + Literal \'C:\\\\DIR\\\\FILE.TXT\' + Literal \'error\' + Literal \'Cannot find file:\\n"FILE.TXT"\' + Literal UInt64_1458255915 (alias value) + Function CAST (alias timestamp) (children 1) + ExpressionList (children 2) + Literal \'0\' + Literal \'Float64\' + SelectQuery (children 1) + ExpressionList (children 6) + Literal \'metric_without_timestamp_and_labels\' (alias name) + Literal \'\' (alias type) + Literal \'\' (alias help) + Function map (alias labels) (children 1) + ExpressionList + Literal Float64_12.47 (alias value) + Function CAST (alias timestamp) (children 1) + ExpressionList (children 2) + Literal \'0\' + Literal \'Float64\' + SelectQuery (children 1) + ExpressionList (children 6) + Literal \'something_weird\' (alias name) + Literal \'\' (alias type) + Literal \'\' (alias help) + Function map (alias labels) (children 1) + ExpressionList (children 2) + Literal \'problem\' + Literal \'division by zero\' + Literal Float64_inf (alias value) + Function CAST (alias timestamp) (children 1) + ExpressionList (children 2) + Literal \'-3982045\' + Literal \'Float64\' + SelectQuery (children 1) + ExpressionList (children 6) + Literal \'http_request_duration_seconds\' (alias name) + Literal \'histogram\' (alias type) + Literal \'A histogram of the request duration.\' (alias help) + Function map (alias labels) (children 1) + ExpressionList (children 2) + Literal \'le\' + Literal \'0.05\' + Literal UInt64_24054 (alias value) + Function CAST (alias timestamp) (children 1) + ExpressionList (children 2) + Literal \'0\' + Literal \'Float64\' + SelectQuery (children 1) + ExpressionList (children 6) + Literal \'http_request_duration_seconds\' (alias name) + Literal \'histogram\' (alias type) + Literal \'\' (alias help) + Function map (alias labels) (children 1) + ExpressionList (children 2) + Literal \'le\' + Literal \'0.1\' + Literal UInt64_33444 (alias value) + Function CAST (alias timestamp) (children 1) + ExpressionList (children 2) + Literal \'0\' + Literal \'Float64\' + SelectQuery (children 1) + ExpressionList (children 6) + Literal \'http_request_duration_seconds\' (alias name) + Literal \'histogram\' (alias type) + Literal \'\' (alias help) + Function map (alias labels) (children 1) + ExpressionList (children 2) + Literal \'le\' + Literal \'0.2\' + Literal UInt64_100392 (alias value) + Function CAST (alias timestamp) (children 1) + ExpressionList (children 2) + Literal \'0\' + Literal \'Float64\' + SelectQuery (children 1) + ExpressionList (children 6) + Literal \'http_request_duration_seconds\' (alias name) + Literal \'histogram\' (alias type) + Literal \'\' (alias help) + Function map (alias labels) (children 1) + ExpressionList (children 2) + Literal \'le\' + Literal \'0.5\' + Literal UInt64_129389 (alias value) + Function CAST (alias timestamp) (children 1) + ExpressionList (children 2) + Literal \'0\' + Literal \'Float64\' + SelectQuery (children 1) + ExpressionList (children 6) + Literal \'http_request_duration_seconds\' (alias name) + Literal \'histogram\' (alias type) + Literal \'\' (alias help) + Function map (alias labels) (children 1) + ExpressionList (children 2) + Literal \'le\' + Literal \'1\' + Literal UInt64_133988 (alias value) + Function CAST (alias timestamp) (children 1) + ExpressionList (children 2) + Literal \'0\' + Literal \'Float64\' + SelectQuery (children 1) + ExpressionList (children 6) + Literal \'http_request_duration_seconds\' (alias name) + Literal \'histogram\' (alias type) + Literal \'\' (alias help) + Function map (alias labels) (children 1) + ExpressionList (children 2) + Literal \'le\' + Literal \'+Inf\' + Literal UInt64_144320 (alias value) + Function CAST (alias timestamp) (children 1) + ExpressionList (children 2) + Literal \'0\' + Literal \'Float64\' + SelectQuery (children 1) + ExpressionList (children 6) + Literal \'http_request_duration_seconds\' (alias name) + Literal \'histogram\' (alias type) + Literal \'\' (alias help) + Function map (alias labels) (children 1) + ExpressionList (children 2) + Literal \'sum\' + Literal \'\' + Literal UInt64_53423 (alias value) + Function CAST (alias timestamp) (children 1) + ExpressionList (children 2) + Literal \'0\' + Literal \'Float64\' + SelectQuery (children 1) + ExpressionList (children 6) + Literal \'rpc_duration_seconds\' (alias name) + Literal \'summary\' (alias type) + Literal \'A summary of the RPC duration in seconds.\' (alias help) + Function map (alias labels) (children 1) + ExpressionList (children 2) + Literal \'quantile\' + Literal \'0.01\' + Literal UInt64_3102 (alias value) + Function CAST (alias timestamp) (children 1) + ExpressionList (children 2) + Literal \'0\' + Literal \'Float64\' + SelectQuery (children 1) + ExpressionList (children 6) + Literal \'rpc_duration_seconds\' (alias name) + Literal \'summary\' (alias type) + Literal \'\' (alias help) + Function map (alias labels) (children 1) + ExpressionList (children 2) + Literal \'quantile\' + Literal \'0.05\' + Literal UInt64_3272 (alias value) + Function CAST (alias timestamp) (children 1) + ExpressionList (children 2) + Literal \'0\' + Literal \'Float64\' + SelectQuery (children 1) + ExpressionList (children 6) + Literal \'rpc_duration_seconds\' (alias name) + Literal \'summary\' (alias type) + Literal \'\' (alias help) + Function map (alias labels) (children 1) + ExpressionList (children 2) + Literal \'quantile\' + Literal \'0.5\' + Literal UInt64_4773 (alias value) + Function CAST (alias timestamp) (children 1) + ExpressionList (children 2) + Literal \'0\' + Literal \'Float64\' + SelectQuery (children 1) + ExpressionList (children 6) + Literal \'rpc_duration_seconds\' (alias name) + Literal \'summary\' (alias type) + Literal \'\' (alias help) + Function map (alias labels) (children 1) + ExpressionList (children 2) + Literal \'quantile\' + Literal \'0.9\' + Literal UInt64_9001 (alias value) + Function CAST (alias timestamp) (children 1) + ExpressionList (children 2) + Literal \'0\' + Literal \'Float64\' + SelectQuery (children 1) + ExpressionList (children 6) + Literal \'rpc_duration_seconds\' (alias name) + Literal \'summary\' (alias type) + Literal \'\' (alias help) + Function map (alias labels) (children 1) + ExpressionList (children 2) + Literal \'quantile\' + Literal \'0.99\' + Literal UInt64_76656 (alias value) + Function CAST (alias timestamp) (children 1) + ExpressionList (children 2) + Literal \'0\' + Literal \'Float64\' + SelectQuery (children 1) + ExpressionList (children 6) + Literal \'rpc_duration_seconds\' (alias name) + Literal \'summary\' (alias type) + Literal \'\' (alias help) + Function map (alias labels) (children 1) + ExpressionList (children 2) + Literal \'count\' + Literal \'\' + Literal UInt64_2693 (alias value) + Function CAST (alias timestamp) (children 1) + ExpressionList (children 2) + Literal \'0\' + Literal \'Float64\' + SelectQuery (children 1) + ExpressionList (children 6) + Literal \'rpc_duration_seconds\' (alias name) + Literal \'summary\' (alias type) + Literal \'\' (alias help) + Function map (alias labels) (children 1) + ExpressionList (children 2) + Literal \'sum\' + Literal \'\' + Literal Float64_17560473 (alias value) + Function CAST (alias timestamp) (children 1) + ExpressionList (children 2) + Literal \'0\' + Literal \'Float64\' + ExpressionList (children 2) + OrderByElement (children 1) + Identifier name + OrderByElement (children 1) + Identifier value + Identifier Prometheus diff --git a/parser/testdata/02267_special_operator_parse_alias_check/explain_27.txt b/parser/testdata/02267_special_operator_parse_alias_check/explain_27.txt index 641e148c40..dbe1a8afa3 100644 --- a/parser/testdata/02267_special_operator_parse_alias_check/explain_27.txt +++ b/parser/testdata/02267_special_operator_parse_alias_check/explain_27.txt @@ -2,16 +2,9 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 1) ExpressionList (children 3) - Function replaceRegexpOne (children 1) - ExpressionList (children 3) + Function trimLeft (children 1) + ExpressionList (children 2) Literal \'abca\' (alias arg_2) - Function concat (children 1) - ExpressionList (children 3) - Literal \'^[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \'a\' (alias arg_1) - Literal \']+\' - Literal \'\' + Literal \'a\' (alias arg_1) Identifier arg_1 Identifier arg_2 diff --git a/parser/testdata/02267_special_operator_parse_alias_check/explain_28.txt b/parser/testdata/02267_special_operator_parse_alias_check/explain_28.txt index 641e148c40..dbe1a8afa3 100644 --- a/parser/testdata/02267_special_operator_parse_alias_check/explain_28.txt +++ b/parser/testdata/02267_special_operator_parse_alias_check/explain_28.txt @@ -2,16 +2,9 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 1) ExpressionList (children 3) - Function replaceRegexpOne (children 1) - ExpressionList (children 3) + Function trimLeft (children 1) + ExpressionList (children 2) Literal \'abca\' (alias arg_2) - Function concat (children 1) - ExpressionList (children 3) - Literal \'^[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \'a\' (alias arg_1) - Literal \']+\' - Literal \'\' + Literal \'a\' (alias arg_1) Identifier arg_1 Identifier arg_2 diff --git a/parser/testdata/02267_special_operator_parse_alias_check/explain_29.txt b/parser/testdata/02267_special_operator_parse_alias_check/explain_29.txt index dfeafa9adb..f4223636cb 100644 --- a/parser/testdata/02267_special_operator_parse_alias_check/explain_29.txt +++ b/parser/testdata/02267_special_operator_parse_alias_check/explain_29.txt @@ -2,15 +2,8 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 1) ExpressionList (children 2) - Function replaceRegexpOne (children 1) - ExpressionList (children 3) + Function trimLeft (children 1) + ExpressionList (children 2) Literal \'abca\' (alias arg_2) - Function concat (children 1) - ExpressionList (children 3) - Literal \'^[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \'a\' - Literal \']+\' - Literal \'\' + Literal \'a\' Identifier arg_2 diff --git a/parser/testdata/02267_special_operator_parse_alias_check/explain_30.txt b/parser/testdata/02267_special_operator_parse_alias_check/explain_30.txt index dfeafa9adb..f4223636cb 100644 --- a/parser/testdata/02267_special_operator_parse_alias_check/explain_30.txt +++ b/parser/testdata/02267_special_operator_parse_alias_check/explain_30.txt @@ -2,15 +2,8 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 1) ExpressionList (children 2) - Function replaceRegexpOne (children 1) - ExpressionList (children 3) + Function trimLeft (children 1) + ExpressionList (children 2) Literal \'abca\' (alias arg_2) - Function concat (children 1) - ExpressionList (children 3) - Literal \'^[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \'a\' - Literal \']+\' - Literal \'\' + Literal \'a\' Identifier arg_2 diff --git a/parser/testdata/02267_special_operator_parse_alias_check/explain_31.txt b/parser/testdata/02267_special_operator_parse_alias_check/explain_31.txt index ec39de3d88..f86b36d6ff 100644 --- a/parser/testdata/02267_special_operator_parse_alias_check/explain_31.txt +++ b/parser/testdata/02267_special_operator_parse_alias_check/explain_31.txt @@ -2,15 +2,8 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 1) ExpressionList (children 2) - Function replaceRegexpOne (children 1) - ExpressionList (children 3) + Function trimLeft (children 1) + ExpressionList (children 2) Literal \'abca\' - Function concat (children 1) - ExpressionList (children 3) - Literal \'^[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \'a\' (alias arg_1) - Literal \']+\' - Literal \'\' + Literal \'a\' (alias arg_1) Identifier arg_1 diff --git a/parser/testdata/02267_special_operator_parse_alias_check/explain_32.txt b/parser/testdata/02267_special_operator_parse_alias_check/explain_32.txt index ec39de3d88..f86b36d6ff 100644 --- a/parser/testdata/02267_special_operator_parse_alias_check/explain_32.txt +++ b/parser/testdata/02267_special_operator_parse_alias_check/explain_32.txt @@ -2,15 +2,8 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 1) ExpressionList (children 2) - Function replaceRegexpOne (children 1) - ExpressionList (children 3) + Function trimLeft (children 1) + ExpressionList (children 2) Literal \'abca\' - Function concat (children 1) - ExpressionList (children 3) - Literal \'^[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \'a\' (alias arg_1) - Literal \']+\' - Literal \'\' + Literal \'a\' (alias arg_1) Identifier arg_1 diff --git a/parser/testdata/02267_special_operator_parse_alias_check/explain_33.txt b/parser/testdata/02267_special_operator_parse_alias_check/explain_33.txt index 1bf5973458..fbf9b6f264 100644 --- a/parser/testdata/02267_special_operator_parse_alias_check/explain_33.txt +++ b/parser/testdata/02267_special_operator_parse_alias_check/explain_33.txt @@ -2,14 +2,7 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 1) ExpressionList (children 1) - Function replaceRegexpOne (children 1) - ExpressionList (children 3) + Function trimLeft (children 1) + ExpressionList (children 2) Literal \'abca\' - Function concat (children 1) - ExpressionList (children 3) - Literal \'^[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \'a\' - Literal \']+\' - Literal \'\' + Literal \'a\' diff --git a/parser/testdata/02267_special_operator_parse_alias_check/explain_34.txt b/parser/testdata/02267_special_operator_parse_alias_check/explain_34.txt index e41618be49..5388acb1fe 100644 --- a/parser/testdata/02267_special_operator_parse_alias_check/explain_34.txt +++ b/parser/testdata/02267_special_operator_parse_alias_check/explain_34.txt @@ -2,16 +2,9 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 1) ExpressionList (children 3) - Function replaceRegexpOne (children 1) - ExpressionList (children 3) + Function trimRight (children 1) + ExpressionList (children 2) Literal \'abca\' (alias arg_2) - Function concat (children 1) - ExpressionList (children 3) - Literal \'[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \'a\' (alias arg_1) - Literal \']+$\' - Literal \'\' + Literal \'a\' (alias arg_1) Identifier arg_1 Identifier arg_2 diff --git a/parser/testdata/02267_special_operator_parse_alias_check/explain_35.txt b/parser/testdata/02267_special_operator_parse_alias_check/explain_35.txt index e41618be49..5388acb1fe 100644 --- a/parser/testdata/02267_special_operator_parse_alias_check/explain_35.txt +++ b/parser/testdata/02267_special_operator_parse_alias_check/explain_35.txt @@ -2,16 +2,9 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 1) ExpressionList (children 3) - Function replaceRegexpOne (children 1) - ExpressionList (children 3) + Function trimRight (children 1) + ExpressionList (children 2) Literal \'abca\' (alias arg_2) - Function concat (children 1) - ExpressionList (children 3) - Literal \'[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \'a\' (alias arg_1) - Literal \']+$\' - Literal \'\' + Literal \'a\' (alias arg_1) Identifier arg_1 Identifier arg_2 diff --git a/parser/testdata/02267_special_operator_parse_alias_check/explain_36.txt b/parser/testdata/02267_special_operator_parse_alias_check/explain_36.txt index da6ee5162a..cf0b15a603 100644 --- a/parser/testdata/02267_special_operator_parse_alias_check/explain_36.txt +++ b/parser/testdata/02267_special_operator_parse_alias_check/explain_36.txt @@ -2,20 +2,9 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 1) ExpressionList (children 3) - Function replaceRegexpAll (children 1) - ExpressionList (children 3) + Function trimBoth (children 1) + ExpressionList (children 2) Literal \'abca\' (alias arg_2) - Function concat (children 1) - ExpressionList (children 5) - Literal \'^[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \'a\' (alias arg_1) - Literal \']+|[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \'a\' (alias arg_1) - Literal \']+$\' - Literal \'\' + Literal \'a\' (alias arg_1) Identifier arg_1 Identifier arg_2 diff --git a/parser/testdata/02267_special_operator_parse_alias_check/explain_37.txt b/parser/testdata/02267_special_operator_parse_alias_check/explain_37.txt index da6ee5162a..cf0b15a603 100644 --- a/parser/testdata/02267_special_operator_parse_alias_check/explain_37.txt +++ b/parser/testdata/02267_special_operator_parse_alias_check/explain_37.txt @@ -2,20 +2,9 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 1) ExpressionList (children 3) - Function replaceRegexpAll (children 1) - ExpressionList (children 3) + Function trimBoth (children 1) + ExpressionList (children 2) Literal \'abca\' (alias arg_2) - Function concat (children 1) - ExpressionList (children 5) - Literal \'^[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \'a\' (alias arg_1) - Literal \']+|[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \'a\' (alias arg_1) - Literal \']+$\' - Literal \'\' + Literal \'a\' (alias arg_1) Identifier arg_1 Identifier arg_2 diff --git a/parser/testdata/02267_special_operator_parse_alias_check/explain_38.txt b/parser/testdata/02267_special_operator_parse_alias_check/explain_38.txt index bee15f329b..0bcd08b9ad 100644 --- a/parser/testdata/02267_special_operator_parse_alias_check/explain_38.txt +++ b/parser/testdata/02267_special_operator_parse_alias_check/explain_38.txt @@ -2,16 +2,9 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 1) ExpressionList (children 1) - Function replaceRegexpOne (children 1) - ExpressionList (children 3) + Function trimLeft (children 1) + ExpressionList (children 2) Literal \'abc\' Function concat (children 1) - ExpressionList (children 3) - Literal \'^[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Function concat (children 1) - ExpressionList (children 1) - Literal \'\' - Literal \']+\' - Literal \'\' + ExpressionList (children 1) + Literal \'\' diff --git a/parser/testdata/02267_special_operator_parse_alias_check/explain_39.txt b/parser/testdata/02267_special_operator_parse_alias_check/explain_39.txt index f49b654d83..c9c62bbc02 100644 --- a/parser/testdata/02267_special_operator_parse_alias_check/explain_39.txt +++ b/parser/testdata/02267_special_operator_parse_alias_check/explain_39.txt @@ -2,17 +2,10 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 1) ExpressionList (children 1) - Function replaceRegexpOne (children 1) - ExpressionList (children 3) + Function trimLeft (children 1) + ExpressionList (children 2) Literal \'abc\' Function concat (children 1) - ExpressionList (children 3) - Literal \'^[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Function concat (children 1) - ExpressionList (children 2) - Literal \'a\' - Literal \'b\' - Literal \']+\' - Literal \'\' + ExpressionList (children 2) + Literal \'a\' + Literal \'b\' diff --git a/parser/testdata/02269_to_start_of_interval_overflow/explain.txt b/parser/testdata/02269_to_start_of_interval_overflow/explain.txt index c307f12644..bd2b51e3af 100644 --- a/parser/testdata/02269_to_start_of_interval_overflow/explain.txt +++ b/parser/testdata/02269_to_start_of_interval_overflow/explain.txt @@ -11,4 +11,3 @@ SelectWithUnionQuery (children 1) Function toIntervalNanosecond (children 1) ExpressionList (children 1) Literal UInt64_1024 -The query succeeded but the server error '407' was expected (query: EXPLAIN AST select toStartOfInterval(toDateTime64('\0930-12-12 12:12:12.1234567', 3), toIntervalNanosecond(1024)); -- {serverError DECIMAL_OVERFLOW}). diff --git a/parser/testdata/02270_client_name/explain_2.txt b/parser/testdata/02270_client_name/explain_2.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02270_client_name/explain_2.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02271_replace_partition_many_tables/explain_7.txt b/parser/testdata/02271_replace_partition_many_tables/explain_7.txt new file mode 100644 index 0000000000..94587d69ca --- /dev/null +++ b/parser/testdata/02271_replace_partition_many_tables/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replace_partition_source diff --git a/parser/testdata/02276_full_sort_join_unsupported/explain_4.txt b/parser/testdata/02276_full_sort_join_unsupported/explain_4.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/02276_full_sort_join_unsupported/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/02276_full_sort_join_unsupported/explain_6.txt b/parser/testdata/02276_full_sort_join_unsupported/explain_6.txt new file mode 100644 index 0000000000..df4a687bc0 --- /dev/null +++ b/parser/testdata/02276_full_sort_join_unsupported/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2 diff --git a/parser/testdata/02280_add_query_level_settings/explain_3.txt b/parser/testdata/02280_add_query_level_settings/explain_3.txt new file mode 100644 index 0000000000..c6625b0f81 --- /dev/null +++ b/parser/testdata/02280_add_query_level_settings/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_for_alter diff --git a/parser/testdata/02280_add_query_level_settings/explain_4.txt b/parser/testdata/02280_add_query_level_settings/explain_4.txt new file mode 100644 index 0000000000..c6625b0f81 --- /dev/null +++ b/parser/testdata/02280_add_query_level_settings/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_for_alter diff --git a/parser/testdata/02280_add_query_level_settings/explain_5.txt b/parser/testdata/02280_add_query_level_settings/explain_5.txt new file mode 100644 index 0000000000..1cb6a66b65 --- /dev/null +++ b/parser/testdata/02280_add_query_level_settings/explain_5.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier table_for_alter + Set diff --git a/parser/testdata/02280_add_query_level_settings/explain_6.txt b/parser/testdata/02280_add_query_level_settings/explain_6.txt new file mode 100644 index 0000000000..c6625b0f81 --- /dev/null +++ b/parser/testdata/02280_add_query_level_settings/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_for_alter diff --git a/parser/testdata/02280_add_query_level_settings/explain_8.txt b/parser/testdata/02280_add_query_level_settings/explain_8.txt new file mode 100644 index 0000000000..c6625b0f81 --- /dev/null +++ b/parser/testdata/02280_add_query_level_settings/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_for_alter diff --git a/parser/testdata/02281_limit_by_distributed/explain.txt b/parser/testdata/02281_limit_by_distributed/explain.txt index 75d0bdc94b..c1e103c3b3 100644 --- a/parser/testdata/02281_limit_by_distributed/explain.txt +++ b/parser/testdata/02281_limit_by_distributed/explain.txt @@ -9,7 +9,7 @@ SelectWithUnionQuery (children 1) Subquery (children 1) SelectWithUnionQuery (children 1) ExpressionList (children 1) - SelectQuery (children 4) + SelectQuery (children 5) ExpressionList (children 2) Identifier k Function abs (alias _v) (children 1) @@ -30,12 +30,12 @@ SelectWithUnionQuery (children 1) Function materialize (alias k) (children 1) ExpressionList (children 1) Literal \'foo\' - Function negate (alias v) (children 1) - ExpressionList (children 1) - Literal UInt64_1 + Literal Int64_-1 (alias v) ExpressionList (children 1) OrderByElement (children 1) Identifier _v Literal UInt64_1 + ExpressionList (children 1) + Identifier k ExpressionList (children 1) Identifier k diff --git a/parser/testdata/02282_array_distance/explain_20.txt b/parser/testdata/02282_array_distance/explain_20.txt new file mode 100644 index 0000000000..dd621b9f95 --- /dev/null +++ b/parser/testdata/02282_array_distance/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier vec1 diff --git a/parser/testdata/02282_array_distance/explain_29.txt b/parser/testdata/02282_array_distance/explain_29.txt new file mode 100644 index 0000000000..79aa000ed3 --- /dev/null +++ b/parser/testdata/02282_array_distance/explain_29.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier vec2 diff --git a/parser/testdata/02282_array_distance/explain_31.txt b/parser/testdata/02282_array_distance/explain_31.txt new file mode 100644 index 0000000000..b9826b7b86 --- /dev/null +++ b/parser/testdata/02282_array_distance/explain_31.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier vec2f diff --git a/parser/testdata/02282_array_distance/explain_33.txt b/parser/testdata/02282_array_distance/explain_33.txt new file mode 100644 index 0000000000..e166e8c883 --- /dev/null +++ b/parser/testdata/02282_array_distance/explain_33.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier vec2d diff --git a/parser/testdata/02283_array_norm/explain_13.txt b/parser/testdata/02283_array_norm/explain_13.txt new file mode 100644 index 0000000000..dd621b9f95 --- /dev/null +++ b/parser/testdata/02283_array_norm/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier vec1 diff --git a/parser/testdata/02283_array_norm/explain_14.txt b/parser/testdata/02283_array_norm/explain_14.txt new file mode 100644 index 0000000000..c663b0688b --- /dev/null +++ b/parser/testdata/02283_array_norm/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier vec1f diff --git a/parser/testdata/02283_array_norm/explain_15.txt b/parser/testdata/02283_array_norm/explain_15.txt new file mode 100644 index 0000000000..85c4e14ea5 --- /dev/null +++ b/parser/testdata/02283_array_norm/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier vec1d diff --git a/parser/testdata/02286_tuple_numeric_identifier/explain_14.txt b/parser/testdata/02286_tuple_numeric_identifier/explain_14.txt new file mode 100644 index 0000000000..ece574b477 --- /dev/null +++ b/parser/testdata/02286_tuple_numeric_identifier/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_tuple_numeric diff --git a/parser/testdata/02286_tuple_numeric_identifier/explain_4.txt b/parser/testdata/02286_tuple_numeric_identifier/explain_4.txt new file mode 100644 index 0000000000..ece574b477 --- /dev/null +++ b/parser/testdata/02286_tuple_numeric_identifier/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_tuple_numeric diff --git a/parser/testdata/02291_dictionary_scalar_subquery_reload/explain_5.txt b/parser/testdata/02291_dictionary_scalar_subquery_reload/explain_5.txt new file mode 100644 index 0000000000..5a60b25978 --- /dev/null +++ b/parser/testdata/02291_dictionary_scalar_subquery_reload/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_dictionary_source_table diff --git a/parser/testdata/02291_dictionary_scalar_subquery_reload/explain_9.txt b/parser/testdata/02291_dictionary_scalar_subquery_reload/explain_9.txt new file mode 100644 index 0000000000..5a60b25978 --- /dev/null +++ b/parser/testdata/02291_dictionary_scalar_subquery_reload/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_dictionary_source_table diff --git a/parser/testdata/02291_join_const_literal_36279/explain_17.txt b/parser/testdata/02291_join_const_literal_36279/explain_17.txt new file mode 100644 index 0000000000..43bfd6e80d --- /dev/null +++ b/parser/testdata/02291_join_const_literal_36279/explain_17.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier user_local + ExpressionList (children 3) + Identifier id + Identifier name + Identifier age diff --git a/parser/testdata/02291_join_const_literal_36279/explain_18.txt b/parser/testdata/02291_join_const_literal_36279/explain_18.txt new file mode 100644 index 0000000000..35a3b094ee --- /dev/null +++ b/parser/testdata/02291_join_const_literal_36279/explain_18.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier event + ExpressionList (children 4) + Identifier id + Identifier user_id + Identifier content + Identifier created_time diff --git a/parser/testdata/02292_create_function_validate/explain.txt b/parser/testdata/02292_create_function_validate/explain.txt index e001e32cfe..c3e9b654c2 100644 --- a/parser/testdata/02292_create_function_validate/explain.txt +++ b/parser/testdata/02292_create_function_validate/explain.txt @@ -1,4 +1,3 @@ CreateFunctionQuery foo (children 2) Identifier foo Identifier x -The query succeeded but the server error '36' was expected (query: EXPLAIN AST create function foo as x -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/02293_h3_distance/explain_10.txt b/parser/testdata/02293_h3_distance/explain_10.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_distance/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_distance/explain_11.txt b/parser/testdata/02293_h3_distance/explain_11.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_distance/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_distance/explain_12.txt b/parser/testdata/02293_h3_distance/explain_12.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_distance/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_distance/explain_13.txt b/parser/testdata/02293_h3_distance/explain_13.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_distance/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_distance/explain_14.txt b/parser/testdata/02293_h3_distance/explain_14.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_distance/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_distance/explain_15.txt b/parser/testdata/02293_h3_distance/explain_15.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_distance/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_distance/explain_16.txt b/parser/testdata/02293_h3_distance/explain_16.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_distance/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_distance/explain_17.txt b/parser/testdata/02293_h3_distance/explain_17.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_distance/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_distance/explain_18.txt b/parser/testdata/02293_h3_distance/explain_18.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_distance/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_distance/explain_19.txt b/parser/testdata/02293_h3_distance/explain_19.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_distance/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_distance/explain_20.txt b/parser/testdata/02293_h3_distance/explain_20.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_distance/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_distance/explain_21.txt b/parser/testdata/02293_h3_distance/explain_21.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_distance/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_distance/explain_22.txt b/parser/testdata/02293_h3_distance/explain_22.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_distance/explain_22.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_distance/explain_23.txt b/parser/testdata/02293_h3_distance/explain_23.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_distance/explain_23.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_distance/explain_24.txt b/parser/testdata/02293_h3_distance/explain_24.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_distance/explain_24.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_distance/explain_25.txt b/parser/testdata/02293_h3_distance/explain_25.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_distance/explain_25.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_distance/explain_26.txt b/parser/testdata/02293_h3_distance/explain_26.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_distance/explain_26.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_distance/explain_27.txt b/parser/testdata/02293_h3_distance/explain_27.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_distance/explain_27.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_distance/explain_28.txt b/parser/testdata/02293_h3_distance/explain_28.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_distance/explain_28.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_distance/explain_29.txt b/parser/testdata/02293_h3_distance/explain_29.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_distance/explain_29.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_distance/explain_3.txt b/parser/testdata/02293_h3_distance/explain_3.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_distance/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_distance/explain_30.txt b/parser/testdata/02293_h3_distance/explain_30.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_distance/explain_30.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_distance/explain_4.txt b/parser/testdata/02293_h3_distance/explain_4.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_distance/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_distance/explain_5.txt b/parser/testdata/02293_h3_distance/explain_5.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_distance/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_distance/explain_6.txt b/parser/testdata/02293_h3_distance/explain_6.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_distance/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_distance/explain_7.txt b/parser/testdata/02293_h3_distance/explain_7.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_distance/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_distance/explain_8.txt b/parser/testdata/02293_h3_distance/explain_8.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_distance/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_distance/explain_9.txt b/parser/testdata/02293_h3_distance/explain_9.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_distance/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_hex_ring/explain_10.txt b/parser/testdata/02293_h3_hex_ring/explain_10.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_hex_ring/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_hex_ring/explain_11.txt b/parser/testdata/02293_h3_hex_ring/explain_11.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_hex_ring/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_hex_ring/explain_12.txt b/parser/testdata/02293_h3_hex_ring/explain_12.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_hex_ring/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_hex_ring/explain_13.txt b/parser/testdata/02293_h3_hex_ring/explain_13.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_hex_ring/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_hex_ring/explain_14.txt b/parser/testdata/02293_h3_hex_ring/explain_14.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_hex_ring/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_hex_ring/explain_15.txt b/parser/testdata/02293_h3_hex_ring/explain_15.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_hex_ring/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_hex_ring/explain_16.txt b/parser/testdata/02293_h3_hex_ring/explain_16.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_hex_ring/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_hex_ring/explain_17.txt b/parser/testdata/02293_h3_hex_ring/explain_17.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_hex_ring/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_hex_ring/explain_18.txt b/parser/testdata/02293_h3_hex_ring/explain_18.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_hex_ring/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_hex_ring/explain_19.txt b/parser/testdata/02293_h3_hex_ring/explain_19.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_hex_ring/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_hex_ring/explain_20.txt b/parser/testdata/02293_h3_hex_ring/explain_20.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_hex_ring/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_hex_ring/explain_21.txt b/parser/testdata/02293_h3_hex_ring/explain_21.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_hex_ring/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_hex_ring/explain_22.txt b/parser/testdata/02293_h3_hex_ring/explain_22.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_hex_ring/explain_22.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_hex_ring/explain_7.txt b/parser/testdata/02293_h3_hex_ring/explain_7.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_hex_ring/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_hex_ring/explain_8.txt b/parser/testdata/02293_h3_hex_ring/explain_8.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_hex_ring/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_hex_ring/explain_9.txt b/parser/testdata/02293_h3_hex_ring/explain_9.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_hex_ring/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_line/explain_10.txt b/parser/testdata/02293_h3_line/explain_10.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_line/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_line/explain_11.txt b/parser/testdata/02293_h3_line/explain_11.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_line/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_line/explain_12.txt b/parser/testdata/02293_h3_line/explain_12.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_line/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_line/explain_13.txt b/parser/testdata/02293_h3_line/explain_13.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_line/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_line/explain_14.txt b/parser/testdata/02293_h3_line/explain_14.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_line/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_line/explain_15.txt b/parser/testdata/02293_h3_line/explain_15.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_line/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_line/explain_16.txt b/parser/testdata/02293_h3_line/explain_16.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_line/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_line/explain_17.txt b/parser/testdata/02293_h3_line/explain_17.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_line/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_line/explain_18.txt b/parser/testdata/02293_h3_line/explain_18.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_line/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_line/explain_19.txt b/parser/testdata/02293_h3_line/explain_19.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_line/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_line/explain_20.txt b/parser/testdata/02293_h3_line/explain_20.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_line/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_line/explain_21.txt b/parser/testdata/02293_h3_line/explain_21.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_line/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_line/explain_22.txt b/parser/testdata/02293_h3_line/explain_22.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_line/explain_22.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_line/explain_23.txt b/parser/testdata/02293_h3_line/explain_23.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_line/explain_23.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_line/explain_24.txt b/parser/testdata/02293_h3_line/explain_24.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_line/explain_24.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_line/explain_25.txt b/parser/testdata/02293_h3_line/explain_25.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_line/explain_25.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_line/explain_26.txt b/parser/testdata/02293_h3_line/explain_26.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_line/explain_26.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_line/explain_27.txt b/parser/testdata/02293_h3_line/explain_27.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_line/explain_27.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_line/explain_28.txt b/parser/testdata/02293_h3_line/explain_28.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_line/explain_28.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_line/explain_29.txt b/parser/testdata/02293_h3_line/explain_29.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_line/explain_29.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_line/explain_3.txt b/parser/testdata/02293_h3_line/explain_3.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_line/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_line/explain_30.txt b/parser/testdata/02293_h3_line/explain_30.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_line/explain_30.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_line/explain_4.txt b/parser/testdata/02293_h3_line/explain_4.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_line/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_line/explain_5.txt b/parser/testdata/02293_h3_line/explain_5.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_line/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_line/explain_6.txt b/parser/testdata/02293_h3_line/explain_6.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_line/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_line/explain_7.txt b/parser/testdata/02293_h3_line/explain_7.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_line/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_line/explain_8.txt b/parser/testdata/02293_h3_line/explain_8.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_line/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_line/explain_9.txt b/parser/testdata/02293_h3_line/explain_9.txt new file mode 100644 index 0000000000..87567674dc --- /dev/null +++ b/parser/testdata/02293_h3_line/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_ilike_on_fixed_strings/explain_3.txt b/parser/testdata/02293_ilike_on_fixed_strings/explain_3.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02293_ilike_on_fixed_strings/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02293_ttest_large_samples/explain.txt b/parser/testdata/02293_ttest_large_samples/explain.txt new file mode 100644 index 0000000000..e585f1b319 --- /dev/null +++ b/parser/testdata/02293_ttest_large_samples/explain.txt @@ -0,0 +1,67 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function roundBankers (children 1) + ExpressionList (children 2) + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier result + Literal UInt64_1 + Literal UInt64_5 + Function roundBankers (children 1) + ExpressionList (children 2) + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier result + Literal UInt64_2 + Literal UInt64_5 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function studentTTest (alias result) (children 1) + ExpressionList (children 2) + Identifier sample + Identifier variant + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 2) + SelectQuery (children 3) + ExpressionList (children 2) + Function modulo (alias sample) (children 1) + ExpressionList (children 2) + Function toFloat64 (children 1) + ExpressionList (children 1) + Identifier number + Literal UInt64_30 + Literal UInt64_0 (alias variant) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_500000 + SelectQuery (children 3) + ExpressionList (children 2) + Function plus (alias sample) (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Function toFloat64 (children 1) + ExpressionList (children 1) + Identifier number + Literal UInt64_30 + Literal Float64_0.0022 + Literal UInt64_1 (alias variant) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_500000 diff --git a/parser/testdata/02294_decimal_second_errors/explain.txt b/parser/testdata/02294_decimal_second_errors/explain.txt deleted file mode 100644 index f58e3fbdaf..0000000000 --- a/parser/testdata/02294_decimal_second_errors/explain.txt +++ /dev/null @@ -1,6 +0,0 @@ -SelectWithUnionQuery (children 1) - ExpressionList (children 1) - SelectQuery (children 2) - ExpressionList (children 1) - Literal UInt64_1 - Set diff --git a/parser/testdata/02294_dictionaries_hierarchical_index/explain_3.txt b/parser/testdata/02294_dictionaries_hierarchical_index/explain_3.txt new file mode 100644 index 0000000000..2aad7638eb --- /dev/null +++ b/parser/testdata/02294_dictionaries_hierarchical_index/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_hierarchy_source_table diff --git a/parser/testdata/02294_fp_seconds_profile/explain.txt b/parser/testdata/02294_fp_seconds_profile/explain.txt index f271b1aa1c..5d4d45fba6 100644 --- a/parser/testdata/02294_fp_seconds_profile/explain.txt +++ b/parser/testdata/02294_fp_seconds_profile/explain.txt @@ -1,4 +1 @@ -DropQuery (children 1) - ExpressionList (children 2) - TableIdentifier 02294_profile1 - TableIdentifier 02294_profile2 +DROP SETTINGS PROFILE query diff --git a/parser/testdata/02294_stringsearch_with_nonconst_needle/explain_3.txt b/parser/testdata/02294_stringsearch_with_nonconst_needle/explain_3.txt new file mode 100644 index 0000000000..6ace6a5212 --- /dev/null +++ b/parser/testdata/02294_stringsearch_with_nonconst_needle/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier non_const_needle diff --git a/parser/testdata/02295_global_with_in_subquery/explain.txt b/parser/testdata/02295_global_with_in_subquery/explain.txt new file mode 100644 index 0000000000..fa49730c74 --- /dev/null +++ b/parser/testdata/02295_global_with_in_subquery/explain.txt @@ -0,0 +1,54 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Subquery (alias v0) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 + ExpressionList (children 2) + Identifier v0 + Function greater (children 1) + ExpressionList (children 2) + Identifier v + Literal UInt64_0 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias a) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 2) + SelectQuery (children 2) + ExpressionList (children 2) + Subquery (alias v1) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Subquery (alias v2) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_2 + ExpressionList (children 1) + Identifier v1 (alias v) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier v2 (alias v) + ExpressionList (children 2) + Subquery (alias v1) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Subquery (alias v2) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_2 diff --git a/parser/testdata/02302_lc_nullable_string_insert_as_number/explain_3.txt b/parser/testdata/02302_lc_nullable_string_insert_as_number/explain_3.txt new file mode 100644 index 0000000000..8500ad3e09 --- /dev/null +++ b/parser/testdata/02302_lc_nullable_string_insert_as_number/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier lc_nullable_string + ExpressionList (children 1) + Identifier c1 diff --git a/parser/testdata/02302_lc_nullable_string_insert_as_number/explain_4.txt b/parser/testdata/02302_lc_nullable_string_insert_as_number/explain_4.txt new file mode 100644 index 0000000000..8500ad3e09 --- /dev/null +++ b/parser/testdata/02302_lc_nullable_string_insert_as_number/explain_4.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier lc_nullable_string + ExpressionList (children 1) + Identifier c1 diff --git a/parser/testdata/02304_grouping_set_order_by/explain.txt b/parser/testdata/02304_grouping_set_order_by/explain.txt index c4b5d99157..f3a5c8f1df 100644 --- a/parser/testdata/02304_grouping_set_order_by/explain.txt +++ b/parser/testdata/02304_grouping_set_order_by/explain.txt @@ -41,11 +41,11 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) Literal UInt64_100 ExpressionList (children 2) - Function tuple (children 1) - ExpressionList (children 2) - Identifier timex - Identifier id - Identifier timex + ExpressionList (children 2) + Identifier timex + Identifier id + ExpressionList (children 1) + Identifier timex ExpressionList (children 2) OrderByElement (children 1) Identifier timex diff --git a/parser/testdata/02304_grouping_sets_with_rollup_cube/explain.txt b/parser/testdata/02304_grouping_sets_with_rollup_cube/explain.txt new file mode 100644 index 0000000000..add0361f13 --- /dev/null +++ b/parser/testdata/02304_grouping_sets_with_rollup_cube/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + ExpressionList (children 2) + ExpressionList (children 1) + Identifier number + ExpressionList (children 1) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 diff --git a/parser/testdata/02306_part_types_profile_events/explain_14.txt b/parser/testdata/02306_part_types_profile_events/explain_14.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02306_part_types_profile_events/explain_14.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02306_part_types_profile_events/explain_5.txt b/parser/testdata/02306_part_types_profile_events/explain_5.txt new file mode 100644 index 0000000000..8a840232db --- /dev/null +++ b/parser/testdata/02306_part_types_profile_events/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_parts_profile_events diff --git a/parser/testdata/02306_part_types_profile_events/explain_6.txt b/parser/testdata/02306_part_types_profile_events/explain_6.txt new file mode 100644 index 0000000000..8a840232db --- /dev/null +++ b/parser/testdata/02306_part_types_profile_events/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_parts_profile_events diff --git a/parser/testdata/02306_window_move_row_number_fix/explain.txt b/parser/testdata/02306_window_move_row_number_fix/explain.txt index 2e27d6bd4e..adf097575c 100644 --- a/parser/testdata/02306_window_move_row_number_fix/explain.txt +++ b/parser/testdata/02306_window_move_row_number_fix/explain.txt @@ -2,9 +2,7 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 1) ExpressionList (children 1) - Function nth_value (children 2) + Function nth_value (children 1) ExpressionList (children 2) Literal NULL Literal UInt64_1048577 - WindowDefinition (children 1) - Literal UInt64_1023 diff --git a/parser/testdata/02311_create_table_with_unknown_format/explain.txt b/parser/testdata/02311_create_table_with_unknown_format/explain.txt index 5dcc5e59bc..e67e2b1d47 100644 --- a/parser/testdata/02311_create_table_with_unknown_format/explain.txt +++ b/parser/testdata/02311_create_table_with_unknown_format/explain.txt @@ -8,4 +8,3 @@ CreateQuery test_02311 (children 3) Function File (children 1) ExpressionList (children 1) Identifier UnknownFormat -The query succeeded but the server error '73' was expected (query: EXPLAIN AST create table test_02311 (x UInt32) engine=File(UnknownFormat); -- {serverError UNKNOWN_FORMAT}). diff --git a/parser/testdata/02311_normalize_utf8_constant/explain.txt b/parser/testdata/02311_normalize_utf8_constant/explain.txt new file mode 100644 index 0000000000..765d7e90c6 --- /dev/null +++ b/parser/testdata/02311_normalize_utf8_constant/explain.txt @@ -0,0 +1,32 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 10) + Literal \'â\' (alias s) + Function normalizeUTF8NFC (alias s1) (children 1) + ExpressionList (children 1) + Identifier s + Function normalizeUTF8NFD (alias s2) (children 1) + ExpressionList (children 1) + Identifier s + Function normalizeUTF8NFKC (alias s3) (children 1) + ExpressionList (children 1) + Identifier s + Function normalizeUTF8NFKD (alias s4) (children 1) + ExpressionList (children 1) + Identifier s + Function hex (children 1) + ExpressionList (children 1) + Identifier s + Function hex (children 1) + ExpressionList (children 1) + Identifier s1 + Function hex (children 1) + ExpressionList (children 1) + Identifier s2 + Function hex (children 1) + ExpressionList (children 1) + Identifier s3 + Function hex (children 1) + ExpressionList (children 1) + Identifier s4 diff --git a/parser/testdata/02311_range_hashed_dictionary_range_cast/explain_3.txt b/parser/testdata/02311_range_hashed_dictionary_range_cast/explain_3.txt new file mode 100644 index 0000000000..89c04319e2 --- /dev/null +++ b/parser/testdata/02311_range_hashed_dictionary_range_cast/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dictionary_source_table diff --git a/parser/testdata/02311_system_zookeeper_insert/explain_10.txt b/parser/testdata/02311_system_zookeeper_insert/explain_10.txt new file mode 100644 index 0000000000..de4a57fe19 --- /dev/null +++ b/parser/testdata/02311_system_zookeeper_insert/explain_10.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier test_zkinsert + ExpressionList (children 3) + Identifier name + Identifier path + Identifier value diff --git a/parser/testdata/02311_system_zookeeper_insert/explain_11.txt b/parser/testdata/02311_system_zookeeper_insert/explain_11.txt new file mode 100644 index 0000000000..69eecff025 --- /dev/null +++ b/parser/testdata/02311_system_zookeeper_insert/explain_11.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test_zkinsert + ExpressionList (children 2) + Identifier name + Identifier path diff --git a/parser/testdata/02311_system_zookeeper_insert/explain_12.txt b/parser/testdata/02311_system_zookeeper_insert/explain_12.txt new file mode 100644 index 0000000000..f584562e7c --- /dev/null +++ b/parser/testdata/02311_system_zookeeper_insert/explain_12.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier test_zkinsert + ExpressionList (children 3) + Identifier name + Identifier value + Identifier path diff --git a/parser/testdata/02311_system_zookeeper_insert/explain_15.txt b/parser/testdata/02311_system_zookeeper_insert/explain_15.txt new file mode 100644 index 0000000000..3f896f5f8d --- /dev/null +++ b/parser/testdata/02311_system_zookeeper_insert/explain_15.txt @@ -0,0 +1,6 @@ +InsertQuery (children 3) + Identifier system + Identifier zookeeper + ExpressionList (children 2) + Identifier name + Identifier value diff --git a/parser/testdata/02311_system_zookeeper_insert/explain_16.txt b/parser/testdata/02311_system_zookeeper_insert/explain_16.txt new file mode 100644 index 0000000000..a5e56f865f --- /dev/null +++ b/parser/testdata/02311_system_zookeeper_insert/explain_16.txt @@ -0,0 +1,6 @@ +InsertQuery (children 3) + Identifier system + Identifier zookeeper + ExpressionList (children 2) + Identifier path + Identifier value diff --git a/parser/testdata/02311_system_zookeeper_insert/explain_17.txt b/parser/testdata/02311_system_zookeeper_insert/explain_17.txt new file mode 100644 index 0000000000..f68741deb8 --- /dev/null +++ b/parser/testdata/02311_system_zookeeper_insert/explain_17.txt @@ -0,0 +1,6 @@ +InsertQuery (children 3) + Identifier system + Identifier zookeeper + ExpressionList (children 2) + Identifier name + Identifier version diff --git a/parser/testdata/02311_system_zookeeper_insert/explain_18.txt b/parser/testdata/02311_system_zookeeper_insert/explain_18.txt new file mode 100644 index 0000000000..cb0f34be7c --- /dev/null +++ b/parser/testdata/02311_system_zookeeper_insert/explain_18.txt @@ -0,0 +1,6 @@ +InsertQuery (children 3) + Identifier system + Identifier zookeeper + ExpressionList (children 2) + Identifier name + Identifier versionxyz diff --git a/parser/testdata/02311_system_zookeeper_insert/explain_19.txt b/parser/testdata/02311_system_zookeeper_insert/explain_19.txt new file mode 100644 index 0000000000..8911f84bc4 --- /dev/null +++ b/parser/testdata/02311_system_zookeeper_insert/explain_19.txt @@ -0,0 +1,7 @@ +InsertQuery (children 3) + Identifier system + Identifier zookeeper + ExpressionList (children 3) + Identifier name + Identifier path + Identifier value diff --git a/parser/testdata/02311_system_zookeeper_insert/explain_20.txt b/parser/testdata/02311_system_zookeeper_insert/explain_20.txt new file mode 100644 index 0000000000..8911f84bc4 --- /dev/null +++ b/parser/testdata/02311_system_zookeeper_insert/explain_20.txt @@ -0,0 +1,7 @@ +InsertQuery (children 3) + Identifier system + Identifier zookeeper + ExpressionList (children 3) + Identifier name + Identifier path + Identifier value diff --git a/parser/testdata/02311_system_zookeeper_insert/explain_21.txt b/parser/testdata/02311_system_zookeeper_insert/explain_21.txt new file mode 100644 index 0000000000..8911f84bc4 --- /dev/null +++ b/parser/testdata/02311_system_zookeeper_insert/explain_21.txt @@ -0,0 +1,7 @@ +InsertQuery (children 3) + Identifier system + Identifier zookeeper + ExpressionList (children 3) + Identifier name + Identifier path + Identifier value diff --git a/parser/testdata/02311_system_zookeeper_insert/explain_22.txt b/parser/testdata/02311_system_zookeeper_insert/explain_22.txt new file mode 100644 index 0000000000..8911f84bc4 --- /dev/null +++ b/parser/testdata/02311_system_zookeeper_insert/explain_22.txt @@ -0,0 +1,7 @@ +InsertQuery (children 3) + Identifier system + Identifier zookeeper + ExpressionList (children 3) + Identifier name + Identifier path + Identifier value diff --git a/parser/testdata/02311_system_zookeeper_insert/explain_4.txt b/parser/testdata/02311_system_zookeeper_insert/explain_4.txt new file mode 100644 index 0000000000..de4a57fe19 --- /dev/null +++ b/parser/testdata/02311_system_zookeeper_insert/explain_4.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier test_zkinsert + ExpressionList (children 3) + Identifier name + Identifier path + Identifier value diff --git a/parser/testdata/02311_system_zookeeper_insert/explain_8.txt b/parser/testdata/02311_system_zookeeper_insert/explain_8.txt new file mode 100644 index 0000000000..de4a57fe19 --- /dev/null +++ b/parser/testdata/02311_system_zookeeper_insert/explain_8.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier test_zkinsert + ExpressionList (children 3) + Identifier name + Identifier path + Identifier value diff --git a/parser/testdata/02311_system_zookeeper_insert/explain_9.txt b/parser/testdata/02311_system_zookeeper_insert/explain_9.txt new file mode 100644 index 0000000000..de4a57fe19 --- /dev/null +++ b/parser/testdata/02311_system_zookeeper_insert/explain_9.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier test_zkinsert + ExpressionList (children 3) + Identifier name + Identifier path + Identifier value diff --git a/parser/testdata/02312_parquet_orc_arrow_names_tuples/explain_11.txt b/parser/testdata/02312_parquet_orc_arrow_names_tuples/explain_11.txt new file mode 100644 index 0000000000..2c92f3a43b --- /dev/null +++ b/parser/testdata/02312_parquet_orc_arrow_names_tuples/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_02312 diff --git a/parser/testdata/02312_parquet_orc_arrow_names_tuples/explain_15.txt b/parser/testdata/02312_parquet_orc_arrow_names_tuples/explain_15.txt new file mode 100644 index 0000000000..2c92f3a43b --- /dev/null +++ b/parser/testdata/02312_parquet_orc_arrow_names_tuples/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_02312 diff --git a/parser/testdata/02312_parquet_orc_arrow_names_tuples/explain_19.txt b/parser/testdata/02312_parquet_orc_arrow_names_tuples/explain_19.txt new file mode 100644 index 0000000000..2c92f3a43b --- /dev/null +++ b/parser/testdata/02312_parquet_orc_arrow_names_tuples/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_02312 diff --git a/parser/testdata/02312_parquet_orc_arrow_names_tuples/explain_23.txt b/parser/testdata/02312_parquet_orc_arrow_names_tuples/explain_23.txt new file mode 100644 index 0000000000..2c92f3a43b --- /dev/null +++ b/parser/testdata/02312_parquet_orc_arrow_names_tuples/explain_23.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_02312 diff --git a/parser/testdata/02312_parquet_orc_arrow_names_tuples/explain_3.txt b/parser/testdata/02312_parquet_orc_arrow_names_tuples/explain_3.txt new file mode 100644 index 0000000000..2c92f3a43b --- /dev/null +++ b/parser/testdata/02312_parquet_orc_arrow_names_tuples/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_02312 diff --git a/parser/testdata/02312_parquet_orc_arrow_names_tuples/explain_7.txt b/parser/testdata/02312_parquet_orc_arrow_names_tuples/explain_7.txt new file mode 100644 index 0000000000..2c92f3a43b --- /dev/null +++ b/parser/testdata/02312_parquet_orc_arrow_names_tuples/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_02312 diff --git a/parser/testdata/02313_cross_join_dup_col_names/explain.txt b/parser/testdata/02313_cross_join_dup_col_names/explain.txt index 88eb951777..4680a7860d 100644 --- a/parser/testdata/02313_cross_join_dup_col_names/explain.txt +++ b/parser/testdata/02313_cross_join_dup_col_names/explain.txt @@ -12,7 +12,7 @@ SelectWithUnionQuery (children 1) SelectQuery (children 1) ExpressionList (children 1) Literal NULL - TablesInSelectQueryElement (children 1) + TablesInSelectQueryElement (children 2) TableExpression (children 1) Subquery (alias s2) (children 1) SelectWithUnionQuery (children 1) @@ -25,3 +25,4 @@ SelectWithUnionQuery (children 1) Function count (children 1) ExpressionList (children 1) Literal UInt64_1 + TableJoin diff --git a/parser/testdata/02313_negative_datetime64/explain.txt b/parser/testdata/02313_negative_datetime64/explain.txt new file mode 100644 index 0000000000..dbc2235f18 --- /dev/null +++ b/parser/testdata/02313_negative_datetime64/explain.txt @@ -0,0 +1,46 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function toDateTime64 (alias dt1) (children 1) + ExpressionList (children 3) + Literal \'1959-09-16 19:20:12.999999998\' + Literal UInt64_9 + Literal \'UTC\' + Function toDateTime64 (alias dt2) (children 1) + ExpressionList (children 3) + Literal \'1959-09-16 19:20:12.999999999\' + Literal UInt64_9 + Literal \'UTC\' + ExpressionList (children 4) + Function less (children 1) + ExpressionList (children 2) + Identifier dt1 + Identifier dt2 + Function equals (children 1) + ExpressionList (children 2) + Function plus (children 1) + ExpressionList (children 2) + Identifier dt1 + Function toIntervalNanosecond (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Identifier dt2 + Function greater (children 1) + ExpressionList (children 2) + Function plus (children 1) + ExpressionList (children 2) + Identifier dt1 + Function toIntervalNanosecond (children 1) + ExpressionList (children 1) + Literal UInt64_2 + Identifier dt2 + Function greater (children 1) + ExpressionList (children 2) + Function plus (children 1) + ExpressionList (children 2) + Identifier dt1 + Function toIntervalNanosecond (children 1) + ExpressionList (children 1) + Literal UInt64_3 + Identifier dt2 diff --git a/parser/testdata/02316_expressions_with_window_functions/explain.txt b/parser/testdata/02316_expressions_with_window_functions/explain.txt index 43097be670..3cec102e63 100644 --- a/parser/testdata/02316_expressions_with_window_functions/explain.txt +++ b/parser/testdata/02316_expressions_with_window_functions/explain.txt @@ -1,17 +1,20 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) - SelectQuery (children 1) + SelectQuery (children 3) ExpressionList (children 2) Identifier number Function plus (children 1) ExpressionList (children 2) Literal UInt64_1 - Function sum (children 2) + Function sum (children 1) ExpressionList (children 1) Identifier number - WindowDefinition (children 1) - ExpressionList (children 1) - Function modulo (children 1) - ExpressionList (children 2) - Identifier number - Literal UInt64_10 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_100 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier number diff --git a/parser/testdata/02317_distinct_in_order_optimization/explain_89.txt b/parser/testdata/02317_distinct_in_order_optimization/explain_89.txt new file mode 100644 index 0000000000..5cc3b88d4a --- /dev/null +++ b/parser/testdata/02317_distinct_in_order_optimization/explain_89.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier sorting_key_contain_function diff --git a/parser/testdata/02317_distinct_in_order_optimization/explain_90.txt b/parser/testdata/02317_distinct_in_order_optimization/explain_90.txt new file mode 100644 index 0000000000..5cc3b88d4a --- /dev/null +++ b/parser/testdata/02317_distinct_in_order_optimization/explain_90.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier sorting_key_contain_function diff --git a/parser/testdata/02317_functions_with_nothing/explain.txt b/parser/testdata/02317_functions_with_nothing/explain.txt index caccf67207..ace55b3e52 100644 --- a/parser/testdata/02317_functions_with_nothing/explain.txt +++ b/parser/testdata/02317_functions_with_nothing/explain.txt @@ -8,4 +8,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) Function array (children 1) ExpressionList -The query succeeded but the server error '43' was expected (query: EXPLAIN AST SELECT JSONExtractKeysAndValuesRaw(arrayJoin([])); -- {serverError ILLEGAL_TYPE_OF_ARGUMENT}). diff --git a/parser/testdata/02317_like_with_trailing_escape/explain_3.txt b/parser/testdata/02317_like_with_trailing_escape/explain_3.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02317_like_with_trailing_escape/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02319_dict_get_check_arguments_size/explain_11.txt b/parser/testdata/02319_dict_get_check_arguments_size/explain_11.txt new file mode 100644 index 0000000000..89c04319e2 --- /dev/null +++ b/parser/testdata/02319_dict_get_check_arguments_size/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dictionary_source_table diff --git a/parser/testdata/02319_dict_get_check_arguments_size/explain_3.txt b/parser/testdata/02319_dict_get_check_arguments_size/explain_3.txt new file mode 100644 index 0000000000..89c04319e2 --- /dev/null +++ b/parser/testdata/02319_dict_get_check_arguments_size/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dictionary_source_table diff --git a/parser/testdata/02322_sql_insert_format/explain_3.txt b/parser/testdata/02322_sql_insert_format/explain_3.txt index 558a3ede40..aa172381a3 100644 --- a/parser/testdata/02322_sql_insert_format/explain_3.txt +++ b/parser/testdata/02322_sql_insert_format/explain_3.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 3) Identifier number (alias x) Function modulo (alias y) (children 1) @@ -14,6 +14,5 @@ SelectWithUnionQuery (children 3) Function numbers (children 1) ExpressionList (children 1) Literal UInt64_5 - Set Identifier SQLInsert Set diff --git a/parser/testdata/02322_sql_insert_format/explain_4.txt b/parser/testdata/02322_sql_insert_format/explain_4.txt index 558a3ede40..aa172381a3 100644 --- a/parser/testdata/02322_sql_insert_format/explain_4.txt +++ b/parser/testdata/02322_sql_insert_format/explain_4.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 3) Identifier number (alias x) Function modulo (alias y) (children 1) @@ -14,6 +14,5 @@ SelectWithUnionQuery (children 3) Function numbers (children 1) ExpressionList (children 1) Literal UInt64_5 - Set Identifier SQLInsert Set diff --git a/parser/testdata/02322_sql_insert_format/explain_5.txt b/parser/testdata/02322_sql_insert_format/explain_5.txt index 558a3ede40..aa172381a3 100644 --- a/parser/testdata/02322_sql_insert_format/explain_5.txt +++ b/parser/testdata/02322_sql_insert_format/explain_5.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 3) Identifier number (alias x) Function modulo (alias y) (children 1) @@ -14,6 +14,5 @@ SelectWithUnionQuery (children 3) Function numbers (children 1) ExpressionList (children 1) Literal UInt64_5 - Set Identifier SQLInsert Set diff --git a/parser/testdata/02322_sql_insert_format/explain_6.txt b/parser/testdata/02322_sql_insert_format/explain_6.txt index 558a3ede40..aa172381a3 100644 --- a/parser/testdata/02322_sql_insert_format/explain_6.txt +++ b/parser/testdata/02322_sql_insert_format/explain_6.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 3) Identifier number (alias x) Function modulo (alias y) (children 1) @@ -14,6 +14,5 @@ SelectWithUnionQuery (children 3) Function numbers (children 1) ExpressionList (children 1) Literal UInt64_5 - Set Identifier SQLInsert Set diff --git a/parser/testdata/02322_sql_insert_format/explain_7.txt b/parser/testdata/02322_sql_insert_format/explain_7.txt index 558a3ede40..aa172381a3 100644 --- a/parser/testdata/02322_sql_insert_format/explain_7.txt +++ b/parser/testdata/02322_sql_insert_format/explain_7.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 3) Identifier number (alias x) Function modulo (alias y) (children 1) @@ -14,6 +14,5 @@ SelectWithUnionQuery (children 3) Function numbers (children 1) ExpressionList (children 1) Literal UInt64_5 - Set Identifier SQLInsert Set diff --git a/parser/testdata/02322_sql_insert_format/explain_8.txt b/parser/testdata/02322_sql_insert_format/explain_8.txt index 558a3ede40..aa172381a3 100644 --- a/parser/testdata/02322_sql_insert_format/explain_8.txt +++ b/parser/testdata/02322_sql_insert_format/explain_8.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 3) Identifier number (alias x) Function modulo (alias y) (children 1) @@ -14,6 +14,5 @@ SelectWithUnionQuery (children 3) Function numbers (children 1) ExpressionList (children 1) Literal UInt64_5 - Set Identifier SQLInsert Set diff --git a/parser/testdata/02336_sort_optimization_with_fill/explain.txt b/parser/testdata/02336_sort_optimization_with_fill/explain.txt new file mode 100644 index 0000000000..ef493ce824 --- /dev/null +++ b/parser/testdata/02336_sort_optimization_with_fill/explain.txt @@ -0,0 +1,30 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Identifier x + Identifier s + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Literal UInt64_5 (alias x) + Literal \'Hello\' (alias s) + ExpressionList (children 1) + OrderByElement (children 3) + Identifier x + Literal UInt64_1 + Literal UInt64_10 + ExpressionList (children 1) + InterpolateElement (column s) (children 1) + Function concat (children 1) + ExpressionList (children 2) + Identifier s + Literal \'A\' + ExpressionList (children 1) + OrderByElement (children 1) + Identifier s diff --git a/parser/testdata/02337_analyzer_columns_basic/explain_13.txt b/parser/testdata/02337_analyzer_columns_basic/explain_13.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02337_analyzer_columns_basic/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02337_analyzer_columns_basic/explain_43.txt b/parser/testdata/02337_analyzer_columns_basic/explain_43.txt new file mode 100644 index 0000000000..fdf691197e --- /dev/null +++ b/parser/testdata/02337_analyzer_columns_basic/explain_43.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 02337_db + Identifier test_table diff --git a/parser/testdata/02337_check_translate_qualified_names_matcher/explain_2.txt b/parser/testdata/02337_check_translate_qualified_names_matcher/explain_2.txt new file mode 100644 index 0000000000..faeea9134e --- /dev/null +++ b/parser/testdata/02337_check_translate_qualified_names_matcher/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nested_name_tuples diff --git a/parser/testdata/02337_join_analyze_stuck/explain.txt b/parser/testdata/02337_join_analyze_stuck/explain.txt new file mode 100644 index 0000000000..61f50dfe23 --- /dev/null +++ b/parser/testdata/02337_join_analyze_stuck/explain.txt @@ -0,0 +1,80 @@ +Explain EXPLAIN SYNTAX (children 2) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 2) + WithElement (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + WithElement (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Literal UInt64_1 (alias xx) + TablesInSelectQuery (children 10) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier x + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier x (alias d1) + TableJoin + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier x (alias d2) + TableJoin + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier x (alias d3) + TableJoin + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier x (alias d4) + TableJoin + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier x (alias d5) + TableJoin + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier x (alias d6) + TableJoin + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier x (alias d7) + TableJoin + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier x (alias d8) + TableJoin + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier x (alias d9) + TableJoin + Function equals (children 1) + ExpressionList (children 2) + Identifier x.number + Identifier d9.number + ExpressionList (children 1) + Identifier xx + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier cross_sales + Function equals (children 1) + ExpressionList (children 2) + Identifier xx + Literal UInt64_2000 + Identifier Null diff --git a/parser/testdata/02339_analyzer_matcher_basic/explain_13.txt b/parser/testdata/02339_analyzer_matcher_basic/explain_13.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02339_analyzer_matcher_basic/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02339_analyzer_matcher_basic/explain_43.txt b/parser/testdata/02339_analyzer_matcher_basic/explain_43.txt new file mode 100644 index 0000000000..55548445b9 --- /dev/null +++ b/parser/testdata/02339_analyzer_matcher_basic/explain_43.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 02339_db + Identifier test_table diff --git a/parser/testdata/02340_analyzer_functions/explain_9.txt b/parser/testdata/02340_analyzer_functions/explain_9.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02340_analyzer_functions/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02341_analyzer_aliases_basics/explain_13.txt b/parser/testdata/02341_analyzer_aliases_basics/explain_13.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02341_analyzer_aliases_basics/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02341_global_join_cte/explain.txt b/parser/testdata/02341_global_join_cte/explain.txt index 240d506f93..3330cd06dd 100644 --- a/parser/testdata/02341_global_join_cte/explain.txt +++ b/parser/testdata/02341_global_join_cte/explain.txt @@ -57,4 +57,3 @@ SelectWithUnionQuery (children 1) OrderByElement (children 1) Identifier rhs.d2 Set -The query succeeded but the server error '206' was expected (query: EXPLAIN AST with rhs as (select * from remote('127.{1,2}', view(select dummy d1, dummy d2 from system.one))) select lhs.d2 from remote('127.{1,2}', view(select dummy d1, dummy d2 from system.one)) lhs global join rhs using (d1) order by rhs.d2 settings enable_analyzer=0; -- { serverError ALIAS_REQUIRED }). diff --git a/parser/testdata/02342_analyzer_compound_types/explain_12.txt b/parser/testdata/02342_analyzer_compound_types/explain_12.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02342_analyzer_compound_types/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02342_analyzer_compound_types/explain_59.txt b/parser/testdata/02342_analyzer_compound_types/explain_59.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02342_analyzer_compound_types/explain_59.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02343_analyzer_column_transformers_strict/explain_4.txt b/parser/testdata/02343_analyzer_column_transformers_strict/explain_4.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02343_analyzer_column_transformers_strict/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02343_analyzer_lambdas/explain_22.txt b/parser/testdata/02343_analyzer_lambdas/explain_22.txt new file mode 100644 index 0000000000..697c7f620d --- /dev/null +++ b/parser/testdata/02343_analyzer_lambdas/explain_22.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_tuple diff --git a/parser/testdata/02343_analyzer_lambdas/explain_4.txt b/parser/testdata/02343_analyzer_lambdas/explain_4.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02343_analyzer_lambdas/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02343_group_by_use_nulls/explain_10.txt b/parser/testdata/02343_group_by_use_nulls/explain_10.txt new file mode 100644 index 0000000000..e41e8c2547 --- /dev/null +++ b/parser/testdata/02343_group_by_use_nulls/explain_10.txt @@ -0,0 +1,34 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 3) + Identifier number + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + Function sum (alias val) (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + ExpressionList (children 2) + ExpressionList (children 1) + Identifier number + ExpressionList (children 1) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + ExpressionList (children 2) + OrderByElement (children 1) + Literal UInt64_1 + OrderByElement (children 1) + Function tuple (children 1) + ExpressionList (children 1) + Identifier val + Set diff --git a/parser/testdata/02344_analyzer_multiple_aliases_for_expression/explain_4.txt b/parser/testdata/02344_analyzer_multiple_aliases_for_expression/explain_4.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02344_analyzer_multiple_aliases_for_expression/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02345_analyzer_subqueries/explain_4.txt b/parser/testdata/02345_analyzer_subqueries/explain_4.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02345_analyzer_subqueries/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02345_implicit_transaction/explain_45.txt b/parser/testdata/02345_implicit_transaction/explain_45.txt index 07f8c08038..f3233a8bbc 100644 --- a/parser/testdata/02345_implicit_transaction/explain_45.txt +++ b/parser/testdata/02345_implicit_transaction/explain_45.txt @@ -1,8 +1,7 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 2) + SelectQuery (children 1) ExpressionList (children 1) Literal \'Looking_at_transaction_id_False\' - Set Identifier Null Set diff --git a/parser/testdata/02345_implicit_transaction/explain_46.txt b/parser/testdata/02345_implicit_transaction/explain_46.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02345_implicit_transaction/explain_46.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02346_additional_filters/explain_44.txt b/parser/testdata/02346_additional_filters/explain_44.txt new file mode 100644 index 0000000000..b6e5f884ed --- /dev/null +++ b/parser/testdata/02346_additional_filters/explain_44.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_2 diff --git a/parser/testdata/02346_additional_filters/explain_7.txt b/parser/testdata/02346_additional_filters/explain_7.txt new file mode 100644 index 0000000000..cc51f0614a --- /dev/null +++ b/parser/testdata/02346_additional_filters/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_1 diff --git a/parser/testdata/02346_additional_filters_distr/explain_7.txt b/parser/testdata/02346_additional_filters_distr/explain_7.txt new file mode 100644 index 0000000000..4d753a684f --- /dev/null +++ b/parser/testdata/02346_additional_filters_distr/explain_7.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier shard_0 + Identifier data_02346 diff --git a/parser/testdata/02346_additional_filters_distr/explain_9.txt b/parser/testdata/02346_additional_filters_distr/explain_9.txt new file mode 100644 index 0000000000..cc8bcabf75 --- /dev/null +++ b/parser/testdata/02346_additional_filters_distr/explain_9.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier shard_1 + Identifier data_02346 diff --git a/parser/testdata/02346_additional_filters_index/explain_2.txt b/parser/testdata/02346_additional_filters_index/explain_2.txt new file mode 100644 index 0000000000..cc51f0614a --- /dev/null +++ b/parser/testdata/02346_additional_filters_index/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_1 diff --git a/parser/testdata/02346_exclude_materialize_skip_indexes_on_insert/explain_34.txt b/parser/testdata/02346_exclude_materialize_skip_indexes_on_insert/explain_34.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02346_exclude_materialize_skip_indexes_on_insert/explain_34.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02346_exclude_materialize_skip_indexes_on_insert/explain_62.txt b/parser/testdata/02346_exclude_materialize_skip_indexes_on_insert/explain_62.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02346_exclude_materialize_skip_indexes_on_insert/explain_62.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02346_non_negative_derivative/explain_3.txt b/parser/testdata/02346_non_negative_derivative/explain_3.txt new file mode 100644 index 0000000000..e0ae5eee4c --- /dev/null +++ b/parser/testdata/02346_non_negative_derivative/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nnd diff --git a/parser/testdata/02346_non_negative_derivative/explain_4.txt b/parser/testdata/02346_non_negative_derivative/explain_4.txt new file mode 100644 index 0000000000..e0ae5eee4c --- /dev/null +++ b/parser/testdata/02346_non_negative_derivative/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nnd diff --git a/parser/testdata/02346_position_countsubstrings_zero_byte/explain_10.txt b/parser/testdata/02346_position_countsubstrings_zero_byte/explain_10.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02346_position_countsubstrings_zero_byte/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02346_position_countsubstrings_zero_byte/explain_3.txt b/parser/testdata/02346_position_countsubstrings_zero_byte/explain_3.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02346_position_countsubstrings_zero_byte/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02346_text_index_bug47393/explain_4.txt b/parser/testdata/02346_text_index_bug47393/explain_4.txt new file mode 100644 index 0000000000..b5a5d88e5f --- /dev/null +++ b/parser/testdata/02346_text_index_bug47393/explain_4.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier tab + ExpressionList (children 1) + Identifier str diff --git a/parser/testdata/02346_text_index_bug54541/explain_4.txt b/parser/testdata/02346_text_index_bug54541/explain_4.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02346_text_index_bug54541/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02346_text_index_bug62681/explain_4.txt b/parser/testdata/02346_text_index_bug62681/explain_4.txt new file mode 100644 index 0000000000..b5a5d88e5f --- /dev/null +++ b/parser/testdata/02346_text_index_bug62681/explain_4.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier tab + ExpressionList (children 1) + Identifier str diff --git a/parser/testdata/02346_text_index_bug84805/explain_5.txt b/parser/testdata/02346_text_index_bug84805/explain_5.txt new file mode 100644 index 0000000000..b5a5d88e5f --- /dev/null +++ b/parser/testdata/02346_text_index_bug84805/explain_5.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier tab + ExpressionList (children 1) + Identifier str diff --git a/parser/testdata/02346_text_index_bug84805/explain_9.txt b/parser/testdata/02346_text_index_bug84805/explain_9.txt new file mode 100644 index 0000000000..b5a5d88e5f --- /dev/null +++ b/parser/testdata/02346_text_index_bug84805/explain_9.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier tab + ExpressionList (children 1) + Identifier str diff --git a/parser/testdata/02346_text_index_bug87887/explain_7.txt b/parser/testdata/02346_text_index_bug87887/explain_7.txt new file mode 100644 index 0000000000..1d7b34349f --- /dev/null +++ b/parser/testdata/02346_text_index_bug87887/explain_7.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier tab + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/02346_text_index_coalescingmergetree/explain_5.txt b/parser/testdata/02346_text_index_coalescingmergetree/explain_5.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02346_text_index_coalescingmergetree/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02346_text_index_coalescingmergetree/explain_6.txt b/parser/testdata/02346_text_index_coalescingmergetree/explain_6.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02346_text_index_coalescingmergetree/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02346_text_index_collapsingmergetree/explain_4.txt b/parser/testdata/02346_text_index_collapsingmergetree/explain_4.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02346_text_index_collapsingmergetree/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02346_text_index_collapsingmergetree/explain_5.txt b/parser/testdata/02346_text_index_collapsingmergetree/explain_5.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02346_text_index_collapsingmergetree/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02346_text_index_creation/explain_122.txt b/parser/testdata/02346_text_index_creation/explain_122.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02346_text_index_creation/explain_122.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02346_text_index_creation/explain_127.txt b/parser/testdata/02346_text_index_creation/explain_127.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02346_text_index_creation/explain_127.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02346_text_index_creation/explain_132.txt b/parser/testdata/02346_text_index_creation/explain_132.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02346_text_index_creation/explain_132.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02346_text_index_creation/explain_137.txt b/parser/testdata/02346_text_index_creation/explain_137.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02346_text_index_creation/explain_137.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02346_text_index_detach_attach/explain_3.txt b/parser/testdata/02346_text_index_detach_attach/explain_3.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02346_text_index_detach_attach/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02346_text_index_dictionary_cache/explain_16.txt b/parser/testdata/02346_text_index_dictionary_cache/explain_16.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02346_text_index_dictionary_cache/explain_16.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02346_text_index_dictionary_cache/explain_20.txt b/parser/testdata/02346_text_index_dictionary_cache/explain_20.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02346_text_index_dictionary_cache/explain_20.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02346_text_index_dictionary_cache/explain_24.txt b/parser/testdata/02346_text_index_dictionary_cache/explain_24.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02346_text_index_dictionary_cache/explain_24.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02346_text_index_dictionary_cache/explain_30.txt b/parser/testdata/02346_text_index_dictionary_cache/explain_30.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02346_text_index_dictionary_cache/explain_30.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02346_text_index_dictionary_cache/explain_36.txt b/parser/testdata/02346_text_index_dictionary_cache/explain_36.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02346_text_index_dictionary_cache/explain_36.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02346_text_index_dictionary_cache/explain_40.txt b/parser/testdata/02346_text_index_dictionary_cache/explain_40.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02346_text_index_dictionary_cache/explain_40.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02346_text_index_dictionary_frontcoding/explain_4.txt b/parser/testdata/02346_text_index_dictionary_frontcoding/explain_4.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02346_text_index_dictionary_frontcoding/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02346_text_index_direct_read/explain_10.txt b/parser/testdata/02346_text_index_direct_read/explain_10.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02346_text_index_direct_read/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02346_text_index_direct_read/explain_19.txt b/parser/testdata/02346_text_index_direct_read/explain_19.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02346_text_index_direct_read/explain_19.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02346_text_index_direct_read_crash/explain_5.txt b/parser/testdata/02346_text_index_direct_read_crash/explain_5.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02346_text_index_direct_read_crash/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02346_text_index_direct_read_crash/explain_9.txt b/parser/testdata/02346_text_index_direct_read_crash/explain_9.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02346_text_index_direct_read_crash/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02346_text_index_direct_read_with_query_condition_cache/explain_6.txt b/parser/testdata/02346_text_index_direct_read_with_query_condition_cache/explain_6.txt new file mode 100644 index 0000000000..e1ff77dc57 --- /dev/null +++ b/parser/testdata/02346_text_index_direct_read_with_query_condition_cache/explain_6.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier tab + ExpressionList (children 2) + Identifier id + Identifier message diff --git a/parser/testdata/02346_text_index_function_hasAnyAllTokens/explain_115.txt b/parser/testdata/02346_text_index_function_hasAnyAllTokens/explain_115.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02346_text_index_function_hasAnyAllTokens/explain_115.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02346_text_index_function_hasAnyAllTokens/explain_140.txt b/parser/testdata/02346_text_index_function_hasAnyAllTokens/explain_140.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02346_text_index_function_hasAnyAllTokens/explain_140.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02346_text_index_function_hasAnyAllTokens/explain_168.txt b/parser/testdata/02346_text_index_function_hasAnyAllTokens/explain_168.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02346_text_index_function_hasAnyAllTokens/explain_168.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02346_text_index_function_hasAnyAllTokens/explain_185.txt b/parser/testdata/02346_text_index_function_hasAnyAllTokens/explain_185.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02346_text_index_function_hasAnyAllTokens/explain_185.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02346_text_index_function_hasAnyAllTokens/explain_196.txt b/parser/testdata/02346_text_index_function_hasAnyAllTokens/explain_196.txt new file mode 100644 index 0000000000..e1ff77dc57 --- /dev/null +++ b/parser/testdata/02346_text_index_function_hasAnyAllTokens/explain_196.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier tab + ExpressionList (children 2) + Identifier id + Identifier message diff --git a/parser/testdata/02346_text_index_function_hasAnyAllTokens/explain_217.txt b/parser/testdata/02346_text_index_function_hasAnyAllTokens/explain_217.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02346_text_index_function_hasAnyAllTokens/explain_217.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02346_text_index_function_hasAnyAllTokens/explain_232.txt b/parser/testdata/02346_text_index_function_hasAnyAllTokens/explain_232.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02346_text_index_function_hasAnyAllTokens/explain_232.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02346_text_index_function_hasAnyAllTokens/explain_248.txt b/parser/testdata/02346_text_index_function_hasAnyAllTokens/explain_248.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02346_text_index_function_hasAnyAllTokens/explain_248.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02346_text_index_function_hasAnyAllTokens/explain_328.txt b/parser/testdata/02346_text_index_function_hasAnyAllTokens/explain_328.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02346_text_index_function_hasAnyAllTokens/explain_328.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02346_text_index_function_hasAnyAllTokens/explain_67.txt b/parser/testdata/02346_text_index_function_hasAnyAllTokens/explain_67.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02346_text_index_function_hasAnyAllTokens/explain_67.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02346_text_index_function_hasAnyAllTokens/explain_7.txt b/parser/testdata/02346_text_index_function_hasAnyAllTokens/explain_7.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02346_text_index_function_hasAnyAllTokens/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02346_text_index_function_hasAnyAllTokens/explain_78.txt b/parser/testdata/02346_text_index_function_hasAnyAllTokens/explain_78.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02346_text_index_function_hasAnyAllTokens/explain_78.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02346_text_index_function_hasAnyAllTokens/explain_86.txt b/parser/testdata/02346_text_index_function_hasAnyAllTokens/explain_86.txt new file mode 100644 index 0000000000..e1ff77dc57 --- /dev/null +++ b/parser/testdata/02346_text_index_function_hasAnyAllTokens/explain_86.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier tab + ExpressionList (children 2) + Identifier id + Identifier message diff --git a/parser/testdata/02346_text_index_function_hasAnyAllTokens_partially_materialized/explain_10.txt b/parser/testdata/02346_text_index_function_hasAnyAllTokens_partially_materialized/explain_10.txt new file mode 100644 index 0000000000..e1ff77dc57 --- /dev/null +++ b/parser/testdata/02346_text_index_function_hasAnyAllTokens_partially_materialized/explain_10.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier tab + ExpressionList (children 2) + Identifier id + Identifier message diff --git a/parser/testdata/02346_text_index_function_hasAnyAllTokens_partially_materialized/explain_12.txt b/parser/testdata/02346_text_index_function_hasAnyAllTokens_partially_materialized/explain_12.txt new file mode 100644 index 0000000000..e1ff77dc57 --- /dev/null +++ b/parser/testdata/02346_text_index_function_hasAnyAllTokens_partially_materialized/explain_12.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier tab + ExpressionList (children 2) + Identifier id + Identifier message diff --git a/parser/testdata/02346_text_index_function_hasAnyAllTokens_partially_materialized/explain_25.txt b/parser/testdata/02346_text_index_function_hasAnyAllTokens_partially_materialized/explain_25.txt new file mode 100644 index 0000000000..e1ff77dc57 --- /dev/null +++ b/parser/testdata/02346_text_index_function_hasAnyAllTokens_partially_materialized/explain_25.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier tab + ExpressionList (children 2) + Identifier id + Identifier message diff --git a/parser/testdata/02346_text_index_function_hasAnyAllTokens_partially_materialized/explain_27.txt b/parser/testdata/02346_text_index_function_hasAnyAllTokens_partially_materialized/explain_27.txt new file mode 100644 index 0000000000..e1ff77dc57 --- /dev/null +++ b/parser/testdata/02346_text_index_function_hasAnyAllTokens_partially_materialized/explain_27.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier tab + ExpressionList (children 2) + Identifier id + Identifier message diff --git a/parser/testdata/02346_text_index_functions_with_empty_needle/explain_4.txt b/parser/testdata/02346_text_index_functions_with_empty_needle/explain_4.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02346_text_index_functions_with_empty_needle/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02346_text_index_header_cache/explain_16.txt b/parser/testdata/02346_text_index_header_cache/explain_16.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02346_text_index_header_cache/explain_16.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02346_text_index_header_cache/explain_20.txt b/parser/testdata/02346_text_index_header_cache/explain_20.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02346_text_index_header_cache/explain_20.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02346_text_index_header_cache/explain_26.txt b/parser/testdata/02346_text_index_header_cache/explain_26.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02346_text_index_header_cache/explain_26.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02346_text_index_header_cache/explain_32.txt b/parser/testdata/02346_text_index_header_cache/explain_32.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02346_text_index_header_cache/explain_32.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02346_text_index_header_cache/explain_36.txt b/parser/testdata/02346_text_index_header_cache/explain_36.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02346_text_index_header_cache/explain_36.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02346_text_index_map_support/explain_168.txt b/parser/testdata/02346_text_index_map_support/explain_168.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02346_text_index_map_support/explain_168.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02346_text_index_map_support/explain_169.txt b/parser/testdata/02346_text_index_map_support/explain_169.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02346_text_index_map_support/explain_169.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02346_text_index_map_support/explain_6.txt b/parser/testdata/02346_text_index_map_support/explain_6.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02346_text_index_map_support/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02346_text_index_map_support/explain_7.txt b/parser/testdata/02346_text_index_map_support/explain_7.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02346_text_index_map_support/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02346_text_index_match_predicate/explain_4.txt b/parser/testdata/02346_text_index_match_predicate/explain_4.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02346_text_index_match_predicate/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02346_text_index_on_lower_column/explain_16.txt b/parser/testdata/02346_text_index_on_lower_column/explain_16.txt new file mode 100644 index 0000000000..007bb0d1ea --- /dev/null +++ b/parser/testdata/02346_text_index_on_lower_column/explain_16.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier tab + ExpressionList (children 1) + Identifier text diff --git a/parser/testdata/02346_text_index_on_lower_column/explain_7.txt b/parser/testdata/02346_text_index_on_lower_column/explain_7.txt new file mode 100644 index 0000000000..007bb0d1ea --- /dev/null +++ b/parser/testdata/02346_text_index_on_lower_column/explain_7.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier tab + ExpressionList (children 1) + Identifier text diff --git a/parser/testdata/02346_text_index_parallel_replicas/explain_18.txt b/parser/testdata/02346_text_index_parallel_replicas/explain_18.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02346_text_index_parallel_replicas/explain_18.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02346_text_index_part_format/explain_7.txt b/parser/testdata/02346_text_index_part_format/explain_7.txt new file mode 100644 index 0000000000..2cc28d85ec --- /dev/null +++ b/parser/testdata/02346_text_index_part_format/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab_compact_full diff --git a/parser/testdata/02346_text_index_part_format/explain_8.txt b/parser/testdata/02346_text_index_part_format/explain_8.txt new file mode 100644 index 0000000000..62fd0c581d --- /dev/null +++ b/parser/testdata/02346_text_index_part_format/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab_wide_full diff --git a/parser/testdata/02346_text_index_postings_cache/explain_17.txt b/parser/testdata/02346_text_index_postings_cache/explain_17.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02346_text_index_postings_cache/explain_17.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02346_text_index_postings_cache/explain_21.txt b/parser/testdata/02346_text_index_postings_cache/explain_21.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02346_text_index_postings_cache/explain_21.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02346_text_index_postings_cache/explain_25.txt b/parser/testdata/02346_text_index_postings_cache/explain_25.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02346_text_index_postings_cache/explain_25.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02346_text_index_postings_cache/explain_29.txt b/parser/testdata/02346_text_index_postings_cache/explain_29.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02346_text_index_postings_cache/explain_29.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02346_text_index_postings_cache/explain_35.txt b/parser/testdata/02346_text_index_postings_cache/explain_35.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02346_text_index_postings_cache/explain_35.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02346_text_index_postings_cache/explain_41.txt b/parser/testdata/02346_text_index_postings_cache/explain_41.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02346_text_index_postings_cache/explain_41.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02346_text_index_postings_cache/explain_45.txt b/parser/testdata/02346_text_index_postings_cache/explain_45.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02346_text_index_postings_cache/explain_45.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02346_text_index_prefetch/explain_13.txt b/parser/testdata/02346_text_index_prefetch/explain_13.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02346_text_index_prefetch/explain_13.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02346_text_index_preprocessor/explain_17.txt b/parser/testdata/02346_text_index_preprocessor/explain_17.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02346_text_index_preprocessor/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02346_text_index_preprocessor/explain_29.txt b/parser/testdata/02346_text_index_preprocessor/explain_29.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02346_text_index_preprocessor/explain_29.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02346_text_index_preprocessor/explain_7.txt b/parser/testdata/02346_text_index_preprocessor/explain_7.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02346_text_index_preprocessor/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02346_text_index_queries/explain_12.txt b/parser/testdata/02346_text_index_queries/explain_12.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02346_text_index_queries/explain_12.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02346_text_index_queries/explain_15.txt b/parser/testdata/02346_text_index_queries/explain_15.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02346_text_index_queries/explain_15.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02346_text_index_queries/explain_18.txt b/parser/testdata/02346_text_index_queries/explain_18.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02346_text_index_queries/explain_18.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02346_text_index_queries/explain_23.txt b/parser/testdata/02346_text_index_queries/explain_23.txt new file mode 100644 index 0000000000..ebcf203270 --- /dev/null +++ b/parser/testdata/02346_text_index_queries/explain_23.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab_x diff --git a/parser/testdata/02346_text_index_queries/explain_26.txt b/parser/testdata/02346_text_index_queries/explain_26.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02346_text_index_queries/explain_26.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02346_text_index_queries/explain_29.txt b/parser/testdata/02346_text_index_queries/explain_29.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02346_text_index_queries/explain_29.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02346_text_index_queries/explain_34.txt b/parser/testdata/02346_text_index_queries/explain_34.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02346_text_index_queries/explain_34.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02346_text_index_queries/explain_35.txt b/parser/testdata/02346_text_index_queries/explain_35.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02346_text_index_queries/explain_35.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02346_text_index_queries/explain_40.txt b/parser/testdata/02346_text_index_queries/explain_40.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02346_text_index_queries/explain_40.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02346_text_index_queries/explain_45.txt b/parser/testdata/02346_text_index_queries/explain_45.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02346_text_index_queries/explain_45.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02346_text_index_queries/explain_48.txt b/parser/testdata/02346_text_index_queries/explain_48.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02346_text_index_queries/explain_48.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02346_text_index_queries/explain_53.txt b/parser/testdata/02346_text_index_queries/explain_53.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02346_text_index_queries/explain_53.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02346_text_index_queries/explain_56.txt b/parser/testdata/02346_text_index_queries/explain_56.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02346_text_index_queries/explain_56.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02346_text_index_queries/explain_61.txt b/parser/testdata/02346_text_index_queries/explain_61.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02346_text_index_queries/explain_61.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02346_text_index_queries/explain_64.txt b/parser/testdata/02346_text_index_queries/explain_64.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02346_text_index_queries/explain_64.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02346_text_index_queries/explain_8.txt b/parser/testdata/02346_text_index_queries/explain_8.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02346_text_index_queries/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02346_text_index_replacingmergetree/explain_5.txt b/parser/testdata/02346_text_index_replacingmergetree/explain_5.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02346_text_index_replacingmergetree/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02346_text_index_replacingmergetree/explain_6.txt b/parser/testdata/02346_text_index_replacingmergetree/explain_6.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02346_text_index_replacingmergetree/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02346_text_index_summingmergetree/explain_5.txt b/parser/testdata/02346_text_index_summingmergetree/explain_5.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02346_text_index_summingmergetree/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02346_text_index_summingmergetree/explain_6.txt b/parser/testdata/02346_text_index_summingmergetree/explain_6.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02346_text_index_summingmergetree/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02350_views_max_insert_threads/explain_6.txt b/parser/testdata/02350_views_max_insert_threads/explain_6.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02350_views_max_insert_threads/explain_6.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02352_lightweight_delete_in_partition/explain_11.txt b/parser/testdata/02352_lightweight_delete_in_partition/explain_11.txt new file mode 100644 index 0000000000..e5f8d93573 --- /dev/null +++ b/parser/testdata/02352_lightweight_delete_in_partition/explain_11.txt @@ -0,0 +1,8 @@ +DeleteQuery t_merge_tree (children 3) + Partition (children 1) + Literal \'2024-08-01\' + Function equals (children 1) + ExpressionList (children 2) + Identifier id + Literal \'1\' + Identifier t_merge_tree diff --git a/parser/testdata/02352_lightweight_delete_in_partition/explain_12.txt b/parser/testdata/02352_lightweight_delete_in_partition/explain_12.txt new file mode 100644 index 0000000000..1231e36096 --- /dev/null +++ b/parser/testdata/02352_lightweight_delete_in_partition/explain_12.txt @@ -0,0 +1,8 @@ +DeleteQuery t_replicated_merge_tree (children 3) + Partition (children 1) + Literal \'2024-08-01\' + Function equals (children 1) + ExpressionList (children 2) + Identifier id + Literal \'1\' + Identifier t_replicated_merge_tree diff --git a/parser/testdata/02353_partition_prune_nullable_key/explain_3.txt b/parser/testdata/02353_partition_prune_nullable_key/explain_3.txt new file mode 100644 index 0000000000..d3ce4ed651 --- /dev/null +++ b/parser/testdata/02353_partition_prune_nullable_key/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier n diff --git a/parser/testdata/02354_distributed_with_external_aggregation_memory_usage/explain_6.txt b/parser/testdata/02354_distributed_with_external_aggregation_memory_usage/explain_6.txt index 811f8d59ca..3f760ee947 100644 --- a/parser/testdata/02354_distributed_with_external_aggregation_memory_usage/explain_6.txt +++ b/parser/testdata/02354_distributed_with_external_aggregation_memory_usage/explain_6.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 4) + SelectQuery (children 3) ExpressionList (children 4) Identifier a Identifier b @@ -21,6 +21,5 @@ SelectWithUnionQuery (children 3) Identifier a Identifier b Identifier c - Set Identifier Null Set diff --git a/parser/testdata/02354_vector_search_and_other_skipping_indexes/explain_3.txt b/parser/testdata/02354_vector_search_and_other_skipping_indexes/explain_3.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02354_vector_search_and_other_skipping_indexes/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02354_vector_search_binary_quantization/explain_20.txt b/parser/testdata/02354_vector_search_binary_quantization/explain_20.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02354_vector_search_binary_quantization/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02354_vector_search_binary_quantization/explain_22.txt b/parser/testdata/02354_vector_search_binary_quantization/explain_22.txt new file mode 100644 index 0000000000..4d5b0e3b5b --- /dev/null +++ b/parser/testdata/02354_vector_search_binary_quantization/explain_22.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 1) + Identifier id + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tab + ExpressionList (children 1) + OrderByElement (children 1) + Function cosineDistance (children 1) + ExpressionList (children 2) + Identifier vec + Literal Array_[Float64_-0.25, Float64_0.25, Float64_0.1, Float64_0.1, Float64_0.9, Float64_0.9, Float64_0.9, Float64_0.9] + Literal UInt64_1 + Set diff --git a/parser/testdata/02354_vector_search_binary_quantization/explain_24.txt b/parser/testdata/02354_vector_search_binary_quantization/explain_24.txt new file mode 100644 index 0000000000..4d5b0e3b5b --- /dev/null +++ b/parser/testdata/02354_vector_search_binary_quantization/explain_24.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 1) + Identifier id + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tab + ExpressionList (children 1) + OrderByElement (children 1) + Function cosineDistance (children 1) + ExpressionList (children 2) + Identifier vec + Literal Array_[Float64_-0.25, Float64_0.25, Float64_0.1, Float64_0.1, Float64_0.9, Float64_0.9, Float64_0.9, Float64_0.9] + Literal UInt64_1 + Set diff --git a/parser/testdata/02354_vector_search_choose_correct_index/explain_4.txt b/parser/testdata/02354_vector_search_choose_correct_index/explain_4.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02354_vector_search_choose_correct_index/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02354_vector_search_detach_attach/explain_3.txt b/parser/testdata/02354_vector_search_detach_attach/explain_3.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02354_vector_search_detach_attach/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02354_vector_search_different_array_sizes/explain_3.txt b/parser/testdata/02354_vector_search_different_array_sizes/explain_3.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02354_vector_search_different_array_sizes/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02354_vector_search_different_array_sizes/explain_4.txt b/parser/testdata/02354_vector_search_different_array_sizes/explain_4.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02354_vector_search_different_array_sizes/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02354_vector_search_drop_table_clear_cache/explain_4.txt b/parser/testdata/02354_vector_search_drop_table_clear_cache/explain_4.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02354_vector_search_drop_table_clear_cache/explain_4.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02354_vector_search_drop_table_clear_cache/explain_6.txt b/parser/testdata/02354_vector_search_drop_table_clear_cache/explain_6.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02354_vector_search_drop_table_clear_cache/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02354_vector_search_empty_arrays_or_default_values/explain_3.txt b/parser/testdata/02354_vector_search_empty_arrays_or_default_values/explain_3.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02354_vector_search_empty_arrays_or_default_values/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02354_vector_search_empty_arrays_or_default_values/explain_4.txt b/parser/testdata/02354_vector_search_empty_arrays_or_default_values/explain_4.txt new file mode 100644 index 0000000000..7a83258072 --- /dev/null +++ b/parser/testdata/02354_vector_search_empty_arrays_or_default_values/explain_4.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier tab + ExpressionList (children 1) + Identifier id diff --git a/parser/testdata/02354_vector_search_expansion_search/explain_4.txt b/parser/testdata/02354_vector_search_expansion_search/explain_4.txt new file mode 100644 index 0000000000..c71a9cd41f --- /dev/null +++ b/parser/testdata/02354_vector_search_expansion_search/explain_4.txt @@ -0,0 +1,24 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 1) + Literal Array_[Float64_0.5, Float64_0.5] (alias reference_vec) + ExpressionList (children 3) + Identifier id + Identifier vec + Function L2Distance (children 1) + ExpressionList (children 2) + Identifier vec + Identifier reference_vec + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tab + ExpressionList (children 1) + OrderByElement (children 1) + Function L2Distance (children 1) + ExpressionList (children 2) + Identifier vec + Identifier reference_vec + Literal UInt64_3 + Set diff --git a/parser/testdata/02354_vector_search_expansion_search/explain_8.txt b/parser/testdata/02354_vector_search_expansion_search/explain_8.txt new file mode 100644 index 0000000000..22a7542766 --- /dev/null +++ b/parser/testdata/02354_vector_search_expansion_search/explain_8.txt @@ -0,0 +1,20 @@ +InsertQuery (children 3) + Identifier results + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 1) + Identifier id + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tab + ExpressionList (children 1) + OrderByElement (children 1) + Function L2Distance (children 1) + ExpressionList (children 2) + Identifier vec + Literal Array_[Float64_0.5, Float64_0.5] + Literal UInt64_1 + Set + Set diff --git a/parser/testdata/02354_vector_search_part_format/explain_6.txt b/parser/testdata/02354_vector_search_part_format/explain_6.txt new file mode 100644 index 0000000000..2cc28d85ec --- /dev/null +++ b/parser/testdata/02354_vector_search_part_format/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab_compact_full diff --git a/parser/testdata/02354_vector_search_part_format/explain_7.txt b/parser/testdata/02354_vector_search_part_format/explain_7.txt new file mode 100644 index 0000000000..62fd0c581d --- /dev/null +++ b/parser/testdata/02354_vector_search_part_format/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab_wide_full diff --git a/parser/testdata/02354_vector_search_pre_and_post_filtering/explain_23.txt b/parser/testdata/02354_vector_search_pre_and_post_filtering/explain_23.txt new file mode 100644 index 0000000000..a350c747f3 --- /dev/null +++ b/parser/testdata/02354_vector_search_pre_and_post_filtering/explain_23.txt @@ -0,0 +1,27 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 1) + Identifier id + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tab + Function and (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier date + Literal \'2025-01-03\' + Function lessOrEquals (children 1) + ExpressionList (children 2) + Identifier id + Literal UInt64_9 + ExpressionList (children 1) + OrderByElement (children 1) + Function L2Distance (children 1) + ExpressionList (children 2) + Identifier vec + Literal Array_[Float64_1, Float64_1] + Literal UInt64_2 + Set diff --git a/parser/testdata/02354_vector_search_pre_and_post_filtering/explain_24.txt b/parser/testdata/02354_vector_search_pre_and_post_filtering/explain_24.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02354_vector_search_pre_and_post_filtering/explain_24.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02354_vector_search_pre_and_post_filtering/explain_29.txt b/parser/testdata/02354_vector_search_pre_and_post_filtering/explain_29.txt new file mode 100644 index 0000000000..256fb668fc --- /dev/null +++ b/parser/testdata/02354_vector_search_pre_and_post_filtering/explain_29.txt @@ -0,0 +1,27 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 1) + Identifier id + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tab + Function and (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier date + Literal \'2025-01-03\' + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Identifier attr2 + Literal UInt64_1008 + ExpressionList (children 1) + OrderByElement (children 1) + Function L2Distance (children 1) + ExpressionList (children 2) + Identifier vec + Literal Array_[Float64_1, Float64_1] + Literal UInt64_3 + Set diff --git a/parser/testdata/02354_vector_search_pre_and_post_filtering/explain_31.txt b/parser/testdata/02354_vector_search_pre_and_post_filtering/explain_31.txt new file mode 100644 index 0000000000..256fb668fc --- /dev/null +++ b/parser/testdata/02354_vector_search_pre_and_post_filtering/explain_31.txt @@ -0,0 +1,27 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 1) + Identifier id + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tab + Function and (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier date + Literal \'2025-01-03\' + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Identifier attr2 + Literal UInt64_1008 + ExpressionList (children 1) + OrderByElement (children 1) + Function L2Distance (children 1) + ExpressionList (children 2) + Identifier vec + Literal Array_[Float64_1, Float64_1] + Literal UInt64_3 + Set diff --git a/parser/testdata/02354_vector_search_pre_and_post_filtering/explain_33.txt b/parser/testdata/02354_vector_search_pre_and_post_filtering/explain_33.txt new file mode 100644 index 0000000000..256fb668fc --- /dev/null +++ b/parser/testdata/02354_vector_search_pre_and_post_filtering/explain_33.txt @@ -0,0 +1,27 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 1) + Identifier id + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tab + Function and (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier date + Literal \'2025-01-03\' + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Identifier attr2 + Literal UInt64_1008 + ExpressionList (children 1) + OrderByElement (children 1) + Function L2Distance (children 1) + ExpressionList (children 2) + Identifier vec + Literal Array_[Float64_1, Float64_1] + Literal UInt64_3 + Set diff --git a/parser/testdata/02354_vector_search_pre_and_post_filtering/explain_35.txt b/parser/testdata/02354_vector_search_pre_and_post_filtering/explain_35.txt new file mode 100644 index 0000000000..256fb668fc --- /dev/null +++ b/parser/testdata/02354_vector_search_pre_and_post_filtering/explain_35.txt @@ -0,0 +1,27 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 1) + Identifier id + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tab + Function and (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier date + Literal \'2025-01-03\' + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Identifier attr2 + Literal UInt64_1008 + ExpressionList (children 1) + OrderByElement (children 1) + Function L2Distance (children 1) + ExpressionList (children 2) + Identifier vec + Literal Array_[Float64_1, Float64_1] + Literal UInt64_3 + Set diff --git a/parser/testdata/02354_vector_search_pre_and_post_filtering/explain_5.txt b/parser/testdata/02354_vector_search_pre_and_post_filtering/explain_5.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02354_vector_search_pre_and_post_filtering/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02354_vector_search_queries/explain_10.txt b/parser/testdata/02354_vector_search_queries/explain_10.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02354_vector_search_queries/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02354_vector_search_queries/explain_17.txt b/parser/testdata/02354_vector_search_queries/explain_17.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02354_vector_search_queries/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02354_vector_search_queries/explain_21.txt b/parser/testdata/02354_vector_search_queries/explain_21.txt new file mode 100644 index 0000000000..166b0d0c35 --- /dev/null +++ b/parser/testdata/02354_vector_search_queries/explain_21.txt @@ -0,0 +1,26 @@ +Explain EXPLAIN (children 2) + Set + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 1) + Literal Array_[Float64_0, Float64_2] (alias reference_vec) + ExpressionList (children 3) + Identifier id + Identifier vec + Function cosineDistance (children 1) + ExpressionList (children 2) + Identifier vec + Identifier reference_vec + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tab + ExpressionList (children 1) + OrderByElement (children 1) + Function cosineDistance (children 1) + ExpressionList (children 2) + Identifier vec + Identifier reference_vec + Literal UInt64_3 + Set diff --git a/parser/testdata/02354_vector_search_queries/explain_4.txt b/parser/testdata/02354_vector_search_queries/explain_4.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02354_vector_search_queries/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02354_vector_search_queries/explain_44.txt b/parser/testdata/02354_vector_search_queries/explain_44.txt new file mode 100644 index 0000000000..0e99072742 --- /dev/null +++ b/parser/testdata/02354_vector_search_queries/explain_44.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab_l2_f64 diff --git a/parser/testdata/02354_vector_search_queries/explain_45.txt b/parser/testdata/02354_vector_search_queries/explain_45.txt new file mode 100644 index 0000000000..0f4145b092 --- /dev/null +++ b/parser/testdata/02354_vector_search_queries/explain_45.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab_l2_f32 diff --git a/parser/testdata/02354_vector_search_queries/explain_46.txt b/parser/testdata/02354_vector_search_queries/explain_46.txt new file mode 100644 index 0000000000..d673b38707 --- /dev/null +++ b/parser/testdata/02354_vector_search_queries/explain_46.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab_l2_f16 diff --git a/parser/testdata/02354_vector_search_queries/explain_47.txt b/parser/testdata/02354_vector_search_queries/explain_47.txt new file mode 100644 index 0000000000..be1ce27551 --- /dev/null +++ b/parser/testdata/02354_vector_search_queries/explain_47.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab_l2_bf16 diff --git a/parser/testdata/02354_vector_search_queries/explain_48.txt b/parser/testdata/02354_vector_search_queries/explain_48.txt new file mode 100644 index 0000000000..01c151853d --- /dev/null +++ b/parser/testdata/02354_vector_search_queries/explain_48.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab_l2_i8 diff --git a/parser/testdata/02354_vector_search_queries/explain_49.txt b/parser/testdata/02354_vector_search_queries/explain_49.txt new file mode 100644 index 0000000000..f060a35697 --- /dev/null +++ b/parser/testdata/02354_vector_search_queries/explain_49.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab_cos_f64 diff --git a/parser/testdata/02354_vector_search_queries/explain_50.txt b/parser/testdata/02354_vector_search_queries/explain_50.txt new file mode 100644 index 0000000000..7847a7b742 --- /dev/null +++ b/parser/testdata/02354_vector_search_queries/explain_50.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab_cos_f32 diff --git a/parser/testdata/02354_vector_search_queries/explain_51.txt b/parser/testdata/02354_vector_search_queries/explain_51.txt new file mode 100644 index 0000000000..b815a9e782 --- /dev/null +++ b/parser/testdata/02354_vector_search_queries/explain_51.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab_cos_f16 diff --git a/parser/testdata/02354_vector_search_queries/explain_52.txt b/parser/testdata/02354_vector_search_queries/explain_52.txt new file mode 100644 index 0000000000..79bc9141dd --- /dev/null +++ b/parser/testdata/02354_vector_search_queries/explain_52.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab_cos_bf16 diff --git a/parser/testdata/02354_vector_search_queries/explain_53.txt b/parser/testdata/02354_vector_search_queries/explain_53.txt new file mode 100644 index 0000000000..24389d28eb --- /dev/null +++ b/parser/testdata/02354_vector_search_queries/explain_53.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab_cos_i8 diff --git a/parser/testdata/02354_vector_search_queries/explain_86.txt b/parser/testdata/02354_vector_search_queries/explain_86.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02354_vector_search_queries/explain_86.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02354_vector_search_queries/explain_91.txt b/parser/testdata/02354_vector_search_queries/explain_91.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02354_vector_search_queries/explain_91.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02354_vector_search_reference_vector_types/explain_10.txt b/parser/testdata/02354_vector_search_reference_vector_types/explain_10.txt new file mode 100644 index 0000000000..d568e57542 --- /dev/null +++ b/parser/testdata/02354_vector_search_reference_vector_types/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab_f32 diff --git a/parser/testdata/02354_vector_search_reference_vector_types/explain_12.txt b/parser/testdata/02354_vector_search_reference_vector_types/explain_12.txt new file mode 100644 index 0000000000..0b3c7750c4 --- /dev/null +++ b/parser/testdata/02354_vector_search_reference_vector_types/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab_bf16 diff --git a/parser/testdata/02354_vector_search_reference_vector_types/explain_8.txt b/parser/testdata/02354_vector_search_reference_vector_types/explain_8.txt new file mode 100644 index 0000000000..2d6d41b513 --- /dev/null +++ b/parser/testdata/02354_vector_search_reference_vector_types/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab_f64 diff --git a/parser/testdata/02354_vector_search_rescoring/explain_10.txt b/parser/testdata/02354_vector_search_rescoring/explain_10.txt new file mode 100644 index 0000000000..aba8986fa4 --- /dev/null +++ b/parser/testdata/02354_vector_search_rescoring/explain_10.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 1) + Literal Array_[Float64_0, Float64_2] (alias reference_vec) + ExpressionList (children 1) + Identifier id + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tab + ExpressionList (children 1) + OrderByElement (children 1) + Function L2Distance (children 1) + ExpressionList (children 2) + Identifier vec + Identifier reference_vec + Literal UInt64_3 + Set diff --git a/parser/testdata/02354_vector_search_rescoring/explain_14.txt b/parser/testdata/02354_vector_search_rescoring/explain_14.txt new file mode 100644 index 0000000000..6f22456fc3 --- /dev/null +++ b/parser/testdata/02354_vector_search_rescoring/explain_14.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 1) + Literal Array_[Float64_0, Float64_2] (alias reference_vec) + ExpressionList (children 2) + Identifier id + Identifier vec + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tab + ExpressionList (children 1) + OrderByElement (children 1) + Function L2Distance (children 1) + ExpressionList (children 2) + Identifier vec + Identifier reference_vec + Literal UInt64_3 + Set diff --git a/parser/testdata/02354_vector_search_rescoring/explain_17.txt b/parser/testdata/02354_vector_search_rescoring/explain_17.txt new file mode 100644 index 0000000000..6f22456fc3 --- /dev/null +++ b/parser/testdata/02354_vector_search_rescoring/explain_17.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 1) + Literal Array_[Float64_0, Float64_2] (alias reference_vec) + ExpressionList (children 2) + Identifier id + Identifier vec + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tab + ExpressionList (children 1) + OrderByElement (children 1) + Function L2Distance (children 1) + ExpressionList (children 2) + Identifier vec + Identifier reference_vec + Literal UInt64_3 + Set diff --git a/parser/testdata/02354_vector_search_rescoring/explain_21.txt b/parser/testdata/02354_vector_search_rescoring/explain_21.txt new file mode 100644 index 0000000000..49e5838762 --- /dev/null +++ b/parser/testdata/02354_vector_search_rescoring/explain_21.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 7) + ExpressionList (children 1) + Literal Array_[Float64_1, Float64_0] (alias reference_vec) + ExpressionList (children 1) + Identifier id + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tab + Function lessOrEquals (children 1) + ExpressionList (children 2) + Identifier id + Literal UInt64_3 + ExpressionList (children 1) + OrderByElement (children 1) + Function L2Distance (children 1) + ExpressionList (children 2) + Identifier vec + Identifier reference_vec + Literal UInt64_3 + Set diff --git a/parser/testdata/02354_vector_search_rescoring/explain_22.txt b/parser/testdata/02354_vector_search_rescoring/explain_22.txt new file mode 100644 index 0000000000..cabf367ffc --- /dev/null +++ b/parser/testdata/02354_vector_search_rescoring/explain_22.txt @@ -0,0 +1,24 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 7) + ExpressionList (children 1) + Literal Array_[Float64_1, Float64_0] (alias reference_vec) + ExpressionList (children 2) + Identifier id + Identifier attr1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tab + Function greater (children 1) + ExpressionList (children 2) + Identifier id + Literal UInt64_3 + ExpressionList (children 1) + OrderByElement (children 1) + Function L2Distance (children 1) + ExpressionList (children 2) + Identifier vec + Identifier reference_vec + Literal UInt64_3 + Set diff --git a/parser/testdata/02354_vector_search_rescoring/explain_26.txt b/parser/testdata/02354_vector_search_rescoring/explain_26.txt new file mode 100644 index 0000000000..98a1de7195 --- /dev/null +++ b/parser/testdata/02354_vector_search_rescoring/explain_26.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 7) + ExpressionList (children 1) + Literal Array_[Float64_0, Float64_2] (alias reference_vec) + ExpressionList (children 1) + Identifier id + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tab + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Identifier id + Literal UInt64_0 + ExpressionList (children 1) + OrderByElement (children 1) + Function L2Distance (children 1) + ExpressionList (children 2) + Identifier vec + Identifier reference_vec + Literal UInt64_5 + Set diff --git a/parser/testdata/02354_vector_search_rescoring/explain_28.txt b/parser/testdata/02354_vector_search_rescoring/explain_28.txt new file mode 100644 index 0000000000..9da11e0017 --- /dev/null +++ b/parser/testdata/02354_vector_search_rescoring/explain_28.txt @@ -0,0 +1,24 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 7) + ExpressionList (children 1) + Literal Array_[Float64_1, Float64_0] (alias reference_vec) + ExpressionList (children 2) + Identifier id + Identifier attr1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tab + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Identifier attr1 + Literal UInt64_50 + ExpressionList (children 1) + OrderByElement (children 1) + Function L2Distance (children 1) + ExpressionList (children 2) + Identifier vec + Identifier reference_vec + Literal UInt64_5 + Set diff --git a/parser/testdata/02354_vector_search_rescoring/explain_5.txt b/parser/testdata/02354_vector_search_rescoring/explain_5.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02354_vector_search_rescoring/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02354_vector_search_rescoring/explain_7.txt b/parser/testdata/02354_vector_search_rescoring/explain_7.txt new file mode 100644 index 0000000000..aba8986fa4 --- /dev/null +++ b/parser/testdata/02354_vector_search_rescoring/explain_7.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 1) + Literal Array_[Float64_0, Float64_2] (alias reference_vec) + ExpressionList (children 1) + Identifier id + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tab + ExpressionList (children 1) + OrderByElement (children 1) + Function L2Distance (children 1) + ExpressionList (children 2) + Identifier vec + Identifier reference_vec + Literal UInt64_3 + Set diff --git a/parser/testdata/02354_vector_search_rescoring_and_prewhere/explain_12.txt b/parser/testdata/02354_vector_search_rescoring_and_prewhere/explain_12.txt new file mode 100644 index 0000000000..a113afd162 --- /dev/null +++ b/parser/testdata/02354_vector_search_rescoring_and_prewhere/explain_12.txt @@ -0,0 +1,21 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 1) + Identifier id + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tab + Function greater (children 1) + ExpressionList (children 2) + Identifier attr1 + Literal UInt64_110 + ExpressionList (children 1) + OrderByElement (children 1) + Function L2Distance (children 1) + ExpressionList (children 2) + Identifier vec + Literal Array_[Float64_0.2, Float64_0.3] + Literal UInt64_4 + Set diff --git a/parser/testdata/02354_vector_search_rescoring_and_prewhere/explain_14.txt b/parser/testdata/02354_vector_search_rescoring_and_prewhere/explain_14.txt new file mode 100644 index 0000000000..a113afd162 --- /dev/null +++ b/parser/testdata/02354_vector_search_rescoring_and_prewhere/explain_14.txt @@ -0,0 +1,21 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 1) + Identifier id + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tab + Function greater (children 1) + ExpressionList (children 2) + Identifier attr1 + Literal UInt64_110 + ExpressionList (children 1) + OrderByElement (children 1) + Function L2Distance (children 1) + ExpressionList (children 2) + Identifier vec + Literal Array_[Float64_0.2, Float64_0.3] + Literal UInt64_4 + Set diff --git a/parser/testdata/02354_vector_search_rescoring_and_prewhere/explain_5.txt b/parser/testdata/02354_vector_search_rescoring_and_prewhere/explain_5.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02354_vector_search_rescoring_and_prewhere/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02354_vector_search_rescoring_distance_in_select_list/explain_8.txt b/parser/testdata/02354_vector_search_rescoring_distance_in_select_list/explain_8.txt new file mode 100644 index 0000000000..d568e57542 --- /dev/null +++ b/parser/testdata/02354_vector_search_rescoring_distance_in_select_list/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab_f32 diff --git a/parser/testdata/02354_vector_search_rescoring_distance_in_select_list/explain_9.txt b/parser/testdata/02354_vector_search_rescoring_distance_in_select_list/explain_9.txt new file mode 100644 index 0000000000..0b3c7750c4 --- /dev/null +++ b/parser/testdata/02354_vector_search_rescoring_distance_in_select_list/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab_bf16 diff --git a/parser/testdata/02354_vector_search_subquery/explain_4.txt b/parser/testdata/02354_vector_search_subquery/explain_4.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02354_vector_search_subquery/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02354_vector_search_vector_similarity_index_cache/explain_2.txt b/parser/testdata/02354_vector_search_vector_similarity_index_cache/explain_2.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02354_vector_search_vector_similarity_index_cache/explain_2.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02354_vector_search_vector_similarity_index_cache/explain_6.txt b/parser/testdata/02354_vector_search_vector_similarity_index_cache/explain_6.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02354_vector_search_vector_similarity_index_cache/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02354_vector_search_vector_similarity_index_cache/explain_9.txt b/parser/testdata/02354_vector_search_vector_similarity_index_cache/explain_9.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02354_vector_search_vector_similarity_index_cache/explain_9.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02354_window_expression_with_aggregation_expression/explain.txt b/parser/testdata/02354_window_expression_with_aggregation_expression/explain.txt new file mode 100644 index 0000000000..18a02925f7 --- /dev/null +++ b/parser/testdata/02354_window_expression_with_aggregation_expression/explain.txt @@ -0,0 +1,37 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function divide (alias r) (children 1) + ExpressionList (children 2) + Function multiply (children 1) + ExpressionList (children 2) + Function sum (children 1) + ExpressionList (children 1) + Identifier a + Literal UInt64_100 + Function sum (children 1) + ExpressionList (children 1) + Function sum (children 1) + ExpressionList (children 1) + Identifier a + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias t) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 3) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_1 (alias a) + Literal UInt64_2 (alias b) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_3 (alias a) + Literal UInt64_4 (alias b) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_5 (alias a) + Literal UInt64_2 (alias b) + ExpressionList (children 1) + Identifier b diff --git a/parser/testdata/02356_insert_query_log_metrics/explain_3.txt b/parser/testdata/02356_insert_query_log_metrics/explain_3.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02356_insert_query_log_metrics/explain_3.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02357_file_default_value/explain.txt b/parser/testdata/02357_file_default_value/explain.txt index 5e7206f7d2..6f736e4131 100644 --- a/parser/testdata/02357_file_default_value/explain.txt +++ b/parser/testdata/02357_file_default_value/explain.txt @@ -5,4 +5,3 @@ SelectWithUnionQuery (children 1) Function file (children 1) ExpressionList (children 1) Literal \'nonexistent.txt\' -The query succeeded but the server error '107' was expected (query: EXPLAIN AST SELECT file('nonexistent.txt'); -- { serverError FILE_DOESNT_EXIST }). diff --git a/parser/testdata/02362_part_log_merge_algorithm/explain.txt b/parser/testdata/02362_part_log_merge_algorithm/explain.txt new file mode 100644 index 0000000000..3c8bc0806b --- /dev/null +++ b/parser/testdata/02362_part_log_merge_algorithm/explain.txt @@ -0,0 +1,11 @@ +CreateQuery data_horizontal (children 3) + Identifier data_horizontal + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration key (children 1) + DataType Int + Storage definition (children 3) + Function MergeTree (children 1) + ExpressionList + Identifier key + Set diff --git a/parser/testdata/02362_part_log_merge_algorithm/explain_10.txt b/parser/testdata/02362_part_log_merge_algorithm/explain_10.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02362_part_log_merge_algorithm/explain_10.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02362_part_log_merge_algorithm/explain_2.txt b/parser/testdata/02362_part_log_merge_algorithm/explain_2.txt new file mode 100644 index 0000000000..03e031738f --- /dev/null +++ b/parser/testdata/02362_part_log_merge_algorithm/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data_horizontal diff --git a/parser/testdata/02362_part_log_merge_algorithm/explain_4.txt b/parser/testdata/02362_part_log_merge_algorithm/explain_4.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02362_part_log_merge_algorithm/explain_4.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02362_part_log_merge_algorithm/explain_7.txt b/parser/testdata/02362_part_log_merge_algorithm/explain_7.txt new file mode 100644 index 0000000000..253a641272 --- /dev/null +++ b/parser/testdata/02362_part_log_merge_algorithm/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data_vertical diff --git a/parser/testdata/02362_part_log_merge_algorithm/explain_8.txt b/parser/testdata/02362_part_log_merge_algorithm/explain_8.txt new file mode 100644 index 0000000000..253a641272 --- /dev/null +++ b/parser/testdata/02362_part_log_merge_algorithm/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data_vertical diff --git a/parser/testdata/02363_mapupdate_improve/explain_3.txt b/parser/testdata/02363_mapupdate_improve/explain_3.txt new file mode 100644 index 0000000000..c4689c0abe --- /dev/null +++ b/parser/testdata/02363_mapupdate_improve/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier map_test + ExpressionList (children 1) + Identifier tags diff --git a/parser/testdata/02363_mapupdate_improve/explain_4.txt b/parser/testdata/02363_mapupdate_improve/explain_4.txt new file mode 100644 index 0000000000..c4689c0abe --- /dev/null +++ b/parser/testdata/02363_mapupdate_improve/explain_4.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier map_test + ExpressionList (children 1) + Identifier tags diff --git a/parser/testdata/02363_mapupdate_improve/explain_5.txt b/parser/testdata/02363_mapupdate_improve/explain_5.txt new file mode 100644 index 0000000000..c4689c0abe --- /dev/null +++ b/parser/testdata/02363_mapupdate_improve/explain_5.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier map_test + ExpressionList (children 1) + Identifier tags diff --git a/parser/testdata/02363_mapupdate_improve/explain_6.txt b/parser/testdata/02363_mapupdate_improve/explain_6.txt new file mode 100644 index 0000000000..c4689c0abe --- /dev/null +++ b/parser/testdata/02363_mapupdate_improve/explain_6.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier map_test + ExpressionList (children 1) + Identifier tags diff --git a/parser/testdata/02363_mapupdate_improve/explain_7.txt b/parser/testdata/02363_mapupdate_improve/explain_7.txt new file mode 100644 index 0000000000..c4689c0abe --- /dev/null +++ b/parser/testdata/02363_mapupdate_improve/explain_7.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier map_test + ExpressionList (children 1) + Identifier tags diff --git a/parser/testdata/02364_dictionary_datetime_64_attribute_crash/explain_2.txt b/parser/testdata/02364_dictionary_datetime_64_attribute_crash/explain_2.txt new file mode 100644 index 0000000000..8dbcd10a7f --- /dev/null +++ b/parser/testdata/02364_dictionary_datetime_64_attribute_crash/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dat diff --git a/parser/testdata/02364_setting_cross_to_inner_rewrite/explain_4.txt b/parser/testdata/02364_setting_cross_to_inner_rewrite/explain_4.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/02364_setting_cross_to_inner_rewrite/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/02364_setting_cross_to_inner_rewrite/explain_6.txt b/parser/testdata/02364_setting_cross_to_inner_rewrite/explain_6.txt new file mode 100644 index 0000000000..df4a687bc0 --- /dev/null +++ b/parser/testdata/02364_setting_cross_to_inner_rewrite/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2 diff --git a/parser/testdata/02364_window_case/explain.txt b/parser/testdata/02364_window_case/explain.txt index 90f632d08c..7c9172409e 100644 --- a/parser/testdata/02364_window_case/explain.txt +++ b/parser/testdata/02364_window_case/explain.txt @@ -6,10 +6,9 @@ SelectWithUnionQuery (children 1) ExpressionList (children 3) Function greater (children 1) ExpressionList (children 2) - Function sum (children 2) + Function sum (children 1) ExpressionList (children 1) Identifier number - WindowDefinition Literal UInt64_0 Function plus (children 1) ExpressionList (children 2) diff --git a/parser/testdata/02366_asof_optimize_predicate_bug_37813/explain_3.txt b/parser/testdata/02366_asof_optimize_predicate_bug_37813/explain_3.txt new file mode 100644 index 0000000000..c63d5eecf1 --- /dev/null +++ b/parser/testdata/02366_asof_optimize_predicate_bug_37813/explain_3.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 2) + Identifier c1 + Identifier c2 diff --git a/parser/testdata/02366_asof_optimize_predicate_bug_37813/explain_6.txt b/parser/testdata/02366_asof_optimize_predicate_bug_37813/explain_6.txt new file mode 100644 index 0000000000..4bf7fb04ea --- /dev/null +++ b/parser/testdata/02366_asof_optimize_predicate_bug_37813/explain_6.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier t2 + ExpressionList (children 3) + Identifier c1 + Identifier c2 + Identifier c3 diff --git a/parser/testdata/02366_decimal_agg_state_conversion/explain.txt b/parser/testdata/02366_decimal_agg_state_conversion/explain.txt new file mode 100644 index 0000000000..d28221dd99 --- /dev/null +++ b/parser/testdata/02366_decimal_agg_state_conversion/explain.txt @@ -0,0 +1,40 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function sumMerge (children 1) + ExpressionList (children 1) + Identifier y + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function CAST (alias y) (children 1) + ExpressionList (children 2) + Identifier x + Literal \'AggregateFunction(sum, Decimal(50, 10))\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayReduce (alias x) (children 1) + ExpressionList (children 2) + Literal \'sumState\' + Function array (children 1) + ExpressionList (children 2) + Function toDecimal256 (children 1) + ExpressionList (children 2) + Literal \'0.000001\' + Literal UInt64_10 + Function toDecimal256 (children 1) + ExpressionList (children 2) + Literal \'1.1\' + Literal UInt64_10 diff --git a/parser/testdata/02366_decimal_agg_state_conversion/explain_9.txt b/parser/testdata/02366_decimal_agg_state_conversion/explain_9.txt new file mode 100644 index 0000000000..757bf7b75a --- /dev/null +++ b/parser/testdata/02366_decimal_agg_state_conversion/explain_9.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier producer_02366 + ExpressionList (children 1) + Asterisk diff --git a/parser/testdata/02366_direct_dictionary_dict_has/explain_10.txt b/parser/testdata/02366_direct_dictionary_dict_has/explain_10.txt new file mode 100644 index 0000000000..1d724297c1 --- /dev/null +++ b/parser/testdata/02366_direct_dictionary_dict_has/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_lookup_table diff --git a/parser/testdata/02366_direct_dictionary_dict_has/explain_11.txt b/parser/testdata/02366_direct_dictionary_dict_has/explain_11.txt new file mode 100644 index 0000000000..1d724297c1 --- /dev/null +++ b/parser/testdata/02366_direct_dictionary_dict_has/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_lookup_table diff --git a/parser/testdata/02366_direct_dictionary_dict_has/explain_12.txt b/parser/testdata/02366_direct_dictionary_dict_has/explain_12.txt new file mode 100644 index 0000000000..1d724297c1 --- /dev/null +++ b/parser/testdata/02366_direct_dictionary_dict_has/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_lookup_table diff --git a/parser/testdata/02366_direct_dictionary_dict_has/explain_13.txt b/parser/testdata/02366_direct_dictionary_dict_has/explain_13.txt new file mode 100644 index 0000000000..1d724297c1 --- /dev/null +++ b/parser/testdata/02366_direct_dictionary_dict_has/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_lookup_table diff --git a/parser/testdata/02366_direct_dictionary_dict_has/explain_14.txt b/parser/testdata/02366_direct_dictionary_dict_has/explain_14.txt new file mode 100644 index 0000000000..1d724297c1 --- /dev/null +++ b/parser/testdata/02366_direct_dictionary_dict_has/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_lookup_table diff --git a/parser/testdata/02366_direct_dictionary_dict_has/explain_15.txt b/parser/testdata/02366_direct_dictionary_dict_has/explain_15.txt new file mode 100644 index 0000000000..1d724297c1 --- /dev/null +++ b/parser/testdata/02366_direct_dictionary_dict_has/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_lookup_table diff --git a/parser/testdata/02366_direct_dictionary_dict_has/explain_5.txt b/parser/testdata/02366_direct_dictionary_dict_has/explain_5.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02366_direct_dictionary_dict_has/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02366_direct_dictionary_dict_has/explain_6.txt b/parser/testdata/02366_direct_dictionary_dict_has/explain_6.txt new file mode 100644 index 0000000000..1d724297c1 --- /dev/null +++ b/parser/testdata/02366_direct_dictionary_dict_has/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_lookup_table diff --git a/parser/testdata/02366_direct_dictionary_dict_has/explain_7.txt b/parser/testdata/02366_direct_dictionary_dict_has/explain_7.txt new file mode 100644 index 0000000000..1d724297c1 --- /dev/null +++ b/parser/testdata/02366_direct_dictionary_dict_has/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_lookup_table diff --git a/parser/testdata/02366_direct_dictionary_dict_has/explain_8.txt b/parser/testdata/02366_direct_dictionary_dict_has/explain_8.txt new file mode 100644 index 0000000000..1d724297c1 --- /dev/null +++ b/parser/testdata/02366_direct_dictionary_dict_has/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_lookup_table diff --git a/parser/testdata/02366_direct_dictionary_dict_has/explain_9.txt b/parser/testdata/02366_direct_dictionary_dict_has/explain_9.txt new file mode 100644 index 0000000000..1d724297c1 --- /dev/null +++ b/parser/testdata/02366_direct_dictionary_dict_has/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_lookup_table diff --git a/parser/testdata/02366_explain_query_tree/explain_6.txt b/parser/testdata/02366_explain_query_tree/explain_6.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02366_explain_query_tree/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02366_kql_create_table/explain_3.txt b/parser/testdata/02366_kql_create_table/explain_3.txt new file mode 100644 index 0000000000..bf490209c8 --- /dev/null +++ b/parser/testdata/02366_kql_create_table/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier Customers diff --git a/parser/testdata/02366_kql_distinct/explain_3.txt b/parser/testdata/02366_kql_distinct/explain_3.txt new file mode 100644 index 0000000000..bf490209c8 --- /dev/null +++ b/parser/testdata/02366_kql_distinct/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier Customers diff --git a/parser/testdata/02366_kql_extend/explain_3.txt b/parser/testdata/02366_kql_extend/explain_3.txt new file mode 100644 index 0000000000..b5a8d1ae40 --- /dev/null +++ b/parser/testdata/02366_kql_extend/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier Ledger diff --git a/parser/testdata/02366_kql_func_dynamic/explain_3.txt b/parser/testdata/02366_kql_func_dynamic/explain_3.txt new file mode 100644 index 0000000000..81ca36f939 --- /dev/null +++ b/parser/testdata/02366_kql_func_dynamic/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier array_test diff --git a/parser/testdata/02366_kql_func_scalar/explain_3.txt b/parser/testdata/02366_kql_func_scalar/explain_3.txt new file mode 100644 index 0000000000..2d0a44bef6 --- /dev/null +++ b/parser/testdata/02366_kql_func_scalar/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier Bin_at_test diff --git a/parser/testdata/02366_kql_func_string/explain_3.txt b/parser/testdata/02366_kql_func_string/explain_3.txt new file mode 100644 index 0000000000..bf490209c8 --- /dev/null +++ b/parser/testdata/02366_kql_func_string/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier Customers diff --git a/parser/testdata/02366_kql_func_string/explain_6.txt b/parser/testdata/02366_kql_func_string/explain_6.txt new file mode 100644 index 0000000000..39dd799f37 --- /dev/null +++ b/parser/testdata/02366_kql_func_string/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier Versions diff --git a/parser/testdata/02366_kql_mvexpand/explain_3.txt b/parser/testdata/02366_kql_mvexpand/explain_3.txt new file mode 100644 index 0000000000..1571455c59 --- /dev/null +++ b/parser/testdata/02366_kql_mvexpand/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mv_expand_test_table diff --git a/parser/testdata/02366_kql_operator_in_sql/explain_3.txt b/parser/testdata/02366_kql_operator_in_sql/explain_3.txt new file mode 100644 index 0000000000..bf490209c8 --- /dev/null +++ b/parser/testdata/02366_kql_operator_in_sql/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier Customers diff --git a/parser/testdata/02366_kql_summarize/explain_3.txt b/parser/testdata/02366_kql_summarize/explain_3.txt new file mode 100644 index 0000000000..bf490209c8 --- /dev/null +++ b/parser/testdata/02366_kql_summarize/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier Customers diff --git a/parser/testdata/02366_kql_summarize/explain_6.txt b/parser/testdata/02366_kql_summarize/explain_6.txt new file mode 100644 index 0000000000..5447a0e2e7 --- /dev/null +++ b/parser/testdata/02366_kql_summarize/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier EventLog diff --git a/parser/testdata/02366_kql_summarize/explain_9.txt b/parser/testdata/02366_kql_summarize/explain_9.txt new file mode 100644 index 0000000000..7fed30de2b --- /dev/null +++ b/parser/testdata/02366_kql_summarize/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier Dates diff --git a/parser/testdata/02366_kql_tabular/explain_3.txt b/parser/testdata/02366_kql_tabular/explain_3.txt new file mode 100644 index 0000000000..bf490209c8 --- /dev/null +++ b/parser/testdata/02366_kql_tabular/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier Customers diff --git a/parser/testdata/02366_window_function_order_by/explain.txt b/parser/testdata/02366_window_function_order_by/explain.txt index 34011284d4..7d82b085b4 100644 --- a/parser/testdata/02366_window_function_order_by/explain.txt +++ b/parser/testdata/02366_window_function_order_by/explain.txt @@ -2,12 +2,11 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 3) ExpressionList (children 1) - Function groupArray (children 2) + Function groupArray (children 1) ExpressionList (children 1) Function tuple (children 1) ExpressionList (children 1) Identifier value - WindowDefinition TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) diff --git a/parser/testdata/02366_with_fill_date/explain.txt b/parser/testdata/02366_with_fill_date/explain.txt index f37306fea8..5f090bba1f 100644 --- a/parser/testdata/02366_with_fill_date/explain.txt +++ b/parser/testdata/02366_with_fill_date/explain.txt @@ -12,15 +12,14 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) Literal UInt64_18 ExpressionList (children 1) - OrderByElement (children 2) + OrderByElement (children 4) Identifier d1 - FillModifier (children 3) - Function toDateTime (children 1) - ExpressionList (children 1) - Literal \'2022-02-01\' - Function toDateTime (children 1) - ExpressionList (children 1) - Literal \'2022-07-01\' - Function toIntervalMonth (children 1) - ExpressionList (children 1) - Literal UInt64_1 + Function toDateTime (children 1) + ExpressionList (children 1) + Literal \'2022-02-01\' + Function toDateTime (children 1) + ExpressionList (children 1) + Literal \'2022-07-01\' + Function toIntervalMonth (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/02367_analyzer_table_alias_columns/explain_12.txt b/parser/testdata/02367_analyzer_table_alias_columns/explain_12.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02367_analyzer_table_alias_columns/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02367_analyzer_table_alias_columns/explain_4.txt b/parser/testdata/02367_analyzer_table_alias_columns/explain_4.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02367_analyzer_table_alias_columns/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02367_analyzer_table_alias_columns/explain_8.txt b/parser/testdata/02367_analyzer_table_alias_columns/explain_8.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02367_analyzer_table_alias_columns/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02369_analyzer_array_join_function/explain_20.txt b/parser/testdata/02369_analyzer_array_join_function/explain_20.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02369_analyzer_array_join_function/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02370_extractAll_regress/explain.txt b/parser/testdata/02370_extractAll_regress/explain.txt new file mode 100644 index 0000000000..bcd343167c --- /dev/null +++ b/parser/testdata/02370_extractAll_regress/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 3) + Literal \'{"a":"1","b":"2","c":"","d":"4"}{"a":"1","b":"2","c":"","d":"4"}{"a":"1","b":"2","c":"","d":"4"}{"a":"1","b":"2","c":"","d":"4"}\' (alias json) + Function extractAll (alias keys) (children 1) + ExpressionList (children 2) + Identifier json + Literal \'"([^"]*)":\' + Function extractAll (alias values) (children 1) + ExpressionList (children 2) + Identifier json + Literal \':"\\0[^"]*)"\' diff --git a/parser/testdata/02371_analyzer_join_cross/explain_10.txt b/parser/testdata/02371_analyzer_join_cross/explain_10.txt new file mode 100644 index 0000000000..d88229a7e9 --- /dev/null +++ b/parser/testdata/02371_analyzer_join_cross/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_join_1 diff --git a/parser/testdata/02371_analyzer_join_cross/explain_11.txt b/parser/testdata/02371_analyzer_join_cross/explain_11.txt new file mode 100644 index 0000000000..d88229a7e9 --- /dev/null +++ b/parser/testdata/02371_analyzer_join_cross/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_join_1 diff --git a/parser/testdata/02371_analyzer_join_cross/explain_12.txt b/parser/testdata/02371_analyzer_join_cross/explain_12.txt new file mode 100644 index 0000000000..0b7b9736ad --- /dev/null +++ b/parser/testdata/02371_analyzer_join_cross/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_join_2 diff --git a/parser/testdata/02371_analyzer_join_cross/explain_13.txt b/parser/testdata/02371_analyzer_join_cross/explain_13.txt new file mode 100644 index 0000000000..0b7b9736ad --- /dev/null +++ b/parser/testdata/02371_analyzer_join_cross/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_join_2 diff --git a/parser/testdata/02371_analyzer_join_cross/explain_14.txt b/parser/testdata/02371_analyzer_join_cross/explain_14.txt new file mode 100644 index 0000000000..0b7b9736ad --- /dev/null +++ b/parser/testdata/02371_analyzer_join_cross/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_join_2 diff --git a/parser/testdata/02371_analyzer_join_cross/explain_15.txt b/parser/testdata/02371_analyzer_join_cross/explain_15.txt new file mode 100644 index 0000000000..7d9b1d45ee --- /dev/null +++ b/parser/testdata/02371_analyzer_join_cross/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_join_3 diff --git a/parser/testdata/02371_analyzer_join_cross/explain_16.txt b/parser/testdata/02371_analyzer_join_cross/explain_16.txt new file mode 100644 index 0000000000..7d9b1d45ee --- /dev/null +++ b/parser/testdata/02371_analyzer_join_cross/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_join_3 diff --git a/parser/testdata/02371_analyzer_join_cross/explain_17.txt b/parser/testdata/02371_analyzer_join_cross/explain_17.txt new file mode 100644 index 0000000000..7d9b1d45ee --- /dev/null +++ b/parser/testdata/02371_analyzer_join_cross/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_join_3 diff --git a/parser/testdata/02371_analyzer_join_cross/explain_9.txt b/parser/testdata/02371_analyzer_join_cross/explain_9.txt new file mode 100644 index 0000000000..d88229a7e9 --- /dev/null +++ b/parser/testdata/02371_analyzer_join_cross/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_join_1 diff --git a/parser/testdata/02373_analyzer_join_use_nulls/explain_10.txt b/parser/testdata/02373_analyzer_join_use_nulls/explain_10.txt new file mode 100644 index 0000000000..0b7b9736ad --- /dev/null +++ b/parser/testdata/02373_analyzer_join_use_nulls/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_join_2 diff --git a/parser/testdata/02373_analyzer_join_use_nulls/explain_11.txt b/parser/testdata/02373_analyzer_join_use_nulls/explain_11.txt new file mode 100644 index 0000000000..0b7b9736ad --- /dev/null +++ b/parser/testdata/02373_analyzer_join_use_nulls/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_join_2 diff --git a/parser/testdata/02373_analyzer_join_use_nulls/explain_12.txt b/parser/testdata/02373_analyzer_join_use_nulls/explain_12.txt new file mode 100644 index 0000000000..0b7b9736ad --- /dev/null +++ b/parser/testdata/02373_analyzer_join_use_nulls/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_join_2 diff --git a/parser/testdata/02373_analyzer_join_use_nulls/explain_7.txt b/parser/testdata/02373_analyzer_join_use_nulls/explain_7.txt new file mode 100644 index 0000000000..d88229a7e9 --- /dev/null +++ b/parser/testdata/02373_analyzer_join_use_nulls/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_join_1 diff --git a/parser/testdata/02373_analyzer_join_use_nulls/explain_8.txt b/parser/testdata/02373_analyzer_join_use_nulls/explain_8.txt new file mode 100644 index 0000000000..d88229a7e9 --- /dev/null +++ b/parser/testdata/02373_analyzer_join_use_nulls/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_join_1 diff --git a/parser/testdata/02373_analyzer_join_use_nulls/explain_9.txt b/parser/testdata/02373_analyzer_join_use_nulls/explain_9.txt new file mode 100644 index 0000000000..d88229a7e9 --- /dev/null +++ b/parser/testdata/02373_analyzer_join_use_nulls/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_join_1 diff --git a/parser/testdata/02374_analyzer_array_join/explain_4.txt b/parser/testdata/02374_analyzer_array_join/explain_4.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02374_analyzer_array_join/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02374_combine_multi_if_and_count_if_opt/explain_3.txt b/parser/testdata/02374_combine_multi_if_and_count_if_opt/explain_3.txt new file mode 100644 index 0000000000..96a5522bb4 --- /dev/null +++ b/parser/testdata/02374_combine_multi_if_and_count_if_opt/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier m diff --git a/parser/testdata/02374_in_tuple_index/explain_3.txt b/parser/testdata/02374_in_tuple_index/explain_3.txt new file mode 100644 index 0000000000..c56ec1182f --- /dev/null +++ b/parser/testdata/02374_in_tuple_index/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_in_tuple_index diff --git a/parser/testdata/02375_analyzer_union/explain_4.txt b/parser/testdata/02375_analyzer_union/explain_4.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02375_analyzer_union/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02376_analyzer_in_function_subquery/explain_4.txt b/parser/testdata/02376_analyzer_in_function_subquery/explain_4.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02376_analyzer_in_function_subquery/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02376_analyzer_in_function_subquery/explain_7.txt b/parser/testdata/02376_analyzer_in_function_subquery/explain_7.txt new file mode 100644 index 0000000000..1335dcf5d5 --- /dev/null +++ b/parser/testdata/02376_analyzer_in_function_subquery/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_for_in diff --git a/parser/testdata/02377_analyzer_in_function_set/explain_4.txt b/parser/testdata/02377_analyzer_in_function_set/explain_4.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02377_analyzer_in_function_set/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02377_analyzer_in_function_set/explain_7.txt b/parser/testdata/02377_analyzer_in_function_set/explain_7.txt new file mode 100644 index 0000000000..6ca9b1ee7d --- /dev/null +++ b/parser/testdata/02377_analyzer_in_function_set/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier special_set_table diff --git a/parser/testdata/02377_fix_file_virtual_column/explain_3.txt b/parser/testdata/02377_fix_file_virtual_column/explain_3.txt new file mode 100644 index 0000000000..dbcc3dc267 --- /dev/null +++ b/parser/testdata/02377_fix_file_virtual_column/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_02377 diff --git a/parser/testdata/02377_majority_insert_quorum_zookeeper_long/explain_10.txt b/parser/testdata/02377_majority_insert_quorum_zookeeper_long/explain_10.txt new file mode 100644 index 0000000000..a33133e256 --- /dev/null +++ b/parser/testdata/02377_majority_insert_quorum_zookeeper_long/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier quorum1 diff --git a/parser/testdata/02377_majority_insert_quorum_zookeeper_long/explain_11.txt b/parser/testdata/02377_majority_insert_quorum_zookeeper_long/explain_11.txt new file mode 100644 index 0000000000..a33133e256 --- /dev/null +++ b/parser/testdata/02377_majority_insert_quorum_zookeeper_long/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier quorum1 diff --git a/parser/testdata/02377_majority_insert_quorum_zookeeper_long/explain_12.txt b/parser/testdata/02377_majority_insert_quorum_zookeeper_long/explain_12.txt new file mode 100644 index 0000000000..a33133e256 --- /dev/null +++ b/parser/testdata/02377_majority_insert_quorum_zookeeper_long/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier quorum1 diff --git a/parser/testdata/02377_majority_insert_quorum_zookeeper_long/explain_21.txt b/parser/testdata/02377_majority_insert_quorum_zookeeper_long/explain_21.txt new file mode 100644 index 0000000000..a33133e256 --- /dev/null +++ b/parser/testdata/02377_majority_insert_quorum_zookeeper_long/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier quorum1 diff --git a/parser/testdata/02377_majority_insert_quorum_zookeeper_long/explain_31.txt b/parser/testdata/02377_majority_insert_quorum_zookeeper_long/explain_31.txt new file mode 100644 index 0000000000..a33133e256 --- /dev/null +++ b/parser/testdata/02377_majority_insert_quorum_zookeeper_long/explain_31.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier quorum1 diff --git a/parser/testdata/02377_majority_insert_quorum_zookeeper_long/explain_40.txt b/parser/testdata/02377_majority_insert_quorum_zookeeper_long/explain_40.txt new file mode 100644 index 0000000000..a33133e256 --- /dev/null +++ b/parser/testdata/02377_majority_insert_quorum_zookeeper_long/explain_40.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier quorum1 diff --git a/parser/testdata/02377_modify_column_from_nested/explain_3.txt b/parser/testdata/02377_modify_column_from_nested/explain_3.txt new file mode 100644 index 0000000000..9c23d7ac9d --- /dev/null +++ b/parser/testdata/02377_modify_column_from_nested/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_nested_modify diff --git a/parser/testdata/02377_modify_column_from_nested/explain_4.txt b/parser/testdata/02377_modify_column_from_nested/explain_4.txt new file mode 100644 index 0000000000..9c23d7ac9d --- /dev/null +++ b/parser/testdata/02377_modify_column_from_nested/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_nested_modify diff --git a/parser/testdata/02377_optimize_sorting_by_input_stream_properties/explain_4.txt b/parser/testdata/02377_optimize_sorting_by_input_stream_properties/explain_4.txt new file mode 100644 index 0000000000..f8e64bdb8a --- /dev/null +++ b/parser/testdata/02377_optimize_sorting_by_input_stream_properties/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier optimize_sorting diff --git a/parser/testdata/02377_optimize_sorting_by_input_stream_properties/explain_5.txt b/parser/testdata/02377_optimize_sorting_by_input_stream_properties/explain_5.txt new file mode 100644 index 0000000000..f8e64bdb8a --- /dev/null +++ b/parser/testdata/02377_optimize_sorting_by_input_stream_properties/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier optimize_sorting diff --git a/parser/testdata/02378_analyzer_projection_names/explain_10.txt b/parser/testdata/02378_analyzer_projection_names/explain_10.txt new file mode 100644 index 0000000000..33887e95d0 --- /dev/null +++ b/parser/testdata/02378_analyzer_projection_names/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_compound diff --git a/parser/testdata/02378_analyzer_projection_names/explain_13.txt b/parser/testdata/02378_analyzer_projection_names/explain_13.txt new file mode 100644 index 0000000000..d88229a7e9 --- /dev/null +++ b/parser/testdata/02378_analyzer_projection_names/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_join_1 diff --git a/parser/testdata/02378_analyzer_projection_names/explain_16.txt b/parser/testdata/02378_analyzer_projection_names/explain_16.txt new file mode 100644 index 0000000000..0b7b9736ad --- /dev/null +++ b/parser/testdata/02378_analyzer_projection_names/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_join_2 diff --git a/parser/testdata/02378_analyzer_projection_names/explain_19.txt b/parser/testdata/02378_analyzer_projection_names/explain_19.txt new file mode 100644 index 0000000000..7d9b1d45ee --- /dev/null +++ b/parser/testdata/02378_analyzer_projection_names/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_join_3 diff --git a/parser/testdata/02378_analyzer_projection_names/explain_5.txt b/parser/testdata/02378_analyzer_projection_names/explain_5.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02378_analyzer_projection_names/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02378_part_log_profile_events_replicated/explain_8.txt b/parser/testdata/02378_part_log_profile_events_replicated/explain_8.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02378_part_log_profile_events_replicated/explain_8.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02380_analyzer_join_sample/explain_4.txt b/parser/testdata/02380_analyzer_join_sample/explain_4.txt new file mode 100644 index 0000000000..d88229a7e9 --- /dev/null +++ b/parser/testdata/02380_analyzer_join_sample/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_join_1 diff --git a/parser/testdata/02380_analyzer_join_sample/explain_7.txt b/parser/testdata/02380_analyzer_join_sample/explain_7.txt new file mode 100644 index 0000000000..0b7b9736ad --- /dev/null +++ b/parser/testdata/02380_analyzer_join_sample/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_join_2 diff --git a/parser/testdata/02381_analyzer_join_final/explain_10.txt b/parser/testdata/02381_analyzer_join_final/explain_10.txt new file mode 100644 index 0000000000..0b7b9736ad --- /dev/null +++ b/parser/testdata/02381_analyzer_join_final/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_join_2 diff --git a/parser/testdata/02381_analyzer_join_final/explain_11.txt b/parser/testdata/02381_analyzer_join_final/explain_11.txt new file mode 100644 index 0000000000..0b7b9736ad --- /dev/null +++ b/parser/testdata/02381_analyzer_join_final/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_join_2 diff --git a/parser/testdata/02381_analyzer_join_final/explain_5.txt b/parser/testdata/02381_analyzer_join_final/explain_5.txt new file mode 100644 index 0000000000..d88229a7e9 --- /dev/null +++ b/parser/testdata/02381_analyzer_join_final/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_join_1 diff --git a/parser/testdata/02381_analyzer_join_final/explain_6.txt b/parser/testdata/02381_analyzer_join_final/explain_6.txt new file mode 100644 index 0000000000..d88229a7e9 --- /dev/null +++ b/parser/testdata/02381_analyzer_join_final/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_join_1 diff --git a/parser/testdata/02381_compress_marks_and_primary_key/explain_27.txt b/parser/testdata/02381_compress_marks_and_primary_key/explain_27.txt new file mode 100644 index 0000000000..47dc2e5cb5 --- /dev/null +++ b/parser/testdata/02381_compress_marks_and_primary_key/explain_27.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_02381_compact diff --git a/parser/testdata/02381_compress_marks_and_primary_key/explain_29.txt b/parser/testdata/02381_compress_marks_and_primary_key/explain_29.txt new file mode 100644 index 0000000000..47dc2e5cb5 --- /dev/null +++ b/parser/testdata/02381_compress_marks_and_primary_key/explain_29.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_02381_compact diff --git a/parser/testdata/02381_parse_array_of_tuples/explain_3.txt b/parser/testdata/02381_parse_array_of_tuples/explain_3.txt new file mode 100644 index 0000000000..5cb60c911d --- /dev/null +++ b/parser/testdata/02381_parse_array_of_tuples/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_parse_tuples diff --git a/parser/testdata/02382_analyzer_matcher_join_using/explain_10.txt b/parser/testdata/02382_analyzer_matcher_join_using/explain_10.txt new file mode 100644 index 0000000000..d88229a7e9 --- /dev/null +++ b/parser/testdata/02382_analyzer_matcher_join_using/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_join_1 diff --git a/parser/testdata/02382_analyzer_matcher_join_using/explain_11.txt b/parser/testdata/02382_analyzer_matcher_join_using/explain_11.txt new file mode 100644 index 0000000000..0b7b9736ad --- /dev/null +++ b/parser/testdata/02382_analyzer_matcher_join_using/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_join_2 diff --git a/parser/testdata/02382_analyzer_matcher_join_using/explain_12.txt b/parser/testdata/02382_analyzer_matcher_join_using/explain_12.txt new file mode 100644 index 0000000000..0b7b9736ad --- /dev/null +++ b/parser/testdata/02382_analyzer_matcher_join_using/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_join_2 diff --git a/parser/testdata/02382_analyzer_matcher_join_using/explain_13.txt b/parser/testdata/02382_analyzer_matcher_join_using/explain_13.txt new file mode 100644 index 0000000000..0b7b9736ad --- /dev/null +++ b/parser/testdata/02382_analyzer_matcher_join_using/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_join_2 diff --git a/parser/testdata/02382_analyzer_matcher_join_using/explain_14.txt b/parser/testdata/02382_analyzer_matcher_join_using/explain_14.txt new file mode 100644 index 0000000000..7d9b1d45ee --- /dev/null +++ b/parser/testdata/02382_analyzer_matcher_join_using/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_join_3 diff --git a/parser/testdata/02382_analyzer_matcher_join_using/explain_15.txt b/parser/testdata/02382_analyzer_matcher_join_using/explain_15.txt new file mode 100644 index 0000000000..7d9b1d45ee --- /dev/null +++ b/parser/testdata/02382_analyzer_matcher_join_using/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_join_3 diff --git a/parser/testdata/02382_analyzer_matcher_join_using/explain_16.txt b/parser/testdata/02382_analyzer_matcher_join_using/explain_16.txt new file mode 100644 index 0000000000..7d9b1d45ee --- /dev/null +++ b/parser/testdata/02382_analyzer_matcher_join_using/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_join_3 diff --git a/parser/testdata/02382_analyzer_matcher_join_using/explain_8.txt b/parser/testdata/02382_analyzer_matcher_join_using/explain_8.txt new file mode 100644 index 0000000000..d88229a7e9 --- /dev/null +++ b/parser/testdata/02382_analyzer_matcher_join_using/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_join_1 diff --git a/parser/testdata/02382_analyzer_matcher_join_using/explain_9.txt b/parser/testdata/02382_analyzer_matcher_join_using/explain_9.txt new file mode 100644 index 0000000000..d88229a7e9 --- /dev/null +++ b/parser/testdata/02382_analyzer_matcher_join_using/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_join_1 diff --git a/parser/testdata/02383_analyzer_merge_tree_self_join/explain_10.txt b/parser/testdata/02383_analyzer_merge_tree_self_join/explain_10.txt new file mode 100644 index 0000000000..0b7b9736ad --- /dev/null +++ b/parser/testdata/02383_analyzer_merge_tree_self_join/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_join_2 diff --git a/parser/testdata/02383_analyzer_merge_tree_self_join/explain_11.txt b/parser/testdata/02383_analyzer_merge_tree_self_join/explain_11.txt new file mode 100644 index 0000000000..0b7b9736ad --- /dev/null +++ b/parser/testdata/02383_analyzer_merge_tree_self_join/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_join_2 diff --git a/parser/testdata/02383_analyzer_merge_tree_self_join/explain_6.txt b/parser/testdata/02383_analyzer_merge_tree_self_join/explain_6.txt new file mode 100644 index 0000000000..d88229a7e9 --- /dev/null +++ b/parser/testdata/02383_analyzer_merge_tree_self_join/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_join_1 diff --git a/parser/testdata/02383_analyzer_merge_tree_self_join/explain_7.txt b/parser/testdata/02383_analyzer_merge_tree_self_join/explain_7.txt new file mode 100644 index 0000000000..d88229a7e9 --- /dev/null +++ b/parser/testdata/02383_analyzer_merge_tree_self_join/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_join_1 diff --git a/parser/testdata/02383_analyzer_merge_tree_self_join/explain_8.txt b/parser/testdata/02383_analyzer_merge_tree_self_join/explain_8.txt new file mode 100644 index 0000000000..d88229a7e9 --- /dev/null +++ b/parser/testdata/02383_analyzer_merge_tree_self_join/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_join_1 diff --git a/parser/testdata/02383_analyzer_merge_tree_self_join/explain_9.txt b/parser/testdata/02383_analyzer_merge_tree_self_join/explain_9.txt new file mode 100644 index 0000000000..0b7b9736ad --- /dev/null +++ b/parser/testdata/02383_analyzer_merge_tree_self_join/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_join_2 diff --git a/parser/testdata/02384_analyzer_dict_get_join_get/explain_17.txt b/parser/testdata/02384_analyzer_dict_get_join_get/explain_17.txt new file mode 100644 index 0000000000..0c2815b5f9 --- /dev/null +++ b/parser/testdata/02384_analyzer_dict_get_join_get/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_join diff --git a/parser/testdata/02384_analyzer_dict_get_join_get/explain_4.txt b/parser/testdata/02384_analyzer_dict_get_join_get/explain_4.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02384_analyzer_dict_get_join_get/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02384_decrypt_bad_arguments/explain.txt b/parser/testdata/02384_decrypt_bad_arguments/explain.txt index 745d79b4b3..68f2bfd80d 100644 --- a/parser/testdata/02384_decrypt_bad_arguments/explain.txt +++ b/parser/testdata/02384_decrypt_bad_arguments/explain.txt @@ -9,4 +9,3 @@ SelectWithUnionQuery (children 1) Literal \'text\' Literal \'key\' Literal \'IV\' -The query succeeded but the server error '43' was expected (query: EXPLAIN AST SELECT decrypt('aes-128-gcm', [1024, 65535, NULL, NULL, 9223372036854775807, 1048576, NULL], 'text', 'key', 'IV'); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }). diff --git a/parser/testdata/02385_profile_events_overflow/explain_14.txt b/parser/testdata/02385_profile_events_overflow/explain_14.txt index 1fecf6bb92..7198906d0a 100644 --- a/parser/testdata/02385_profile_events_overflow/explain_14.txt +++ b/parser/testdata/02385_profile_events_overflow/explain_14.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 4) + SelectQuery (children 3) ExpressionList (children 2) Identifier number Function count (children 1) @@ -13,6 +13,5 @@ SelectWithUnionQuery (children 3) Literal UInt64_100000 ExpressionList (children 1) Identifier number - Set Identifier Null Set diff --git a/parser/testdata/02385_profile_events_overflow/explain_4.txt b/parser/testdata/02385_profile_events_overflow/explain_4.txt index c41387340a..0f3de0162c 100644 --- a/parser/testdata/02385_profile_events_overflow/explain_4.txt +++ b/parser/testdata/02385_profile_events_overflow/explain_4.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 1) Function count (children 1) ExpressionList @@ -8,6 +8,5 @@ SelectWithUnionQuery (children 3) TablesInSelectQueryElement (children 1) TableExpression (children 1) TableIdentifier system.numbers - Set Identifier Null Set diff --git a/parser/testdata/02386_set_columns_order/explain_10.txt b/parser/testdata/02386_set_columns_order/explain_10.txt new file mode 100644 index 0000000000..23299d3459 --- /dev/null +++ b/parser/testdata/02386_set_columns_order/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier userid_set2 diff --git a/parser/testdata/02386_set_columns_order/explain_5.txt b/parser/testdata/02386_set_columns_order/explain_5.txt new file mode 100644 index 0000000000..25868316da --- /dev/null +++ b/parser/testdata/02386_set_columns_order/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier userid_set diff --git a/parser/testdata/02386_set_columns_order/explain_7.txt b/parser/testdata/02386_set_columns_order/explain_7.txt new file mode 100644 index 0000000000..b13f9e8e3d --- /dev/null +++ b/parser/testdata/02386_set_columns_order/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier userid_test diff --git a/parser/testdata/02387_analyzer_cte/explain_4.txt b/parser/testdata/02387_analyzer_cte/explain_4.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02387_analyzer_cte/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02387_parse_date_as_datetime/explain_2.txt b/parser/testdata/02387_parse_date_as_datetime/explain_2.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02387_parse_date_as_datetime/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02387_parse_date_as_datetime/explain_3.txt b/parser/testdata/02387_parse_date_as_datetime/explain_3.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02387_parse_date_as_datetime/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02387_parse_date_as_datetime/explain_7.txt b/parser/testdata/02387_parse_date_as_datetime/explain_7.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02387_parse_date_as_datetime/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02387_parse_date_as_datetime/explain_8.txt b/parser/testdata/02387_parse_date_as_datetime/explain_8.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02387_parse_date_as_datetime/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02389_analyzer_nested_lambda/explain_27.txt b/parser/testdata/02389_analyzer_nested_lambda/explain_27.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02389_analyzer_nested_lambda/explain_27.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02399_merge_tree_mutate_in_partition/explain_5.txt b/parser/testdata/02399_merge_tree_mutate_in_partition/explain_5.txt new file mode 100644 index 0000000000..31c8e6f23c --- /dev/null +++ b/parser/testdata/02399_merge_tree_mutate_in_partition/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mt diff --git a/parser/testdata/02399_merge_tree_mutate_in_partition/explain_6.txt b/parser/testdata/02399_merge_tree_mutate_in_partition/explain_6.txt new file mode 100644 index 0000000000..31c8e6f23c --- /dev/null +++ b/parser/testdata/02399_merge_tree_mutate_in_partition/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mt diff --git a/parser/testdata/02400_create_table_on_cluster_normalization/explain_4.txt b/parser/testdata/02400_create_table_on_cluster_normalization/explain_4.txt new file mode 100644 index 0000000000..79aa3922ff --- /dev/null +++ b/parser/testdata/02400_create_table_on_cluster_normalization/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier local_t_l5ydey diff --git a/parser/testdata/02400_create_table_on_cluster_normalization/explain_5.txt b/parser/testdata/02400_create_table_on_cluster_normalization/explain_5.txt new file mode 100644 index 0000000000..59999916b2 --- /dev/null +++ b/parser/testdata/02400_create_table_on_cluster_normalization/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_l5ydey diff --git a/parser/testdata/02400_memory_accounting_on_error/explain.txt b/parser/testdata/02400_memory_accounting_on_error/explain.txt index 1d20c6d93a..3226d46501 100644 --- a/parser/testdata/02400_memory_accounting_on_error/explain.txt +++ b/parser/testdata/02400_memory_accounting_on_error/explain.txt @@ -14,4 +14,3 @@ SelectWithUnionQuery (children 1) Literal UInt64_1048577 Literal UInt64_65536 Set -The query succeeded but the server error '241' was expected (query: EXPLAIN AST SELECT * FROM generateRandom('i Array(Int8)', 1, 1, 1048577) LIMIT 65536 SETTINGS max_memory_usage='1Gi', max_block_size=65505, log_queries=1; -- { serverError MEMORY_LIMIT_EXCEEDED }). diff --git a/parser/testdata/02400_memory_accounting_on_error/explain_2.txt b/parser/testdata/02400_memory_accounting_on_error/explain_2.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02400_memory_accounting_on_error/explain_2.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02402_external_disk_metrics/explain_15.txt b/parser/testdata/02402_external_disk_metrics/explain_15.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02402_external_disk_metrics/explain_15.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02402_external_disk_metrics/explain_19.txt b/parser/testdata/02402_external_disk_metrics/explain_19.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02402_external_disk_metrics/explain_19.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02403_ttl_column_multiple_times/explain_4.txt b/parser/testdata/02403_ttl_column_multiple_times/explain_4.txt new file mode 100644 index 0000000000..1dc472f5a6 --- /dev/null +++ b/parser/testdata/02403_ttl_column_multiple_times/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl_table diff --git a/parser/testdata/02404_memory_bound_merging/explain_44.txt b/parser/testdata/02404_memory_bound_merging/explain_44.txt new file mode 100644 index 0000000000..c90277372b --- /dev/null +++ b/parser/testdata/02404_memory_bound_merging/explain_44.txt @@ -0,0 +1,18 @@ +Explain EXPLAIN PIPELINE (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 7) + ExpressionList (children 1) + Identifier a + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier pr_t + ExpressionList (children 1) + Identifier a + ExpressionList (children 1) + OrderByElement (children 1) + Identifier a + Literal UInt64_500 + Literal UInt64_5 + Set diff --git a/parser/testdata/02404_memory_bound_merging/explain_45.txt b/parser/testdata/02404_memory_bound_merging/explain_45.txt new file mode 100644 index 0000000000..c90277372b --- /dev/null +++ b/parser/testdata/02404_memory_bound_merging/explain_45.txt @@ -0,0 +1,18 @@ +Explain EXPLAIN PIPELINE (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 7) + ExpressionList (children 1) + Identifier a + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier pr_t + ExpressionList (children 1) + Identifier a + ExpressionList (children 1) + OrderByElement (children 1) + Identifier a + Literal UInt64_500 + Literal UInt64_5 + Set diff --git a/parser/testdata/02405_pmj_issue_40335/explain_4.txt b/parser/testdata/02405_pmj_issue_40335/explain_4.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/02405_pmj_issue_40335/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/02405_pmj_issue_40335/explain_6.txt b/parser/testdata/02405_pmj_issue_40335/explain_6.txt new file mode 100644 index 0000000000..df4a687bc0 --- /dev/null +++ b/parser/testdata/02405_pmj_issue_40335/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2 diff --git a/parser/testdata/02405_pmj_issue_40335/explain_7.txt b/parser/testdata/02405_pmj_issue_40335/explain_7.txt new file mode 100644 index 0000000000..df4a687bc0 --- /dev/null +++ b/parser/testdata/02405_pmj_issue_40335/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2 diff --git a/parser/testdata/02407_array_element_from_map_wrong_type/explain.txt b/parser/testdata/02407_array_element_from_map_wrong_type/explain.txt index b0c875266c..bf65c5cabe 100644 --- a/parser/testdata/02407_array_element_from_map_wrong_type/explain.txt +++ b/parser/testdata/02407_array_element_from_map_wrong_type/explain.txt @@ -12,4 +12,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Literal \'key\' Literal UInt64_42 -The query succeeded but the server error '43' was expected (query: EXPLAIN AST select m[0], materialize(map('key', 42)) as m; -- {serverError ILLEGAL_TYPE_OF_ARGUMENT}). diff --git a/parser/testdata/02414_all_new_table_functions_must_be_documented/explain.txt b/parser/testdata/02414_all_new_table_functions_must_be_documented/explain.txt index 5f1a3884f7..7c93512ad4 100644 --- a/parser/testdata/02414_all_new_table_functions_must_be_documented/explain.txt +++ b/parser/testdata/02414_all_new_table_functions_must_be_documented/explain.txt @@ -16,20 +16,9 @@ SelectWithUnionQuery (children 1) Identifier description Literal UInt64_10 Function notIn (children 1) - ExpressionList (children 13) + ExpressionList (children 2) Identifier name - Literal \'cosn\' - Literal \'oss\' - Literal \'hdfs\' - Literal \'hdfsCluster\' - Literal \'hive\' - Literal \'mysql\' - Literal \'postgresql\' - Literal \'s3\' - Literal \'s3Cluster\' - Literal \'sqlite\' - Literal \'urlCluster\' - Literal \'mergeTreeParts\' + Literal Tuple_(\'cosn\', \'oss\', \'hdfs\', \'hdfsCluster\', \'hive\', \'mysql\', \'postgresql\', \'s3\', \'s3Cluster\', \'sqlite\', \'urlCluster\', \'mergeTreeParts\') ExpressionList (children 1) OrderByElement (children 1) Identifier name diff --git a/parser/testdata/02415_all_new_functions_must_be_documented/explain.txt b/parser/testdata/02415_all_new_functions_must_be_documented/explain.txt index d2a67c0aa8..09b3307fce 100644 --- a/parser/testdata/02415_all_new_functions_must_be_documented/explain.txt +++ b/parser/testdata/02415_all_new_functions_must_be_documented/explain.txt @@ -8,107 +8,28 @@ SelectWithUnionQuery (children 1) TableExpression (children 1) TableIdentifier system.functions Function and (children 1) - ExpressionList (children 2) - Function and (children 1) + ExpressionList (children 5) + Function not (children 1) + ExpressionList (children 1) + Identifier is_aggregate + Function equals (children 1) ExpressionList (children 2) - Function and (children 1) - ExpressionList (children 2) - Function and (children 1) - ExpressionList (children 2) - Function not (children 1) - ExpressionList (children 1) - Identifier is_aggregate - Function equals (children 1) - ExpressionList (children 2) - Identifier origin - Literal \'System\' - Function equals (children 1) - ExpressionList (children 2) - Identifier alias_to - Literal \'\' - Function less (children 1) - ExpressionList (children 2) - Function length (children 1) - ExpressionList (children 1) - Identifier description - Literal UInt64_10 + Identifier origin + Literal \'System\' + Function equals (children 1) + ExpressionList (children 2) + Identifier alias_to + Literal \'\' + Function less (children 1) + ExpressionList (children 2) + Function length (children 1) + ExpressionList (children 1) + Identifier description + Literal UInt64_10 Function notIn (children 1) - ExpressionList (children 75) + ExpressionList (children 2) Identifier name - Literal \'aes_decrypt_mysql\' - Literal \'aes_encrypt_mysql\' - Literal \'decrypt\' - Literal \'encrypt\' - Literal \'convertCharset\' - Literal \'detectLanguage\' - Literal \'detectLanguageMixed\' - Literal \'geoToH3\' - Literal \'h3CellAreaM2\' - Literal \'h3CellAreaRads2\' - Literal \'h3Distance\' - Literal \'h3EdgeAngle\' - Literal \'h3EdgeLengthKm\' - Literal \'h3EdgeLengthM\' - Literal \'h3ExactEdgeLengthKm\' - Literal \'h3ExactEdgeLengthM\' - Literal \'h3ExactEdgeLengthRads\' - Literal \'h3GetBaseCell\' - Literal \'h3GetDestinationIndexFromUnidirectionalEdge\' - Literal \'h3GetFaces\' - Literal \'h3GetIndexesFromUnidirectionalEdge\' - Literal \'h3GetOriginIndexFromUnidirectionalEdge\' - Literal \'h3GetPentagonIndexes\' - Literal \'h3GetRes0Indexes\' - Literal \'h3GetResolution\' - Literal \'h3GetUnidirectionalEdge\' - Literal \'h3GetUnidirectionalEdgeBoundary\' - Literal \'h3GetUnidirectionalEdgesFromHexagon\' - Literal \'h3HexAreaKm2\' - Literal \'h3HexAreaM2\' - Literal \'h3HexRing\' - Literal \'h3IndexesAreNeighbors\' - Literal \'h3IsPentagon\' - Literal \'h3IsResClassIII\' - Literal \'h3IsValid\' - Literal \'h3Line\' - Literal \'h3NumHexagons\' - Literal \'h3PointDistKm\' - Literal \'h3PointDistM\' - Literal \'h3PointDistRads\' - Literal \'h3ToCenterChild\' - Literal \'h3ToChildren\' - Literal \'h3ToGeo\' - Literal \'h3ToGeoBoundary\' - Literal \'h3ToParent\' - Literal \'h3ToString\' - Literal \'h3UnidirectionalEdgeIsValid\' - Literal \'h3kRing\' - Literal \'stringToH3\' - Literal \'geoToS2\' - Literal \'s2CapContains\' - Literal \'s2CapUnion\' - Literal \'s2CellsIntersect\' - Literal \'s2GetNeighbors\' - Literal \'s2RectAdd\' - Literal \'s2RectContains\' - Literal \'s2RectIntersection\' - Literal \'s2RectUnion\' - Literal \'s2ToGeo\' - Literal \'normalizeUTF8NFC\' - Literal \'normalizeUTF8NFD\' - Literal \'normalizeUTF8NFKC\' - Literal \'normalizeUTF8NFKD\' - Literal \'bech32Encode\' - Literal \'bech32Decode\' - Literal \'lemmatize\' - Literal \'stem\' - Literal \'synonyms\' - Literal \'kql_array_sort_asc\' - Literal \'kql_array_sort_desc\' - Literal \'detectCharset\' - Literal \'detectLanguageUnknown\' - Literal \'detectProgrammingLanguage\' - Literal \'detectTonality\' + Literal Tuple_(\'aes_decrypt_mysql\', \'aes_encrypt_mysql\', \'decrypt\', \'encrypt\', \'convertCharset\', \'detectLanguage\', \'detectLanguageMixed\', \'geoToH3\', \'h3CellAreaM2\', \'h3CellAreaRads2\', \'h3Distance\', \'h3EdgeAngle\', \'h3EdgeLengthKm\', \'h3EdgeLengthM\', \'h3ExactEdgeLengthKm\', \'h3ExactEdgeLengthM\', \'h3ExactEdgeLengthRads\', \'h3GetBaseCell\', \'h3GetDestinationIndexFromUnidirectionalEdge\', \'h3GetFaces\', \'h3GetIndexesFromUnidirectionalEdge\', \'h3GetOriginIndexFromUnidirectionalEdge\', \'h3GetPentagonIndexes\', \'h3GetRes0Indexes\', \'h3GetResolution\', \'h3GetUnidirectionalEdge\', \'h3GetUnidirectionalEdgeBoundary\', \'h3GetUnidirectionalEdgesFromHexagon\', \'h3HexAreaKm2\', \'h3HexAreaM2\', \'h3HexRing\', \'h3IndexesAreNeighbors\', \'h3IsPentagon\', \'h3IsResClassIII\', \'h3IsValid\', \'h3Line\', \'h3NumHexagons\', \'h3PointDistKm\', \'h3PointDistM\', \'h3PointDistRads\', \'h3ToCenterChild\', \'h3ToChildren\', \'h3ToGeo\', \'h3ToGeoBoundary\', \'h3ToParent\', \'h3ToString\', \'h3UnidirectionalEdgeIsValid\', \'h3kRing\', \'stringToH3\', \'geoToS2\', \'s2CapContains\', \'s2CapUnion\', \'s2CellsIntersect\', \'s2GetNeighbors\', \'s2RectAdd\', \'s2RectContains\', \'s2RectIntersection\', \'s2RectUnion\', \'s2ToGeo\', \'normalizeUTF8NFC\', \'normalizeUTF8NFD\', \'normalizeUTF8NFKC\', \'normalizeUTF8NFKD\', \'bech32Encode\', \'bech32Decode\', \'lemmatize\', \'stem\', \'synonyms\', \'kql_array_sort_asc\', \'kql_array_sort_desc\', \'detectCharset\', \'detectLanguageUnknown\', \'detectProgrammingLanguage\', \'detectTonality\') ExpressionList (children 1) OrderByElement (children 1) Identifier name diff --git a/parser/testdata/02415_all_new_functions_must_have_version_information/explain.txt b/parser/testdata/02415_all_new_functions_must_have_version_information/explain.txt index 67056870ad..74821e7559 100644 --- a/parser/testdata/02415_all_new_functions_must_have_version_information/explain.txt +++ b/parser/testdata/02415_all_new_functions_must_have_version_information/explain.txt @@ -8,134 +8,26 @@ SelectWithUnionQuery (children 1) TableExpression (children 1) TableIdentifier system.functions Function and (children 1) - ExpressionList (children 2) - Function and (children 1) + ExpressionList (children 5) + Function not (children 1) + ExpressionList (children 1) + Identifier is_aggregate + Function equals (children 1) ExpressionList (children 2) - Function and (children 1) - ExpressionList (children 2) - Function and (children 1) - ExpressionList (children 2) - Function not (children 1) - ExpressionList (children 1) - Identifier is_aggregate - Function equals (children 1) - ExpressionList (children 2) - Identifier origin - Literal \'System\' - Function equals (children 1) - ExpressionList (children 2) - Identifier alias_to - Literal \'\' - Function equals (children 1) - ExpressionList (children 2) - Identifier introduced_in - Literal \'\' + Identifier origin + Literal \'System\' + Function equals (children 1) + ExpressionList (children 2) + Identifier alias_to + Literal \'\' + Function equals (children 1) + ExpressionList (children 2) + Identifier introduced_in + Literal \'\' Function notIn (children 1) - ExpressionList (children 104) + ExpressionList (children 2) Identifier name - Literal \'aes_decrypt_mysql\' - Literal \'aes_encrypt_mysql\' - Literal \'decrypt\' - Literal \'encrypt\' - Literal \'convertCharset\' - Literal \'detectLanguage\' - Literal \'detectLanguageMixed\' - Literal \'geoToH3\' - Literal \'h3CellAreaM2\' - Literal \'h3CellAreaRads2\' - Literal \'h3Distance\' - Literal \'h3EdgeAngle\' - Literal \'h3EdgeLengthKm\' - Literal \'h3EdgeLengthM\' - Literal \'h3ExactEdgeLengthKm\' - Literal \'h3ExactEdgeLengthM\' - Literal \'h3ExactEdgeLengthRads\' - Literal \'h3GetBaseCell\' - Literal \'h3GetDestinationIndexFromUnidirectionalEdge\' - Literal \'h3GetFaces\' - Literal \'h3GetIndexesFromUnidirectionalEdge\' - Literal \'h3GetOriginIndexFromUnidirectionalEdge\' - Literal \'h3GetPentagonIndexes\' - Literal \'h3GetRes0Indexes\' - Literal \'h3GetResolution\' - Literal \'h3GetUnidirectionalEdge\' - Literal \'h3GetUnidirectionalEdgeBoundary\' - Literal \'h3GetUnidirectionalEdgesFromHexagon\' - Literal \'h3HexAreaKm2\' - Literal \'h3HexAreaM2\' - Literal \'h3HexRing\' - Literal \'h3IndexesAreNeighbors\' - Literal \'h3IsPentagon\' - Literal \'h3IsResClassIII\' - Literal \'h3IsValid\' - Literal \'h3Line\' - Literal \'h3NumHexagons\' - Literal \'h3PointDistKm\' - Literal \'h3PointDistM\' - Literal \'h3PointDistRads\' - Literal \'h3ToCenterChild\' - Literal \'h3ToChildren\' - Literal \'h3ToGeo\' - Literal \'h3ToGeoBoundary\' - Literal \'h3ToParent\' - Literal \'h3ToString\' - Literal \'h3UnidirectionalEdgeIsValid\' - Literal \'h3kRing\' - Literal \'stringToH3\' - Literal \'geoToS2\' - Literal \'s2CapContains\' - Literal \'s2CapUnion\' - Literal \'s2CellsIntersect\' - Literal \'s2GetNeighbors\' - Literal \'s2RectAdd\' - Literal \'s2RectContains\' - Literal \'s2RectIntersection\' - Literal \'s2RectUnion\' - Literal \'s2ToGeo\' - Literal \'normalizeUTF8NFC\' - Literal \'normalizeUTF8NFD\' - Literal \'normalizeUTF8NFKC\' - Literal \'normalizeUTF8NFKD\' - Literal \'lemmatize\' - Literal \'tokenize\' - Literal \'stem\' - Literal \'synonyms\' - Literal \'kql_array_sort_asc\' - Literal \'kql_array_sort_desc\' - Literal \'detectCharset\' - Literal \'detectLanguageUnknown\' - Literal \'detectProgrammingLanguage\' - Literal \'detectTonality\' - Literal \'bech32Encode\' - Literal \'bech32Decode\' - Literal \'BLAKE3\' - Literal \'JSONMergePatch\' - Literal \'MD4\' - Literal \'MD5\' - Literal \'RIPEMD160\' - Literal \'SHA1\' - Literal \'SHA224\' - Literal \'SHA256\' - Literal \'SHA384\' - Literal \'SHA512\' - Literal \'SHA512_256\' - Literal \'ULIDStringToDateTime\' - Literal \'generateULID\' - Literal \'halfMD5\' - Literal \'idnaDecode\' - Literal \'idnaEncode\' - Literal \'keccak256\' - Literal \'punycodeDecode\' - Literal \'punycodeEncode\' - Literal \'seriesPeriodDetectFFT\' - Literal \'sqidDecode\' - Literal \'sqidEncode\' - Literal \'tryDecrypt\' - Literal \'tryIdnaEncode\' - Literal \'tryPunycodeDecode\' - Literal \'uniqThetaIntersect\' - Literal \'uniqThetaNot\' - Literal \'uniqThetaUnion\' + Literal Tuple_(\'aes_decrypt_mysql\', \'aes_encrypt_mysql\', \'decrypt\', \'encrypt\', \'convertCharset\', \'detectLanguage\', \'detectLanguageMixed\', \'geoToH3\', \'h3CellAreaM2\', \'h3CellAreaRads2\', \'h3Distance\', \'h3EdgeAngle\', \'h3EdgeLengthKm\', \'h3EdgeLengthM\', \'h3ExactEdgeLengthKm\', \'h3ExactEdgeLengthM\', \'h3ExactEdgeLengthRads\', \'h3GetBaseCell\', \'h3GetDestinationIndexFromUnidirectionalEdge\', \'h3GetFaces\', \'h3GetIndexesFromUnidirectionalEdge\', \'h3GetOriginIndexFromUnidirectionalEdge\', \'h3GetPentagonIndexes\', \'h3GetRes0Indexes\', \'h3GetResolution\', \'h3GetUnidirectionalEdge\', \'h3GetUnidirectionalEdgeBoundary\', \'h3GetUnidirectionalEdgesFromHexagon\', \'h3HexAreaKm2\', \'h3HexAreaM2\', \'h3HexRing\', \'h3IndexesAreNeighbors\', \'h3IsPentagon\', \'h3IsResClassIII\', \'h3IsValid\', \'h3Line\', \'h3NumHexagons\', \'h3PointDistKm\', \'h3PointDistM\', \'h3PointDistRads\', \'h3ToCenterChild\', \'h3ToChildren\', \'h3ToGeo\', \'h3ToGeoBoundary\', \'h3ToParent\', \'h3ToString\', \'h3UnidirectionalEdgeIsValid\', \'h3kRing\', \'stringToH3\', \'geoToS2\', \'s2CapContains\', \'s2CapUnion\', \'s2CellsIntersect\', \'s2GetNeighbors\', \'s2RectAdd\', \'s2RectContains\', \'s2RectIntersection\', \'s2RectUnion\', \'s2ToGeo\', \'normalizeUTF8NFC\', \'normalizeUTF8NFD\', \'normalizeUTF8NFKC\', \'normalizeUTF8NFKD\', \'lemmatize\', \'tokenize\', \'stem\', \'synonyms\', \'kql_array_sort_asc\', \'kql_array_sort_desc\', \'detectCharset\', \'detectLanguageUnknown\', \'detectProgrammingLanguage\', \'detectTonality\', \'bech32Encode\', \'bech32Decode\', \'BLAKE3\', \'JSONMergePatch\', \'MD4\', \'MD5\', \'RIPEMD160\', \'SHA1\', \'SHA224\', \'SHA256\', \'SHA384\', \'SHA512\', \'SHA512_256\', \'ULIDStringToDateTime\', \'generateULID\', \'halfMD5\', \'idnaDecode\', \'idnaEncode\', \'keccak256\', \'punycodeDecode\', \'punycodeEncode\', \'seriesPeriodDetectFFT\', \'sqidDecode\', \'sqidEncode\', \'tryDecrypt\', \'tryIdnaEncode\', \'tryPunycodeDecode\', \'uniqThetaIntersect\', \'uniqThetaNot\', \'uniqThetaUnion\') ExpressionList (children 1) OrderByElement (children 1) Identifier name diff --git a/parser/testdata/02416_in_set_same_ast_diff_columns/explain_2.txt b/parser/testdata/02416_in_set_same_ast_diff_columns/explain_2.txt new file mode 100644 index 0000000000..0767996014 --- /dev/null +++ b/parser/testdata/02416_in_set_same_ast_diff_columns/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier set_crash diff --git a/parser/testdata/02416_rocksdb_delete_update/explain_15.txt b/parser/testdata/02416_rocksdb_delete_update/explain_15.txt new file mode 100644 index 0000000000..e93bb497ff --- /dev/null +++ b/parser/testdata/02416_rocksdb_delete_update/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02416_rocksdb diff --git a/parser/testdata/02416_rocksdb_delete_update/explain_3.txt b/parser/testdata/02416_rocksdb_delete_update/explain_3.txt new file mode 100644 index 0000000000..e93bb497ff --- /dev/null +++ b/parser/testdata/02416_rocksdb_delete_update/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02416_rocksdb diff --git a/parser/testdata/02416_row_policy_always_false_index/explain_3.txt b/parser/testdata/02416_row_policy_always_false_index/explain_3.txt new file mode 100644 index 0000000000..fded649204 --- /dev/null +++ b/parser/testdata/02416_row_policy_always_false_index/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tbl diff --git a/parser/testdata/02417_keeper_map_create_drop/explain_3.txt b/parser/testdata/02417_keeper_map_create_drop/explain_3.txt new file mode 100644 index 0000000000..5becf4901a --- /dev/null +++ b/parser/testdata/02417_keeper_map_create_drop/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02417_test diff --git a/parser/testdata/02417_keeper_map_create_drop/explain_7.txt b/parser/testdata/02417_keeper_map_create_drop/explain_7.txt new file mode 100644 index 0000000000..627b8e18b8 --- /dev/null +++ b/parser/testdata/02417_keeper_map_create_drop/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02417_test_another diff --git a/parser/testdata/02418_keeper_map_keys_limit/explain_10.txt b/parser/testdata/02418_keeper_map_keys_limit/explain_10.txt new file mode 100644 index 0000000000..d26939be0b --- /dev/null +++ b/parser/testdata/02418_keeper_map_keys_limit/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02418_test_another diff --git a/parser/testdata/02418_keeper_map_keys_limit/explain_14.txt b/parser/testdata/02418_keeper_map_keys_limit/explain_14.txt new file mode 100644 index 0000000000..c8d248c7ef --- /dev/null +++ b/parser/testdata/02418_keeper_map_keys_limit/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02418_test diff --git a/parser/testdata/02418_keeper_map_keys_limit/explain_15.txt b/parser/testdata/02418_keeper_map_keys_limit/explain_15.txt new file mode 100644 index 0000000000..c8d248c7ef --- /dev/null +++ b/parser/testdata/02418_keeper_map_keys_limit/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02418_test diff --git a/parser/testdata/02418_keeper_map_keys_limit/explain_3.txt b/parser/testdata/02418_keeper_map_keys_limit/explain_3.txt new file mode 100644 index 0000000000..c8d248c7ef --- /dev/null +++ b/parser/testdata/02418_keeper_map_keys_limit/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02418_test diff --git a/parser/testdata/02418_keeper_map_keys_limit/explain_5.txt b/parser/testdata/02418_keeper_map_keys_limit/explain_5.txt new file mode 100644 index 0000000000..c8d248c7ef --- /dev/null +++ b/parser/testdata/02418_keeper_map_keys_limit/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02418_test diff --git a/parser/testdata/02418_keeper_map_keys_limit/explain_6.txt b/parser/testdata/02418_keeper_map_keys_limit/explain_6.txt new file mode 100644 index 0000000000..c8d248c7ef --- /dev/null +++ b/parser/testdata/02418_keeper_map_keys_limit/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02418_test diff --git a/parser/testdata/02418_keeper_map_keys_limit/explain_9.txt b/parser/testdata/02418_keeper_map_keys_limit/explain_9.txt new file mode 100644 index 0000000000..c8d248c7ef --- /dev/null +++ b/parser/testdata/02418_keeper_map_keys_limit/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02418_test diff --git a/parser/testdata/02419_contingency_array_nullable/explain.txt b/parser/testdata/02419_contingency_array_nullable/explain.txt index a049583a90..6b6d25b715 100644 --- a/parser/testdata/02419_contingency_array_nullable/explain.txt +++ b/parser/testdata/02419_contingency_array_nullable/explain.txt @@ -6,4 +6,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Literal UInt64_1 Literal Array_[UInt64_1, NULL] -The query succeeded but the server error '48' was expected (query: EXPLAIN AST SELECT contingency(1, [1, NULL]); -- { serverError NOT_IMPLEMENTED }). diff --git a/parser/testdata/02420_final_setting/explain_10.txt b/parser/testdata/02420_final_setting/explain_10.txt new file mode 100644 index 0000000000..cd5275c835 --- /dev/null +++ b/parser/testdata/02420_final_setting/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier lhs diff --git a/parser/testdata/02420_final_setting/explain_11.txt b/parser/testdata/02420_final_setting/explain_11.txt new file mode 100644 index 0000000000..cd5275c835 --- /dev/null +++ b/parser/testdata/02420_final_setting/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier lhs diff --git a/parser/testdata/02420_final_setting/explain_12.txt b/parser/testdata/02420_final_setting/explain_12.txt new file mode 100644 index 0000000000..51a1ab7fb6 --- /dev/null +++ b/parser/testdata/02420_final_setting/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rhs diff --git a/parser/testdata/02420_final_setting/explain_13.txt b/parser/testdata/02420_final_setting/explain_13.txt new file mode 100644 index 0000000000..51a1ab7fb6 --- /dev/null +++ b/parser/testdata/02420_final_setting/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rhs diff --git a/parser/testdata/02420_final_setting/explain_20.txt b/parser/testdata/02420_final_setting/explain_20.txt new file mode 100644 index 0000000000..d710197f7b --- /dev/null +++ b/parser/testdata/02420_final_setting/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier regular_mt_table diff --git a/parser/testdata/02420_final_setting/explain_21.txt b/parser/testdata/02420_final_setting/explain_21.txt new file mode 100644 index 0000000000..d710197f7b --- /dev/null +++ b/parser/testdata/02420_final_setting/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier regular_mt_table diff --git a/parser/testdata/02420_final_setting/explain_3.txt b/parser/testdata/02420_final_setting/explain_3.txt new file mode 100644 index 0000000000..c6507bc0bf --- /dev/null +++ b/parser/testdata/02420_final_setting/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replacing_mt diff --git a/parser/testdata/02420_final_setting/explain_30.txt b/parser/testdata/02420_final_setting/explain_30.txt new file mode 100644 index 0000000000..a09e5420e8 --- /dev/null +++ b/parser/testdata/02420_final_setting/explain_30.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier left_table diff --git a/parser/testdata/02420_final_setting/explain_31.txt b/parser/testdata/02420_final_setting/explain_31.txt new file mode 100644 index 0000000000..a09e5420e8 --- /dev/null +++ b/parser/testdata/02420_final_setting/explain_31.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier left_table diff --git a/parser/testdata/02420_final_setting/explain_32.txt b/parser/testdata/02420_final_setting/explain_32.txt new file mode 100644 index 0000000000..a09e5420e8 --- /dev/null +++ b/parser/testdata/02420_final_setting/explain_32.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier left_table diff --git a/parser/testdata/02420_final_setting/explain_33.txt b/parser/testdata/02420_final_setting/explain_33.txt new file mode 100644 index 0000000000..fcd8f31dcc --- /dev/null +++ b/parser/testdata/02420_final_setting/explain_33.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier middle_table diff --git a/parser/testdata/02420_final_setting/explain_34.txt b/parser/testdata/02420_final_setting/explain_34.txt new file mode 100644 index 0000000000..fcd8f31dcc --- /dev/null +++ b/parser/testdata/02420_final_setting/explain_34.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier middle_table diff --git a/parser/testdata/02420_final_setting/explain_35.txt b/parser/testdata/02420_final_setting/explain_35.txt new file mode 100644 index 0000000000..8be7287f39 --- /dev/null +++ b/parser/testdata/02420_final_setting/explain_35.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier right_table diff --git a/parser/testdata/02420_final_setting/explain_36.txt b/parser/testdata/02420_final_setting/explain_36.txt new file mode 100644 index 0000000000..8be7287f39 --- /dev/null +++ b/parser/testdata/02420_final_setting/explain_36.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier right_table diff --git a/parser/testdata/02420_final_setting/explain_37.txt b/parser/testdata/02420_final_setting/explain_37.txt new file mode 100644 index 0000000000..8be7287f39 --- /dev/null +++ b/parser/testdata/02420_final_setting/explain_37.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier right_table diff --git a/parser/testdata/02420_final_setting/explain_4.txt b/parser/testdata/02420_final_setting/explain_4.txt new file mode 100644 index 0000000000..c6507bc0bf --- /dev/null +++ b/parser/testdata/02420_final_setting/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replacing_mt diff --git a/parser/testdata/02420_final_setting/explain_48.txt b/parser/testdata/02420_final_setting/explain_48.txt new file mode 100644 index 0000000000..a09e5420e8 --- /dev/null +++ b/parser/testdata/02420_final_setting/explain_48.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier left_table diff --git a/parser/testdata/02420_final_setting/explain_49.txt b/parser/testdata/02420_final_setting/explain_49.txt new file mode 100644 index 0000000000..a09e5420e8 --- /dev/null +++ b/parser/testdata/02420_final_setting/explain_49.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier left_table diff --git a/parser/testdata/02420_final_setting/explain_50.txt b/parser/testdata/02420_final_setting/explain_50.txt new file mode 100644 index 0000000000..a09e5420e8 --- /dev/null +++ b/parser/testdata/02420_final_setting/explain_50.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier left_table diff --git a/parser/testdata/02420_final_setting/explain_51.txt b/parser/testdata/02420_final_setting/explain_51.txt new file mode 100644 index 0000000000..fcd8f31dcc --- /dev/null +++ b/parser/testdata/02420_final_setting/explain_51.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier middle_table diff --git a/parser/testdata/02420_final_setting/explain_52.txt b/parser/testdata/02420_final_setting/explain_52.txt new file mode 100644 index 0000000000..fcd8f31dcc --- /dev/null +++ b/parser/testdata/02420_final_setting/explain_52.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier middle_table diff --git a/parser/testdata/02420_final_setting/explain_53.txt b/parser/testdata/02420_final_setting/explain_53.txt new file mode 100644 index 0000000000..c22e8bc7bf --- /dev/null +++ b/parser/testdata/02420_final_setting/explain_53.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier right_table_local diff --git a/parser/testdata/02420_final_setting/explain_54.txt b/parser/testdata/02420_final_setting/explain_54.txt new file mode 100644 index 0000000000..c22e8bc7bf --- /dev/null +++ b/parser/testdata/02420_final_setting/explain_54.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier right_table_local diff --git a/parser/testdata/02420_final_setting/explain_55.txt b/parser/testdata/02420_final_setting/explain_55.txt new file mode 100644 index 0000000000..c22e8bc7bf --- /dev/null +++ b/parser/testdata/02420_final_setting/explain_55.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier right_table_local diff --git a/parser/testdata/02420_final_setting/explain_68.txt b/parser/testdata/02420_final_setting/explain_68.txt new file mode 100644 index 0000000000..bd4373b7d1 --- /dev/null +++ b/parser/testdata/02420_final_setting/explain_68.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_to_merge_a diff --git a/parser/testdata/02420_final_setting/explain_69.txt b/parser/testdata/02420_final_setting/explain_69.txt new file mode 100644 index 0000000000..bd4373b7d1 --- /dev/null +++ b/parser/testdata/02420_final_setting/explain_69.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_to_merge_a diff --git a/parser/testdata/02420_final_setting/explain_70.txt b/parser/testdata/02420_final_setting/explain_70.txt new file mode 100644 index 0000000000..bd4373b7d1 --- /dev/null +++ b/parser/testdata/02420_final_setting/explain_70.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_to_merge_a diff --git a/parser/testdata/02420_final_setting/explain_71.txt b/parser/testdata/02420_final_setting/explain_71.txt new file mode 100644 index 0000000000..8abc40cbcb --- /dev/null +++ b/parser/testdata/02420_final_setting/explain_71.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_to_merge_b diff --git a/parser/testdata/02420_final_setting/explain_72.txt b/parser/testdata/02420_final_setting/explain_72.txt new file mode 100644 index 0000000000..8abc40cbcb --- /dev/null +++ b/parser/testdata/02420_final_setting/explain_72.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_to_merge_b diff --git a/parser/testdata/02420_final_setting/explain_73.txt b/parser/testdata/02420_final_setting/explain_73.txt new file mode 100644 index 0000000000..3ab959eaae --- /dev/null +++ b/parser/testdata/02420_final_setting/explain_73.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_to_merge_c diff --git a/parser/testdata/02420_final_setting/explain_74.txt b/parser/testdata/02420_final_setting/explain_74.txt new file mode 100644 index 0000000000..3ab959eaae --- /dev/null +++ b/parser/testdata/02420_final_setting/explain_74.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_to_merge_c diff --git a/parser/testdata/02420_final_setting/explain_75.txt b/parser/testdata/02420_final_setting/explain_75.txt new file mode 100644 index 0000000000..3ab959eaae --- /dev/null +++ b/parser/testdata/02420_final_setting/explain_75.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_to_merge_c diff --git a/parser/testdata/02420_final_setting_analyzer/explain_11.txt b/parser/testdata/02420_final_setting_analyzer/explain_11.txt new file mode 100644 index 0000000000..cd5275c835 --- /dev/null +++ b/parser/testdata/02420_final_setting_analyzer/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier lhs diff --git a/parser/testdata/02420_final_setting_analyzer/explain_12.txt b/parser/testdata/02420_final_setting_analyzer/explain_12.txt new file mode 100644 index 0000000000..cd5275c835 --- /dev/null +++ b/parser/testdata/02420_final_setting_analyzer/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier lhs diff --git a/parser/testdata/02420_final_setting_analyzer/explain_13.txt b/parser/testdata/02420_final_setting_analyzer/explain_13.txt new file mode 100644 index 0000000000..51a1ab7fb6 --- /dev/null +++ b/parser/testdata/02420_final_setting_analyzer/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rhs diff --git a/parser/testdata/02420_final_setting_analyzer/explain_14.txt b/parser/testdata/02420_final_setting_analyzer/explain_14.txt new file mode 100644 index 0000000000..51a1ab7fb6 --- /dev/null +++ b/parser/testdata/02420_final_setting_analyzer/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rhs diff --git a/parser/testdata/02420_final_setting_analyzer/explain_21.txt b/parser/testdata/02420_final_setting_analyzer/explain_21.txt new file mode 100644 index 0000000000..d710197f7b --- /dev/null +++ b/parser/testdata/02420_final_setting_analyzer/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier regular_mt_table diff --git a/parser/testdata/02420_final_setting_analyzer/explain_22.txt b/parser/testdata/02420_final_setting_analyzer/explain_22.txt new file mode 100644 index 0000000000..d710197f7b --- /dev/null +++ b/parser/testdata/02420_final_setting_analyzer/explain_22.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier regular_mt_table diff --git a/parser/testdata/02420_final_setting_analyzer/explain_31.txt b/parser/testdata/02420_final_setting_analyzer/explain_31.txt new file mode 100644 index 0000000000..a09e5420e8 --- /dev/null +++ b/parser/testdata/02420_final_setting_analyzer/explain_31.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier left_table diff --git a/parser/testdata/02420_final_setting_analyzer/explain_32.txt b/parser/testdata/02420_final_setting_analyzer/explain_32.txt new file mode 100644 index 0000000000..a09e5420e8 --- /dev/null +++ b/parser/testdata/02420_final_setting_analyzer/explain_32.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier left_table diff --git a/parser/testdata/02420_final_setting_analyzer/explain_33.txt b/parser/testdata/02420_final_setting_analyzer/explain_33.txt new file mode 100644 index 0000000000..a09e5420e8 --- /dev/null +++ b/parser/testdata/02420_final_setting_analyzer/explain_33.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier left_table diff --git a/parser/testdata/02420_final_setting_analyzer/explain_34.txt b/parser/testdata/02420_final_setting_analyzer/explain_34.txt new file mode 100644 index 0000000000..fcd8f31dcc --- /dev/null +++ b/parser/testdata/02420_final_setting_analyzer/explain_34.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier middle_table diff --git a/parser/testdata/02420_final_setting_analyzer/explain_35.txt b/parser/testdata/02420_final_setting_analyzer/explain_35.txt new file mode 100644 index 0000000000..fcd8f31dcc --- /dev/null +++ b/parser/testdata/02420_final_setting_analyzer/explain_35.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier middle_table diff --git a/parser/testdata/02420_final_setting_analyzer/explain_36.txt b/parser/testdata/02420_final_setting_analyzer/explain_36.txt new file mode 100644 index 0000000000..8be7287f39 --- /dev/null +++ b/parser/testdata/02420_final_setting_analyzer/explain_36.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier right_table diff --git a/parser/testdata/02420_final_setting_analyzer/explain_37.txt b/parser/testdata/02420_final_setting_analyzer/explain_37.txt new file mode 100644 index 0000000000..8be7287f39 --- /dev/null +++ b/parser/testdata/02420_final_setting_analyzer/explain_37.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier right_table diff --git a/parser/testdata/02420_final_setting_analyzer/explain_38.txt b/parser/testdata/02420_final_setting_analyzer/explain_38.txt new file mode 100644 index 0000000000..8be7287f39 --- /dev/null +++ b/parser/testdata/02420_final_setting_analyzer/explain_38.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier right_table diff --git a/parser/testdata/02420_final_setting_analyzer/explain_4.txt b/parser/testdata/02420_final_setting_analyzer/explain_4.txt new file mode 100644 index 0000000000..c6507bc0bf --- /dev/null +++ b/parser/testdata/02420_final_setting_analyzer/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replacing_mt diff --git a/parser/testdata/02420_final_setting_analyzer/explain_5.txt b/parser/testdata/02420_final_setting_analyzer/explain_5.txt new file mode 100644 index 0000000000..c6507bc0bf --- /dev/null +++ b/parser/testdata/02420_final_setting_analyzer/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replacing_mt diff --git a/parser/testdata/02420_final_setting_analyzer/explain_51.txt b/parser/testdata/02420_final_setting_analyzer/explain_51.txt new file mode 100644 index 0000000000..bd4373b7d1 --- /dev/null +++ b/parser/testdata/02420_final_setting_analyzer/explain_51.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_to_merge_a diff --git a/parser/testdata/02420_final_setting_analyzer/explain_52.txt b/parser/testdata/02420_final_setting_analyzer/explain_52.txt new file mode 100644 index 0000000000..bd4373b7d1 --- /dev/null +++ b/parser/testdata/02420_final_setting_analyzer/explain_52.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_to_merge_a diff --git a/parser/testdata/02420_final_setting_analyzer/explain_53.txt b/parser/testdata/02420_final_setting_analyzer/explain_53.txt new file mode 100644 index 0000000000..bd4373b7d1 --- /dev/null +++ b/parser/testdata/02420_final_setting_analyzer/explain_53.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_to_merge_a diff --git a/parser/testdata/02420_final_setting_analyzer/explain_54.txt b/parser/testdata/02420_final_setting_analyzer/explain_54.txt new file mode 100644 index 0000000000..8abc40cbcb --- /dev/null +++ b/parser/testdata/02420_final_setting_analyzer/explain_54.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_to_merge_b diff --git a/parser/testdata/02420_final_setting_analyzer/explain_55.txt b/parser/testdata/02420_final_setting_analyzer/explain_55.txt new file mode 100644 index 0000000000..8abc40cbcb --- /dev/null +++ b/parser/testdata/02420_final_setting_analyzer/explain_55.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_to_merge_b diff --git a/parser/testdata/02420_final_setting_analyzer/explain_56.txt b/parser/testdata/02420_final_setting_analyzer/explain_56.txt new file mode 100644 index 0000000000..3ab959eaae --- /dev/null +++ b/parser/testdata/02420_final_setting_analyzer/explain_56.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_to_merge_c diff --git a/parser/testdata/02420_final_setting_analyzer/explain_57.txt b/parser/testdata/02420_final_setting_analyzer/explain_57.txt new file mode 100644 index 0000000000..3ab959eaae --- /dev/null +++ b/parser/testdata/02420_final_setting_analyzer/explain_57.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_to_merge_c diff --git a/parser/testdata/02420_final_setting_analyzer/explain_58.txt b/parser/testdata/02420_final_setting_analyzer/explain_58.txt new file mode 100644 index 0000000000..3ab959eaae --- /dev/null +++ b/parser/testdata/02420_final_setting_analyzer/explain_58.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_to_merge_c diff --git a/parser/testdata/02421_decimal_in_precision_issue_41125/explain_3.txt b/parser/testdata/02421_decimal_in_precision_issue_41125/explain_3.txt new file mode 100644 index 0000000000..c5e44b947c --- /dev/null +++ b/parser/testdata/02421_decimal_in_precision_issue_41125/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dtest diff --git a/parser/testdata/02423_json_quote_float64/explain_2.txt b/parser/testdata/02423_json_quote_float64/explain_2.txt index 58a0566012..baadcb828d 100644 --- a/parser/testdata/02423_json_quote_float64/explain_2.txt +++ b/parser/testdata/02423_json_quote_float64/explain_2.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 2) + SelectQuery (children 1) ExpressionList (children 3) Function CAST (alias x) (children 1) ExpressionList (children 2) @@ -22,6 +22,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 2) Literal \'42.42\' Literal \'Float64\' - Set Identifier JSONEachRow Set diff --git a/parser/testdata/02423_multidimensional_array_get_data_at/explain.txt b/parser/testdata/02423_multidimensional_array_get_data_at/explain.txt index 9973a411fe..eba20d91df 100644 --- a/parser/testdata/02423_multidimensional_array_get_data_at/explain.txt +++ b/parser/testdata/02423_multidimensional_array_get_data_at/explain.txt @@ -10,4 +10,3 @@ SelectWithUnionQuery (children 1) Literal Array_[Array_[UInt64_33]] Function array (children 1) ExpressionList -The query succeeded but the server error '48' was expected (query: EXPLAIN AST SELECT formatRow('RawBLOB', [[[33]], []]); -- { serverError NOT_IMPLEMENTED }). diff --git a/parser/testdata/02424_pod_array_overflow/explain.txt b/parser/testdata/02424_pod_array_overflow/explain.txt index 1c48b5d4d8..a92c855e15 100644 --- a/parser/testdata/02424_pod_array_overflow/explain.txt +++ b/parser/testdata/02424_pod_array_overflow/explain.txt @@ -10,4 +10,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Identifier Native Literal \'k0Map(FixedString(1), Int64)\\0\\0\\0\\0\\0\\0\\0ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ\\0ÿ\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0d\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0Ï1?Vi‰%\' -The query succeeded but the server error '636' was expected (query: EXPLAIN AST SELECT * FROM format(Native, '\x02\x02\x02\x6b\x30\x1a\x4d\x61\x70\x28\x46\x69\x78\x65\x64\x53\x74\x72\x69\x6e\x67\x28\x31\x29\x2c\x20\x49\x6e\x74\x36\x34\x29\x01\x00\x00\x00\x00\x00\x00\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\x7f\x00\x7f\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x64\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xcf\x31\x3f\x56\x69\x11\x89\x25'); -- { serverError CANNOT_EXTRACT_TABLE_STRUCTURE }). diff --git a/parser/testdata/02426_pod_array_overflow_2/explain.txt b/parser/testdata/02426_pod_array_overflow_2/explain.txt index b8bdddf1a1..c7cc7c934a 100644 --- a/parser/testdata/02426_pod_array_overflow_2/explain.txt +++ b/parser/testdata/02426_pod_array_overflow_2/explain.txt @@ -10,4 +10,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Identifier Native Literal \'k0#Array(Tuple(FixedString(1), Int64))\\0\\0\\0\\0\\0\\0\\0�����\\0����������������\\0�\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0d\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0�1?Vi�%\' -The query succeeded but the server error '636' was expected (query: EXPLAIN AST SELECT * FROM format(Native, 'k0\x23Array(Tuple(FixedString(1), Int64))\0\0\0\0\0\0\0�����\0����������������\0�\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0d\0\0\0\0\0\0\0\0\0\0\0\0\0�1?Vi�%'); -- { serverError CANNOT_EXTRACT_TABLE_STRUCTURE }). diff --git a/parser/testdata/02426_pod_array_overflow_3/explain.txt b/parser/testdata/02426_pod_array_overflow_3/explain.txt index 25613bbea8..f473f629a6 100644 --- a/parser/testdata/02426_pod_array_overflow_3/explain.txt +++ b/parser/testdata/02426_pod_array_overflow_3/explain.txt @@ -10,4 +10,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Identifier Native Literal \'x\\fArray(UInt8)\\0½ï¿½ï¿½ï\' -The query succeeded but the server error '636' was expected (query: EXPLAIN AST SELECT * FROM format(Native, '\x01\x01\x01x\x0CArray(UInt8)\x01\x00\xBD\xEF\xBF\xBD\xEF\xBF\xBD\xEF'); -- { serverError CANNOT_EXTRACT_TABLE_STRUCTURE }). diff --git a/parser/testdata/02427_mutate_and_zero_copy_replication_zookeeper/explain_5.txt b/parser/testdata/02427_mutate_and_zero_copy_replication_zookeeper/explain_5.txt new file mode 100644 index 0000000000..a073e6f845 --- /dev/null +++ b/parser/testdata/02427_mutate_and_zero_copy_replication_zookeeper/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mutate_and_zero_copy_replication1 diff --git a/parser/testdata/02428_batch_nullable_assert/explain.txt b/parser/testdata/02428_batch_nullable_assert/explain.txt new file mode 100644 index 0000000000..b40928e660 --- /dev/null +++ b/parser/testdata/02428_batch_nullable_assert/explain.txt @@ -0,0 +1,65 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 3) + Function roundBankers (children 1) + ExpressionList (children 1) + Literal UInt64_100 + Literal Int64_-9223372036854775808 + Function roundBankers (children 1) + ExpressionList (children 2) + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier result + Literal UInt64_2 + Literal UInt64_256 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function studentTTest (alias result) (children 1) + ExpressionList (children 2) + Identifier sample + Identifier variant + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 2) + SelectQuery (children 3) + ExpressionList (children 2) + Function modulo (alias sample) (children 1) + ExpressionList (children 2) + Function toFloat64 (children 1) + ExpressionList (children 1) + Identifier number + Literal NULL + Literal UInt64_0 (alias variant) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_1025 + SelectQuery (children 3) + ExpressionList (children 2) + Function plus (alias sample) (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Function toFloat64 (children 1) + ExpressionList (children 1) + Identifier number + Literal UInt64_9223372036854775807 + Literal Float64_nan + Literal Int64_-9223372036854775808 (alias variant) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_1024 + Identifier CSV diff --git a/parser/testdata/02428_decimal_in_floating_point_literal/explain_3.txt b/parser/testdata/02428_decimal_in_floating_point_literal/explain_3.txt new file mode 100644 index 0000000000..c71a954510 --- /dev/null +++ b/parser/testdata/02428_decimal_in_floating_point_literal/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier decimal_in_float_test diff --git a/parser/testdata/02428_parameterized_view_param_in_select_section/explain.txt b/parser/testdata/02428_parameterized_view_param_in_select_section/explain.txt new file mode 100644 index 0000000000..80689de97c --- /dev/null +++ b/parser/testdata/02428_parameterized_view_param_in_select_section/explain.txt @@ -0,0 +1,16 @@ +CreateQuery t (children 4) + Identifier t + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration z (children 1) + DataType String + ColumnDeclaration ts (children 1) + DataType DateTime + Storage definition (children 1) + Function Memory + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal \'1\' + Literal \'2020-01-01 00:00:00\' diff --git a/parser/testdata/02430_bitmap_transform_exception_code/explain.txt b/parser/testdata/02430_bitmap_transform_exception_code/explain.txt index 6de37cbb6d..14a8f2d415 100644 --- a/parser/testdata/02430_bitmap_transform_exception_code/explain.txt +++ b/parser/testdata/02430_bitmap_transform_exception_code/explain.txt @@ -10,4 +10,3 @@ SelectWithUnionQuery (children 1) Literal Array_[UInt64_1] Literal Array_[UInt64_1, UInt64_2] Literal Array_[UInt64_1, UInt64_2, UInt64_3] -The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT bitmapTransform(arrayReduce('groupBitmapState', [1]), [1, 2], [1, 2, 3]); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/02433_default_expression_operator_in/explain_5.txt b/parser/testdata/02433_default_expression_operator_in/explain_5.txt new file mode 100644 index 0000000000..e2d14a37f1 --- /dev/null +++ b/parser/testdata/02433_default_expression_operator_in/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier id_join diff --git a/parser/testdata/02436_system_zookeeper_context/explain_3.txt b/parser/testdata/02436_system_zookeeper_context/explain_3.txt new file mode 100644 index 0000000000..31c8e6f23c --- /dev/null +++ b/parser/testdata/02436_system_zookeeper_context/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mt diff --git a/parser/testdata/02438_sync_replica_lightweight/explain_25.txt b/parser/testdata/02438_sync_replica_lightweight/explain_25.txt new file mode 100644 index 0000000000..c7fb9993d2 --- /dev/null +++ b/parser/testdata/02438_sync_replica_lightweight/explain_25.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rmt2 diff --git a/parser/testdata/02438_sync_replica_lightweight/explain_8.txt b/parser/testdata/02438_sync_replica_lightweight/explain_8.txt new file mode 100644 index 0000000000..362251ec0c --- /dev/null +++ b/parser/testdata/02438_sync_replica_lightweight/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rmt1 diff --git a/parser/testdata/02438_sync_replica_lightweight/explain_9.txt b/parser/testdata/02438_sync_replica_lightweight/explain_9.txt new file mode 100644 index 0000000000..362251ec0c --- /dev/null +++ b/parser/testdata/02438_sync_replica_lightweight/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rmt1 diff --git a/parser/testdata/02439_merge_selecting_partitions/explain_10.txt b/parser/testdata/02439_merge_selecting_partitions/explain_10.txt new file mode 100644 index 0000000000..c651852bd1 --- /dev/null +++ b/parser/testdata/02439_merge_selecting_partitions/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rmt diff --git a/parser/testdata/02439_merge_selecting_partitions/explain_11.txt b/parser/testdata/02439_merge_selecting_partitions/explain_11.txt new file mode 100644 index 0000000000..c651852bd1 --- /dev/null +++ b/parser/testdata/02439_merge_selecting_partitions/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rmt diff --git a/parser/testdata/02439_merge_selecting_partitions/explain_16.txt b/parser/testdata/02439_merge_selecting_partitions/explain_16.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02439_merge_selecting_partitions/explain_16.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02439_merge_selecting_partitions/explain_4.txt b/parser/testdata/02439_merge_selecting_partitions/explain_4.txt new file mode 100644 index 0000000000..c651852bd1 --- /dev/null +++ b/parser/testdata/02439_merge_selecting_partitions/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rmt diff --git a/parser/testdata/02439_merge_selecting_partitions/explain_5.txt b/parser/testdata/02439_merge_selecting_partitions/explain_5.txt new file mode 100644 index 0000000000..c651852bd1 --- /dev/null +++ b/parser/testdata/02439_merge_selecting_partitions/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rmt diff --git a/parser/testdata/02439_merge_selecting_partitions/explain_6.txt b/parser/testdata/02439_merge_selecting_partitions/explain_6.txt new file mode 100644 index 0000000000..c651852bd1 --- /dev/null +++ b/parser/testdata/02439_merge_selecting_partitions/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rmt diff --git a/parser/testdata/02439_merge_selecting_partitions/explain_7.txt b/parser/testdata/02439_merge_selecting_partitions/explain_7.txt new file mode 100644 index 0000000000..c651852bd1 --- /dev/null +++ b/parser/testdata/02439_merge_selecting_partitions/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rmt diff --git a/parser/testdata/02439_merge_selecting_partitions/explain_8.txt b/parser/testdata/02439_merge_selecting_partitions/explain_8.txt new file mode 100644 index 0000000000..c651852bd1 --- /dev/null +++ b/parser/testdata/02439_merge_selecting_partitions/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rmt diff --git a/parser/testdata/02439_merge_selecting_partitions/explain_9.txt b/parser/testdata/02439_merge_selecting_partitions/explain_9.txt new file mode 100644 index 0000000000..c651852bd1 --- /dev/null +++ b/parser/testdata/02439_merge_selecting_partitions/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rmt diff --git a/parser/testdata/02440_mutations_finalization/explain_3.txt b/parser/testdata/02440_mutations_finalization/explain_3.txt new file mode 100644 index 0000000000..aef4c270ee --- /dev/null +++ b/parser/testdata/02440_mutations_finalization/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mut diff --git a/parser/testdata/02441_alter_delete_and_drop_column/explain_4.txt b/parser/testdata/02441_alter_delete_and_drop_column/explain_4.txt new file mode 100644 index 0000000000..aef4c270ee --- /dev/null +++ b/parser/testdata/02441_alter_delete_and_drop_column/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mut diff --git a/parser/testdata/02448_clone_replica_lost_part/explain_10.txt b/parser/testdata/02448_clone_replica_lost_part/explain_10.txt new file mode 100644 index 0000000000..c7fb9993d2 --- /dev/null +++ b/parser/testdata/02448_clone_replica_lost_part/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rmt2 diff --git a/parser/testdata/02448_clone_replica_lost_part/explain_11.txt b/parser/testdata/02448_clone_replica_lost_part/explain_11.txt new file mode 100644 index 0000000000..c7fb9993d2 --- /dev/null +++ b/parser/testdata/02448_clone_replica_lost_part/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rmt2 diff --git a/parser/testdata/02448_clone_replica_lost_part/explain_12.txt b/parser/testdata/02448_clone_replica_lost_part/explain_12.txt new file mode 100644 index 0000000000..c7fb9993d2 --- /dev/null +++ b/parser/testdata/02448_clone_replica_lost_part/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rmt2 diff --git a/parser/testdata/02448_clone_replica_lost_part/explain_13.txt b/parser/testdata/02448_clone_replica_lost_part/explain_13.txt new file mode 100644 index 0000000000..c7fb9993d2 --- /dev/null +++ b/parser/testdata/02448_clone_replica_lost_part/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rmt2 diff --git a/parser/testdata/02448_clone_replica_lost_part/explain_26.txt b/parser/testdata/02448_clone_replica_lost_part/explain_26.txt new file mode 100644 index 0000000000..c7fb9993d2 --- /dev/null +++ b/parser/testdata/02448_clone_replica_lost_part/explain_26.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rmt2 diff --git a/parser/testdata/02448_clone_replica_lost_part/explain_27.txt b/parser/testdata/02448_clone_replica_lost_part/explain_27.txt new file mode 100644 index 0000000000..c7fb9993d2 --- /dev/null +++ b/parser/testdata/02448_clone_replica_lost_part/explain_27.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rmt2 diff --git a/parser/testdata/02448_clone_replica_lost_part/explain_34.txt b/parser/testdata/02448_clone_replica_lost_part/explain_34.txt new file mode 100644 index 0000000000..362251ec0c --- /dev/null +++ b/parser/testdata/02448_clone_replica_lost_part/explain_34.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rmt1 diff --git a/parser/testdata/02448_clone_replica_lost_part/explain_35.txt b/parser/testdata/02448_clone_replica_lost_part/explain_35.txt new file mode 100644 index 0000000000..362251ec0c --- /dev/null +++ b/parser/testdata/02448_clone_replica_lost_part/explain_35.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rmt1 diff --git a/parser/testdata/02448_clone_replica_lost_part/explain_36.txt b/parser/testdata/02448_clone_replica_lost_part/explain_36.txt new file mode 100644 index 0000000000..362251ec0c --- /dev/null +++ b/parser/testdata/02448_clone_replica_lost_part/explain_36.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rmt1 diff --git a/parser/testdata/02448_clone_replica_lost_part/explain_50.txt b/parser/testdata/02448_clone_replica_lost_part/explain_50.txt new file mode 100644 index 0000000000..362251ec0c --- /dev/null +++ b/parser/testdata/02448_clone_replica_lost_part/explain_50.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rmt1 diff --git a/parser/testdata/02448_clone_replica_lost_part/explain_55.txt b/parser/testdata/02448_clone_replica_lost_part/explain_55.txt new file mode 100644 index 0000000000..c7fb9993d2 --- /dev/null +++ b/parser/testdata/02448_clone_replica_lost_part/explain_55.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rmt2 diff --git a/parser/testdata/02448_clone_replica_lost_part/explain_56.txt b/parser/testdata/02448_clone_replica_lost_part/explain_56.txt new file mode 100644 index 0000000000..c7fb9993d2 --- /dev/null +++ b/parser/testdata/02448_clone_replica_lost_part/explain_56.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rmt2 diff --git a/parser/testdata/02448_clone_replica_lost_part/explain_57.txt b/parser/testdata/02448_clone_replica_lost_part/explain_57.txt new file mode 100644 index 0000000000..c7fb9993d2 --- /dev/null +++ b/parser/testdata/02448_clone_replica_lost_part/explain_57.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rmt2 diff --git a/parser/testdata/02448_clone_replica_lost_part/explain_58.txt b/parser/testdata/02448_clone_replica_lost_part/explain_58.txt new file mode 100644 index 0000000000..c7fb9993d2 --- /dev/null +++ b/parser/testdata/02448_clone_replica_lost_part/explain_58.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rmt2 diff --git a/parser/testdata/02448_clone_replica_lost_part/explain_7.txt b/parser/testdata/02448_clone_replica_lost_part/explain_7.txt new file mode 100644 index 0000000000..362251ec0c --- /dev/null +++ b/parser/testdata/02448_clone_replica_lost_part/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rmt1 diff --git a/parser/testdata/02448_clone_replica_lost_part/explain_72.txt b/parser/testdata/02448_clone_replica_lost_part/explain_72.txt new file mode 100644 index 0000000000..362251ec0c --- /dev/null +++ b/parser/testdata/02448_clone_replica_lost_part/explain_72.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rmt1 diff --git a/parser/testdata/02448_clone_replica_lost_part/explain_73.txt b/parser/testdata/02448_clone_replica_lost_part/explain_73.txt new file mode 100644 index 0000000000..c7fb9993d2 --- /dev/null +++ b/parser/testdata/02448_clone_replica_lost_part/explain_73.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rmt2 diff --git a/parser/testdata/02448_clone_replica_lost_part/explain_74.txt b/parser/testdata/02448_clone_replica_lost_part/explain_74.txt new file mode 100644 index 0000000000..362251ec0c --- /dev/null +++ b/parser/testdata/02448_clone_replica_lost_part/explain_74.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rmt1 diff --git a/parser/testdata/02448_clone_replica_lost_part/explain_75.txt b/parser/testdata/02448_clone_replica_lost_part/explain_75.txt new file mode 100644 index 0000000000..c7fb9993d2 --- /dev/null +++ b/parser/testdata/02448_clone_replica_lost_part/explain_75.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rmt2 diff --git a/parser/testdata/02448_clone_replica_lost_part/explain_79.txt b/parser/testdata/02448_clone_replica_lost_part/explain_79.txt new file mode 100644 index 0000000000..c7fb9993d2 --- /dev/null +++ b/parser/testdata/02448_clone_replica_lost_part/explain_79.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rmt2 diff --git a/parser/testdata/02448_clone_replica_lost_part/explain_81.txt b/parser/testdata/02448_clone_replica_lost_part/explain_81.txt new file mode 100644 index 0000000000..c7fb9993d2 --- /dev/null +++ b/parser/testdata/02448_clone_replica_lost_part/explain_81.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rmt2 diff --git a/parser/testdata/02448_clone_replica_lost_part/explain_82.txt b/parser/testdata/02448_clone_replica_lost_part/explain_82.txt new file mode 100644 index 0000000000..c7fb9993d2 --- /dev/null +++ b/parser/testdata/02448_clone_replica_lost_part/explain_82.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rmt2 diff --git a/parser/testdata/02448_clone_replica_lost_part/explain_83.txt b/parser/testdata/02448_clone_replica_lost_part/explain_83.txt new file mode 100644 index 0000000000..c7fb9993d2 --- /dev/null +++ b/parser/testdata/02448_clone_replica_lost_part/explain_83.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rmt2 diff --git a/parser/testdata/02449_check_dependencies_and_table_shutdown/explain_12.txt b/parser/testdata/02449_check_dependencies_and_table_shutdown/explain_12.txt new file mode 100644 index 0000000000..faab5d97a9 --- /dev/null +++ b/parser/testdata/02449_check_dependencies_and_table_shutdown/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier view diff --git a/parser/testdata/02449_check_dependencies_and_table_shutdown/explain_5.txt b/parser/testdata/02449_check_dependencies_and_table_shutdown/explain_5.txt new file mode 100644 index 0000000000..faab5d97a9 --- /dev/null +++ b/parser/testdata/02449_check_dependencies_and_table_shutdown/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier view diff --git a/parser/testdata/02452_check_low_cardinality/explain_7.txt b/parser/testdata/02452_check_low_cardinality/explain_7.txt new file mode 100644 index 0000000000..5b21b9271c --- /dev/null +++ b/parser/testdata/02452_check_low_cardinality/explain_7.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test_low_cardinality_string + ExpressionList (children 1) + Identifier data diff --git a/parser/testdata/02452_check_low_cardinality/explain_8.txt b/parser/testdata/02452_check_low_cardinality/explain_8.txt new file mode 100644 index 0000000000..2bf3b31805 --- /dev/null +++ b/parser/testdata/02452_check_low_cardinality/explain_8.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test_low_cardinality_int + ExpressionList (children 1) + Identifier data diff --git a/parser/testdata/02452_check_low_cardinality/explain_9.txt b/parser/testdata/02452_check_low_cardinality/explain_9.txt new file mode 100644 index 0000000000..257d1534a6 --- /dev/null +++ b/parser/testdata/02452_check_low_cardinality/explain_9.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test_low_cardinality_uuid + ExpressionList (children 1) + Identifier data diff --git a/parser/testdata/02454_compressed_marks_in_compact_part/explain_3.txt b/parser/testdata/02454_compressed_marks_in_compact_part/explain_3.txt new file mode 100644 index 0000000000..ab6611f141 --- /dev/null +++ b/parser/testdata/02454_compressed_marks_in_compact_part/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier cc diff --git a/parser/testdata/02454_disable_mergetree_with_lightweight_delete_column/explain_5.txt b/parser/testdata/02454_disable_mergetree_with_lightweight_delete_column/explain_5.txt new file mode 100644 index 0000000000..fa1dba0cca --- /dev/null +++ b/parser/testdata/02454_disable_mergetree_with_lightweight_delete_column/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_row_exists diff --git a/parser/testdata/02455_count_state_asterisk/explain_5.txt b/parser/testdata/02455_count_state_asterisk/explain_5.txt new file mode 100644 index 0000000000..b99677bd61 --- /dev/null +++ b/parser/testdata/02455_count_state_asterisk/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier a diff --git a/parser/testdata/02455_duplicate_column_names_in_schema_inference/explain.txt b/parser/testdata/02455_duplicate_column_names_in_schema_inference/explain.txt index 066d43b055..7ab8f815f1 100644 --- a/parser/testdata/02455_duplicate_column_names_in_schema_inference/explain.txt +++ b/parser/testdata/02455_duplicate_column_names_in_schema_inference/explain.txt @@ -4,4 +4,3 @@ DescribeQuery (children 1) ExpressionList (children 2) Identifier JSONEachRow Literal \'{"x" : 1, "x" : 2}\' -The query succeeded but the server error '636' was expected (query: EXPLAIN AST desc format(JSONEachRow, '{"x" : 1, "x" : 2}'); -- {serverError CANNOT_EXTRACT_TABLE_STRUCTURE}). diff --git a/parser/testdata/02455_extract_fixed_string_from_nested_json/explain_3.txt b/parser/testdata/02455_extract_fixed_string_from_nested_json/explain_3.txt new file mode 100644 index 0000000000..b46299d5e4 --- /dev/null +++ b/parser/testdata/02455_extract_fixed_string_from_nested_json/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test_fixed_string_nested_json + ExpressionList (children 1) + Identifier data diff --git a/parser/testdata/02456_alter-nullable-column-bag-2/explain_3.txt b/parser/testdata/02456_alter-nullable-column-bag-2/explain_3.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/02456_alter-nullable-column-bag-2/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/02456_alter-nullable-column-bag-2/explain_5.txt b/parser/testdata/02456_alter-nullable-column-bag-2/explain_5.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/02456_alter-nullable-column-bag-2/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/02456_alter-nullable-column-bag/explain_3.txt b/parser/testdata/02456_alter-nullable-column-bag/explain_3.txt new file mode 100644 index 0000000000..2ff1795d0d --- /dev/null +++ b/parser/testdata/02456_alter-nullable-column-bag/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier column_modify_test diff --git a/parser/testdata/02456_alter-nullable-column-bag/explain_4.txt b/parser/testdata/02456_alter-nullable-column-bag/explain_4.txt new file mode 100644 index 0000000000..2ff1795d0d --- /dev/null +++ b/parser/testdata/02456_alter-nullable-column-bag/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier column_modify_test diff --git a/parser/testdata/02456_alter-nullable-column-bag/explain_6.txt b/parser/testdata/02456_alter-nullable-column-bag/explain_6.txt new file mode 100644 index 0000000000..2ff1795d0d --- /dev/null +++ b/parser/testdata/02456_alter-nullable-column-bag/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier column_modify_test diff --git a/parser/testdata/02456_keeper_retries_during_insert/explain_10.txt b/parser/testdata/02456_keeper_retries_during_insert/explain_10.txt new file mode 100644 index 0000000000..0647b4c7fc --- /dev/null +++ b/parser/testdata/02456_keeper_retries_during_insert/explain_10.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier keeper_retries_r1 + Set diff --git a/parser/testdata/02456_keeper_retries_during_insert/explain_11.txt b/parser/testdata/02456_keeper_retries_during_insert/explain_11.txt new file mode 100644 index 0000000000..0647b4c7fc --- /dev/null +++ b/parser/testdata/02456_keeper_retries_during_insert/explain_11.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier keeper_retries_r1 + Set diff --git a/parser/testdata/02456_keeper_retries_during_insert/explain_5.txt b/parser/testdata/02456_keeper_retries_during_insert/explain_5.txt new file mode 100644 index 0000000000..0647b4c7fc --- /dev/null +++ b/parser/testdata/02456_keeper_retries_during_insert/explain_5.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier keeper_retries_r1 + Set diff --git a/parser/testdata/02456_keeper_retries_during_insert/explain_6.txt b/parser/testdata/02456_keeper_retries_during_insert/explain_6.txt new file mode 100644 index 0000000000..0647b4c7fc --- /dev/null +++ b/parser/testdata/02456_keeper_retries_during_insert/explain_6.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier keeper_retries_r1 + Set diff --git a/parser/testdata/02456_keeper_retries_during_insert/explain_7.txt b/parser/testdata/02456_keeper_retries_during_insert/explain_7.txt new file mode 100644 index 0000000000..0647b4c7fc --- /dev/null +++ b/parser/testdata/02456_keeper_retries_during_insert/explain_7.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier keeper_retries_r1 + Set diff --git a/parser/testdata/02456_keeper_retries_during_insert/explain_9.txt b/parser/testdata/02456_keeper_retries_during_insert/explain_9.txt new file mode 100644 index 0000000000..0647b4c7fc --- /dev/null +++ b/parser/testdata/02456_keeper_retries_during_insert/explain_9.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier keeper_retries_r1 + Set diff --git a/parser/testdata/02456_summing_mt_lc/explain_4.txt b/parser/testdata/02456_summing_mt_lc/explain_4.txt new file mode 100644 index 0000000000..9896446d25 --- /dev/null +++ b/parser/testdata/02456_summing_mt_lc/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_summing_lc diff --git a/parser/testdata/02457_key_condition_with_types_that_cannot_be_nullable/explain_3.txt b/parser/testdata/02457_key_condition_with_types_that_cannot_be_nullable/explain_3.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02457_key_condition_with_types_that_cannot_be_nullable/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02458_relax_too_many_parts/explain_13.txt b/parser/testdata/02458_relax_too_many_parts/explain_13.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02458_relax_too_many_parts/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02458_relax_too_many_parts/explain_14.txt b/parser/testdata/02458_relax_too_many_parts/explain_14.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02458_relax_too_many_parts/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02458_relax_too_many_parts/explain_15.txt b/parser/testdata/02458_relax_too_many_parts/explain_15.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02458_relax_too_many_parts/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02458_relax_too_many_parts/explain_5.txt b/parser/testdata/02458_relax_too_many_parts/explain_5.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02458_relax_too_many_parts/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02458_relax_too_many_parts/explain_6.txt b/parser/testdata/02458_relax_too_many_parts/explain_6.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02458_relax_too_many_parts/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02458_relax_too_many_parts/explain_7.txt b/parser/testdata/02458_relax_too_many_parts/explain_7.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02458_relax_too_many_parts/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02458_relax_too_many_parts/explain_8.txt b/parser/testdata/02458_relax_too_many_parts/explain_8.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02458_relax_too_many_parts/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02458_use_structure_from_insertion_table/explain_17.txt b/parser/testdata/02458_use_structure_from_insertion_table/explain_17.txt new file mode 100644 index 0000000000..00011a36bd --- /dev/null +++ b/parser/testdata/02458_use_structure_from_insertion_table/explain_17.txt @@ -0,0 +1,12 @@ +InsertQuery (children 2) + Identifier test + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function input (children 1) + ExpressionList diff --git a/parser/testdata/02458_use_structure_from_insertion_table/explain_25.txt b/parser/testdata/02458_use_structure_from_insertion_table/explain_25.txt new file mode 100644 index 0000000000..eb5d4093b4 --- /dev/null +++ b/parser/testdata/02458_use_structure_from_insertion_table/explain_25.txt @@ -0,0 +1,12 @@ +InsertQuery (children 2) + Identifier test + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier c1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function input (children 1) + ExpressionList diff --git a/parser/testdata/02458_use_structure_from_insertion_table/explain_26.txt b/parser/testdata/02458_use_structure_from_insertion_table/explain_26.txt new file mode 100644 index 0000000000..8f90121052 --- /dev/null +++ b/parser/testdata/02458_use_structure_from_insertion_table/explain_26.txt @@ -0,0 +1,12 @@ +InsertQuery (children 2) + Identifier test + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier x + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function input (children 1) + ExpressionList diff --git a/parser/testdata/02459_group_by_all/explain_3.txt b/parser/testdata/02459_group_by_all/explain_3.txt new file mode 100644 index 0000000000..f64d015f52 --- /dev/null +++ b/parser/testdata/02459_group_by_all/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier group_by_all diff --git a/parser/testdata/02459_materialized_view_default_value/explain_7.txt b/parser/testdata/02459_materialized_view_default_value/explain_7.txt new file mode 100644 index 0000000000..390948ba05 --- /dev/null +++ b/parser/testdata/02459_materialized_view_default_value/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier queue diff --git a/parser/testdata/02459_read_in_order_bufer/explain_10.txt b/parser/testdata/02459_read_in_order_bufer/explain_10.txt new file mode 100644 index 0000000000..0280dd8d25 --- /dev/null +++ b/parser/testdata/02459_read_in_order_bufer/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mytable diff --git a/parser/testdata/02459_read_in_order_bufer/explain_11.txt b/parser/testdata/02459_read_in_order_bufer/explain_11.txt new file mode 100644 index 0000000000..0280dd8d25 --- /dev/null +++ b/parser/testdata/02459_read_in_order_bufer/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mytable diff --git a/parser/testdata/02459_read_in_order_bufer/explain_12.txt b/parser/testdata/02459_read_in_order_bufer/explain_12.txt new file mode 100644 index 0000000000..0280dd8d25 --- /dev/null +++ b/parser/testdata/02459_read_in_order_bufer/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mytable diff --git a/parser/testdata/02459_read_in_order_bufer/explain_3.txt b/parser/testdata/02459_read_in_order_bufer/explain_3.txt new file mode 100644 index 0000000000..0280dd8d25 --- /dev/null +++ b/parser/testdata/02459_read_in_order_bufer/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mytable diff --git a/parser/testdata/02459_read_in_order_bufer/explain_4.txt b/parser/testdata/02459_read_in_order_bufer/explain_4.txt new file mode 100644 index 0000000000..0280dd8d25 --- /dev/null +++ b/parser/testdata/02459_read_in_order_bufer/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mytable diff --git a/parser/testdata/02459_read_in_order_bufer/explain_5.txt b/parser/testdata/02459_read_in_order_bufer/explain_5.txt new file mode 100644 index 0000000000..0280dd8d25 --- /dev/null +++ b/parser/testdata/02459_read_in_order_bufer/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mytable diff --git a/parser/testdata/02459_read_in_order_bufer/explain_6.txt b/parser/testdata/02459_read_in_order_bufer/explain_6.txt new file mode 100644 index 0000000000..0280dd8d25 --- /dev/null +++ b/parser/testdata/02459_read_in_order_bufer/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mytable diff --git a/parser/testdata/02459_read_in_order_bufer/explain_7.txt b/parser/testdata/02459_read_in_order_bufer/explain_7.txt new file mode 100644 index 0000000000..0280dd8d25 --- /dev/null +++ b/parser/testdata/02459_read_in_order_bufer/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mytable diff --git a/parser/testdata/02459_read_in_order_bufer/explain_8.txt b/parser/testdata/02459_read_in_order_bufer/explain_8.txt new file mode 100644 index 0000000000..0280dd8d25 --- /dev/null +++ b/parser/testdata/02459_read_in_order_bufer/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mytable diff --git a/parser/testdata/02459_read_in_order_bufer/explain_9.txt b/parser/testdata/02459_read_in_order_bufer/explain_9.txt new file mode 100644 index 0000000000..0280dd8d25 --- /dev/null +++ b/parser/testdata/02459_read_in_order_bufer/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mytable diff --git a/parser/testdata/02460_prewhere_row_level_policy/explain_4.txt b/parser/testdata/02460_prewhere_row_level_policy/explain_4.txt new file mode 100644 index 0000000000..ff39aa0474 --- /dev/null +++ b/parser/testdata/02460_prewhere_row_level_policy/explain_4.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier row_level_policy_prewhere + ExpressionList (children 2) + Identifier y + Identifier x diff --git a/parser/testdata/02461_alter_update_respect_part_column_type_bug/explain_11.txt b/parser/testdata/02461_alter_update_respect_part_column_type_bug/explain_11.txt new file mode 100644 index 0000000000..37b584e2c2 --- /dev/null +++ b/parser/testdata/02461_alter_update_respect_part_column_type_bug/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier src diff --git a/parser/testdata/02461_alter_update_respect_part_column_type_bug/explain_19.txt b/parser/testdata/02461_alter_update_respect_part_column_type_bug/explain_19.txt new file mode 100644 index 0000000000..37b584e2c2 --- /dev/null +++ b/parser/testdata/02461_alter_update_respect_part_column_type_bug/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier src diff --git a/parser/testdata/02461_alter_update_respect_part_column_type_bug/explain_27.txt b/parser/testdata/02461_alter_update_respect_part_column_type_bug/explain_27.txt new file mode 100644 index 0000000000..37b584e2c2 --- /dev/null +++ b/parser/testdata/02461_alter_update_respect_part_column_type_bug/explain_27.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier src diff --git a/parser/testdata/02461_alter_update_respect_part_column_type_bug/explain_3.txt b/parser/testdata/02461_alter_update_respect_part_column_type_bug/explain_3.txt new file mode 100644 index 0000000000..37b584e2c2 --- /dev/null +++ b/parser/testdata/02461_alter_update_respect_part_column_type_bug/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier src diff --git a/parser/testdata/02461_alter_update_respect_part_column_type_bug/explain_36.txt b/parser/testdata/02461_alter_update_respect_part_column_type_bug/explain_36.txt new file mode 100644 index 0000000000..37b584e2c2 --- /dev/null +++ b/parser/testdata/02461_alter_update_respect_part_column_type_bug/explain_36.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier src diff --git a/parser/testdata/02461_alter_update_respect_part_column_type_bug/explain_44.txt b/parser/testdata/02461_alter_update_respect_part_column_type_bug/explain_44.txt new file mode 100644 index 0000000000..37b584e2c2 --- /dev/null +++ b/parser/testdata/02461_alter_update_respect_part_column_type_bug/explain_44.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier src diff --git a/parser/testdata/02461_alter_update_respect_part_column_type_bug/explain_52.txt b/parser/testdata/02461_alter_update_respect_part_column_type_bug/explain_52.txt new file mode 100644 index 0000000000..37b584e2c2 --- /dev/null +++ b/parser/testdata/02461_alter_update_respect_part_column_type_bug/explain_52.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier src diff --git a/parser/testdata/02461_alter_update_respect_part_column_type_bug/explain_60.txt b/parser/testdata/02461_alter_update_respect_part_column_type_bug/explain_60.txt new file mode 100644 index 0000000000..37b584e2c2 --- /dev/null +++ b/parser/testdata/02461_alter_update_respect_part_column_type_bug/explain_60.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier src diff --git a/parser/testdata/02461_join_lc_issue_42380/explain_6.txt b/parser/testdata/02461_join_lc_issue_42380/explain_6.txt new file mode 100644 index 0000000000..5bc6a5f0ea --- /dev/null +++ b/parser/testdata/02461_join_lc_issue_42380/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1__fuzz_13 diff --git a/parser/testdata/02461_join_lc_issue_42380/explain_7.txt b/parser/testdata/02461_join_lc_issue_42380/explain_7.txt new file mode 100644 index 0000000000..677dd05978 --- /dev/null +++ b/parser/testdata/02461_join_lc_issue_42380/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2__fuzz_47 diff --git a/parser/testdata/02461_welch_t_test_fuzz/explain_3.txt b/parser/testdata/02461_welch_t_test_fuzz/explain_3.txt new file mode 100644 index 0000000000..b4707e6a05 --- /dev/null +++ b/parser/testdata/02461_welch_t_test_fuzz/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier welch_ttest__fuzz_7 diff --git a/parser/testdata/02462_match_regexp_pk/explain_2.txt b/parser/testdata/02462_match_regexp_pk/explain_2.txt new file mode 100644 index 0000000000..00c4dc34c6 --- /dev/null +++ b/parser/testdata/02462_match_regexp_pk/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mt_match_pk diff --git a/parser/testdata/02463_julian_day_ubsan/explain.txt b/parser/testdata/02463_julian_day_ubsan/explain.txt index b209306489..b265cebe49 100644 --- a/parser/testdata/02463_julian_day_ubsan/explain.txt +++ b/parser/testdata/02463_julian_day_ubsan/explain.txt @@ -8,4 +8,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Literal \'9223372036854775807\' Literal \'Int64\' -The query succeeded but the server error '490' was expected (query: EXPLAIN AST SELECT fromModifiedJulianDay(9223372036854775807 :: Int64); -- { serverError CANNOT_FORMAT_DATETIME }). diff --git a/parser/testdata/02464_decimal_scale_buffer_overflow/explain_3.txt b/parser/testdata/02464_decimal_scale_buffer_overflow/explain_3.txt new file mode 100644 index 0000000000..c8cb80ec5b --- /dev/null +++ b/parser/testdata/02464_decimal_scale_buffer_overflow/explain_3.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier series__fuzz_35 + ExpressionList (children 3) + Identifier i + Identifier x_value + Identifier y_value diff --git a/parser/testdata/02466_distributed_query_profiler/explain.txt b/parser/testdata/02466_distributed_query_profiler/explain.txt new file mode 100644 index 0000000000..f844fe6b45 --- /dev/null +++ b/parser/testdata/02466_distributed_query_profiler/explain.txt @@ -0,0 +1,29 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.{2,4}\' + Function view (children 1) + ExpressionList (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function sleep (children 1) + ExpressionList (children 1) + Literal Float64_0.1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_20 + Set + Literal UInt64_10 + Set diff --git a/parser/testdata/02467_set_with_lowcardinality_type/explain_11.txt b/parser/testdata/02467_set_with_lowcardinality_type/explain_11.txt new file mode 100644 index 0000000000..390abbda1f --- /dev/null +++ b/parser/testdata/02467_set_with_lowcardinality_type/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nullable_string_value__fuzz_2 diff --git a/parser/testdata/02467_set_with_lowcardinality_type/explain_3.txt b/parser/testdata/02467_set_with_lowcardinality_type/explain_3.txt new file mode 100644 index 0000000000..c080dafc27 --- /dev/null +++ b/parser/testdata/02467_set_with_lowcardinality_type/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier bloom_filter_nullable_index__fuzz_0 diff --git a/parser/testdata/02467_set_with_lowcardinality_type/explain_4.txt b/parser/testdata/02467_set_with_lowcardinality_type/explain_4.txt new file mode 100644 index 0000000000..c080dafc27 --- /dev/null +++ b/parser/testdata/02467_set_with_lowcardinality_type/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier bloom_filter_nullable_index__fuzz_0 diff --git a/parser/testdata/02467_set_with_lowcardinality_type/explain_7.txt b/parser/testdata/02467_set_with_lowcardinality_type/explain_7.txt new file mode 100644 index 0000000000..c080dafc27 --- /dev/null +++ b/parser/testdata/02467_set_with_lowcardinality_type/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier bloom_filter_nullable_index__fuzz_0 diff --git a/parser/testdata/02467_set_with_lowcardinality_type/explain_8.txt b/parser/testdata/02467_set_with_lowcardinality_type/explain_8.txt new file mode 100644 index 0000000000..c080dafc27 --- /dev/null +++ b/parser/testdata/02467_set_with_lowcardinality_type/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier bloom_filter_nullable_index__fuzz_0 diff --git a/parser/testdata/02469_fix_aliases_parser/explain.txt b/parser/testdata/02469_fix_aliases_parser/explain.txt deleted file mode 100644 index 8b13789179..0000000000 --- a/parser/testdata/02469_fix_aliases_parser/explain.txt +++ /dev/null @@ -1 +0,0 @@ - diff --git a/parser/testdata/02469_interval_msan/explain.txt b/parser/testdata/02469_interval_msan/explain.txt index a89c7d5823..f4d6e2e62a 100644 --- a/parser/testdata/02469_interval_msan/explain.txt +++ b/parser/testdata/02469_interval_msan/explain.txt @@ -10,4 +10,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Literal \'1\' Literal \'Int128\' -The query succeeded but the server error '43' was expected (query: EXPLAIN AST SELECT now() + 1::Int128; -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }). diff --git a/parser/testdata/02470_suspicious_low_cardinality_msan/explain_4.txt b/parser/testdata/02470_suspicious_low_cardinality_msan/explain_4.txt new file mode 100644 index 0000000000..9f1fa3cbbf --- /dev/null +++ b/parser/testdata/02470_suspicious_low_cardinality_msan/explain_4.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier alias_2__fuzz_25 + ExpressionList (children 4) + Identifier dt + Identifier col + Identifier col2 + Identifier col3 diff --git a/parser/testdata/02471_wrong_date_monotonicity/explain_3.txt b/parser/testdata/02471_wrong_date_monotonicity/explain_3.txt new file mode 100644 index 0000000000..94a1a8deb6 --- /dev/null +++ b/parser/testdata/02471_wrong_date_monotonicity/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tdm__fuzz_23 diff --git a/parser/testdata/02472_segfault_expression_parser/explain.txt b/parser/testdata/02472_segfault_expression_parser/explain.txt deleted file mode 100644 index 8b13789179..0000000000 --- a/parser/testdata/02472_segfault_expression_parser/explain.txt +++ /dev/null @@ -1 +0,0 @@ - diff --git a/parser/testdata/02473_prewhere_with_bigint/explain_10.txt b/parser/testdata/02473_prewhere_with_bigint/explain_10.txt new file mode 100644 index 0000000000..01d0fd029e --- /dev/null +++ b/parser/testdata/02473_prewhere_with_bigint/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier prewhere_int256 diff --git a/parser/testdata/02473_prewhere_with_bigint/explain_14.txt b/parser/testdata/02473_prewhere_with_bigint/explain_14.txt new file mode 100644 index 0000000000..9907dfa44d --- /dev/null +++ b/parser/testdata/02473_prewhere_with_bigint/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier prewhere_uint128 diff --git a/parser/testdata/02473_prewhere_with_bigint/explain_18.txt b/parser/testdata/02473_prewhere_with_bigint/explain_18.txt new file mode 100644 index 0000000000..11e634a92a --- /dev/null +++ b/parser/testdata/02473_prewhere_with_bigint/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier prewhere_uint256 diff --git a/parser/testdata/02473_prewhere_with_bigint/explain_6.txt b/parser/testdata/02473_prewhere_with_bigint/explain_6.txt new file mode 100644 index 0000000000..dc5299497c --- /dev/null +++ b/parser/testdata/02473_prewhere_with_bigint/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier prewhere_int128 diff --git a/parser/testdata/02474_create_user_query_fuzzer_bug/explain.txt b/parser/testdata/02474_create_user_query_fuzzer_bug/explain.txt deleted file mode 100644 index 8b13789179..0000000000 --- a/parser/testdata/02474_create_user_query_fuzzer_bug/explain.txt +++ /dev/null @@ -1 +0,0 @@ - diff --git a/parser/testdata/02474_fix_function_parser_bug/explain.txt b/parser/testdata/02474_fix_function_parser_bug/explain.txt deleted file mode 100644 index 8b13789179..0000000000 --- a/parser/testdata/02474_fix_function_parser_bug/explain.txt +++ /dev/null @@ -1 +0,0 @@ - diff --git a/parser/testdata/02474_unhex_in_fix_string/explain_3.txt b/parser/testdata/02474_unhex_in_fix_string/explain_3.txt new file mode 100644 index 0000000000..9c98a78e7e --- /dev/null +++ b/parser/testdata/02474_unhex_in_fix_string/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier unhex_in_fix_string_table diff --git a/parser/testdata/02475_or_function_alias_and_const_where/explain.txt b/parser/testdata/02475_or_function_alias_and_const_where/explain.txt index 5d0cc67ce8..1d970f27e8 100644 --- a/parser/testdata/02475_or_function_alias_and_const_where/explain.txt +++ b/parser/testdata/02475_or_function_alias_and_const_where/explain.txt @@ -12,10 +12,9 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Identifier number Literal UInt64_2 - Function sum (children 2) + Function sum (children 1) ExpressionList (children 1) Identifier value - WindowDefinition TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) diff --git a/parser/testdata/02476_fix_cast_parser_bug/explain.txt b/parser/testdata/02476_fix_cast_parser_bug/explain.txt deleted file mode 100644 index 8b13789179..0000000000 --- a/parser/testdata/02476_fix_cast_parser_bug/explain.txt +++ /dev/null @@ -1 +0,0 @@ - diff --git a/parser/testdata/02476_fuse_sum_count/explain_5.txt b/parser/testdata/02476_fuse_sum_count/explain_5.txt new file mode 100644 index 0000000000..82f407a906 --- /dev/null +++ b/parser/testdata/02476_fuse_sum_count/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier fuse_tbl diff --git a/parser/testdata/02476_query_parameters_insert/explain_4.txt b/parser/testdata/02476_query_parameters_insert/explain_4.txt new file mode 100644 index 0000000000..6ee833b43b --- /dev/null +++ b/parser/testdata/02476_query_parameters_insert/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02476_query_parameters_insert diff --git a/parser/testdata/02477_analyzer_array_join_with_join/explain_4.txt b/parser/testdata/02477_analyzer_array_join_with_join/explain_4.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02477_analyzer_array_join_with_join/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02477_analyzer_ast_key_condition_crash/explain_4.txt b/parser/testdata/02477_analyzer_ast_key_condition_crash/explain_4.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02477_analyzer_ast_key_condition_crash/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02477_invalid_reads/explain.txt b/parser/testdata/02477_invalid_reads/explain.txt index a594faad6a..8cdb3bb05c 100644 --- a/parser/testdata/02477_invalid_reads/explain.txt +++ b/parser/testdata/02477_invalid_reads/explain.txt @@ -10,4 +10,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) Literal \'0F00000030\' Literal \'AggregateFunction(min, String)\' -The query succeeded but the server error '33' was expected (query: EXPLAIN AST SELECT finalizeAggregation(CAST(unhex('0F00000030'), 'AggregateFunction(min, String)')); -- { serverError CANNOT_READ_ALL_DATA }). diff --git a/parser/testdata/02477_logical_expressions_optimizer_issue_89803/explain_20.txt b/parser/testdata/02477_logical_expressions_optimizer_issue_89803/explain_20.txt new file mode 100644 index 0000000000..be22d5203b --- /dev/null +++ b/parser/testdata/02477_logical_expressions_optimizer_issue_89803/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab_bool diff --git a/parser/testdata/02477_logical_expressions_optimizer_issue_89803/explain_4.txt b/parser/testdata/02477_logical_expressions_optimizer_issue_89803/explain_4.txt new file mode 100644 index 0000000000..2f95da2bde --- /dev/null +++ b/parser/testdata/02477_logical_expressions_optimizer_issue_89803/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab_int diff --git a/parser/testdata/02477_single_value_data_string_regression/explain_10.txt b/parser/testdata/02477_single_value_data_string_regression/explain_10.txt new file mode 100644 index 0000000000..1b4347a935 --- /dev/null +++ b/parser/testdata/02477_single_value_data_string_regression/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier argmaxstate_hex_empty diff --git a/parser/testdata/02477_single_value_data_string_regression/explain_2.txt b/parser/testdata/02477_single_value_data_string_regression/explain_2.txt new file mode 100644 index 0000000000..3d2d25f5fc --- /dev/null +++ b/parser/testdata/02477_single_value_data_string_regression/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier argmaxstate_hex_small diff --git a/parser/testdata/02477_single_value_data_string_regression/explain_6.txt b/parser/testdata/02477_single_value_data_string_regression/explain_6.txt new file mode 100644 index 0000000000..eeed7e7c19 --- /dev/null +++ b/parser/testdata/02477_single_value_data_string_regression/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier argmaxstate_hex_large diff --git a/parser/testdata/02478_analyzer_table_expression_aliases/explain_4.txt b/parser/testdata/02478_analyzer_table_expression_aliases/explain_4.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02478_analyzer_table_expression_aliases/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02479_mysql_connect_to_self/explain_4.txt b/parser/testdata/02479_mysql_connect_to_self/explain_4.txt new file mode 100644 index 0000000000..2b33f6d05c --- /dev/null +++ b/parser/testdata/02479_mysql_connect_to_self/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier foo diff --git a/parser/testdata/02479_nullable_primary_key_non_first_column/explain_3.txt b/parser/testdata/02479_nullable_primary_key_non_first_column/explain_3.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02479_nullable_primary_key_non_first_column/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02479_nullable_primary_key_non_first_column/explain_8.txt b/parser/testdata/02479_nullable_primary_key_non_first_column/explain_8.txt new file mode 100644 index 0000000000..801e6b0484 --- /dev/null +++ b/parser/testdata/02479_nullable_primary_key_non_first_column/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dm_metric_small2 diff --git a/parser/testdata/02480_s3_support_wildcard/explain_14.txt b/parser/testdata/02480_s3_support_wildcard/explain_14.txt new file mode 100644 index 0000000000..8f2e9cacf3 --- /dev/null +++ b/parser/testdata/02480_s3_support_wildcard/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_02480_support_wildcard_write2 diff --git a/parser/testdata/02480_s3_support_wildcard/explain_5.txt b/parser/testdata/02480_s3_support_wildcard/explain_5.txt new file mode 100644 index 0000000000..c7fede0bfa --- /dev/null +++ b/parser/testdata/02480_s3_support_wildcard/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_02480_support_wildcard_write diff --git a/parser/testdata/02480_suspicious_lowcard_in_key/explain_4.txt b/parser/testdata/02480_suspicious_lowcard_in_key/explain_4.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02480_suspicious_lowcard_in_key/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02481_analyzer_join_alias_unknown_identifier_crash/explain_4.txt b/parser/testdata/02481_analyzer_join_alias_unknown_identifier_crash/explain_4.txt new file mode 100644 index 0000000000..d88229a7e9 --- /dev/null +++ b/parser/testdata/02481_analyzer_join_alias_unknown_identifier_crash/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_join_1 diff --git a/parser/testdata/02481_analyzer_join_alias_unknown_identifier_crash/explain_7.txt b/parser/testdata/02481_analyzer_join_alias_unknown_identifier_crash/explain_7.txt new file mode 100644 index 0000000000..0b7b9736ad --- /dev/null +++ b/parser/testdata/02481_analyzer_join_alias_unknown_identifier_crash/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_join_2 diff --git a/parser/testdata/02481_array_join_with_map/explain_3.txt b/parser/testdata/02481_array_join_with_map/explain_3.txt new file mode 100644 index 0000000000..dc57cfd43f --- /dev/null +++ b/parser/testdata/02481_array_join_with_map/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier arrays_test diff --git a/parser/testdata/02481_fix_parameters_parsing/explain.txt b/parser/testdata/02481_fix_parameters_parsing/explain.txt deleted file mode 100644 index 8b13789179..0000000000 --- a/parser/testdata/02481_fix_parameters_parsing/explain.txt +++ /dev/null @@ -1 +0,0 @@ - diff --git a/parser/testdata/02481_i43247_ubsan_in_minmaxany/explain.txt b/parser/testdata/02481_i43247_ubsan_in_minmaxany/explain.txt new file mode 100644 index 0000000000..ab0e4f5423 --- /dev/null +++ b/parser/testdata/02481_i43247_ubsan_in_minmaxany/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function finalizeAggregation (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Literal \'AggregateFunction(categoricalInformationValue, Nullable(UInt8), UInt8)AggregateFunction(categoricalInformationValue, Nullable(UInt8), UInt8)\' + Literal \'AggregateFunction(min, String)\' diff --git a/parser/testdata/02481_pk_analysis_with_enum_to_string/explain_4.txt b/parser/testdata/02481_pk_analysis_with_enum_to_string/explain_4.txt new file mode 100644 index 0000000000..b56e1a1b46 --- /dev/null +++ b/parser/testdata/02481_pk_analysis_with_enum_to_string/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier github_events diff --git a/parser/testdata/02481_s3_throw_if_mismatch_files/explain_4.txt b/parser/testdata/02481_s3_throw_if_mismatch_files/explain_4.txt new file mode 100644 index 0000000000..a1c21fbe86 --- /dev/null +++ b/parser/testdata/02481_s3_throw_if_mismatch_files/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_02481_mismatch_files diff --git a/parser/testdata/02482_insert_into_dist_race/explain_12.txt b/parser/testdata/02482_insert_into_dist_race/explain_12.txt new file mode 100644 index 0000000000..bdb9c35ccd --- /dev/null +++ b/parser/testdata/02482_insert_into_dist_race/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dist_02482 diff --git a/parser/testdata/02482_insert_into_dist_race/explain_8.txt b/parser/testdata/02482_insert_into_dist_race/explain_8.txt new file mode 100644 index 0000000000..bdb9c35ccd --- /dev/null +++ b/parser/testdata/02482_insert_into_dist_race/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dist_02482 diff --git a/parser/testdata/02482_value_block_assert/explain_3.txt b/parser/testdata/02482_value_block_assert/explain_3.txt new file mode 100644 index 0000000000..ee0e221090 --- /dev/null +++ b/parser/testdata/02482_value_block_assert/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier range_key_dictionary_source_table__fuzz_323 diff --git a/parser/testdata/02482_value_block_assert/explain_5.txt b/parser/testdata/02482_value_block_assert/explain_5.txt new file mode 100644 index 0000000000..3d5e3dd077 --- /dev/null +++ b/parser/testdata/02482_value_block_assert/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier complex_key_dictionary_source_table__fuzz_267 diff --git a/parser/testdata/02483_substitute_udf_create/explain_13.txt b/parser/testdata/02483_substitute_udf_create/explain_13.txt new file mode 100644 index 0000000000..6a63e1cb18 --- /dev/null +++ b/parser/testdata/02483_substitute_udf_create/explain_13.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier 02483_substitute_udf + ExpressionList (children 2) + Identifier id + Identifier number diff --git a/parser/testdata/02483_substitute_udf_create/explain_19.txt b/parser/testdata/02483_substitute_udf_create/explain_19.txt new file mode 100644 index 0000000000..251dd01db5 --- /dev/null +++ b/parser/testdata/02483_substitute_udf_create/explain_19.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier 02483_substitute_udf + ExpressionList (children 2) + Identifier id + Identifier new_number diff --git a/parser/testdata/02483_substitute_udf_create/explain_8.txt b/parser/testdata/02483_substitute_udf_create/explain_8.txt new file mode 100644 index 0000000000..6a63e1cb18 --- /dev/null +++ b/parser/testdata/02483_substitute_udf_create/explain_8.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier 02483_substitute_udf + ExpressionList (children 2) + Identifier id + Identifier number diff --git a/parser/testdata/02486_truncate_and_unexpected_parts/explain_14.txt b/parser/testdata/02486_truncate_and_unexpected_parts/explain_14.txt new file mode 100644 index 0000000000..c651852bd1 --- /dev/null +++ b/parser/testdata/02486_truncate_and_unexpected_parts/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rmt diff --git a/parser/testdata/02486_truncate_and_unexpected_parts/explain_15.txt b/parser/testdata/02486_truncate_and_unexpected_parts/explain_15.txt new file mode 100644 index 0000000000..362251ec0c --- /dev/null +++ b/parser/testdata/02486_truncate_and_unexpected_parts/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rmt1 diff --git a/parser/testdata/02486_truncate_and_unexpected_parts/explain_31.txt b/parser/testdata/02486_truncate_and_unexpected_parts/explain_31.txt new file mode 100644 index 0000000000..c651852bd1 --- /dev/null +++ b/parser/testdata/02486_truncate_and_unexpected_parts/explain_31.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rmt diff --git a/parser/testdata/02486_truncate_and_unexpected_parts/explain_32.txt b/parser/testdata/02486_truncate_and_unexpected_parts/explain_32.txt new file mode 100644 index 0000000000..362251ec0c --- /dev/null +++ b/parser/testdata/02486_truncate_and_unexpected_parts/explain_32.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rmt1 diff --git a/parser/testdata/02486_truncate_and_unexpected_parts/explain_39.txt b/parser/testdata/02486_truncate_and_unexpected_parts/explain_39.txt new file mode 100644 index 0000000000..7366aed5e7 --- /dev/null +++ b/parser/testdata/02486_truncate_and_unexpected_parts/explain_39.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rmt3 diff --git a/parser/testdata/02486_truncate_and_unexpected_parts/explain_40.txt b/parser/testdata/02486_truncate_and_unexpected_parts/explain_40.txt new file mode 100644 index 0000000000..7366aed5e7 --- /dev/null +++ b/parser/testdata/02486_truncate_and_unexpected_parts/explain_40.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rmt3 diff --git a/parser/testdata/02486_truncate_and_unexpected_parts/explain_41.txt b/parser/testdata/02486_truncate_and_unexpected_parts/explain_41.txt new file mode 100644 index 0000000000..7366aed5e7 --- /dev/null +++ b/parser/testdata/02486_truncate_and_unexpected_parts/explain_41.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rmt3 diff --git a/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_103.txt b/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_103.txt new file mode 100644 index 0000000000..b0a4ff33cd --- /dev/null +++ b/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_103.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier testCollapsingMT + ExpressionList (children 1) + Asterisk diff --git a/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_108.txt b/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_108.txt new file mode 100644 index 0000000000..c4f064456b --- /dev/null +++ b/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_108.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier testVersionedCMT + ExpressionList (children 1) + Asterisk diff --git a/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_11.txt b/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_11.txt new file mode 100644 index 0000000000..b6737a0095 --- /dev/null +++ b/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_11.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 1) + Asterisk diff --git a/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_18.txt b/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_18.txt new file mode 100644 index 0000000000..b6737a0095 --- /dev/null +++ b/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_18.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 1) + Asterisk diff --git a/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_23.txt b/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_23.txt new file mode 100644 index 0000000000..b6737a0095 --- /dev/null +++ b/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_23.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 1) + Asterisk diff --git a/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_26.txt b/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_26.txt new file mode 100644 index 0000000000..b6737a0095 --- /dev/null +++ b/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_26.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 1) + Asterisk diff --git a/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_30.txt b/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_30.txt new file mode 100644 index 0000000000..b6737a0095 --- /dev/null +++ b/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_30.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 1) + Asterisk diff --git a/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_31.txt b/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_31.txt new file mode 100644 index 0000000000..b6737a0095 --- /dev/null +++ b/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_31.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 1) + Asterisk diff --git a/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_35.txt b/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_35.txt new file mode 100644 index 0000000000..b6737a0095 --- /dev/null +++ b/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_35.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 1) + Asterisk diff --git a/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_4.txt b/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_4.txt new file mode 100644 index 0000000000..b6737a0095 --- /dev/null +++ b/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_4.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 1) + Asterisk diff --git a/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_42.txt b/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_42.txt new file mode 100644 index 0000000000..b6737a0095 --- /dev/null +++ b/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_42.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 1) + Asterisk diff --git a/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_49.txt b/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_49.txt new file mode 100644 index 0000000000..b6737a0095 --- /dev/null +++ b/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_49.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 1) + Asterisk diff --git a/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_50.txt b/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_50.txt new file mode 100644 index 0000000000..b6737a0095 --- /dev/null +++ b/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_50.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 1) + Asterisk diff --git a/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_55.txt b/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_55.txt new file mode 100644 index 0000000000..a9abe78ac7 --- /dev/null +++ b/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_55.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier testCleanupR1 + ExpressionList (children 1) + Asterisk diff --git a/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_56.txt b/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_56.txt new file mode 100644 index 0000000000..a9abe78ac7 --- /dev/null +++ b/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_56.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier testCleanupR1 + ExpressionList (children 1) + Asterisk diff --git a/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_57.txt b/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_57.txt new file mode 100644 index 0000000000..a9abe78ac7 --- /dev/null +++ b/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_57.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier testCleanupR1 + ExpressionList (children 1) + Asterisk diff --git a/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_64.txt b/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_64.txt new file mode 100644 index 0000000000..f4258125fc --- /dev/null +++ b/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_64.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier testSettingsR1 + ExpressionList (children 1) + Asterisk diff --git a/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_71.txt b/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_71.txt new file mode 100644 index 0000000000..b6737a0095 --- /dev/null +++ b/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_71.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 1) + Asterisk diff --git a/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_75.txt b/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_75.txt new file mode 100644 index 0000000000..b6737a0095 --- /dev/null +++ b/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_75.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 1) + Asterisk diff --git a/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_81.txt b/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_81.txt new file mode 100644 index 0000000000..b6737a0095 --- /dev/null +++ b/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_81.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 1) + Asterisk diff --git a/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_88.txt b/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_88.txt new file mode 100644 index 0000000000..6608a6274a --- /dev/null +++ b/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_88.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier testMT + ExpressionList (children 1) + Asterisk diff --git a/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_93.txt b/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_93.txt new file mode 100644 index 0000000000..fa24ec1273 --- /dev/null +++ b/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_93.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier testSummingMT + ExpressionList (children 1) + Asterisk diff --git a/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_98.txt b/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_98.txt new file mode 100644 index 0000000000..3917ce87ea --- /dev/null +++ b/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain_98.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier testAggregatingMT + ExpressionList (children 1) + Asterisk diff --git a/parser/testdata/02491_part_log_has_table_uuid/explain_2.txt b/parser/testdata/02491_part_log_has_table_uuid/explain_2.txt new file mode 100644 index 0000000000..315762a083 --- /dev/null +++ b/parser/testdata/02491_part_log_has_table_uuid/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data_02491 diff --git a/parser/testdata/02491_part_log_has_table_uuid/explain_5.txt b/parser/testdata/02491_part_log_has_table_uuid/explain_5.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02491_part_log_has_table_uuid/explain_5.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02494_analyzer_compound_expression_crash_fix/explain_4.txt b/parser/testdata/02494_analyzer_compound_expression_crash_fix/explain_4.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02494_analyzer_compound_expression_crash_fix/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02494_analyzer_cte_resolution_in_subquery_fix/explain.txt b/parser/testdata/02494_analyzer_cte_resolution_in_subquery_fix/explain.txt new file mode 100644 index 0000000000..48afbd5ec7 --- /dev/null +++ b/parser/testdata/02494_analyzer_cte_resolution_in_subquery_fix/explain.txt @@ -0,0 +1,47 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + WithElement (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Identifier t1.number (alias n1) + Identifier t2.number (alias n2) + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (alias t1) (children 1) + ExpressionList (children 1) + Literal UInt64_1 + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Function numbers (alias t2) (children 1) + ExpressionList (children 1) + Literal UInt64_1 + TableJoin + WithElement (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function sum (alias s) (children 1) + ExpressionList (children 1) + Identifier n1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier a + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier b (alias l) + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier a (alias r) + TableJoin diff --git a/parser/testdata/02494_optimize_group_by_function_keys_and_alias_columns/explain_2.txt b/parser/testdata/02494_optimize_group_by_function_keys_and_alias_columns/explain_2.txt new file mode 100644 index 0000000000..d2378baa85 --- /dev/null +++ b/parser/testdata/02494_optimize_group_by_function_keys_and_alias_columns/explain_2.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 1) + Identifier timestamp diff --git a/parser/testdata/02494_optimize_group_by_function_keys_and_alias_columns/explain_3.txt b/parser/testdata/02494_optimize_group_by_function_keys_and_alias_columns/explain_3.txt new file mode 100644 index 0000000000..d2378baa85 --- /dev/null +++ b/parser/testdata/02494_optimize_group_by_function_keys_and_alias_columns/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 1) + Identifier timestamp diff --git a/parser/testdata/02494_optimize_group_by_function_keys_and_alias_columns/explain_4.txt b/parser/testdata/02494_optimize_group_by_function_keys_and_alias_columns/explain_4.txt new file mode 100644 index 0000000000..d2378baa85 --- /dev/null +++ b/parser/testdata/02494_optimize_group_by_function_keys_and_alias_columns/explain_4.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 1) + Identifier timestamp diff --git a/parser/testdata/02494_query_cache_bugs/explain_15.txt b/parser/testdata/02494_query_cache_bugs/explain_15.txt index 887f71e71c..2474bb7e56 100644 --- a/parser/testdata/02494_query_cache_bugs/explain_15.txt +++ b/parser/testdata/02494_query_cache_bugs/explain_15.txt @@ -1,12 +1,11 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 1) Identifier c TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) TableIdentifier tab - Set Identifier Vertical Set diff --git a/parser/testdata/02494_query_cache_bugs/explain_16.txt b/parser/testdata/02494_query_cache_bugs/explain_16.txt index 7a9bc782d2..58179f3eed 100644 --- a/parser/testdata/02494_query_cache_bugs/explain_16.txt +++ b/parser/testdata/02494_query_cache_bugs/explain_16.txt @@ -1,12 +1,11 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 1) Identifier c (alias x) TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) TableIdentifier tab - Set Identifier Vertical Set diff --git a/parser/testdata/02494_query_cache_bugs/explain_23.txt b/parser/testdata/02494_query_cache_bugs/explain_23.txt deleted file mode 100644 index 07acbdd0b2..0000000000 --- a/parser/testdata/02494_query_cache_bugs/explain_23.txt +++ /dev/null @@ -1,12 +0,0 @@ -SelectWithUnionQuery (children 1) - ExpressionList (children 1) - SelectQuery (children 3) - ExpressionList (children 1) - Function sum (children 1) - ExpressionList (children 1) - Identifier c - TablesInSelectQuery (children 1) - TablesInSelectQueryElement (children 1) - TableExpression (children 1) - TableIdentifier tab - Set diff --git a/parser/testdata/02494_query_cache_bugs/explain_24.txt b/parser/testdata/02494_query_cache_bugs/explain_24.txt deleted file mode 100644 index 07acbdd0b2..0000000000 --- a/parser/testdata/02494_query_cache_bugs/explain_24.txt +++ /dev/null @@ -1,12 +0,0 @@ -SelectWithUnionQuery (children 1) - ExpressionList (children 1) - SelectQuery (children 3) - ExpressionList (children 1) - Function sum (children 1) - ExpressionList (children 1) - Identifier c - TablesInSelectQuery (children 1) - TablesInSelectQueryElement (children 1) - TableExpression (children 1) - TableIdentifier tab - Set diff --git a/parser/testdata/02494_query_cache_bugs/explain_25.txt b/parser/testdata/02494_query_cache_bugs/explain_25.txt deleted file mode 100644 index 07acbdd0b2..0000000000 --- a/parser/testdata/02494_query_cache_bugs/explain_25.txt +++ /dev/null @@ -1,12 +0,0 @@ -SelectWithUnionQuery (children 1) - ExpressionList (children 1) - SelectQuery (children 3) - ExpressionList (children 1) - Function sum (children 1) - ExpressionList (children 1) - Identifier c - TablesInSelectQuery (children 1) - TablesInSelectQueryElement (children 1) - TableExpression (children 1) - TableIdentifier tab - Set diff --git a/parser/testdata/02494_query_cache_bugs/explain_26.txt b/parser/testdata/02494_query_cache_bugs/explain_26.txt deleted file mode 100644 index 07acbdd0b2..0000000000 --- a/parser/testdata/02494_query_cache_bugs/explain_26.txt +++ /dev/null @@ -1,12 +0,0 @@ -SelectWithUnionQuery (children 1) - ExpressionList (children 1) - SelectQuery (children 3) - ExpressionList (children 1) - Function sum (children 1) - ExpressionList (children 1) - Identifier c - TablesInSelectQuery (children 1) - TablesInSelectQueryElement (children 1) - TableExpression (children 1) - TableIdentifier tab - Set diff --git a/parser/testdata/02494_query_cache_bugs/explain_27.txt b/parser/testdata/02494_query_cache_bugs/explain_27.txt deleted file mode 100644 index 07acbdd0b2..0000000000 --- a/parser/testdata/02494_query_cache_bugs/explain_27.txt +++ /dev/null @@ -1,12 +0,0 @@ -SelectWithUnionQuery (children 1) - ExpressionList (children 1) - SelectQuery (children 3) - ExpressionList (children 1) - Function sum (children 1) - ExpressionList (children 1) - Identifier c - TablesInSelectQuery (children 1) - TablesInSelectQueryElement (children 1) - TableExpression (children 1) - TableIdentifier tab - Set diff --git a/parser/testdata/02494_query_cache_bugs/explain_28.txt b/parser/testdata/02494_query_cache_bugs/explain_28.txt deleted file mode 100644 index 07acbdd0b2..0000000000 --- a/parser/testdata/02494_query_cache_bugs/explain_28.txt +++ /dev/null @@ -1,12 +0,0 @@ -SelectWithUnionQuery (children 1) - ExpressionList (children 1) - SelectQuery (children 3) - ExpressionList (children 1) - Function sum (children 1) - ExpressionList (children 1) - Identifier c - TablesInSelectQuery (children 1) - TablesInSelectQueryElement (children 1) - TableExpression (children 1) - TableIdentifier tab - Set diff --git a/parser/testdata/02494_query_cache_bugs/explain_29.txt b/parser/testdata/02494_query_cache_bugs/explain_29.txt deleted file mode 100644 index 07acbdd0b2..0000000000 --- a/parser/testdata/02494_query_cache_bugs/explain_29.txt +++ /dev/null @@ -1,12 +0,0 @@ -SelectWithUnionQuery (children 1) - ExpressionList (children 1) - SelectQuery (children 3) - ExpressionList (children 1) - Function sum (children 1) - ExpressionList (children 1) - Identifier c - TablesInSelectQuery (children 1) - TablesInSelectQueryElement (children 1) - TableExpression (children 1) - TableIdentifier tab - Set diff --git a/parser/testdata/02494_query_cache_bugs/explain_3.txt b/parser/testdata/02494_query_cache_bugs/explain_3.txt index 23eeb8733c..ceeb3f73fb 100644 --- a/parser/testdata/02494_query_cache_bugs/explain_3.txt +++ b/parser/testdata/02494_query_cache_bugs/explain_3.txt @@ -1,8 +1,7 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 2) + SelectQuery (children 1) ExpressionList (children 1) Literal UInt64_10 - Set Identifier Vertical Set diff --git a/parser/testdata/02494_query_cache_bugs/explain_30.txt b/parser/testdata/02494_query_cache_bugs/explain_30.txt deleted file mode 100644 index 07acbdd0b2..0000000000 --- a/parser/testdata/02494_query_cache_bugs/explain_30.txt +++ /dev/null @@ -1,12 +0,0 @@ -SelectWithUnionQuery (children 1) - ExpressionList (children 1) - SelectQuery (children 3) - ExpressionList (children 1) - Function sum (children 1) - ExpressionList (children 1) - Identifier c - TablesInSelectQuery (children 1) - TablesInSelectQueryElement (children 1) - TableExpression (children 1) - TableIdentifier tab - Set diff --git a/parser/testdata/02494_query_cache_bugs/explain_31.txt b/parser/testdata/02494_query_cache_bugs/explain_31.txt deleted file mode 100644 index 07acbdd0b2..0000000000 --- a/parser/testdata/02494_query_cache_bugs/explain_31.txt +++ /dev/null @@ -1,12 +0,0 @@ -SelectWithUnionQuery (children 1) - ExpressionList (children 1) - SelectQuery (children 3) - ExpressionList (children 1) - Function sum (children 1) - ExpressionList (children 1) - Identifier c - TablesInSelectQuery (children 1) - TablesInSelectQueryElement (children 1) - TableExpression (children 1) - TableIdentifier tab - Set diff --git a/parser/testdata/02494_query_cache_bugs/explain_32.txt b/parser/testdata/02494_query_cache_bugs/explain_32.txt deleted file mode 100644 index 07acbdd0b2..0000000000 --- a/parser/testdata/02494_query_cache_bugs/explain_32.txt +++ /dev/null @@ -1,12 +0,0 @@ -SelectWithUnionQuery (children 1) - ExpressionList (children 1) - SelectQuery (children 3) - ExpressionList (children 1) - Function sum (children 1) - ExpressionList (children 1) - Identifier c - TablesInSelectQuery (children 1) - TablesInSelectQueryElement (children 1) - TableExpression (children 1) - TableIdentifier tab - Set diff --git a/parser/testdata/02494_query_cache_bugs/explain_4.txt b/parser/testdata/02494_query_cache_bugs/explain_4.txt index f3ba4d37e9..732c797efd 100644 --- a/parser/testdata/02494_query_cache_bugs/explain_4.txt +++ b/parser/testdata/02494_query_cache_bugs/explain_4.txt @@ -1,8 +1,7 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 2) + SelectQuery (children 1) ExpressionList (children 1) Literal UInt64_10 (alias x) - Set Identifier Vertical Set diff --git a/parser/testdata/02494_query_cache_bugs/explain_8.txt b/parser/testdata/02494_query_cache_bugs/explain_8.txt index 5a1a108003..6e49b83382 100644 --- a/parser/testdata/02494_query_cache_bugs/explain_8.txt +++ b/parser/testdata/02494_query_cache_bugs/explain_8.txt @@ -1,10 +1,9 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 2) + SelectQuery (children 1) ExpressionList (children 1) Function toUInt64 (children 1) ExpressionList (children 1) Literal UInt64_42 - Set Identifier Vertical Set diff --git a/parser/testdata/02494_query_cache_bugs/explain_9.txt b/parser/testdata/02494_query_cache_bugs/explain_9.txt index 264bb5e0b8..331762cd0b 100644 --- a/parser/testdata/02494_query_cache_bugs/explain_9.txt +++ b/parser/testdata/02494_query_cache_bugs/explain_9.txt @@ -1,10 +1,9 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 2) + SelectQuery (children 1) ExpressionList (children 1) Function toUInt64 (alias x) (children 1) ExpressionList (children 1) Literal UInt64_42 - Set Identifier Vertical Set diff --git a/parser/testdata/02494_query_cache_case_agnostic_matching/explain_7.txt b/parser/testdata/02494_query_cache_case_agnostic_matching/explain_7.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02494_query_cache_case_agnostic_matching/explain_7.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02494_query_cache_eligible_queries/explain_13.txt b/parser/testdata/02494_query_cache_eligible_queries/explain_13.txt new file mode 100644 index 0000000000..6ca054ca2d --- /dev/null +++ b/parser/testdata/02494_query_cache_eligible_queries/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier eligible_test diff --git a/parser/testdata/02494_query_cache_events/explain_4.txt b/parser/testdata/02494_query_cache_events/explain_4.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02494_query_cache_events/explain_4.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02494_query_cache_ignore_output_settings/explain_12.txt b/parser/testdata/02494_query_cache_ignore_output_settings/explain_12.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02494_query_cache_ignore_output_settings/explain_12.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02494_query_cache_ignore_output_settings/explain_8.txt b/parser/testdata/02494_query_cache_ignore_output_settings/explain_8.txt index 6e91e01908..ef44b1f79d 100644 --- a/parser/testdata/02494_query_cache_ignore_output_settings/explain_8.txt +++ b/parser/testdata/02494_query_cache_ignore_output_settings/explain_8.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 2) Literal \'03710\' Identifier c @@ -8,6 +8,5 @@ SelectWithUnionQuery (children 3) TablesInSelectQueryElement (children 1) TableExpression (children 1) TableIdentifier tab - Set Identifier CSV Set diff --git a/parser/testdata/02494_query_cache_ignore_output_settings/explain_9.txt b/parser/testdata/02494_query_cache_ignore_output_settings/explain_9.txt index d351243166..f73415d7a7 100644 --- a/parser/testdata/02494_query_cache_ignore_output_settings/explain_9.txt +++ b/parser/testdata/02494_query_cache_ignore_output_settings/explain_9.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 2) Literal \'03710\' Identifier c @@ -8,6 +8,5 @@ SelectWithUnionQuery (children 3) TablesInSelectQueryElement (children 1) TableExpression (children 1) TableIdentifier tab - Set Identifier TSV Set diff --git a/parser/testdata/02494_query_cache_key/explain_10.txt b/parser/testdata/02494_query_cache_key/explain_10.txt new file mode 100644 index 0000000000..c635f78b2e --- /dev/null +++ b/parser/testdata/02494_query_cache_key/explain_10.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier db2 + Identifier tab diff --git a/parser/testdata/02494_query_cache_key/explain_9.txt b/parser/testdata/02494_query_cache_key/explain_9.txt new file mode 100644 index 0000000000..623ddddb86 --- /dev/null +++ b/parser/testdata/02494_query_cache_key/explain_9.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier db1 + Identifier tab diff --git a/parser/testdata/02494_query_cache_log_comment/explain_5.txt b/parser/testdata/02494_query_cache_log_comment/explain_5.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02494_query_cache_log_comment/explain_5.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02494_query_cache_normalize_ast/explain_6.txt b/parser/testdata/02494_query_cache_normalize_ast/explain_6.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02494_query_cache_normalize_ast/explain_6.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02494_query_cache_passive_usage/explain_13.txt b/parser/testdata/02494_query_cache_passive_usage/explain_13.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02494_query_cache_passive_usage/explain_13.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02494_query_cache_query_log/explain_12.txt b/parser/testdata/02494_query_cache_query_log/explain_12.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02494_query_cache_query_log/explain_12.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02494_query_cache_query_log/explain_16.txt b/parser/testdata/02494_query_cache_query_log/explain_16.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02494_query_cache_query_log/explain_16.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02494_query_cache_query_log/explain_4.txt b/parser/testdata/02494_query_cache_query_log/explain_4.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02494_query_cache_query_log/explain_4.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02494_query_cache_query_log/explain_8.txt b/parser/testdata/02494_query_cache_query_log/explain_8.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02494_query_cache_query_log/explain_8.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02494_query_cache_squash_partial_results/explain_10.txt b/parser/testdata/02494_query_cache_squash_partial_results/explain_10.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/02494_query_cache_squash_partial_results/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/02494_query_cache_squash_partial_results/explain_11.txt b/parser/testdata/02494_query_cache_squash_partial_results/explain_11.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/02494_query_cache_squash_partial_results/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/02494_query_cache_squash_partial_results/explain_12.txt b/parser/testdata/02494_query_cache_squash_partial_results/explain_12.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/02494_query_cache_squash_partial_results/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/02494_query_cache_squash_partial_results/explain_13.txt b/parser/testdata/02494_query_cache_squash_partial_results/explain_13.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/02494_query_cache_squash_partial_results/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/02494_query_cache_squash_partial_results/explain_14.txt b/parser/testdata/02494_query_cache_squash_partial_results/explain_14.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/02494_query_cache_squash_partial_results/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/02494_query_cache_squash_partial_results/explain_15.txt b/parser/testdata/02494_query_cache_squash_partial_results/explain_15.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/02494_query_cache_squash_partial_results/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/02494_query_cache_squash_partial_results/explain_16.txt b/parser/testdata/02494_query_cache_squash_partial_results/explain_16.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/02494_query_cache_squash_partial_results/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/02494_query_cache_squash_partial_results/explain_17.txt b/parser/testdata/02494_query_cache_squash_partial_results/explain_17.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/02494_query_cache_squash_partial_results/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/02494_query_cache_squash_partial_results/explain_18.txt b/parser/testdata/02494_query_cache_squash_partial_results/explain_18.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/02494_query_cache_squash_partial_results/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/02494_query_cache_squash_partial_results/explain_19.txt b/parser/testdata/02494_query_cache_squash_partial_results/explain_19.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/02494_query_cache_squash_partial_results/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/02494_query_cache_squash_partial_results/explain_20.txt b/parser/testdata/02494_query_cache_squash_partial_results/explain_20.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/02494_query_cache_squash_partial_results/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/02494_query_cache_squash_partial_results/explain_21.txt b/parser/testdata/02494_query_cache_squash_partial_results/explain_21.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/02494_query_cache_squash_partial_results/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/02494_query_cache_squash_partial_results/explain_5.txt b/parser/testdata/02494_query_cache_squash_partial_results/explain_5.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/02494_query_cache_squash_partial_results/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/02494_query_cache_squash_partial_results/explain_6.txt b/parser/testdata/02494_query_cache_squash_partial_results/explain_6.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/02494_query_cache_squash_partial_results/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/02494_query_cache_squash_partial_results/explain_7.txt b/parser/testdata/02494_query_cache_squash_partial_results/explain_7.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/02494_query_cache_squash_partial_results/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/02494_query_cache_squash_partial_results/explain_8.txt b/parser/testdata/02494_query_cache_squash_partial_results/explain_8.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/02494_query_cache_squash_partial_results/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/02494_query_cache_squash_partial_results/explain_9.txt b/parser/testdata/02494_query_cache_squash_partial_results/explain_9.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/02494_query_cache_squash_partial_results/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/02494_query_cache_totals_extremes/explain_4.txt b/parser/testdata/02494_query_cache_totals_extremes/explain_4.txt new file mode 100644 index 0000000000..fded649204 --- /dev/null +++ b/parser/testdata/02494_query_cache_totals_extremes/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tbl diff --git a/parser/testdata/02494_query_cache_udf_sql/explain_13.txt b/parser/testdata/02494_query_cache_udf_sql/explain_13.txt index 7d41c29f50..06a90ea90a 100644 --- a/parser/testdata/02494_query_cache_udf_sql/explain_13.txt +++ b/parser/testdata/02494_query_cache_udf_sql/explain_13.txt @@ -1,10 +1,9 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 2) + SelectQuery (children 1) ExpressionList (children 1) Function udf (children 1) ExpressionList (children 1) Literal UInt64_1 - Set Identifier Null Set diff --git a/parser/testdata/02494_query_cache_udf_sql/explain_5.txt b/parser/testdata/02494_query_cache_udf_sql/explain_5.txt index 7d41c29f50..06a90ea90a 100644 --- a/parser/testdata/02494_query_cache_udf_sql/explain_5.txt +++ b/parser/testdata/02494_query_cache_udf_sql/explain_5.txt @@ -1,10 +1,9 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 2) + SelectQuery (children 1) ExpressionList (children 1) Function udf (children 1) ExpressionList (children 1) Literal UInt64_1 - Set Identifier Null Set diff --git a/parser/testdata/02494_query_cache_udf_sql/explain_9.txt b/parser/testdata/02494_query_cache_udf_sql/explain_9.txt index 7d41c29f50..06a90ea90a 100644 --- a/parser/testdata/02494_query_cache_udf_sql/explain_9.txt +++ b/parser/testdata/02494_query_cache_udf_sql/explain_9.txt @@ -1,10 +1,9 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 2) + SelectQuery (children 1) ExpressionList (children 1) Function udf (children 1) ExpressionList (children 1) Literal UInt64_1 - Set Identifier Null Set diff --git a/parser/testdata/02495_analyzer_storage_join/explain_10.txt b/parser/testdata/02495_analyzer_storage_join/explain_10.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/02495_analyzer_storage_join/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/02495_analyzer_storage_join/explain_19.txt b/parser/testdata/02495_analyzer_storage_join/explain_19.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/02495_analyzer_storage_join/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/02495_analyzer_storage_join/explain_57.txt b/parser/testdata/02495_analyzer_storage_join/explain_57.txt new file mode 100644 index 0000000000..d97e15e94e --- /dev/null +++ b/parser/testdata/02495_analyzer_storage_join/explain_57.txt @@ -0,0 +1,32 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier tj + TableJoin (children 1) + Function and (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Identifier t.key1 + Identifier tj.key1 + Function equals (children 1) + ExpressionList (children 2) + Identifier t.key2 + Identifier tj.key2 + Function equals (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal UInt64_1 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier ALL + Set + Identifier TSVWithNames diff --git a/parser/testdata/02495_analyzer_storage_join/explain_58.txt b/parser/testdata/02495_analyzer_storage_join/explain_58.txt new file mode 100644 index 0000000000..d97e15e94e --- /dev/null +++ b/parser/testdata/02495_analyzer_storage_join/explain_58.txt @@ -0,0 +1,32 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier tj + TableJoin (children 1) + Function and (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Identifier t.key1 + Identifier tj.key1 + Function equals (children 1) + ExpressionList (children 2) + Identifier t.key2 + Identifier tj.key2 + Function equals (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal UInt64_1 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier ALL + Set + Identifier TSVWithNames diff --git a/parser/testdata/02495_analyzer_storage_join/explain_63.txt b/parser/testdata/02495_analyzer_storage_join/explain_63.txt new file mode 100644 index 0000000000..c50140e97e --- /dev/null +++ b/parser/testdata/02495_analyzer_storage_join/explain_63.txt @@ -0,0 +1,29 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier tj + TableJoin (children 1) + Function and (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Identifier t.key1 + Identifier tj.key1 + Function equals (children 1) + ExpressionList (children 2) + Identifier t.key2 + Identifier tj.key2 + Literal NULL + ExpressionList (children 1) + OrderByElement (children 1) + Identifier ALL + Set + Identifier TSVWithNames diff --git a/parser/testdata/02495_analyzer_storage_join/explain_64.txt b/parser/testdata/02495_analyzer_storage_join/explain_64.txt new file mode 100644 index 0000000000..c50140e97e --- /dev/null +++ b/parser/testdata/02495_analyzer_storage_join/explain_64.txt @@ -0,0 +1,29 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier tj + TableJoin (children 1) + Function and (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Identifier t.key1 + Identifier tj.key1 + Function equals (children 1) + ExpressionList (children 2) + Identifier t.key2 + Identifier tj.key2 + Literal NULL + ExpressionList (children 1) + OrderByElement (children 1) + Identifier ALL + Set + Identifier TSVWithNames diff --git a/parser/testdata/02495_analyzer_storage_join/explain_67.txt b/parser/testdata/02495_analyzer_storage_join/explain_67.txt new file mode 100644 index 0000000000..37de960e6a --- /dev/null +++ b/parser/testdata/02495_analyzer_storage_join/explain_67.txt @@ -0,0 +1,29 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier tj + TableJoin (children 1) + Function and (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Identifier t.key1 + Identifier tj.key1 + Function equals (children 1) + ExpressionList (children 2) + Identifier t.key2 + Identifier tj.key2 + Literal UInt64_1 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier ALL + Set + Identifier TSVWithNames diff --git a/parser/testdata/02495_analyzer_storage_join/explain_68.txt b/parser/testdata/02495_analyzer_storage_join/explain_68.txt new file mode 100644 index 0000000000..37de960e6a --- /dev/null +++ b/parser/testdata/02495_analyzer_storage_join/explain_68.txt @@ -0,0 +1,29 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier tj + TableJoin (children 1) + Function and (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Identifier t.key1 + Identifier tj.key1 + Function equals (children 1) + ExpressionList (children 2) + Identifier t.key2 + Identifier tj.key2 + Literal UInt64_1 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier ALL + Set + Identifier TSVWithNames diff --git a/parser/testdata/02495_analyzer_storage_join/explain_7.txt b/parser/testdata/02495_analyzer_storage_join/explain_7.txt new file mode 100644 index 0000000000..5b7187926b --- /dev/null +++ b/parser/testdata/02495_analyzer_storage_join/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tj diff --git a/parser/testdata/02496_storage_s3_profile_events/explain_7.txt b/parser/testdata/02496_storage_s3_profile_events/explain_7.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02496_storage_s3_profile_events/explain_7.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02497_storage_join_right_assert/explain_5.txt b/parser/testdata/02497_storage_join_right_assert/explain_5.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/02497_storage_join_right_assert/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/02497_storage_join_right_assert/explain_6.txt b/parser/testdata/02497_storage_join_right_assert/explain_6.txt new file mode 100644 index 0000000000..df4a687bc0 --- /dev/null +++ b/parser/testdata/02497_storage_join_right_assert/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2 diff --git a/parser/testdata/02498_analyzer_aggregate_functions_arithmetic_operations_pass_fix/explain_5.txt b/parser/testdata/02498_analyzer_aggregate_functions_arithmetic_operations_pass_fix/explain_5.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02498_analyzer_aggregate_functions_arithmetic_operations_pass_fix/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02498_analyzer_aggregate_functions_arithmetic_operations_pass_fix/explain_6.txt b/parser/testdata/02498_analyzer_aggregate_functions_arithmetic_operations_pass_fix/explain_6.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02498_analyzer_aggregate_functions_arithmetic_operations_pass_fix/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02498_analyzer_settings_push_down/explain_5.txt b/parser/testdata/02498_analyzer_settings_push_down/explain_5.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02498_analyzer_settings_push_down/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02498_storage_join_key_positions/explain_10.txt b/parser/testdata/02498_storage_join_key_positions/explain_10.txt new file mode 100644 index 0000000000..05b1e98c25 --- /dev/null +++ b/parser/testdata/02498_storage_join_key_positions/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tjj diff --git a/parser/testdata/02498_storage_join_key_positions/explain_6.txt b/parser/testdata/02498_storage_join_key_positions/explain_6.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/02498_storage_join_key_positions/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/02498_storage_join_key_positions/explain_8.txt b/parser/testdata/02498_storage_join_key_positions/explain_8.txt new file mode 100644 index 0000000000..5b7187926b --- /dev/null +++ b/parser/testdata/02498_storage_join_key_positions/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tj diff --git a/parser/testdata/02499_extract_key_value_pairs_multiple_input/explain.txt b/parser/testdata/02499_extract_key_value_pairs_multiple_input/explain.txt new file mode 100644 index 0000000000..202babc637 --- /dev/null +++ b/parser/testdata/02499_extract_key_value_pairs_multiple_input/explain.txt @@ -0,0 +1,31 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function extractKeyValuePairs (alias s_map) (children 1) + ExpressionList (children 1) + Literal \'name:neymar, age:31 team:psg,nationality:brazil\' + Function CAST (alias x) (children 1) + ExpressionList (children 2) + Function arrayMap (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function tuple (children 1) + ExpressionList (children 2) + Identifier x + Function arrayElement (children 1) + ExpressionList (children 2) + Identifier s_map + Identifier x + Function arraySort (children 1) + ExpressionList (children 1) + Function mapKeys (children 1) + ExpressionList (children 1) + Identifier s_map + Literal \'Map(String,String)\' + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/02500_prevent_drop_nested_if_empty_part/explain_14.txt b/parser/testdata/02500_prevent_drop_nested_if_empty_part/explain_14.txt new file mode 100644 index 0000000000..1b07ae8f3a --- /dev/null +++ b/parser/testdata/02500_prevent_drop_nested_if_empty_part/explain_14.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier 02500_nested + ExpressionList (children 1) + Identifier nes diff --git a/parser/testdata/02500_prevent_drop_nested_if_empty_part/explain_19.txt b/parser/testdata/02500_prevent_drop_nested_if_empty_part/explain_19.txt new file mode 100644 index 0000000000..dd66e4f1e2 --- /dev/null +++ b/parser/testdata/02500_prevent_drop_nested_if_empty_part/explain_19.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier 02500_nested + ExpressionList (children 2) + Identifier nes + Identifier z diff --git a/parser/testdata/02500_prevent_drop_nested_if_empty_part/explain_4.txt b/parser/testdata/02500_prevent_drop_nested_if_empty_part/explain_4.txt new file mode 100644 index 0000000000..89abdce6e6 --- /dev/null +++ b/parser/testdata/02500_prevent_drop_nested_if_empty_part/explain_4.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier 02500_nested + ExpressionList (children 2) + Identifier nes.a + Identifier nes.b diff --git a/parser/testdata/02500_prevent_drop_nested_if_empty_part/explain_9.txt b/parser/testdata/02500_prevent_drop_nested_if_empty_part/explain_9.txt new file mode 100644 index 0000000000..f17f7356e4 --- /dev/null +++ b/parser/testdata/02500_prevent_drop_nested_if_empty_part/explain_9.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier 02500_nested + ExpressionList (children 3) + Identifier nes.a + Identifier nes.b + Identifier z diff --git a/parser/testdata/02501_limits_on_result_for_view/explain_7.txt b/parser/testdata/02501_limits_on_result_for_view/explain_7.txt new file mode 100644 index 0000000000..d86113926e --- /dev/null +++ b/parser/testdata/02501_limits_on_result_for_view/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02501_test diff --git a/parser/testdata/02502_analyzer_insert_select_crash_fix/explain_7.txt b/parser/testdata/02502_analyzer_insert_select_crash_fix/explain_7.txt new file mode 100644 index 0000000000..857e657eef --- /dev/null +++ b/parser/testdata/02502_analyzer_insert_select_crash_fix/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_data diff --git a/parser/testdata/02502_bad_values_schema_inference/explain.txt b/parser/testdata/02502_bad_values_schema_inference/explain.txt index 2762150d44..2b7c31de9e 100644 --- a/parser/testdata/02502_bad_values_schema_inference/explain.txt +++ b/parser/testdata/02502_bad_values_schema_inference/explain.txt @@ -4,4 +4,3 @@ DescribeQuery (children 1) ExpressionList (children 2) Identifier Values Literal \'(\\\'abc)\' -The query succeeded but the server error '636' was expected (query: EXPLAIN AST desc format(Values, '(\'abc)'); -- { serverError CANNOT_EXTRACT_TABLE_STRUCTURE }). diff --git a/parser/testdata/02502_fuzz_bad_cast_to_ast_literal/explain_4.txt b/parser/testdata/02502_fuzz_bad_cast_to_ast_literal/explain_4.txt new file mode 100644 index 0000000000..b0db830449 --- /dev/null +++ b/parser/testdata/02502_fuzz_bad_cast_to_ast_literal/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test54378 diff --git a/parser/testdata/02503_bad_compatibility_setting/explain.txt b/parser/testdata/02503_bad_compatibility_setting/explain.txt index d79d94259d..cb1142253f 100644 --- a/parser/testdata/02503_bad_compatibility_setting/explain.txt +++ b/parser/testdata/02503_bad_compatibility_setting/explain.txt @@ -1,2 +1 @@ Set -The query succeeded but the server error '36' was expected (query: EXPLAIN AST set compatibility='a.a'; -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/02503_join_switch_alias_fuzz/explain.txt b/parser/testdata/02503_join_switch_alias_fuzz/explain.txt index aa235239c2..9f9fe1f033 100644 --- a/parser/testdata/02503_join_switch_alias_fuzz/explain.txt +++ b/parser/testdata/02503_join_switch_alias_fuzz/explain.txt @@ -1,9 +1,9 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) - SelectQuery (children 2) + SelectQuery (children 3) ExpressionList (children 1) Asterisk - TablesInSelectQuery (children 1) + TablesInSelectQuery (children 2) TablesInSelectQueryElement (children 1) TableExpression (children 1) Subquery (alias a) (children 1) @@ -13,3 +13,19 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Literal UInt64_1 (alias id) Literal \'\' (alias test) + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias b) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 3) + Identifier test + Literal UInt64_1 (alias id) + Literal NULL (alias test) + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier b.id + Identifier a.id + Set diff --git a/parser/testdata/02504_bar_fractions/explain.txt b/parser/testdata/02504_bar_fractions/explain.txt new file mode 100644 index 0000000000..99199549c8 --- /dev/null +++ b/parser/testdata/02504_bar_fractions/explain.txt @@ -0,0 +1,35 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 5) + Function divide (alias width) (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_8 + Function bar (alias b) (children 1) + ExpressionList (children 4) + Identifier width + Literal UInt64_0 + Literal UInt64_3 + Literal UInt64_3 + Function bar (alias b_minus) (children 1) + ExpressionList (children 4) + Function minus (children 1) + ExpressionList (children 2) + Identifier width + Literal Float64_0.001 + Literal UInt64_0 + Literal UInt64_3 + Literal UInt64_3 + Function hex (children 1) + ExpressionList (children 1) + Identifier b + Function hex (children 1) + ExpressionList (children 1) + Identifier b_minus + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_20 diff --git a/parser/testdata/02504_disallow_arrayjoin_in_mutations/explain_3.txt b/parser/testdata/02504_disallow_arrayjoin_in_mutations/explain_3.txt new file mode 100644 index 0000000000..cc1361dcb9 --- /dev/null +++ b/parser/testdata/02504_disallow_arrayjoin_in_mutations/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_02504 diff --git a/parser/testdata/02504_parse_datetime_best_effort_calebeaires/explain_2.txt b/parser/testdata/02504_parse_datetime_best_effort_calebeaires/explain_2.txt new file mode 100644 index 0000000000..0658822de9 --- /dev/null +++ b/parser/testdata/02504_parse_datetime_best_effort_calebeaires/explain_2.txt @@ -0,0 +1,8 @@ +InsertQuery (children 2) + Identifier my_table + ExpressionList (children 5) + Identifier col_date + Identifier col_date32 + Identifier col_datetime + Identifier col_datetime32 + Identifier col_datetime64 diff --git a/parser/testdata/02504_regexp_dictionary_table_source/explain_21.txt b/parser/testdata/02504_regexp_dictionary_table_source/explain_21.txt new file mode 100644 index 0000000000..1b777a041c --- /dev/null +++ b/parser/testdata/02504_regexp_dictionary_table_source/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier regexp_dictionary_source_table diff --git a/parser/testdata/02504_regexp_dictionary_table_source/explain_24.txt b/parser/testdata/02504_regexp_dictionary_table_source/explain_24.txt new file mode 100644 index 0000000000..1b777a041c --- /dev/null +++ b/parser/testdata/02504_regexp_dictionary_table_source/explain_24.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier regexp_dictionary_source_table diff --git a/parser/testdata/02504_regexp_dictionary_table_source/explain_27.txt b/parser/testdata/02504_regexp_dictionary_table_source/explain_27.txt new file mode 100644 index 0000000000..1b777a041c --- /dev/null +++ b/parser/testdata/02504_regexp_dictionary_table_source/explain_27.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier regexp_dictionary_source_table diff --git a/parser/testdata/02504_regexp_dictionary_table_source/explain_28.txt b/parser/testdata/02504_regexp_dictionary_table_source/explain_28.txt new file mode 100644 index 0000000000..1b777a041c --- /dev/null +++ b/parser/testdata/02504_regexp_dictionary_table_source/explain_28.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier regexp_dictionary_source_table diff --git a/parser/testdata/02504_regexp_dictionary_table_source/explain_29.txt b/parser/testdata/02504_regexp_dictionary_table_source/explain_29.txt new file mode 100644 index 0000000000..1b777a041c --- /dev/null +++ b/parser/testdata/02504_regexp_dictionary_table_source/explain_29.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier regexp_dictionary_source_table diff --git a/parser/testdata/02504_regexp_dictionary_table_source/explain_32.txt b/parser/testdata/02504_regexp_dictionary_table_source/explain_32.txt new file mode 100644 index 0000000000..1b777a041c --- /dev/null +++ b/parser/testdata/02504_regexp_dictionary_table_source/explain_32.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier regexp_dictionary_source_table diff --git a/parser/testdata/02504_regexp_dictionary_table_source/explain_33.txt b/parser/testdata/02504_regexp_dictionary_table_source/explain_33.txt new file mode 100644 index 0000000000..1b777a041c --- /dev/null +++ b/parser/testdata/02504_regexp_dictionary_table_source/explain_33.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier regexp_dictionary_source_table diff --git a/parser/testdata/02504_regexp_dictionary_table_source/explain_34.txt b/parser/testdata/02504_regexp_dictionary_table_source/explain_34.txt new file mode 100644 index 0000000000..1b777a041c --- /dev/null +++ b/parser/testdata/02504_regexp_dictionary_table_source/explain_34.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier regexp_dictionary_source_table diff --git a/parser/testdata/02504_regexp_dictionary_table_source/explain_4.txt b/parser/testdata/02504_regexp_dictionary_table_source/explain_4.txt new file mode 100644 index 0000000000..1b777a041c --- /dev/null +++ b/parser/testdata/02504_regexp_dictionary_table_source/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier regexp_dictionary_source_table diff --git a/parser/testdata/02504_regexp_dictionary_table_source/explain_5.txt b/parser/testdata/02504_regexp_dictionary_table_source/explain_5.txt new file mode 100644 index 0000000000..1b777a041c --- /dev/null +++ b/parser/testdata/02504_regexp_dictionary_table_source/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier regexp_dictionary_source_table diff --git a/parser/testdata/02504_regexp_dictionary_table_source/explain_6.txt b/parser/testdata/02504_regexp_dictionary_table_source/explain_6.txt new file mode 100644 index 0000000000..1b777a041c --- /dev/null +++ b/parser/testdata/02504_regexp_dictionary_table_source/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier regexp_dictionary_source_table diff --git a/parser/testdata/02504_regexp_dictionary_table_source/explain_7.txt b/parser/testdata/02504_regexp_dictionary_table_source/explain_7.txt new file mode 100644 index 0000000000..1b777a041c --- /dev/null +++ b/parser/testdata/02504_regexp_dictionary_table_source/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier regexp_dictionary_source_table diff --git a/parser/testdata/02504_regexp_dictionary_table_source/explain_8.txt b/parser/testdata/02504_regexp_dictionary_table_source/explain_8.txt new file mode 100644 index 0000000000..1b777a041c --- /dev/null +++ b/parser/testdata/02504_regexp_dictionary_table_source/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier regexp_dictionary_source_table diff --git a/parser/testdata/02504_regexp_dictionary_table_source/explain_9.txt b/parser/testdata/02504_regexp_dictionary_table_source/explain_9.txt new file mode 100644 index 0000000000..1b777a041c --- /dev/null +++ b/parser/testdata/02504_regexp_dictionary_table_source/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier regexp_dictionary_source_table diff --git a/parser/testdata/02505_forbid_paths_in_datetime_timezone/explain.txt b/parser/testdata/02505_forbid_paths_in_datetime_timezone/explain.txt index 777f2aadf7..3970b659d1 100644 --- a/parser/testdata/02505_forbid_paths_in_datetime_timezone/explain.txt +++ b/parser/testdata/02505_forbid_paths_in_datetime_timezone/explain.txt @@ -6,4 +6,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Literal UInt64_0 Literal \'/abc\' -The query succeeded but the server error '36' was expected (query: EXPLAIN AST select toDateTime(0, '/abc'); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/02507_to_unix_timestamp_overflow/explain.txt b/parser/testdata/02507_to_unix_timestamp_overflow/explain.txt index 40031a36ea..a8fd3f0858 100644 --- a/parser/testdata/02507_to_unix_timestamp_overflow/explain.txt +++ b/parser/testdata/02507_to_unix_timestamp_overflow/explain.txt @@ -9,4 +9,3 @@ SelectWithUnionQuery (children 1) Literal \'1928-12-31 12:12:12.123\' Literal UInt64_3 Literal \'UTC\' -The query succeeded but the server error '407' was expected (query: EXPLAIN AST SELECT toUnixTimestamp(toDateTime64('1928-12-31 12:12:12.123', 3, 'UTC')); -- { serverError DECIMAL_OVERFLOW }). diff --git a/parser/testdata/02508_bad_graphite/explain_3.txt b/parser/testdata/02508_bad_graphite/explain_3.txt new file mode 100644 index 0000000000..176f7e6c1b --- /dev/null +++ b/parser/testdata/02508_bad_graphite/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test_graphite + ExpressionList (children 1) + Identifier key diff --git a/parser/testdata/02508_index_analysis_to_date_timezone/explain_3.txt b/parser/testdata/02508_index_analysis_to_date_timezone/explain_3.txt new file mode 100644 index 0000000000..2575577b80 --- /dev/null +++ b/parser/testdata/02508_index_analysis_to_date_timezone/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table diff --git a/parser/testdata/02510_group_by_prewhere_null/explain_3.txt b/parser/testdata/02510_group_by_prewhere_null/explain_3.txt new file mode 100644 index 0000000000..05c1b71925 --- /dev/null +++ b/parser/testdata/02510_group_by_prewhere_null/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table1 diff --git a/parser/testdata/02512_array_join_name_resolution/explain_3.txt b/parser/testdata/02512_array_join_name_resolution/explain_3.txt new file mode 100644 index 0000000000..cd76eec2c4 --- /dev/null +++ b/parser/testdata/02512_array_join_name_resolution/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier x diff --git a/parser/testdata/02513_analyzer_sort_msan/explain_4.txt b/parser/testdata/02513_analyzer_sort_msan/explain_4.txt new file mode 100644 index 0000000000..d0f50e9767 --- /dev/null +++ b/parser/testdata/02513_analyzer_sort_msan/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier products diff --git a/parser/testdata/02513_date_string_comparison/explain.txt b/parser/testdata/02513_date_string_comparison/explain.txt new file mode 100644 index 0000000000..9283f5215e --- /dev/null +++ b/parser/testdata/02513_date_string_comparison/explain.txt @@ -0,0 +1,33 @@ +CreateQuery datetime_date_table (children 3) + Identifier datetime_date_table + Columns definition (children 2) + ExpressionList (children 9) + ColumnDeclaration col_date (children 1) + DataType Date + ColumnDeclaration col_datetime (children 1) + DataType DateTime + ColumnDeclaration col_datetime64 (children 1) + DataType DateTime64 (children 1) + ExpressionList (children 1) + Literal UInt64_3 + ColumnDeclaration col_date_string (children 1) + DataType String + ColumnDeclaration col_datetime_string (children 1) + DataType String + ColumnDeclaration col_datetime64_string (children 1) + DataType DateTime64 + ColumnDeclaration col_date_lc (children 1) + DataType LowCardinality (children 1) + ExpressionList (children 1) + DataType String + ColumnDeclaration col_datetime_lc (children 1) + DataType LowCardinality (children 1) + ExpressionList (children 1) + DataType String + ColumnDeclaration col_datetime64_lc (children 1) + DataType LowCardinality (children 1) + ExpressionList (children 1) + DataType String + Identifier col_date + Storage definition (children 1) + Function MergeTree diff --git a/parser/testdata/02513_date_string_comparison/explain_2.txt b/parser/testdata/02513_date_string_comparison/explain_2.txt new file mode 100644 index 0000000000..1ac6f24110 --- /dev/null +++ b/parser/testdata/02513_date_string_comparison/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier datetime_date_table diff --git a/parser/testdata/02513_date_string_comparison/explain_3.txt b/parser/testdata/02513_date_string_comparison/explain_3.txt new file mode 100644 index 0000000000..1ac6f24110 --- /dev/null +++ b/parser/testdata/02513_date_string_comparison/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier datetime_date_table diff --git a/parser/testdata/02513_date_string_comparison/explain_4.txt b/parser/testdata/02513_date_string_comparison/explain_4.txt new file mode 100644 index 0000000000..1ac6f24110 --- /dev/null +++ b/parser/testdata/02513_date_string_comparison/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier datetime_date_table diff --git a/parser/testdata/02514_analyzer_drop_join_on/explain_10.txt b/parser/testdata/02514_analyzer_drop_join_on/explain_10.txt new file mode 100644 index 0000000000..5e554ec7ed --- /dev/null +++ b/parser/testdata/02514_analyzer_drop_join_on/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier c diff --git a/parser/testdata/02514_analyzer_drop_join_on/explain_12.txt b/parser/testdata/02514_analyzer_drop_join_on/explain_12.txt new file mode 100644 index 0000000000..2cc970a43d --- /dev/null +++ b/parser/testdata/02514_analyzer_drop_join_on/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier d diff --git a/parser/testdata/02514_analyzer_drop_join_on/explain_6.txt b/parser/testdata/02514_analyzer_drop_join_on/explain_6.txt new file mode 100644 index 0000000000..b99677bd61 --- /dev/null +++ b/parser/testdata/02514_analyzer_drop_join_on/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier a diff --git a/parser/testdata/02514_analyzer_drop_join_on/explain_8.txt b/parser/testdata/02514_analyzer_drop_join_on/explain_8.txt new file mode 100644 index 0000000000..8c7c316521 --- /dev/null +++ b/parser/testdata/02514_analyzer_drop_join_on/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier b diff --git a/parser/testdata/02514_if_with_lazy_low_cardinality/explain_2.txt b/parser/testdata/02514_if_with_lazy_low_cardinality/explain_2.txt new file mode 100644 index 0000000000..b7a4007c4f --- /dev/null +++ b/parser/testdata/02514_if_with_lazy_low_cardinality/explain_2.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 2) + Identifier arr.key + Identifier arr.value diff --git a/parser/testdata/02515_aggregate_functions_statistics/explain_3.txt b/parser/testdata/02515_aggregate_functions_statistics/explain_3.txt new file mode 100644 index 0000000000..cfb24e5988 --- /dev/null +++ b/parser/testdata/02515_aggregate_functions_statistics/explain_3.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier fh + ExpressionList (children 4) + Identifier a_value + Identifier b_value + Identifier c_value + Identifier d_value diff --git a/parser/testdata/02515_projections_with_totals/explain_3.txt b/parser/testdata/02515_projections_with_totals/explain_3.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/02515_projections_with_totals/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/02515_tuple_lambda_parsing/explain.txt b/parser/testdata/02515_tuple_lambda_parsing/explain.txt deleted file mode 100644 index 8b13789179..0000000000 --- a/parser/testdata/02515_tuple_lambda_parsing/explain.txt +++ /dev/null @@ -1 +0,0 @@ - diff --git a/parser/testdata/02516_projections_and_context/explain_3.txt b/parser/testdata/02516_projections_and_context/explain_3.txt new file mode 100644 index 0000000000..26f620bf91 --- /dev/null +++ b/parser/testdata/02516_projections_and_context/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test1__fuzz_37 diff --git a/parser/testdata/02517_executable_pool_bad_input_query/explain.txt b/parser/testdata/02517_executable_pool_bad_input_query/explain.txt index 349d7341df..986697a00d 100644 --- a/parser/testdata/02517_executable_pool_bad_input_query/explain.txt +++ b/parser/testdata/02517_executable_pool_bad_input_query/explain.txt @@ -10,4 +10,3 @@ CreateQuery test_table (children 3) Literal \'nonexist.py\' Literal \'TabSeparated\' Identifier foobar -The query succeeded but the server error '36' was expected (query: EXPLAIN AST CREATE TABLE test_table (value String) ENGINE=ExecutablePool('nonexist.py', 'TabSeparated', (foobar)); -- {serverError BAD_ARGUMENTS}). diff --git a/parser/testdata/02517_uuid_parsing/explain_2.txt b/parser/testdata/02517_uuid_parsing/explain_2.txt new file mode 100644 index 0000000000..1eaf165e8c --- /dev/null +++ b/parser/testdata/02517_uuid_parsing/explain_2.txt @@ -0,0 +1,15 @@ +InsertQuery (children 2) + Identifier temp + ExpressionList (children 12) + Identifier id + Identifier field1 + Identifier field2 + Identifier field3 + Identifier field4 + Identifier field5 + Identifier field6 + Identifier field7 + Identifier field8 + Identifier event_at + Identifier order_id + Identifier identity diff --git a/parser/testdata/02518_delete_on_materialized_view/explain_5.txt b/parser/testdata/02518_delete_on_materialized_view/explain_5.txt new file mode 100644 index 0000000000..152cf9c36a --- /dev/null +++ b/parser/testdata/02518_delete_on_materialized_view/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier kek diff --git a/parser/testdata/02518_qualified_asterisks_alias_table_name/explain_7.txt b/parser/testdata/02518_qualified_asterisks_alias_table_name/explain_7.txt new file mode 100644 index 0000000000..d88229a7e9 --- /dev/null +++ b/parser/testdata/02518_qualified_asterisks_alias_table_name/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_join_1 diff --git a/parser/testdata/02518_qualified_asterisks_alias_table_name/explain_8.txt b/parser/testdata/02518_qualified_asterisks_alias_table_name/explain_8.txt new file mode 100644 index 0000000000..0b7b9736ad --- /dev/null +++ b/parser/testdata/02518_qualified_asterisks_alias_table_name/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_join_2 diff --git a/parser/testdata/02518_qualified_asterisks_alias_table_name/explain_9.txt b/parser/testdata/02518_qualified_asterisks_alias_table_name/explain_9.txt new file mode 100644 index 0000000000..7d9b1d45ee --- /dev/null +++ b/parser/testdata/02518_qualified_asterisks_alias_table_name/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_join_3 diff --git a/parser/testdata/02519_monotonicity_fuzz/explain_3.txt b/parser/testdata/02519_monotonicity_fuzz/explain_3.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/02519_monotonicity_fuzz/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/02519_monotonicity_fuzz/explain_7.txt b/parser/testdata/02519_monotonicity_fuzz/explain_7.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/02519_monotonicity_fuzz/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/02520_group_array_last/explain_18.txt b/parser/testdata/02520_group_array_last/explain_18.txt new file mode 100644 index 0000000000..67f7f64fdf --- /dev/null +++ b/parser/testdata/02520_group_array_last/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier simple_agg_groupArrayLastArray diff --git a/parser/testdata/02520_group_array_last/explain_21.txt b/parser/testdata/02520_group_array_last/explain_21.txt new file mode 100644 index 0000000000..67f7f64fdf --- /dev/null +++ b/parser/testdata/02520_group_array_last/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier simple_agg_groupArrayLastArray diff --git a/parser/testdata/02521_aggregation_by_partitions/explain_30.txt b/parser/testdata/02521_aggregation_by_partitions/explain_30.txt new file mode 100644 index 0000000000..5fcfd33de4 --- /dev/null +++ b/parser/testdata/02521_aggregation_by_partitions/explain_30.txt @@ -0,0 +1,28 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function throwIf (children 1) + ExpressionList (children 1) + Function notEquals (children 1) + ExpressionList (children 2) + Function count (children 1) + ExpressionList + Literal UInt64_2 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t3 + ExpressionList (children 1) + Identifier a + Set diff --git a/parser/testdata/02521_analyzer_aggregation_without_column/explain_4.txt b/parser/testdata/02521_analyzer_aggregation_without_column/explain_4.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02521_analyzer_aggregation_without_column/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02521_analyzer_array_join_crash/explain_4.txt b/parser/testdata/02521_analyzer_array_join_crash/explain_4.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02521_analyzer_array_join_crash/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02523_range_const_start/explain.txt b/parser/testdata/02523_range_const_start/explain.txt new file mode 100644 index 0000000000..182b80b50e --- /dev/null +++ b/parser/testdata/02523_range_const_start/explain.txt @@ -0,0 +1,42 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 6) + Identifier c1 + Function range (alias zero_as_start_val) (children 1) + ExpressionList (children 2) + Literal UInt64_0 + Identifier c1 + Function range (alias one_as_start_val) (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Identifier c1 + Function range (alias no_start_val) (children 1) + ExpressionList (children 1) + Identifier c1 + Function range (alias val_as_start) (children 1) + ExpressionList (children 2) + Identifier c1 + Function multiply (children 1) + ExpressionList (children 2) + Identifier c1 + Literal UInt64_2 + Function range (alias complex_start_step) (children 1) + ExpressionList (children 3) + Identifier c1 + Function multiply (children 1) + ExpressionList (children 2) + Identifier c1 + Identifier c1 + Identifier c1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function values (children 1) + ExpressionList (children 5) + Literal UInt64_1 + Literal UInt64_2 + Literal UInt64_3 + Literal UInt64_4 + Literal UInt64_5 + Identifier Vertical diff --git a/parser/testdata/02525_analyzer_function_in_crash_fix/explain_4.txt b/parser/testdata/02525_analyzer_function_in_crash_fix/explain_4.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02525_analyzer_function_in_crash_fix/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02525_different_engines_in_temporary_tables/explain_11.txt b/parser/testdata/02525_different_engines_in_temporary_tables/explain_11.txt new file mode 100644 index 0000000000..f57218be65 --- /dev/null +++ b/parser/testdata/02525_different_engines_in_temporary_tables/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_log_02525 diff --git a/parser/testdata/02525_different_engines_in_temporary_tables/explain_16.txt b/parser/testdata/02525_different_engines_in_temporary_tables/explain_16.txt new file mode 100644 index 0000000000..56108c8c99 --- /dev/null +++ b/parser/testdata/02525_different_engines_in_temporary_tables/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_stripe_log_02525 diff --git a/parser/testdata/02525_different_engines_in_temporary_tables/explain_21.txt b/parser/testdata/02525_different_engines_in_temporary_tables/explain_21.txt new file mode 100644 index 0000000000..67beec2e11 --- /dev/null +++ b/parser/testdata/02525_different_engines_in_temporary_tables/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_tiny_log_02525 diff --git a/parser/testdata/02525_different_engines_in_temporary_tables/explain_3.txt b/parser/testdata/02525_different_engines_in_temporary_tables/explain_3.txt new file mode 100644 index 0000000000..c38ba8d895 --- /dev/null +++ b/parser/testdata/02525_different_engines_in_temporary_tables/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_merge_tree_02525 diff --git a/parser/testdata/02525_different_engines_in_temporary_tables/explain_4.txt b/parser/testdata/02525_different_engines_in_temporary_tables/explain_4.txt new file mode 100644 index 0000000000..c38ba8d895 --- /dev/null +++ b/parser/testdata/02525_different_engines_in_temporary_tables/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_merge_tree_02525 diff --git a/parser/testdata/02525_range_hashed_dictionary_update_field/explain_5.txt b/parser/testdata/02525_range_hashed_dictionary_update_field/explain_5.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02525_range_hashed_dictionary_update_field/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02526_merge_join_int_decimal/explain_11.txt b/parser/testdata/02526_merge_join_int_decimal/explain_11.txt new file mode 100644 index 0000000000..df4a687bc0 --- /dev/null +++ b/parser/testdata/02526_merge_join_int_decimal/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2 diff --git a/parser/testdata/02527_storage_merge_prewhere_different_type/explain_5.txt b/parser/testdata/02527_storage_merge_prewhere_different_type/explain_5.txt new file mode 100644 index 0000000000..2b33f6d05c --- /dev/null +++ b/parser/testdata/02527_storage_merge_prewhere_different_type/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier foo diff --git a/parser/testdata/02531_storage_join_null_44940/explain_5.txt b/parser/testdata/02531_storage_join_null_44940/explain_5.txt new file mode 100644 index 0000000000..980ee11ba0 --- /dev/null +++ b/parser/testdata/02531_storage_join_null_44940/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1__fuzz_8 diff --git a/parser/testdata/02531_storage_join_null_44940/explain_7.txt b/parser/testdata/02531_storage_join_null_44940/explain_7.txt new file mode 100644 index 0000000000..f1a36124d5 --- /dev/null +++ b/parser/testdata/02531_storage_join_null_44940/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier full_join__fuzz_4 diff --git a/parser/testdata/02534_analyzer_grouping_function/explain_4.txt b/parser/testdata/02534_analyzer_grouping_function/explain_4.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02534_analyzer_grouping_function/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02534_join_prewhere_bug/explain_5.txt b/parser/testdata/02534_join_prewhere_bug/explain_5.txt new file mode 100644 index 0000000000..42958894ce --- /dev/null +++ b/parser/testdata/02534_join_prewhere_bug/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test1 diff --git a/parser/testdata/02534_join_prewhere_bug/explain_6.txt b/parser/testdata/02534_join_prewhere_bug/explain_6.txt new file mode 100644 index 0000000000..f67968f237 --- /dev/null +++ b/parser/testdata/02534_join_prewhere_bug/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test2 diff --git a/parser/testdata/02534_keyed_siphash/explain.txt b/parser/testdata/02534_keyed_siphash/explain.txt new file mode 100644 index 0000000000..1e535d1ca1 --- /dev/null +++ b/parser/testdata/02534_keyed_siphash/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function hex (children 1) + ExpressionList (children 1) + Function sipHash64Keyed (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 2) + Function toUInt64 (children 1) + ExpressionList (children 1) + Literal UInt64_506097522914230528 + Function toUInt64 (children 1) + ExpressionList (children 1) + Literal UInt64_1084818905618843912 + Literal \'\' diff --git a/parser/testdata/02534_keyed_siphash/explain_204.txt b/parser/testdata/02534_keyed_siphash/explain_204.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02534_keyed_siphash/explain_204.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02534_keyed_siphash/explain_229.txt b/parser/testdata/02534_keyed_siphash/explain_229.txt new file mode 100644 index 0000000000..97307a2043 --- /dev/null +++ b/parser/testdata/02534_keyed_siphash/explain_229.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier sipHashKeyed_keys diff --git a/parser/testdata/02534_keyed_siphash/explain_230.txt b/parser/testdata/02534_keyed_siphash/explain_230.txt new file mode 100644 index 0000000000..97307a2043 --- /dev/null +++ b/parser/testdata/02534_keyed_siphash/explain_230.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier sipHashKeyed_keys diff --git a/parser/testdata/02534_keyed_siphash/explain_237.txt b/parser/testdata/02534_keyed_siphash/explain_237.txt new file mode 100644 index 0000000000..97307a2043 --- /dev/null +++ b/parser/testdata/02534_keyed_siphash/explain_237.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier sipHashKeyed_keys diff --git a/parser/testdata/02534_keyed_siphash/explain_238.txt b/parser/testdata/02534_keyed_siphash/explain_238.txt new file mode 100644 index 0000000000..97307a2043 --- /dev/null +++ b/parser/testdata/02534_keyed_siphash/explain_238.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier sipHashKeyed_keys diff --git a/parser/testdata/02534_keyed_siphash/explain_248.txt b/parser/testdata/02534_keyed_siphash/explain_248.txt new file mode 100644 index 0000000000..97307a2043 --- /dev/null +++ b/parser/testdata/02534_keyed_siphash/explain_248.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier sipHashKeyed_keys diff --git a/parser/testdata/02534_keyed_siphash/explain_249.txt b/parser/testdata/02534_keyed_siphash/explain_249.txt new file mode 100644 index 0000000000..97307a2043 --- /dev/null +++ b/parser/testdata/02534_keyed_siphash/explain_249.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier sipHashKeyed_keys diff --git a/parser/testdata/02534_keyed_siphash/explain_261.txt b/parser/testdata/02534_keyed_siphash/explain_261.txt new file mode 100644 index 0000000000..97307a2043 --- /dev/null +++ b/parser/testdata/02534_keyed_siphash/explain_261.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier sipHashKeyed_keys diff --git a/parser/testdata/02535_analyzer_group_by_use_nulls/explain_12.txt b/parser/testdata/02535_analyzer_group_by_use_nulls/explain_12.txt new file mode 100644 index 0000000000..e41e8c2547 --- /dev/null +++ b/parser/testdata/02535_analyzer_group_by_use_nulls/explain_12.txt @@ -0,0 +1,34 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 3) + Identifier number + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + Function sum (alias val) (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + ExpressionList (children 2) + ExpressionList (children 1) + Identifier number + ExpressionList (children 1) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + ExpressionList (children 2) + OrderByElement (children 1) + Literal UInt64_1 + OrderByElement (children 1) + Function tuple (children 1) + ExpressionList (children 1) + Identifier val + Set diff --git a/parser/testdata/02535_analyzer_group_by_use_nulls/explain_14.txt b/parser/testdata/02535_analyzer_group_by_use_nulls/explain_14.txt index 567683db0e..9ff323beaa 100644 --- a/parser/testdata/02535_analyzer_group_by_use_nulls/explain_14.txt +++ b/parser/testdata/02535_analyzer_group_by_use_nulls/explain_14.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 5) + SelectQuery (children 4) ExpressionList (children 1) Identifier id TablesInSelectQuery (children 1) @@ -22,6 +22,5 @@ SelectWithUnionQuery (children 3) TablesInSelectQueryElement (children 1) TableExpression (children 1) TableIdentifier test - Set Identifier NUll Set diff --git a/parser/testdata/02535_analyzer_group_by_use_nulls/explain_15.txt b/parser/testdata/02535_analyzer_group_by_use_nulls/explain_15.txt index 567683db0e..9ff323beaa 100644 --- a/parser/testdata/02535_analyzer_group_by_use_nulls/explain_15.txt +++ b/parser/testdata/02535_analyzer_group_by_use_nulls/explain_15.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 5) + SelectQuery (children 4) ExpressionList (children 1) Identifier id TablesInSelectQuery (children 1) @@ -22,6 +22,5 @@ SelectWithUnionQuery (children 3) TablesInSelectQueryElement (children 1) TableExpression (children 1) TableIdentifier test - Set Identifier NUll Set diff --git a/parser/testdata/02535_analyzer_group_by_use_nulls/explain_16.txt b/parser/testdata/02535_analyzer_group_by_use_nulls/explain_16.txt index 23d4e80e19..13f181f1ed 100644 --- a/parser/testdata/02535_analyzer_group_by_use_nulls/explain_16.txt +++ b/parser/testdata/02535_analyzer_group_by_use_nulls/explain_16.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 7) + SelectQuery (children 6) ExpressionList (children 1) Identifier id TablesInSelectQuery (children 1) @@ -29,6 +29,5 @@ SelectWithUnionQuery (children 3) Literal UInt64_256 ExpressionList (children 1) Identifier id - Set Identifier NUll Set diff --git a/parser/testdata/02536_delta_gorilla_corruption/explain_12.txt b/parser/testdata/02536_delta_gorilla_corruption/explain_12.txt new file mode 100644 index 0000000000..8bca599978 --- /dev/null +++ b/parser/testdata/02536_delta_gorilla_corruption/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier bug_delta_gorilla diff --git a/parser/testdata/02536_replace_with_nonconst_needle_and_replacement/explain_3.txt b/parser/testdata/02536_replace_with_nonconst_needle_and_replacement/explain_3.txt new file mode 100644 index 0000000000..720b3c6bc8 --- /dev/null +++ b/parser/testdata/02536_replace_with_nonconst_needle_and_replacement/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_tab diff --git a/parser/testdata/02536_replace_with_nonconst_needle_and_replacement/explain_47.txt b/parser/testdata/02536_replace_with_nonconst_needle_and_replacement/explain_47.txt new file mode 100644 index 0000000000..720b3c6bc8 --- /dev/null +++ b/parser/testdata/02536_replace_with_nonconst_needle_and_replacement/explain_47.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_tab diff --git a/parser/testdata/02538_alter_rename_sequence/explain_14.txt b/parser/testdata/02538_alter_rename_sequence/explain_14.txt new file mode 100644 index 0000000000..27408e19ec --- /dev/null +++ b/parser/testdata/02538_alter_rename_sequence/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier wrong_metadata_wide diff --git a/parser/testdata/02538_alter_rename_sequence/explain_17.txt b/parser/testdata/02538_alter_rename_sequence/explain_17.txt new file mode 100644 index 0000000000..27408e19ec --- /dev/null +++ b/parser/testdata/02538_alter_rename_sequence/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier wrong_metadata_wide diff --git a/parser/testdata/02538_alter_rename_sequence/explain_3.txt b/parser/testdata/02538_alter_rename_sequence/explain_3.txt new file mode 100644 index 0000000000..6c58c62235 --- /dev/null +++ b/parser/testdata/02538_alter_rename_sequence/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier wrong_metadata diff --git a/parser/testdata/02538_alter_rename_sequence/explain_6.txt b/parser/testdata/02538_alter_rename_sequence/explain_6.txt new file mode 100644 index 0000000000..6c58c62235 --- /dev/null +++ b/parser/testdata/02538_alter_rename_sequence/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier wrong_metadata diff --git a/parser/testdata/02538_analyzer_create_table_as_select/explain_4.txt b/parser/testdata/02538_analyzer_create_table_as_select/explain_4.txt new file mode 100644 index 0000000000..857e657eef --- /dev/null +++ b/parser/testdata/02538_analyzer_create_table_as_select/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_data diff --git a/parser/testdata/02538_ngram_bf_index_with_null/explain_3.txt b/parser/testdata/02538_ngram_bf_index_with_null/explain_3.txt new file mode 100644 index 0000000000..f7df843c1b --- /dev/null +++ b/parser/testdata/02538_ngram_bf_index_with_null/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02538_bf_ngrambf_map_values_test diff --git a/parser/testdata/02539_vertical_merge_compact_parts/explain_10.txt b/parser/testdata/02539_vertical_merge_compact_parts/explain_10.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02539_vertical_merge_compact_parts/explain_10.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02539_vertical_merge_compact_parts/explain_6.txt b/parser/testdata/02539_vertical_merge_compact_parts/explain_6.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02539_vertical_merge_compact_parts/explain_6.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02540_analyzer_matcher_alias_materialized_columns/explain_4.txt b/parser/testdata/02540_analyzer_matcher_alias_materialized_columns/explain_4.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02540_analyzer_matcher_alias_materialized_columns/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_10.txt b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_10.txt new file mode 100644 index 0000000000..5a3d400f3e --- /dev/null +++ b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02540_date diff --git a/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_11.txt b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_11.txt new file mode 100644 index 0000000000..5a3d400f3e --- /dev/null +++ b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02540_date diff --git a/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_12.txt b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_12.txt new file mode 100644 index 0000000000..5a3d400f3e --- /dev/null +++ b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02540_date diff --git a/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_13.txt b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_13.txt new file mode 100644 index 0000000000..5a3d400f3e --- /dev/null +++ b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02540_date diff --git a/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_14.txt b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_14.txt new file mode 100644 index 0000000000..5a3d400f3e --- /dev/null +++ b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02540_date diff --git a/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_15.txt b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_15.txt new file mode 100644 index 0000000000..5a3d400f3e --- /dev/null +++ b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02540_date diff --git a/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_16.txt b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_16.txt new file mode 100644 index 0000000000..5a3d400f3e --- /dev/null +++ b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02540_date diff --git a/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_17.txt b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_17.txt new file mode 100644 index 0000000000..5a3d400f3e --- /dev/null +++ b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02540_date diff --git a/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_18.txt b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_18.txt new file mode 100644 index 0000000000..5a3d400f3e --- /dev/null +++ b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02540_date diff --git a/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_19.txt b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_19.txt new file mode 100644 index 0000000000..5a3d400f3e --- /dev/null +++ b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02540_date diff --git a/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_20.txt b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_20.txt new file mode 100644 index 0000000000..5a3d400f3e --- /dev/null +++ b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02540_date diff --git a/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_21.txt b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_21.txt new file mode 100644 index 0000000000..5a3d400f3e --- /dev/null +++ b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02540_date diff --git a/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_22.txt b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_22.txt new file mode 100644 index 0000000000..5a3d400f3e --- /dev/null +++ b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_22.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02540_date diff --git a/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_23.txt b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_23.txt new file mode 100644 index 0000000000..5a3d400f3e --- /dev/null +++ b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_23.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02540_date diff --git a/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_24.txt b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_24.txt new file mode 100644 index 0000000000..5a3d400f3e --- /dev/null +++ b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_24.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02540_date diff --git a/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_25.txt b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_25.txt new file mode 100644 index 0000000000..5a3d400f3e --- /dev/null +++ b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_25.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02540_date diff --git a/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_26.txt b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_26.txt new file mode 100644 index 0000000000..5a3d400f3e --- /dev/null +++ b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_26.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02540_date diff --git a/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_27.txt b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_27.txt new file mode 100644 index 0000000000..5a3d400f3e --- /dev/null +++ b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_27.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02540_date diff --git a/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_28.txt b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_28.txt new file mode 100644 index 0000000000..5a3d400f3e --- /dev/null +++ b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_28.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02540_date diff --git a/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_29.txt b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_29.txt new file mode 100644 index 0000000000..5a3d400f3e --- /dev/null +++ b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_29.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02540_date diff --git a/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_3.txt b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_3.txt new file mode 100644 index 0000000000..5a3d400f3e --- /dev/null +++ b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02540_date diff --git a/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_30.txt b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_30.txt new file mode 100644 index 0000000000..5a3d400f3e --- /dev/null +++ b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_30.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02540_date diff --git a/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_31.txt b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_31.txt new file mode 100644 index 0000000000..5a3d400f3e --- /dev/null +++ b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_31.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02540_date diff --git a/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_32.txt b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_32.txt new file mode 100644 index 0000000000..5a3d400f3e --- /dev/null +++ b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_32.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02540_date diff --git a/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_33.txt b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_33.txt new file mode 100644 index 0000000000..5a3d400f3e --- /dev/null +++ b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_33.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02540_date diff --git a/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_34.txt b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_34.txt new file mode 100644 index 0000000000..5a3d400f3e --- /dev/null +++ b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_34.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02540_date diff --git a/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_35.txt b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_35.txt new file mode 100644 index 0000000000..5a3d400f3e --- /dev/null +++ b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_35.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02540_date diff --git a/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_36.txt b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_36.txt new file mode 100644 index 0000000000..5a3d400f3e --- /dev/null +++ b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_36.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02540_date diff --git a/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_37.txt b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_37.txt new file mode 100644 index 0000000000..5a3d400f3e --- /dev/null +++ b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_37.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02540_date diff --git a/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_38.txt b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_38.txt new file mode 100644 index 0000000000..5a3d400f3e --- /dev/null +++ b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_38.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02540_date diff --git a/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_4.txt b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_4.txt new file mode 100644 index 0000000000..5a3d400f3e --- /dev/null +++ b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02540_date diff --git a/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_5.txt b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_5.txt new file mode 100644 index 0000000000..5a3d400f3e --- /dev/null +++ b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02540_date diff --git a/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_6.txt b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_6.txt new file mode 100644 index 0000000000..5a3d400f3e --- /dev/null +++ b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02540_date diff --git a/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_7.txt b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_7.txt new file mode 100644 index 0000000000..5a3d400f3e --- /dev/null +++ b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02540_date diff --git a/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_8.txt b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_8.txt new file mode 100644 index 0000000000..5a3d400f3e --- /dev/null +++ b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02540_date diff --git a/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_9.txt b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_9.txt new file mode 100644 index 0000000000..5a3d400f3e --- /dev/null +++ b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02540_date diff --git a/parser/testdata/02541_lightweight_delete_on_cluster/explain_3.txt b/parser/testdata/02541_lightweight_delete_on_cluster/explain_3.txt new file mode 100644 index 0000000000..96b6c165af --- /dev/null +++ b/parser/testdata/02541_lightweight_delete_on_cluster/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1_local diff --git a/parser/testdata/02541_lightweight_delete_on_cluster/explain_4.txt b/parser/testdata/02541_lightweight_delete_on_cluster/explain_4.txt new file mode 100644 index 0000000000..96b6c165af --- /dev/null +++ b/parser/testdata/02541_lightweight_delete_on_cluster/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1_local diff --git a/parser/testdata/02541_lightweight_delete_on_cluster/explain_5.txt b/parser/testdata/02541_lightweight_delete_on_cluster/explain_5.txt new file mode 100644 index 0000000000..96b6c165af --- /dev/null +++ b/parser/testdata/02541_lightweight_delete_on_cluster/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1_local diff --git a/parser/testdata/02541_lightweight_delete_on_cluster/explain_6.txt b/parser/testdata/02541_lightweight_delete_on_cluster/explain_6.txt new file mode 100644 index 0000000000..96b6c165af --- /dev/null +++ b/parser/testdata/02541_lightweight_delete_on_cluster/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1_local diff --git a/parser/testdata/02541_tuple_element_with_null/explain_3.txt b/parser/testdata/02541_tuple_element_with_null/explain_3.txt new file mode 100644 index 0000000000..bf20e08065 --- /dev/null +++ b/parser/testdata/02541_tuple_element_with_null/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_tuple_element diff --git a/parser/testdata/02542_table_function_format/explain.txt b/parser/testdata/02542_table_function_format/explain.txt new file mode 100644 index 0000000000..553899bfd3 --- /dev/null +++ b/parser/testdata/02542_table_function_format/explain.txt @@ -0,0 +1,6 @@ +DescribeQuery (children 1) + TableExpression (children 1) + Function format (children 1) + ExpressionList (children 2) + Identifier JSONEachRow + Literal \' {"a": "Hello", "b": 111} {"a": "World", "b": 123} {"a": "Hello", "b": 111} {"a": "World", "b": 123} \' diff --git a/parser/testdata/02551_ipv4_implicit_uint64/explain_2.txt b/parser/testdata/02551_ipv4_implicit_uint64/explain_2.txt new file mode 100644 index 0000000000..ae13818729 --- /dev/null +++ b/parser/testdata/02551_ipv4_implicit_uint64/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ip4test diff --git a/parser/testdata/02552_client_format_settings/explain_2.txt b/parser/testdata/02552_client_format_settings/explain_2.txt index 53e7c59aaa..4813cdb792 100644 --- a/parser/testdata/02552_client_format_settings/explain_2.txt +++ b/parser/testdata/02552_client_format_settings/explain_2.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 1) Identifier number TablesInSelectQuery (children 1) @@ -9,6 +9,5 @@ SelectWithUnionQuery (children 3) Function numbers (children 1) ExpressionList (children 1) Literal UInt64_5 - Set Identifier JSONEachRow Set diff --git a/parser/testdata/02552_inner_join_with_where_true/explain_3.txt b/parser/testdata/02552_inner_join_with_where_true/explain_3.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/02552_inner_join_with_where_true/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/02552_inner_join_with_where_true/explain_4.txt b/parser/testdata/02552_inner_join_with_where_true/explain_4.txt new file mode 100644 index 0000000000..86e4208b03 --- /dev/null +++ b/parser/testdata/02552_inner_join_with_where_true/explain_4.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 1) + Identifier c1 diff --git a/parser/testdata/02552_regression_crash/explain_2.txt b/parser/testdata/02552_regression_crash/explain_2.txt new file mode 100644 index 0000000000..95a76841c4 --- /dev/null +++ b/parser/testdata/02552_regression_crash/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier store_sales diff --git a/parser/testdata/02552_regression_crash/explain_3.txt b/parser/testdata/02552_regression_crash/explain_3.txt new file mode 100644 index 0000000000..d97e3f3fa3 --- /dev/null +++ b/parser/testdata/02552_regression_crash/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier store_sales + ExpressionList (children 1) + Identifier ss_sold_time_sk diff --git a/parser/testdata/02552_regression_crash/explain_4.txt b/parser/testdata/02552_regression_crash/explain_4.txt new file mode 100644 index 0000000000..445572143b --- /dev/null +++ b/parser/testdata/02552_regression_crash/explain_4.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier store_sales + ExpressionList (children 1) + Identifier ss_cdemo_sk diff --git a/parser/testdata/02552_siphash128_reference/explain.txt b/parser/testdata/02552_siphash128_reference/explain.txt new file mode 100644 index 0000000000..304ce81e49 --- /dev/null +++ b/parser/testdata/02552_siphash128_reference/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function hex (children 1) + ExpressionList (children 1) + Function sipHash128ReferenceKeyed (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 2) + Function toUInt64 (children 1) + ExpressionList (children 1) + Literal UInt64_506097522914230528 + Function toUInt64 (children 1) + ExpressionList (children 1) + Literal UInt64_1084818905618843912 + Literal \'\' diff --git a/parser/testdata/02552_siphash128_reference/explain_136.txt b/parser/testdata/02552_siphash128_reference/explain_136.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02552_siphash128_reference/explain_136.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02552_siphash128_reference/explain_153.txt b/parser/testdata/02552_siphash128_reference/explain_153.txt new file mode 100644 index 0000000000..97307a2043 --- /dev/null +++ b/parser/testdata/02552_siphash128_reference/explain_153.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier sipHashKeyed_keys diff --git a/parser/testdata/02552_siphash128_reference/explain_154.txt b/parser/testdata/02552_siphash128_reference/explain_154.txt new file mode 100644 index 0000000000..97307a2043 --- /dev/null +++ b/parser/testdata/02552_siphash128_reference/explain_154.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier sipHashKeyed_keys diff --git a/parser/testdata/02552_siphash128_reference/explain_160.txt b/parser/testdata/02552_siphash128_reference/explain_160.txt new file mode 100644 index 0000000000..97307a2043 --- /dev/null +++ b/parser/testdata/02552_siphash128_reference/explain_160.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier sipHashKeyed_keys diff --git a/parser/testdata/02552_siphash128_reference/explain_161.txt b/parser/testdata/02552_siphash128_reference/explain_161.txt new file mode 100644 index 0000000000..97307a2043 --- /dev/null +++ b/parser/testdata/02552_siphash128_reference/explain_161.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier sipHashKeyed_keys diff --git a/parser/testdata/02552_siphash128_reference/explain_169.txt b/parser/testdata/02552_siphash128_reference/explain_169.txt new file mode 100644 index 0000000000..97307a2043 --- /dev/null +++ b/parser/testdata/02552_siphash128_reference/explain_169.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier sipHashKeyed_keys diff --git a/parser/testdata/02552_siphash128_reference/explain_170.txt b/parser/testdata/02552_siphash128_reference/explain_170.txt new file mode 100644 index 0000000000..97307a2043 --- /dev/null +++ b/parser/testdata/02552_siphash128_reference/explain_170.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier sipHashKeyed_keys diff --git a/parser/testdata/02553_new_type_json_attach_partition/explain_4.txt b/parser/testdata/02553_new_type_json_attach_partition/explain_4.txt new file mode 100644 index 0000000000..eb9633a513 --- /dev/null +++ b/parser/testdata/02553_new_type_json_attach_partition/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_json_attach_partition diff --git a/parser/testdata/02553_new_type_json_attach_partition/explain_6.txt b/parser/testdata/02553_new_type_json_attach_partition/explain_6.txt new file mode 100644 index 0000000000..eb9633a513 --- /dev/null +++ b/parser/testdata/02553_new_type_json_attach_partition/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_json_attach_partition diff --git a/parser/testdata/02554_invalid_create_view_syntax/explain.txt b/parser/testdata/02554_invalid_create_view_syntax/explain.txt deleted file mode 100644 index 8b13789179..0000000000 --- a/parser/testdata/02554_invalid_create_view_syntax/explain.txt +++ /dev/null @@ -1 +0,0 @@ - diff --git a/parser/testdata/02559_add_parts/explain.txt b/parser/testdata/02559_add_parts/explain.txt index 061894a5e0..4a0b6199e8 100644 --- a/parser/testdata/02559_add_parts/explain.txt +++ b/parser/testdata/02559_add_parts/explain.txt @@ -8,9 +8,10 @@ CreateQuery check_system_tables (children 3) DataType UInt8 ColumnDeclaration name3 (children 1) DataType UInt8 - Storage definition (children 4) + Storage definition (children 5) Function MergeTree (children 1) ExpressionList Identifier name2 Identifier name1 + Identifier name1 Set diff --git a/parser/testdata/02559_add_parts/explain_3.txt b/parser/testdata/02559_add_parts/explain_3.txt new file mode 100644 index 0000000000..0501a2f121 --- /dev/null +++ b/parser/testdata/02559_add_parts/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier check_system_tables diff --git a/parser/testdata/02559_add_parts/explain_5.txt b/parser/testdata/02559_add_parts/explain_5.txt new file mode 100644 index 0000000000..0501a2f121 --- /dev/null +++ b/parser/testdata/02559_add_parts/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier check_system_tables diff --git a/parser/testdata/02559_ip_types_bloom/explain_3.txt b/parser/testdata/02559_ip_types_bloom/explain_3.txt new file mode 100644 index 0000000000..316b8fb024 --- /dev/null +++ b/parser/testdata/02559_ip_types_bloom/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ip_bloom diff --git a/parser/testdata/02559_multiple_read_steps_in_prewhere_missing_columns/explain_16.txt b/parser/testdata/02559_multiple_read_steps_in_prewhere_missing_columns/explain_16.txt new file mode 100644 index 0000000000..cb0ebefed4 --- /dev/null +++ b/parser/testdata/02559_multiple_read_steps_in_prewhere_missing_columns/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_02559 diff --git a/parser/testdata/02559_multiple_read_steps_in_prewhere_missing_columns/explain_3.txt b/parser/testdata/02559_multiple_read_steps_in_prewhere_missing_columns/explain_3.txt new file mode 100644 index 0000000000..cb0ebefed4 --- /dev/null +++ b/parser/testdata/02559_multiple_read_steps_in_prewhere_missing_columns/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_02559 diff --git a/parser/testdata/02559_multiple_read_steps_in_prewhere_missing_columns/explain_5.txt b/parser/testdata/02559_multiple_read_steps_in_prewhere_missing_columns/explain_5.txt new file mode 100644 index 0000000000..cb0ebefed4 --- /dev/null +++ b/parser/testdata/02559_multiple_read_steps_in_prewhere_missing_columns/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_02559 diff --git a/parser/testdata/02559_nested_multiple_levels_default/explain_12.txt b/parser/testdata/02559_nested_multiple_levels_default/explain_12.txt new file mode 100644 index 0000000000..cdf1813888 --- /dev/null +++ b/parser/testdata/02559_nested_multiple_levels_default/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data_wide diff --git a/parser/testdata/02559_nested_multiple_levels_default/explain_6.txt b/parser/testdata/02559_nested_multiple_levels_default/explain_6.txt new file mode 100644 index 0000000000..e14d363646 --- /dev/null +++ b/parser/testdata/02559_nested_multiple_levels_default/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data_compact diff --git a/parser/testdata/02560_agg_state_deserialization_hash_table_crash/explain_3.txt b/parser/testdata/02560_agg_state_deserialization_hash_table_crash/explain_3.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02560_agg_state_deserialization_hash_table_crash/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02560_analyzer_materialized_view/explain_13.txt b/parser/testdata/02560_analyzer_materialized_view/explain_13.txt new file mode 100644 index 0000000000..857e657eef --- /dev/null +++ b/parser/testdata/02560_analyzer_materialized_view/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_data diff --git a/parser/testdata/02560_analyzer_materialized_view/explain_6.txt b/parser/testdata/02560_analyzer_materialized_view/explain_6.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02560_analyzer_materialized_view/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02560_analyzer_materialized_view/explain_9.txt b/parser/testdata/02560_analyzer_materialized_view/explain_9.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02560_analyzer_materialized_view/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02560_quantile_min_max/explain_3.txt b/parser/testdata/02560_quantile_min_max/explain_3.txt new file mode 100644 index 0000000000..ed35b2a816 --- /dev/null +++ b/parser/testdata/02560_quantile_min_max/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nums diff --git a/parser/testdata/02560_regexp_denial_of_service/explain_25.txt b/parser/testdata/02560_regexp_denial_of_service/explain_25.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/02560_regexp_denial_of_service/explain_25.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/02560_vertical_merge_memory_usage/explain_5.txt b/parser/testdata/02560_vertical_merge_memory_usage/explain_5.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02560_vertical_merge_memory_usage/explain_5.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02560_window_ntile/explain.txt b/parser/testdata/02560_window_ntile/explain.txt index 5e91d5adba..87239b4a82 100644 --- a/parser/testdata/02560_window_ntile/explain.txt +++ b/parser/testdata/02560_window_ntile/explain.txt @@ -4,15 +4,9 @@ SelectWithUnionQuery (children 1) ExpressionList (children 3) Identifier a Identifier b - Function ntile (children 2) + Function ntile (children 1) ExpressionList (children 1) Literal UInt64_3 - WindowDefinition (children 2) - ExpressionList (children 1) - Identifier a - ExpressionList (children 1) - OrderByElement (children 1) - Identifier b TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) diff --git a/parser/testdata/02561_with_fill_date_datetime_incompatible/explain.txt b/parser/testdata/02561_with_fill_date_datetime_incompatible/explain.txt index 9c5f57a7b5..97fda9beb7 100644 --- a/parser/testdata/02561_with_fill_date_datetime_incompatible/explain.txt +++ b/parser/testdata/02561_with_fill_date_datetime_incompatible/explain.txt @@ -5,21 +5,20 @@ SelectWithUnionQuery (children 1) Function today (alias a) (children 1) ExpressionList ExpressionList (children 1) - OrderByElement (children 2) + OrderByElement (children 4) Identifier a - FillModifier (children 3) - Function minus (children 1) - ExpressionList (children 2) - Function now (children 1) - ExpressionList - Function toIntervalMonth (children 1) - ExpressionList (children 1) - Literal UInt64_1 - Function plus (children 1) - ExpressionList (children 2) - Function now (children 1) - ExpressionList - Function toIntervalDay (children 1) - ExpressionList (children 1) - Literal UInt64_1 - Literal UInt64_82600 + Function minus (children 1) + ExpressionList (children 2) + Function now (children 1) + ExpressionList + Function toIntervalMonth (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Function plus (children 1) + ExpressionList (children 2) + Function now (children 1) + ExpressionList + Function toIntervalDay (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Literal UInt64_82600 diff --git a/parser/testdata/02563_analyzer_merge/explain_6.txt b/parser/testdata/02563_analyzer_merge/explain_6.txt new file mode 100644 index 0000000000..da79cc1607 --- /dev/null +++ b/parser/testdata/02563_analyzer_merge/explain_6.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 02563_db + Identifier test_merge_table_1 diff --git a/parser/testdata/02563_analyzer_merge/explain_9.txt b/parser/testdata/02563_analyzer_merge/explain_9.txt new file mode 100644 index 0000000000..4150969e0b --- /dev/null +++ b/parser/testdata/02563_analyzer_merge/explain_9.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 02563_db + Identifier test_merge_table_2 diff --git a/parser/testdata/02564_analyzer_cross_to_inner/explain_10.txt b/parser/testdata/02564_analyzer_cross_to_inner/explain_10.txt new file mode 100644 index 0000000000..df4a687bc0 --- /dev/null +++ b/parser/testdata/02564_analyzer_cross_to_inner/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2 diff --git a/parser/testdata/02564_analyzer_cross_to_inner/explain_12.txt b/parser/testdata/02564_analyzer_cross_to_inner/explain_12.txt new file mode 100644 index 0000000000..ffa366159a --- /dev/null +++ b/parser/testdata/02564_analyzer_cross_to_inner/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t3 diff --git a/parser/testdata/02564_analyzer_cross_to_inner/explain_14.txt b/parser/testdata/02564_analyzer_cross_to_inner/explain_14.txt new file mode 100644 index 0000000000..a16e5147b1 --- /dev/null +++ b/parser/testdata/02564_analyzer_cross_to_inner/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t4 diff --git a/parser/testdata/02564_analyzer_cross_to_inner/explain_16.txt b/parser/testdata/02564_analyzer_cross_to_inner/explain_16.txt new file mode 100644 index 0000000000..86f107e55b --- /dev/null +++ b/parser/testdata/02564_analyzer_cross_to_inner/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t5 diff --git a/parser/testdata/02564_analyzer_cross_to_inner/explain_8.txt b/parser/testdata/02564_analyzer_cross_to_inner/explain_8.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/02564_analyzer_cross_to_inner/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/02564_read_in_order_final_desc/explain_4.txt b/parser/testdata/02564_read_in_order_final_desc/explain_4.txt new file mode 100644 index 0000000000..220d4ac8d5 --- /dev/null +++ b/parser/testdata/02564_read_in_order_final_desc/explain_4.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier mytable + ExpressionList (children 4) + Identifier timestamp + Identifier insert_timestamp + Identifier key + Identifier value diff --git a/parser/testdata/02567_and_consistency/explain_17.txt b/parser/testdata/02567_and_consistency/explain_17.txt new file mode 100644 index 0000000000..df4a687bc0 --- /dev/null +++ b/parser/testdata/02567_and_consistency/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2 diff --git a/parser/testdata/02568_and_consistency/explain_3.txt b/parser/testdata/02568_and_consistency/explain_3.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/02568_and_consistency/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/02569_order_by_aggregation_result/explain.txt b/parser/testdata/02569_order_by_aggregation_result/explain.txt index 5d0cc67ce8..1d970f27e8 100644 --- a/parser/testdata/02569_order_by_aggregation_result/explain.txt +++ b/parser/testdata/02569_order_by_aggregation_result/explain.txt @@ -12,10 +12,9 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Identifier number Literal UInt64_2 - Function sum (children 2) + Function sum (children 1) ExpressionList (children 1) Identifier value - WindowDefinition TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) diff --git a/parser/testdata/02569_order_by_aggregation_result/explain_10.txt b/parser/testdata/02569_order_by_aggregation_result/explain_10.txt new file mode 100644 index 0000000000..05c1b71925 --- /dev/null +++ b/parser/testdata/02569_order_by_aggregation_result/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table1 diff --git a/parser/testdata/02569_order_by_aggregation_result/explain_4.txt b/parser/testdata/02569_order_by_aggregation_result/explain_4.txt new file mode 100644 index 0000000000..90e76f1f75 --- /dev/null +++ b/parser/testdata/02569_order_by_aggregation_result/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttttttt diff --git a/parser/testdata/02569_order_by_aggregation_result/explain_8.txt b/parser/testdata/02569_order_by_aggregation_result/explain_8.txt new file mode 100644 index 0000000000..05c1b71925 --- /dev/null +++ b/parser/testdata/02569_order_by_aggregation_result/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table1 diff --git a/parser/testdata/02569_order_by_aggregation_result/explain_9.txt b/parser/testdata/02569_order_by_aggregation_result/explain_9.txt new file mode 100644 index 0000000000..05c1b71925 --- /dev/null +++ b/parser/testdata/02569_order_by_aggregation_result/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table1 diff --git a/parser/testdata/02572_materialized_views_ignore_errors/explain_11.txt b/parser/testdata/02572_materialized_views_ignore_errors/explain_11.txt new file mode 100644 index 0000000000..d53bdca34b --- /dev/null +++ b/parser/testdata/02572_materialized_views_ignore_errors/explain_11.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier data_02572 + Set diff --git a/parser/testdata/02572_materialized_views_ignore_errors/explain_13.txt b/parser/testdata/02572_materialized_views_ignore_errors/explain_13.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02572_materialized_views_ignore_errors/explain_13.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02572_materialized_views_ignore_errors/explain_15.txt b/parser/testdata/02572_materialized_views_ignore_errors/explain_15.txt new file mode 100644 index 0000000000..a0000353fd --- /dev/null +++ b/parser/testdata/02572_materialized_views_ignore_errors/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data_02572 diff --git a/parser/testdata/02572_materialized_views_ignore_errors/explain_18.txt b/parser/testdata/02572_materialized_views_ignore_errors/explain_18.txt new file mode 100644 index 0000000000..a0000353fd --- /dev/null +++ b/parser/testdata/02572_materialized_views_ignore_errors/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data_02572 diff --git a/parser/testdata/02572_materialized_views_ignore_errors/explain_8.txt b/parser/testdata/02572_materialized_views_ignore_errors/explain_8.txt new file mode 100644 index 0000000000..b7c81a6a89 --- /dev/null +++ b/parser/testdata/02572_materialized_views_ignore_errors/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier proxy_02572 diff --git a/parser/testdata/02572_system_logs_materialized_views_ignore_errors/explain_13.txt b/parser/testdata/02572_system_logs_materialized_views_ignore_errors/explain_13.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02572_system_logs_materialized_views_ignore_errors/explain_13.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02572_system_logs_materialized_views_ignore_errors/explain_4.txt b/parser/testdata/02572_system_logs_materialized_views_ignore_errors/explain_4.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02572_system_logs_materialized_views_ignore_errors/explain_4.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02572_system_logs_materialized_views_ignore_errors/explain_8.txt b/parser/testdata/02572_system_logs_materialized_views_ignore_errors/explain_8.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02572_system_logs_materialized_views_ignore_errors/explain_8.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02572_system_logs_materialized_views_ignore_errors/explain_9.txt b/parser/testdata/02572_system_logs_materialized_views_ignore_errors/explain_9.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02572_system_logs_materialized_views_ignore_errors/explain_9.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02575_merge_prewhere_default_expression/explain_6.txt b/parser/testdata/02575_merge_prewhere_default_expression/explain_6.txt new file mode 100644 index 0000000000..94bc395ab4 --- /dev/null +++ b/parser/testdata/02575_merge_prewhere_default_expression/explain_6.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 1) + Identifier a diff --git a/parser/testdata/02575_merge_prewhere_default_expression/explain_8.txt b/parser/testdata/02575_merge_prewhere_default_expression/explain_8.txt new file mode 100644 index 0000000000..6966f805ee --- /dev/null +++ b/parser/testdata/02575_merge_prewhere_default_expression/explain_8.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t2 + ExpressionList (children 1) + Identifier a diff --git a/parser/testdata/02575_merge_prewhere_different_default_kind/explain_12.txt b/parser/testdata/02575_merge_prewhere_different_default_kind/explain_12.txt new file mode 100644 index 0000000000..6966f805ee --- /dev/null +++ b/parser/testdata/02575_merge_prewhere_different_default_kind/explain_12.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t2 + ExpressionList (children 1) + Identifier a diff --git a/parser/testdata/02575_merge_prewhere_different_default_kind/explain_6.txt b/parser/testdata/02575_merge_prewhere_different_default_kind/explain_6.txt new file mode 100644 index 0000000000..94bc395ab4 --- /dev/null +++ b/parser/testdata/02575_merge_prewhere_different_default_kind/explain_6.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 1) + Identifier a diff --git a/parser/testdata/02575_merge_prewhere_ephemeral/explain_6.txt b/parser/testdata/02575_merge_prewhere_ephemeral/explain_6.txt new file mode 100644 index 0000000000..94bc395ab4 --- /dev/null +++ b/parser/testdata/02575_merge_prewhere_ephemeral/explain_6.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 1) + Identifier a diff --git a/parser/testdata/02575_merge_prewhere_ephemeral/explain_8.txt b/parser/testdata/02575_merge_prewhere_ephemeral/explain_8.txt new file mode 100644 index 0000000000..6966f805ee --- /dev/null +++ b/parser/testdata/02575_merge_prewhere_ephemeral/explain_8.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t2 + ExpressionList (children 1) + Identifier a diff --git a/parser/testdata/02575_merge_prewhere_materialized/explain_6.txt b/parser/testdata/02575_merge_prewhere_materialized/explain_6.txt new file mode 100644 index 0000000000..94bc395ab4 --- /dev/null +++ b/parser/testdata/02575_merge_prewhere_materialized/explain_6.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 1) + Identifier a diff --git a/parser/testdata/02575_merge_prewhere_materialized/explain_8.txt b/parser/testdata/02575_merge_prewhere_materialized/explain_8.txt new file mode 100644 index 0000000000..6966f805ee --- /dev/null +++ b/parser/testdata/02575_merge_prewhere_materialized/explain_8.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t2 + ExpressionList (children 1) + Identifier a diff --git a/parser/testdata/02577_keepermap_delete_update/explain_15.txt b/parser/testdata/02577_keepermap_delete_update/explain_15.txt new file mode 100644 index 0000000000..0d7cb8dbd6 --- /dev/null +++ b/parser/testdata/02577_keepermap_delete_update/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02577_keepermap_delete_update diff --git a/parser/testdata/02577_keepermap_delete_update/explain_3.txt b/parser/testdata/02577_keepermap_delete_update/explain_3.txt new file mode 100644 index 0000000000..0d7cb8dbd6 --- /dev/null +++ b/parser/testdata/02577_keepermap_delete_update/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02577_keepermap_delete_update diff --git a/parser/testdata/02581_share_big_sets_between_multiple_mutations_tasks_long/explain_19.txt b/parser/testdata/02581_share_big_sets_between_multiple_mutations_tasks_long/explain_19.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02581_share_big_sets_between_multiple_mutations_tasks_long/explain_19.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02581_share_big_sets_between_mutation_tasks_long/explain_24.txt b/parser/testdata/02581_share_big_sets_between_mutation_tasks_long/explain_24.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02581_share_big_sets_between_mutation_tasks_long/explain_24.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02581_width_bucket/explain.txt b/parser/testdata/02581_width_bucket/explain.txt index 42b866c926..509f5c20ce 100644 --- a/parser/testdata/02581_width_bucket/explain.txt +++ b/parser/testdata/02581_width_bucket/explain.txt @@ -1,7 +1,7 @@ CreateQuery mytable (children 3) Identifier mytable - Columns definition (children 1) - ExpressionList (children 5) + Columns definition (children 2) + ExpressionList (children 4) ColumnDeclaration operand (children 1) DataType Float64 ColumnDeclaration low (children 1) @@ -10,13 +10,12 @@ CreateQuery mytable (children 3) DataType Float64 ColumnDeclaration count (children 1) DataType UInt64 - ColumnDeclaration PRIMARY (children 1) - DataType KEY (children 1) - ExpressionList (children 4) - Identifier operand - Identifier low - Identifier high - Identifier count + Function tuple (children 1) + ExpressionList (children 4) + Identifier operand + Identifier low + Identifier high + Identifier count Storage definition (children 1) Function MergeTree (children 1) ExpressionList diff --git a/parser/testdata/02581_width_bucket/explain_2.txt b/parser/testdata/02581_width_bucket/explain_2.txt new file mode 100644 index 0000000000..0280dd8d25 --- /dev/null +++ b/parser/testdata/02581_width_bucket/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mytable diff --git a/parser/testdata/02590_bson_duplicate_column/explain.txt b/parser/testdata/02590_bson_duplicate_column/explain.txt index f5d843c0d8..36cdb9b130 100644 --- a/parser/testdata/02590_bson_duplicate_column/explain.txt +++ b/parser/testdata/02590_bson_duplicate_column/explain.txt @@ -11,4 +11,3 @@ SelectWithUnionQuery (children 1) Identifier BSONEachRow Literal \'x UInt32, y UInt32\' Literal \'\\0\\0\\0x\\0*\\0\\0\\0x\\0*\\0\\0\\0y\\0*\\0\\0\\0\\0\' -The query succeeded but the server error '117' was expected (query: EXPLAIN AST select * from format(BSONEachRow, 'x UInt32, y UInt32', x'1a0000001078002a0000001078002a0000001079002a00000000'); -- {serverError INCORRECT_DATA}). diff --git a/parser/testdata/02597_column_delete_and_replication/explain.txt b/parser/testdata/02597_column_delete_and_replication/explain.txt new file mode 100644 index 0000000000..e2b60ed1bd --- /dev/null +++ b/parser/testdata/02597_column_delete_and_replication/explain.txt @@ -0,0 +1,19 @@ +CreateQuery test (children 3) + Identifier test + Columns definition (children 1) + ExpressionList (children 3) + ColumnDeclaration c_id (children 1) + DataType String + ColumnDeclaration p_id (children 1) + DataType String + ColumnDeclaration d (children 1) + DataType String + Storage definition (children 2) + Function ReplicatedMergeTree (children 1) + ExpressionList (children 2) + Literal \'/clickhouse/tables/{database}/test/test_table\' + Literal \'1\' + Function tuple (children 1) + ExpressionList (children 2) + Identifier c_id + Identifier p_id diff --git a/parser/testdata/02597_column_update_and_replication/explain.txt b/parser/testdata/02597_column_update_and_replication/explain.txt new file mode 100644 index 0000000000..e2b60ed1bd --- /dev/null +++ b/parser/testdata/02597_column_update_and_replication/explain.txt @@ -0,0 +1,19 @@ +CreateQuery test (children 3) + Identifier test + Columns definition (children 1) + ExpressionList (children 3) + ColumnDeclaration c_id (children 1) + DataType String + ColumnDeclaration p_id (children 1) + DataType String + ColumnDeclaration d (children 1) + DataType String + Storage definition (children 2) + Function ReplicatedMergeTree (children 1) + ExpressionList (children 2) + Literal \'/clickhouse/tables/{database}/test/test_table\' + Literal \'1\' + Function tuple (children 1) + ExpressionList (children 2) + Identifier c_id + Identifier p_id diff --git a/parser/testdata/02597_projection_materialize_and_replication/explain.txt b/parser/testdata/02597_projection_materialize_and_replication/explain.txt new file mode 100644 index 0000000000..e2b60ed1bd --- /dev/null +++ b/parser/testdata/02597_projection_materialize_and_replication/explain.txt @@ -0,0 +1,19 @@ +CreateQuery test (children 3) + Identifier test + Columns definition (children 1) + ExpressionList (children 3) + ColumnDeclaration c_id (children 1) + DataType String + ColumnDeclaration p_id (children 1) + DataType String + ColumnDeclaration d (children 1) + DataType String + Storage definition (children 2) + Function ReplicatedMergeTree (children 1) + ExpressionList (children 2) + Literal \'/clickhouse/tables/{database}/test/test_table\' + Literal \'1\' + Function tuple (children 1) + ExpressionList (children 2) + Identifier c_id + Identifier p_id diff --git a/parser/testdata/02662_first_last_value/explain_3.txt b/parser/testdata/02662_first_last_value/explain_3.txt new file mode 100644 index 0000000000..9a332f27f2 --- /dev/null +++ b/parser/testdata/02662_first_last_value/explain_3.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 2) + Identifier a + Identifier b diff --git a/parser/testdata/02668_column_block_number/explain_14.txt b/parser/testdata/02668_column_block_number/explain_14.txt new file mode 100644 index 0000000000..93890e82ea --- /dev/null +++ b/parser/testdata/02668_column_block_number/explain_14.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 2) + Identifier id + Identifier a diff --git a/parser/testdata/02668_column_block_number/explain_3.txt b/parser/testdata/02668_column_block_number/explain_3.txt new file mode 100644 index 0000000000..93890e82ea --- /dev/null +++ b/parser/testdata/02668_column_block_number/explain_3.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 2) + Identifier id + Identifier a diff --git a/parser/testdata/02668_column_block_number/explain_4.txt b/parser/testdata/02668_column_block_number/explain_4.txt new file mode 100644 index 0000000000..93890e82ea --- /dev/null +++ b/parser/testdata/02668_column_block_number/explain_4.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 2) + Identifier id + Identifier a diff --git a/parser/testdata/02668_column_block_number_vertical_merge/explain_14.txt b/parser/testdata/02668_column_block_number_vertical_merge/explain_14.txt new file mode 100644 index 0000000000..93890e82ea --- /dev/null +++ b/parser/testdata/02668_column_block_number_vertical_merge/explain_14.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 2) + Identifier id + Identifier a diff --git a/parser/testdata/02668_column_block_number_vertical_merge/explain_3.txt b/parser/testdata/02668_column_block_number_vertical_merge/explain_3.txt new file mode 100644 index 0000000000..93890e82ea --- /dev/null +++ b/parser/testdata/02668_column_block_number_vertical_merge/explain_3.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 2) + Identifier id + Identifier a diff --git a/parser/testdata/02668_column_block_number_vertical_merge/explain_4.txt b/parser/testdata/02668_column_block_number_vertical_merge/explain_4.txt new file mode 100644 index 0000000000..93890e82ea --- /dev/null +++ b/parser/testdata/02668_column_block_number_vertical_merge/explain_4.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 2) + Identifier id + Identifier a diff --git a/parser/testdata/02668_column_block_number_with_projections/explain_10.txt b/parser/testdata/02668_column_block_number_with_projections/explain_10.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/02668_column_block_number_with_projections/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/02668_column_block_number_with_projections/explain_3.txt b/parser/testdata/02668_column_block_number_with_projections/explain_3.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/02668_column_block_number_with_projections/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/02668_column_block_number_with_projections/explain_4.txt b/parser/testdata/02668_column_block_number_with_projections/explain_4.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/02668_column_block_number_with_projections/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/02668_column_block_number_with_projections/explain_5.txt b/parser/testdata/02668_column_block_number_with_projections/explain_5.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/02668_column_block_number_with_projections/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/02668_logical_optimizer_removing_redundant_checks/explain_4.txt b/parser/testdata/02668_logical_optimizer_removing_redundant_checks/explain_4.txt new file mode 100644 index 0000000000..d2ea46751e --- /dev/null +++ b/parser/testdata/02668_logical_optimizer_removing_redundant_checks/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02668_logical_optimizer diff --git a/parser/testdata/02668_parse_datetime/explain_155.txt b/parser/testdata/02668_parse_datetime/explain_155.txt new file mode 100644 index 0000000000..efc1b39ddc --- /dev/null +++ b/parser/testdata/02668_parse_datetime/explain_155.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function parseDateTime (children 1) + ExpressionList (children 2) + Literal \' 1/12/2024\' + Literal \'%e/%m/%Y\' + Set diff --git a/parser/testdata/02668_parse_datetime/explain_156.txt b/parser/testdata/02668_parse_datetime/explain_156.txt new file mode 100644 index 0000000000..bd4ffd907d --- /dev/null +++ b/parser/testdata/02668_parse_datetime/explain_156.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function parseDateTime (children 1) + ExpressionList (children 2) + Literal \' 1/12/2024\' + Literal \'%e/%m/%Y\' + Set diff --git a/parser/testdata/02668_parse_datetime/explain_157.txt b/parser/testdata/02668_parse_datetime/explain_157.txt new file mode 100644 index 0000000000..a2aeb9ab82 --- /dev/null +++ b/parser/testdata/02668_parse_datetime/explain_157.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function parseDateTime (children 1) + ExpressionList (children 2) + Literal \'1/12/2024\' + Literal \'%e/%m/%Y\' + Set diff --git a/parser/testdata/02668_parse_datetime/explain_158.txt b/parser/testdata/02668_parse_datetime/explain_158.txt new file mode 100644 index 0000000000..efc1b39ddc --- /dev/null +++ b/parser/testdata/02668_parse_datetime/explain_158.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function parseDateTime (children 1) + ExpressionList (children 2) + Literal \' 1/12/2024\' + Literal \'%e/%m/%Y\' + Set diff --git a/parser/testdata/02668_parse_datetime/explain_159.txt b/parser/testdata/02668_parse_datetime/explain_159.txt new file mode 100644 index 0000000000..bd4ffd907d --- /dev/null +++ b/parser/testdata/02668_parse_datetime/explain_159.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function parseDateTime (children 1) + ExpressionList (children 2) + Literal \' 1/12/2024\' + Literal \'%e/%m/%Y\' + Set diff --git a/parser/testdata/02668_parse_datetime/explain_160.txt b/parser/testdata/02668_parse_datetime/explain_160.txt new file mode 100644 index 0000000000..a2aeb9ab82 --- /dev/null +++ b/parser/testdata/02668_parse_datetime/explain_160.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function parseDateTime (children 1) + ExpressionList (children 2) + Literal \'1/12/2024\' + Literal \'%e/%m/%Y\' + Set diff --git a/parser/testdata/02669_alter_modify_to_nullable/explain_11.txt b/parser/testdata/02669_alter_modify_to_nullable/explain_11.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02669_alter_modify_to_nullable/explain_11.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02674_trivial_count_analyzer/explain_19.txt b/parser/testdata/02674_trivial_count_analyzer/explain_19.txt new file mode 100644 index 0000000000..21cdc79a93 --- /dev/null +++ b/parser/testdata/02674_trivial_count_analyzer/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replacing_m3 diff --git a/parser/testdata/02674_trivial_count_analyzer/explain_20.txt b/parser/testdata/02674_trivial_count_analyzer/explain_20.txt new file mode 100644 index 0000000000..21cdc79a93 --- /dev/null +++ b/parser/testdata/02674_trivial_count_analyzer/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replacing_m3 diff --git a/parser/testdata/02674_trivial_count_analyzer/explain_21.txt b/parser/testdata/02674_trivial_count_analyzer/explain_21.txt new file mode 100644 index 0000000000..21cdc79a93 --- /dev/null +++ b/parser/testdata/02674_trivial_count_analyzer/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replacing_m3 diff --git a/parser/testdata/02674_trivial_count_analyzer/explain_22.txt b/parser/testdata/02674_trivial_count_analyzer/explain_22.txt new file mode 100644 index 0000000000..21cdc79a93 --- /dev/null +++ b/parser/testdata/02674_trivial_count_analyzer/explain_22.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier replacing_m3 diff --git a/parser/testdata/02674_trivial_count_analyzer/explain_7.txt b/parser/testdata/02674_trivial_count_analyzer/explain_7.txt new file mode 100644 index 0000000000..69d6cd4749 --- /dev/null +++ b/parser/testdata/02674_trivial_count_analyzer/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier m3 diff --git a/parser/testdata/02674_trivial_count_analyzer/explain_8.txt b/parser/testdata/02674_trivial_count_analyzer/explain_8.txt new file mode 100644 index 0000000000..69d6cd4749 --- /dev/null +++ b/parser/testdata/02674_trivial_count_analyzer/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier m3 diff --git a/parser/testdata/02675_predicate_push_down_filled_join_fix/explain_10.txt b/parser/testdata/02675_predicate_push_down_filled_join_fix/explain_10.txt new file mode 100644 index 0000000000..0c2815b5f9 --- /dev/null +++ b/parser/testdata/02675_predicate_push_down_filled_join_fix/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_join diff --git a/parser/testdata/02675_predicate_push_down_filled_join_fix/explain_7.txt b/parser/testdata/02675_predicate_push_down_filled_join_fix/explain_7.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02675_predicate_push_down_filled_join_fix/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02675_sparse_columns_clear_column/explain_12.txt b/parser/testdata/02675_sparse_columns_clear_column/explain_12.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02675_sparse_columns_clear_column/explain_12.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02677_analyzer_bitmap_has_any/explain.txt b/parser/testdata/02677_analyzer_bitmap_has_any/explain.txt new file mode 100644 index 0000000000..d224295166 --- /dev/null +++ b/parser/testdata/02677_analyzer_bitmap_has_any/explain.txt @@ -0,0 +1,42 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function bitmapHasAny (alias has1) (children 1) + ExpressionList (children 2) + Function bitmapBuild (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 1) + Function toUInt8 (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function groupBitmapState (children 1) + ExpressionList (children 1) + Function toUInt8 (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Function bitmapHasAny (alias has2) (children 1) + ExpressionList (children 2) + Function bitmapBuild (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 1) + Function toUInt64 (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function groupBitmapState (children 1) + ExpressionList (children 1) + Function toUInt64 (children 1) + ExpressionList (children 1) + Literal UInt64_2 diff --git a/parser/testdata/02677_decode_url_component/explain.txt b/parser/testdata/02677_decode_url_component/explain.txt new file mode 100644 index 0000000000..68d248aa88 --- /dev/null +++ b/parser/testdata/02677_decode_url_component/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function encodeURLComponent (alias encoded) (children 1) + ExpressionList (children 1) + Literal \'кликхауÑ\' + Function equals (alias expected_EQ) (children 1) + ExpressionList (children 2) + Function decodeURLComponent (children 1) + ExpressionList (children 1) + Identifier encoded + Literal \'кликхауÑ\' diff --git a/parser/testdata/02677_get_subcolumn_array_of_tuples/explain_4.txt b/parser/testdata/02677_get_subcolumn_array_of_tuples/explain_4.txt new file mode 100644 index 0000000000..388a12fa59 --- /dev/null +++ b/parser/testdata/02677_get_subcolumn_array_of_tuples/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_get_subcolumn diff --git a/parser/testdata/02678_explain_pipeline_graph_with_projection/explain_3.txt b/parser/testdata/02678_explain_pipeline_graph_with_projection/explain_3.txt new file mode 100644 index 0000000000..46338f11ca --- /dev/null +++ b/parser/testdata/02678_explain_pipeline_graph_with_projection/explain_3.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 2) + Identifier ID + Identifier name diff --git a/parser/testdata/02679_explain_merge_tree_prewhere_row_policy/explain_3.txt b/parser/testdata/02679_explain_merge_tree_prewhere_row_policy/explain_3.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02679_explain_merge_tree_prewhere_row_policy/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02680_datetime64_monotonic_check/explain_4.txt b/parser/testdata/02680_datetime64_monotonic_check/explain_4.txt new file mode 100644 index 0000000000..7a5b4a1572 --- /dev/null +++ b/parser/testdata/02680_datetime64_monotonic_check/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02680_datetime64_monotonic_check diff --git a/parser/testdata/02680_datetime64_monotonic_check/explain_9.txt b/parser/testdata/02680_datetime64_monotonic_check/explain_9.txt new file mode 100644 index 0000000000..4bb289665b --- /dev/null +++ b/parser/testdata/02680_datetime64_monotonic_check/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02680_datetime_monotonic_check_lc diff --git a/parser/testdata/02680_default_star/explain.txt b/parser/testdata/02680_default_star/explain.txt deleted file mode 100644 index 8b13789179..0000000000 --- a/parser/testdata/02680_default_star/explain.txt +++ /dev/null @@ -1 +0,0 @@ - diff --git a/parser/testdata/02680_illegal_type_of_filter_projection/explain_2.txt b/parser/testdata/02680_illegal_type_of_filter_projection/explain_2.txt new file mode 100644 index 0000000000..e8ac3ddc1d --- /dev/null +++ b/parser/testdata/02680_illegal_type_of_filter_projection/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_tuple diff --git a/parser/testdata/02681_group_array_too_large_size/explain.txt b/parser/testdata/02681_group_array_too_large_size/explain.txt new file mode 100644 index 0000000000..e7699f6fe4 --- /dev/null +++ b/parser/testdata/02681_group_array_too_large_size/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function format (children 1) + ExpressionList (children 3) + Identifier CSV + Literal \'entitypArray AggregateFunction(groupArray, String)\' + Literal \'295TMiews.viewNÿÿÿÿÿ""""""TabSeparÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿated d St"" r\' diff --git a/parser/testdata/02681_undrop_query/explain_14.txt b/parser/testdata/02681_undrop_query/explain_14.txt new file mode 100644 index 0000000000..0c3b87ee2c --- /dev/null +++ b/parser/testdata/02681_undrop_query/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02681_undrop_detach diff --git a/parser/testdata/02681_undrop_query/explain_24.txt b/parser/testdata/02681_undrop_query/explain_24.txt new file mode 100644 index 0000000000..7221ad4362 --- /dev/null +++ b/parser/testdata/02681_undrop_query/explain_24.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02681_undrop_uuid_on_cluster diff --git a/parser/testdata/02681_undrop_query/explain_33.txt b/parser/testdata/02681_undrop_query/explain_33.txt new file mode 100644 index 0000000000..a294ded567 --- /dev/null +++ b/parser/testdata/02681_undrop_query/explain_33.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02681_undrop_no_uuid_on_cluster diff --git a/parser/testdata/02681_undrop_query/explain_42.txt b/parser/testdata/02681_undrop_query/explain_42.txt new file mode 100644 index 0000000000..34c1e37aff --- /dev/null +++ b/parser/testdata/02681_undrop_query/explain_42.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02681_undrop_replicatedmergetree diff --git a/parser/testdata/02681_undrop_query/explain_5.txt b/parser/testdata/02681_undrop_query/explain_5.txt new file mode 100644 index 0000000000..c879ad7d58 --- /dev/null +++ b/parser/testdata/02681_undrop_query/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02681_undrop_mergetree diff --git a/parser/testdata/02681_undrop_query/explain_51.txt b/parser/testdata/02681_undrop_query/explain_51.txt new file mode 100644 index 0000000000..b2c4183570 --- /dev/null +++ b/parser/testdata/02681_undrop_query/explain_51.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02681_undrop_log diff --git a/parser/testdata/02681_undrop_query/explain_67.txt b/parser/testdata/02681_undrop_query/explain_67.txt new file mode 100644 index 0000000000..1ca6f0fcf0 --- /dev/null +++ b/parser/testdata/02681_undrop_query/explain_67.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02681_undrop_multiple diff --git a/parser/testdata/02681_undrop_query/explain_70.txt b/parser/testdata/02681_undrop_query/explain_70.txt new file mode 100644 index 0000000000..1ca6f0fcf0 --- /dev/null +++ b/parser/testdata/02681_undrop_query/explain_70.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02681_undrop_multiple diff --git a/parser/testdata/02681_undrop_query/explain_73.txt b/parser/testdata/02681_undrop_query/explain_73.txt new file mode 100644 index 0000000000..1ca6f0fcf0 --- /dev/null +++ b/parser/testdata/02681_undrop_query/explain_73.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02681_undrop_multiple diff --git a/parser/testdata/02685_decimal256_various/explain_47.txt b/parser/testdata/02685_decimal256_various/explain_47.txt new file mode 100644 index 0000000000..3b52b74eb6 --- /dev/null +++ b/parser/testdata/02685_decimal256_various/explain_47.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier decimal_insert_cast_issue diff --git a/parser/testdata/02688_aggregate_states/explain.txt b/parser/testdata/02688_aggregate_states/explain.txt index c9551be28a..a43077b91f 100644 --- a/parser/testdata/02688_aggregate_states/explain.txt +++ b/parser/testdata/02688_aggregate_states/explain.txt @@ -6,4 +6,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Literal \'\\0\' Literal \'AggregateFunction(groupBitmap, UInt32)\' -The query succeeded but the server error '117' was expected (query: EXPLAIN AST SELECT '\x01\x00'::AggregateFunction(groupBitmap, UInt32); -- { serverError INCORRECT_DATA }). diff --git a/parser/testdata/02688_long_aggregate_function_names/explain.txt b/parser/testdata/02688_long_aggregate_function_names/explain.txt index 0aa8264b54..f2b849370b 100644 --- a/parser/testdata/02688_long_aggregate_function_names/explain.txt +++ b/parser/testdata/02688_long_aggregate_function_names/explain.txt @@ -5,4 +5,3 @@ SelectWithUnionQuery (children 1) Function minOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNull (children 1) ExpressionList (children 1) Literal UInt64_1 -The query succeeded but the server error '131' was expected (query: EXPLAIN AST SELECT minOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNull(1); -- { serverError TOO_LARGE_STRING_SIZE }). diff --git a/parser/testdata/02689_meaningless_data_types/explain.txt b/parser/testdata/02689_meaningless_data_types/explain.txt index fc1fc0c777..e0c2ec2fbc 100644 --- a/parser/testdata/02689_meaningless_data_types/explain.txt +++ b/parser/testdata/02689_meaningless_data_types/explain.txt @@ -6,4 +6,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Literal \'0\' Literal \'Bool(Upyachka)\' -The query succeeded but the server error '378' was expected (query: EXPLAIN AST SELECT 0::Bool(Upyachka); -- { serverError DATA_TYPE_CANNOT_HAVE_ARGUMENTS }). diff --git a/parser/testdata/02690_subquery_identifiers/explain_3.txt b/parser/testdata/02690_subquery_identifiers/explain_3.txt new file mode 100644 index 0000000000..e57b84e38a --- /dev/null +++ b/parser/testdata/02690_subquery_identifiers/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_str diff --git a/parser/testdata/02691_drop_column_with_projections_replicated/explain_3.txt b/parser/testdata/02691_drop_column_with_projections_replicated/explain_3.txt new file mode 100644 index 0000000000..5d53702894 --- /dev/null +++ b/parser/testdata/02691_drop_column_with_projections_replicated/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02691_drop_column_replicated diff --git a/parser/testdata/02692_multiple_joins_unicode/explain_7.txt b/parser/testdata/02692_multiple_joins_unicode/explain_7.txt new file mode 100644 index 0000000000..11132e6496 --- /dev/null +++ b/parser/testdata/02692_multiple_joins_unicode/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier store diff --git a/parser/testdata/02692_multiple_joins_unicode/explain_8.txt b/parser/testdata/02692_multiple_joins_unicode/explain_8.txt new file mode 100644 index 0000000000..57c85c561b --- /dev/null +++ b/parser/testdata/02692_multiple_joins_unicode/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier location diff --git a/parser/testdata/02692_multiple_joins_unicode/explain_9.txt b/parser/testdata/02692_multiple_joins_unicode/explain_9.txt new file mode 100644 index 0000000000..22df45a8cd --- /dev/null +++ b/parser/testdata/02692_multiple_joins_unicode/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier sales diff --git a/parser/testdata/02695_storage_join_insert_select_deadlock/explain_3.txt b/parser/testdata/02695_storage_join_insert_select_deadlock/explain_3.txt new file mode 100644 index 0000000000..0c2815b5f9 --- /dev/null +++ b/parser/testdata/02695_storage_join_insert_select_deadlock/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_join diff --git a/parser/testdata/02696_ignore_inacc_tables_mat_view_atttach/explain_9.txt b/parser/testdata/02696_ignore_inacc_tables_mat_view_atttach/explain_9.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02696_ignore_inacc_tables_mat_view_atttach/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02697_alter_dependencies/explain_5.txt b/parser/testdata/02697_alter_dependencies/explain_5.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02697_alter_dependencies/explain_5.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02698_marked_dropped_tables/explain_4.txt b/parser/testdata/02698_marked_dropped_tables/explain_4.txt new file mode 100644 index 0000000000..e0688e6715 --- /dev/null +++ b/parser/testdata/02698_marked_dropped_tables/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 25400_dropped_tables diff --git a/parser/testdata/02698_marked_dropped_tables/explain_5.txt b/parser/testdata/02698_marked_dropped_tables/explain_5.txt new file mode 100644 index 0000000000..e0688e6715 --- /dev/null +++ b/parser/testdata/02698_marked_dropped_tables/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 25400_dropped_tables diff --git a/parser/testdata/02701_invalid_having_NOT_AN_AGGREGATE/explain.txt b/parser/testdata/02701_invalid_having_NOT_AN_AGGREGATE/explain.txt index ccf02f6198..29e579ff97 100644 --- a/parser/testdata/02701_invalid_having_NOT_AN_AGGREGATE/explain.txt +++ b/parser/testdata/02701_invalid_having_NOT_AN_AGGREGATE/explain.txt @@ -21,4 +21,3 @@ SelectWithUnionQuery (children 1) Identifier a Identifier c Set -The query succeeded but the server error '215' was expected (query: EXPLAIN AST SELECT a, sum(b) FROM (SELECT 1 AS a, 1 AS b, 0 AS c) GROUP BY a HAVING c SETTINGS enable_analyzer=1 -- { serverError NOT_AN_AGGREGATE }). diff --git a/parser/testdata/02701_non_parametric_function/explain.txt b/parser/testdata/02701_non_parametric_function/explain.txt index 49cefa67cf..bfa9d752e2 100644 --- a/parser/testdata/02701_non_parametric_function/explain.txt +++ b/parser/testdata/02701_non_parametric_function/explain.txt @@ -16,4 +16,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) Literal UInt64_10 Literal UInt64_10 -The query succeeded but the server error '309' was expected (query: EXPLAIN AST SELECT * FROM system.numbers WHERE number > toUInt64(10)(number) LIMIT 10; -- { serverError FUNCTION_CANNOT_HAVE_PARAMETERS }). diff --git a/parser/testdata/02702_logical_optimizer_with_nulls/explain_13.txt b/parser/testdata/02702_logical_optimizer_with_nulls/explain_13.txt new file mode 100644 index 0000000000..ebf9e2cf20 --- /dev/null +++ b/parser/testdata/02702_logical_optimizer_with_nulls/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02702_logical_optimizer_with_null_column diff --git a/parser/testdata/02702_logical_optimizer_with_nulls/explain_4.txt b/parser/testdata/02702_logical_optimizer_with_nulls/explain_4.txt new file mode 100644 index 0000000000..72eaa8c411 --- /dev/null +++ b/parser/testdata/02702_logical_optimizer_with_nulls/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02702_logical_optimizer diff --git a/parser/testdata/02705_grouping_keys_equal_keys/explain.txt b/parser/testdata/02705_grouping_keys_equal_keys/explain.txt index c5ea358c8f..744718ffeb 100644 --- a/parser/testdata/02705_grouping_keys_equal_keys/explain.txt +++ b/parser/testdata/02705_grouping_keys_equal_keys/explain.txt @@ -11,34 +11,31 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) Literal UInt64_2 ExpressionList (children 3) - Function tuple (children 1) - ExpressionList (children 3) - Identifier number - Function plus (children 1) - ExpressionList (children 2) - Identifier number - Literal UInt64_0 - Function plus (children 1) - ExpressionList (children 2) - Identifier number - Literal UInt64_1 - Function tuple (children 1) - ExpressionList (children 2) - Function modulo (children 1) - ExpressionList (children 2) - Identifier number - Literal UInt64_1048576 - Function modulo (children 1) - ExpressionList (children 2) - Identifier number - Literal Int64_-9223372036854775808 - Function tuple (children 1) - ExpressionList (children 2) - Function divide (children 1) - ExpressionList (children 2) - Identifier number - Literal UInt64_2 - Function divide (children 1) - ExpressionList (children 2) - Identifier number - Literal UInt64_2 + ExpressionList (children 3) + Identifier number + Function plus (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_0 + Function plus (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_1 + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_1048576 + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal Int64_-9223372036854775808 + ExpressionList (children 2) + Function divide (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + Function divide (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 diff --git a/parser/testdata/02705_projection_and_ast_optimizations_bug/explain_3.txt b/parser/testdata/02705_projection_and_ast_optimizations_bug/explain_3.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/02705_projection_and_ast_optimizations_bug/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/02706_keeper_map_insert_strict/explain_3.txt b/parser/testdata/02706_keeper_map_insert_strict/explain_3.txt new file mode 100644 index 0000000000..60788ea2d2 --- /dev/null +++ b/parser/testdata/02706_keeper_map_insert_strict/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02706_keeper_map_insert_strict diff --git a/parser/testdata/02706_keeper_map_insert_strict/explain_6.txt b/parser/testdata/02706_keeper_map_insert_strict/explain_6.txt new file mode 100644 index 0000000000..60788ea2d2 --- /dev/null +++ b/parser/testdata/02706_keeper_map_insert_strict/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02706_keeper_map_insert_strict diff --git a/parser/testdata/02706_keeper_map_insert_strict/explain_9.txt b/parser/testdata/02706_keeper_map_insert_strict/explain_9.txt new file mode 100644 index 0000000000..60788ea2d2 --- /dev/null +++ b/parser/testdata/02706_keeper_map_insert_strict/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02706_keeper_map_insert_strict diff --git a/parser/testdata/02706_kolmogorov_smirnov_test/explain_11.txt b/parser/testdata/02706_kolmogorov_smirnov_test/explain_11.txt new file mode 100644 index 0000000000..b5c4850e3f --- /dev/null +++ b/parser/testdata/02706_kolmogorov_smirnov_test/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier kstest diff --git a/parser/testdata/02706_kolmogorov_smirnov_test/explain_3.txt b/parser/testdata/02706_kolmogorov_smirnov_test/explain_3.txt new file mode 100644 index 0000000000..b5c4850e3f --- /dev/null +++ b/parser/testdata/02706_kolmogorov_smirnov_test/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier kstest diff --git a/parser/testdata/02706_kolmogorov_smirnov_test/explain_7.txt b/parser/testdata/02706_kolmogorov_smirnov_test/explain_7.txt new file mode 100644 index 0000000000..b5c4850e3f --- /dev/null +++ b/parser/testdata/02706_kolmogorov_smirnov_test/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier kstest diff --git a/parser/testdata/02707_analyzer_nested_lambdas_types/explain.txt b/parser/testdata/02707_analyzer_nested_lambdas_types/explain.txt new file mode 100644 index 0000000000..e07e307992 --- /dev/null +++ b/parser/testdata/02707_analyzer_nested_lambdas_types/explain.txt @@ -0,0 +1,27 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function range (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Function arrayMap (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function arrayMap (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Identifier x + Function range (children 1) + ExpressionList (children 1) + Identifier x + Literal Array_[UInt64_1] + Set diff --git a/parser/testdata/02707_keeper_map_delete_update_strict/explain_16.txt b/parser/testdata/02707_keeper_map_delete_update_strict/explain_16.txt new file mode 100644 index 0000000000..0389463b46 --- /dev/null +++ b/parser/testdata/02707_keeper_map_delete_update_strict/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02707_keepermap_delete_update diff --git a/parser/testdata/02707_keeper_map_delete_update_strict/explain_4.txt b/parser/testdata/02707_keeper_map_delete_update_strict/explain_4.txt new file mode 100644 index 0000000000..0389463b46 --- /dev/null +++ b/parser/testdata/02707_keeper_map_delete_update_strict/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02707_keepermap_delete_update diff --git a/parser/testdata/02707_skip_index_with_in/explain_3.txt b/parser/testdata/02707_skip_index_with_in/explain_3.txt new file mode 100644 index 0000000000..7beb487829 --- /dev/null +++ b/parser/testdata/02707_skip_index_with_in/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_skip_index_in diff --git a/parser/testdata/02708_dotProduct/explain_48.txt b/parser/testdata/02708_dotProduct/explain_48.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02708_dotProduct/explain_48.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02708_parallel_replicas_not_found_column/explain_3.txt b/parser/testdata/02708_parallel_replicas_not_found_column/explain_3.txt new file mode 100644 index 0000000000..c7f375a5f7 --- /dev/null +++ b/parser/testdata/02708_parallel_replicas_not_found_column/explain_3.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t_02708 + Set diff --git a/parser/testdata/02709_storage_memory_compressed/explain_3.txt b/parser/testdata/02709_storage_memory_compressed/explain_3.txt new file mode 100644 index 0000000000..fcb1a6f4aa --- /dev/null +++ b/parser/testdata/02709_storage_memory_compressed/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_memory_compressed diff --git a/parser/testdata/02709_storage_memory_compressed/explain_4.txt b/parser/testdata/02709_storage_memory_compressed/explain_4.txt new file mode 100644 index 0000000000..fcb1a6f4aa --- /dev/null +++ b/parser/testdata/02709_storage_memory_compressed/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_memory_compressed diff --git a/parser/testdata/02710_aggregation_nested_map_ip_uuid/explain_10.txt b/parser/testdata/02710_aggregation_nested_map_ip_uuid/explain_10.txt new file mode 100644 index 0000000000..6bb7894b8a --- /dev/null +++ b/parser/testdata/02710_aggregation_nested_map_ip_uuid/explain_10.txt @@ -0,0 +1,10 @@ +InsertQuery (children 2) + Identifier summing_table + ExpressionList (children 7) + Identifier id + Identifier ip4Map.value + Identifier ip4Map.total + Identifier ip6Map.value + Identifier ip6Map.total + Identifier uuidMap.value + Identifier uuidMap.total diff --git a/parser/testdata/02710_aggregation_nested_map_ip_uuid/explain_11.txt b/parser/testdata/02710_aggregation_nested_map_ip_uuid/explain_11.txt new file mode 100644 index 0000000000..6bb7894b8a --- /dev/null +++ b/parser/testdata/02710_aggregation_nested_map_ip_uuid/explain_11.txt @@ -0,0 +1,10 @@ +InsertQuery (children 2) + Identifier summing_table + ExpressionList (children 7) + Identifier id + Identifier ip4Map.value + Identifier ip4Map.total + Identifier ip6Map.value + Identifier ip6Map.total + Identifier uuidMap.value + Identifier uuidMap.total diff --git a/parser/testdata/02710_aggregation_nested_map_ip_uuid/explain_12.txt b/parser/testdata/02710_aggregation_nested_map_ip_uuid/explain_12.txt new file mode 100644 index 0000000000..6bb7894b8a --- /dev/null +++ b/parser/testdata/02710_aggregation_nested_map_ip_uuid/explain_12.txt @@ -0,0 +1,10 @@ +InsertQuery (children 2) + Identifier summing_table + ExpressionList (children 7) + Identifier id + Identifier ip4Map.value + Identifier ip4Map.total + Identifier ip6Map.value + Identifier ip6Map.total + Identifier uuidMap.value + Identifier uuidMap.total diff --git a/parser/testdata/02710_aggregation_nested_map_ip_uuid/explain_3.txt b/parser/testdata/02710_aggregation_nested_map_ip_uuid/explain_3.txt new file mode 100644 index 0000000000..6bb7894b8a --- /dev/null +++ b/parser/testdata/02710_aggregation_nested_map_ip_uuid/explain_3.txt @@ -0,0 +1,10 @@ +InsertQuery (children 2) + Identifier summing_table + ExpressionList (children 7) + Identifier id + Identifier ip4Map.value + Identifier ip4Map.total + Identifier ip6Map.value + Identifier ip6Map.total + Identifier uuidMap.value + Identifier uuidMap.total diff --git a/parser/testdata/02710_aggregation_nested_map_ip_uuid/explain_4.txt b/parser/testdata/02710_aggregation_nested_map_ip_uuid/explain_4.txt new file mode 100644 index 0000000000..6bb7894b8a --- /dev/null +++ b/parser/testdata/02710_aggregation_nested_map_ip_uuid/explain_4.txt @@ -0,0 +1,10 @@ +InsertQuery (children 2) + Identifier summing_table + ExpressionList (children 7) + Identifier id + Identifier ip4Map.value + Identifier ip4Map.total + Identifier ip6Map.value + Identifier ip6Map.total + Identifier uuidMap.value + Identifier uuidMap.total diff --git a/parser/testdata/02710_aggregation_nested_map_ip_uuid/explain_7.txt b/parser/testdata/02710_aggregation_nested_map_ip_uuid/explain_7.txt new file mode 100644 index 0000000000..6bb7894b8a --- /dev/null +++ b/parser/testdata/02710_aggregation_nested_map_ip_uuid/explain_7.txt @@ -0,0 +1,10 @@ +InsertQuery (children 2) + Identifier summing_table + ExpressionList (children 7) + Identifier id + Identifier ip4Map.value + Identifier ip4Map.total + Identifier ip6Map.value + Identifier ip6Map.total + Identifier uuidMap.value + Identifier uuidMap.total diff --git a/parser/testdata/02710_aggregation_nested_map_ip_uuid/explain_8.txt b/parser/testdata/02710_aggregation_nested_map_ip_uuid/explain_8.txt new file mode 100644 index 0000000000..6bb7894b8a --- /dev/null +++ b/parser/testdata/02710_aggregation_nested_map_ip_uuid/explain_8.txt @@ -0,0 +1,10 @@ +InsertQuery (children 2) + Identifier summing_table + ExpressionList (children 7) + Identifier id + Identifier ip4Map.value + Identifier ip4Map.total + Identifier ip6Map.value + Identifier ip6Map.total + Identifier uuidMap.value + Identifier uuidMap.total diff --git a/parser/testdata/02710_aggregation_nested_map_ip_uuid/explain_9.txt b/parser/testdata/02710_aggregation_nested_map_ip_uuid/explain_9.txt new file mode 100644 index 0000000000..6bb7894b8a --- /dev/null +++ b/parser/testdata/02710_aggregation_nested_map_ip_uuid/explain_9.txt @@ -0,0 +1,10 @@ +InsertQuery (children 2) + Identifier summing_table + ExpressionList (children 7) + Identifier id + Identifier ip4Map.value + Identifier ip4Map.total + Identifier ip6Map.value + Identifier ip6Map.total + Identifier uuidMap.value + Identifier uuidMap.total diff --git a/parser/testdata/02710_date_diff_aliases/explain.txt b/parser/testdata/02710_date_diff_aliases/explain.txt index fb0cace7b8..6377dd2555 100644 --- a/parser/testdata/02710_date_diff_aliases/explain.txt +++ b/parser/testdata/02710_date_diff_aliases/explain.txt @@ -8,29 +8,23 @@ SelectWithUnionQuery (children 1) TableExpression (children 1) TableIdentifier system.functions Function or (children 1) - ExpressionList (children 2) - Function or (children 1) + ExpressionList (children 5) + Function equals (children 1) + ExpressionList (children 2) + Identifier name + Literal \'date_diff\' + Function equals (children 1) ExpressionList (children 2) - Function or (children 1) - ExpressionList (children 2) - Function or (children 1) - ExpressionList (children 2) - Function equals (children 1) - ExpressionList (children 2) - Identifier name - Literal \'date_diff\' - Function equals (children 1) - ExpressionList (children 2) - Identifier name - Literal \'DATE_DIFF\' - Function equals (children 1) - ExpressionList (children 2) - Identifier name - Literal \'timestampDiff\' - Function equals (children 1) - ExpressionList (children 2) - Identifier name - Literal \'timestamp_diff\' + Identifier name + Literal \'DATE_DIFF\' + Function equals (children 1) + ExpressionList (children 2) + Identifier name + Literal \'timestampDiff\' + Function equals (children 1) + ExpressionList (children 2) + Identifier name + Literal \'timestamp_diff\' Function equals (children 1) ExpressionList (children 2) Identifier name diff --git a/parser/testdata/02711_soundex_function/explain_17.txt b/parser/testdata/02711_soundex_function/explain_17.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02711_soundex_function/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02711_trim_aliases/explain.txt b/parser/testdata/02711_trim_aliases/explain.txt index 5b883a901a..7e88579f28 100644 --- a/parser/testdata/02711_trim_aliases/explain.txt +++ b/parser/testdata/02711_trim_aliases/explain.txt @@ -8,17 +8,15 @@ SelectWithUnionQuery (children 1) TableExpression (children 1) TableIdentifier system.functions Function or (children 1) - ExpressionList (children 2) - Function or (children 1) + ExpressionList (children 3) + Function equals (children 1) ExpressionList (children 2) - Function equals (children 1) - ExpressionList (children 2) - Identifier name - Literal \'ltrim\' - Function equals (children 1) - ExpressionList (children 2) - Identifier name - Literal \'rtrim\' + Identifier name + Literal \'ltrim\' + Function equals (children 1) + ExpressionList (children 2) + Identifier name + Literal \'rtrim\' Function equals (children 1) ExpressionList (children 2) Identifier name diff --git a/parser/testdata/02713_array_low_cardinality_string/explain_3.txt b/parser/testdata/02713_array_low_cardinality_string/explain_3.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02713_array_low_cardinality_string/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02713_ip4_uint_compare/explain.txt b/parser/testdata/02713_ip4_uint_compare/explain.txt new file mode 100644 index 0000000000..b455dea0d7 --- /dev/null +++ b/parser/testdata/02713_ip4_uint_compare/explain.txt @@ -0,0 +1,57 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function toIPv4 (alias ip) (children 1) + ExpressionList (children 1) + Literal \'127.0.0.10\' + ExpressionList (children 7) + Function equals (children 1) + ExpressionList (children 2) + Identifier ip + Function CAST (children 1) + ExpressionList (children 2) + Literal \'2130706442\' + Literal \'UInt32\' + Function equals (children 1) + ExpressionList (children 2) + Identifier ip + Function CAST (children 1) + ExpressionList (children 2) + Literal \'0\' + Literal \'UInt32\' + Function less (children 1) + ExpressionList (children 2) + Identifier ip + Function CAST (children 1) + ExpressionList (children 2) + Literal \'2130706443\' + Literal \'UInt32\' + Function greater (children 1) + ExpressionList (children 2) + Identifier ip + Function CAST (children 1) + ExpressionList (children 2) + Literal \'2130706441\' + Literal \'UInt32\' + Function lessOrEquals (children 1) + ExpressionList (children 2) + Identifier ip + Function CAST (children 1) + ExpressionList (children 2) + Literal \'2130706442\' + Literal \'UInt32\' + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Identifier ip + Function CAST (children 1) + ExpressionList (children 2) + Literal \'2130706442\' + Literal \'UInt32\' + Function notEquals (children 1) + ExpressionList (children 2) + Identifier ip + Function CAST (children 1) + ExpressionList (children 2) + Literal \'2130706442\' + Literal \'UInt32\' diff --git a/parser/testdata/02714_read_bytes_aggregateFunction/explain_11.txt b/parser/testdata/02714_read_bytes_aggregateFunction/explain_11.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02714_read_bytes_aggregateFunction/explain_11.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02715_or_null/explain.txt b/parser/testdata/02715_or_null/explain.txt index 456eb10562..6d32220fa7 100644 --- a/parser/testdata/02715_or_null/explain.txt +++ b/parser/testdata/02715_or_null/explain.txt @@ -14,7 +14,7 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 1) ExpressionList (children 2) - Function CAST (children 1) + Function CAST (alias id) (children 1) ExpressionList (children 2) Literal NULL Literal \'Nullable(UInt32)\' diff --git a/parser/testdata/02718_array_fold/explain_26.txt b/parser/testdata/02718_array_fold/explain_26.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02718_array_fold/explain_26.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02718_array_fold/explain_30.txt b/parser/testdata/02718_array_fold/explain_30.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02718_array_fold/explain_30.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02718_insert_meet_hardware_error/explain_3.txt b/parser/testdata/02718_insert_meet_hardware_error/explain_3.txt new file mode 100644 index 0000000000..9d1b30bb58 --- /dev/null +++ b/parser/testdata/02718_insert_meet_hardware_error/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_hardware_error diff --git a/parser/testdata/02718_insert_meet_hardware_error/explain_5.txt b/parser/testdata/02718_insert_meet_hardware_error/explain_5.txt new file mode 100644 index 0000000000..9d1b30bb58 --- /dev/null +++ b/parser/testdata/02718_insert_meet_hardware_error/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_hardware_error diff --git a/parser/testdata/02719_aggregate_with_empty_string_key/explain_3.txt b/parser/testdata/02719_aggregate_with_empty_string_key/explain_3.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02719_aggregate_with_empty_string_key/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02724_jit_logical_functions/explain_11.txt b/parser/testdata/02724_jit_logical_functions/explain_11.txt new file mode 100644 index 0000000000..fcefc59f37 --- /dev/null +++ b/parser/testdata/02724_jit_logical_functions/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_nullable diff --git a/parser/testdata/02724_jit_logical_functions/explain_5.txt b/parser/testdata/02724_jit_logical_functions/explain_5.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02724_jit_logical_functions/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02724_mutliple_storage_join/explain_2.txt b/parser/testdata/02724_mutliple_storage_join/explain_2.txt new file mode 100644 index 0000000000..645c980132 --- /dev/null +++ b/parser/testdata/02724_mutliple_storage_join/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier user diff --git a/parser/testdata/02724_mutliple_storage_join/explain_4.txt b/parser/testdata/02724_mutliple_storage_join/explain_4.txt new file mode 100644 index 0000000000..122d23825d --- /dev/null +++ b/parser/testdata/02724_mutliple_storage_join/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier product diff --git a/parser/testdata/02724_mutliple_storage_join/explain_6.txt b/parser/testdata/02724_mutliple_storage_join/explain_6.txt new file mode 100644 index 0000000000..c9878b419e --- /dev/null +++ b/parser/testdata/02724_mutliple_storage_join/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier order diff --git a/parser/testdata/02725_cnf_large_check/explain_3.txt b/parser/testdata/02725_cnf_large_check/explain_3.txt new file mode 100644 index 0000000000..19e30b6232 --- /dev/null +++ b/parser/testdata/02725_cnf_large_check/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02725_cnf diff --git a/parser/testdata/02725_memory-for-merges/explain_9.txt b/parser/testdata/02725_memory-for-merges/explain_9.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02725_memory-for-merges/explain_9.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02725_null_group_key_with_rollup/explain_4.txt b/parser/testdata/02725_null_group_key_with_rollup/explain_4.txt new file mode 100644 index 0000000000..d69f8551d3 --- /dev/null +++ b/parser/testdata/02725_null_group_key_with_rollup/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier group_by_null_key diff --git a/parser/testdata/02725_sleep_max_time/explain.txt b/parser/testdata/02725_sleep_max_time/explain.txt index c1220a1442..42a71b325b 100644 --- a/parser/testdata/02725_sleep_max_time/explain.txt +++ b/parser/testdata/02725_sleep_max_time/explain.txt @@ -11,4 +11,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) Literal Float64_0.05 Literal UInt64_10 -The query succeeded but the server error '160' was expected (query: EXPLAIN AST SELECT * FROM system.numbers WHERE sleepEachRow(0.05) LIMIT 10; -- { serverError TOO_SLOW }). diff --git a/parser/testdata/02726_async_insert_flush_queue/explain_10.txt b/parser/testdata/02726_async_insert_flush_queue/explain_10.txt new file mode 100644 index 0000000000..0ee5d87884 --- /dev/null +++ b/parser/testdata/02726_async_insert_flush_queue/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_async_inserts_flush diff --git a/parser/testdata/02726_async_insert_flush_queue/explain_11.txt b/parser/testdata/02726_async_insert_flush_queue/explain_11.txt new file mode 100644 index 0000000000..0ee5d87884 --- /dev/null +++ b/parser/testdata/02726_async_insert_flush_queue/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_async_inserts_flush diff --git a/parser/testdata/02726_async_insert_flush_queue/explain_7.txt b/parser/testdata/02726_async_insert_flush_queue/explain_7.txt new file mode 100644 index 0000000000..0ee5d87884 --- /dev/null +++ b/parser/testdata/02726_async_insert_flush_queue/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_async_inserts_flush diff --git a/parser/testdata/02726_async_insert_flush_queue/explain_8.txt b/parser/testdata/02726_async_insert_flush_queue/explain_8.txt new file mode 100644 index 0000000000..0ee5d87884 --- /dev/null +++ b/parser/testdata/02726_async_insert_flush_queue/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_async_inserts_flush diff --git a/parser/testdata/02726_async_insert_flush_queue/explain_9.txt b/parser/testdata/02726_async_insert_flush_queue/explain_9.txt new file mode 100644 index 0000000000..0ee5d87884 --- /dev/null +++ b/parser/testdata/02726_async_insert_flush_queue/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_async_inserts_flush diff --git a/parser/testdata/02730_with_fill_by_sorting_prefix/explain_10.txt b/parser/testdata/02730_with_fill_by_sorting_prefix/explain_10.txt new file mode 100644 index 0000000000..4686526e7f --- /dev/null +++ b/parser/testdata/02730_with_fill_by_sorting_prefix/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ts diff --git a/parser/testdata/02730_with_fill_by_sorting_prefix/explain_11.txt b/parser/testdata/02730_with_fill_by_sorting_prefix/explain_11.txt new file mode 100644 index 0000000000..4686526e7f --- /dev/null +++ b/parser/testdata/02730_with_fill_by_sorting_prefix/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ts diff --git a/parser/testdata/02730_with_fill_by_sorting_prefix/explain_12.txt b/parser/testdata/02730_with_fill_by_sorting_prefix/explain_12.txt new file mode 100644 index 0000000000..4686526e7f --- /dev/null +++ b/parser/testdata/02730_with_fill_by_sorting_prefix/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ts diff --git a/parser/testdata/02730_with_fill_by_sorting_prefix/explain_17.txt b/parser/testdata/02730_with_fill_by_sorting_prefix/explain_17.txt new file mode 100644 index 0000000000..4686526e7f --- /dev/null +++ b/parser/testdata/02730_with_fill_by_sorting_prefix/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ts diff --git a/parser/testdata/02730_with_fill_by_sorting_prefix/explain_18.txt b/parser/testdata/02730_with_fill_by_sorting_prefix/explain_18.txt new file mode 100644 index 0000000000..4686526e7f --- /dev/null +++ b/parser/testdata/02730_with_fill_by_sorting_prefix/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ts diff --git a/parser/testdata/02730_with_fill_by_sorting_prefix/explain_5.txt b/parser/testdata/02730_with_fill_by_sorting_prefix/explain_5.txt new file mode 100644 index 0000000000..4686526e7f --- /dev/null +++ b/parser/testdata/02730_with_fill_by_sorting_prefix/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ts diff --git a/parser/testdata/02731_nothing_deserialization/explain.txt b/parser/testdata/02731_nothing_deserialization/explain.txt index d6098dc224..e7c3881207 100644 --- a/parser/testdata/02731_nothing_deserialization/explain.txt +++ b/parser/testdata/02731_nothing_deserialization/explain.txt @@ -6,4 +6,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Literal \'\\0\' Literal \'AggregateFunction(nothingArrayIf, Array(Nullable(Nothing)), Nullable(Nothing))\' -The query succeeded but the server error '117' was expected (query: EXPLAIN AST SELECT CAST('\x01\x00' AS AggregateFunction(nothingArrayIf, Array(Nullable(Nothing)), Nullable(Nothing))); -- { serverError INCORRECT_DATA }). diff --git a/parser/testdata/02731_parallel_replicas_join_subquery/explain_10.txt b/parser/testdata/02731_parallel_replicas_join_subquery/explain_10.txt new file mode 100644 index 0000000000..4cb9deabb6 --- /dev/null +++ b/parser/testdata/02731_parallel_replicas_join_subquery/explain_10.txt @@ -0,0 +1,41 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 7) + ExpressionList (children 4) + Identifier key + Identifier value1 + Identifier value2 + Function toUInt64 (alias start_ts) (children 1) + ExpressionList (children 1) + Function min (children 1) + ExpressionList (children 1) + Identifier time + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier join_inner_table + Function and (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier id + Literal \'833c9e22-c245-4eb5-8745-117a9a1f26b1\' + Function greater (children 1) + ExpressionList (children 2) + Identifier number + Function toUInt64 (children 1) + ExpressionList (children 1) + Literal \'1610517366120\' + ExpressionList (children 3) + Identifier key + Identifier value1 + Identifier value2 + ExpressionList (children 3) + OrderByElement (children 1) + Identifier key + OrderByElement (children 1) + Identifier value1 + OrderByElement (children 1) + Identifier value2 + Literal UInt64_10 + Set diff --git a/parser/testdata/02731_parallel_replicas_join_subquery/explain_11.txt b/parser/testdata/02731_parallel_replicas_join_subquery/explain_11.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02731_parallel_replicas_join_subquery/explain_11.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02731_parallel_replicas_join_subquery/explain_14.txt b/parser/testdata/02731_parallel_replicas_join_subquery/explain_14.txt new file mode 100644 index 0000000000..4cb9deabb6 --- /dev/null +++ b/parser/testdata/02731_parallel_replicas_join_subquery/explain_14.txt @@ -0,0 +1,41 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 7) + ExpressionList (children 4) + Identifier key + Identifier value1 + Identifier value2 + Function toUInt64 (alias start_ts) (children 1) + ExpressionList (children 1) + Function min (children 1) + ExpressionList (children 1) + Identifier time + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier join_inner_table + Function and (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier id + Literal \'833c9e22-c245-4eb5-8745-117a9a1f26b1\' + Function greater (children 1) + ExpressionList (children 2) + Identifier number + Function toUInt64 (children 1) + ExpressionList (children 1) + Literal \'1610517366120\' + ExpressionList (children 3) + Identifier key + Identifier value1 + Identifier value2 + ExpressionList (children 3) + OrderByElement (children 1) + Identifier key + OrderByElement (children 1) + Identifier value1 + OrderByElement (children 1) + Identifier value2 + Literal UInt64_10 + Set diff --git a/parser/testdata/02731_parallel_replicas_join_subquery/explain_15.txt b/parser/testdata/02731_parallel_replicas_join_subquery/explain_15.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02731_parallel_replicas_join_subquery/explain_15.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02731_parallel_replicas_join_subquery/explain_23.txt b/parser/testdata/02731_parallel_replicas_join_subquery/explain_23.txt new file mode 100644 index 0000000000..f23e4a9fe0 --- /dev/null +++ b/parser/testdata/02731_parallel_replicas_join_subquery/explain_23.txt @@ -0,0 +1,77 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 3) + Identifier value1 + Identifier value2 + Function avg (alias avg) (children 1) + ExpressionList (children 1) + Identifier count + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 4) + Identifier key + Identifier value1 + Identifier value2 + Function count (alias count) (children 1) + ExpressionList + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier join_outer_table + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 4) + Identifier key + Identifier value1 + Identifier value2 + Function toUInt64 (alias start_ts) (children 1) + ExpressionList (children 1) + Function min (children 1) + ExpressionList (children 1) + Identifier time + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier join_inner_table + Function and (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier id + Literal \'833c9e22-c245-4eb5-8745-117a9a1f26b1\' + Function greater (children 1) + ExpressionList (children 2) + Identifier number + Function toUInt64 (children 1) + ExpressionList (children 1) + Literal \'1610517366120\' + ExpressionList (children 3) + Identifier key + Identifier value1 + Identifier value2 + TableJoin (children 1) + ExpressionList (children 1) + Identifier key + ExpressionList (children 3) + Identifier key + Identifier value1 + Identifier value2 + ExpressionList (children 2) + Identifier value1 + Identifier value2 + ExpressionList (children 2) + OrderByElement (children 1) + Identifier value1 + OrderByElement (children 1) + Identifier value2 + Set diff --git a/parser/testdata/02731_parallel_replicas_join_subquery/explain_24.txt b/parser/testdata/02731_parallel_replicas_join_subquery/explain_24.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02731_parallel_replicas_join_subquery/explain_24.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02731_parallel_replicas_join_subquery/explain_27.txt b/parser/testdata/02731_parallel_replicas_join_subquery/explain_27.txt new file mode 100644 index 0000000000..f23e4a9fe0 --- /dev/null +++ b/parser/testdata/02731_parallel_replicas_join_subquery/explain_27.txt @@ -0,0 +1,77 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 3) + Identifier value1 + Identifier value2 + Function avg (alias avg) (children 1) + ExpressionList (children 1) + Identifier count + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 4) + Identifier key + Identifier value1 + Identifier value2 + Function count (alias count) (children 1) + ExpressionList + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier join_outer_table + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 4) + Identifier key + Identifier value1 + Identifier value2 + Function toUInt64 (alias start_ts) (children 1) + ExpressionList (children 1) + Function min (children 1) + ExpressionList (children 1) + Identifier time + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier join_inner_table + Function and (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier id + Literal \'833c9e22-c245-4eb5-8745-117a9a1f26b1\' + Function greater (children 1) + ExpressionList (children 2) + Identifier number + Function toUInt64 (children 1) + ExpressionList (children 1) + Literal \'1610517366120\' + ExpressionList (children 3) + Identifier key + Identifier value1 + Identifier value2 + TableJoin (children 1) + ExpressionList (children 1) + Identifier key + ExpressionList (children 3) + Identifier key + Identifier value1 + Identifier value2 + ExpressionList (children 2) + Identifier value1 + Identifier value2 + ExpressionList (children 2) + OrderByElement (children 1) + Identifier value1 + OrderByElement (children 1) + Identifier value2 + Set diff --git a/parser/testdata/02731_parallel_replicas_join_subquery/explain_28.txt b/parser/testdata/02731_parallel_replicas_join_subquery/explain_28.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02731_parallel_replicas_join_subquery/explain_28.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02731_replace_partition_from_temporary_table/explain_10.txt b/parser/testdata/02731_replace_partition_from_temporary_table/explain_10.txt new file mode 100644 index 0000000000..37b584e2c2 --- /dev/null +++ b/parser/testdata/02731_replace_partition_from_temporary_table/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier src diff --git a/parser/testdata/02731_replace_partition_from_temporary_table/explain_11.txt b/parser/testdata/02731_replace_partition_from_temporary_table/explain_11.txt new file mode 100644 index 0000000000..37b584e2c2 --- /dev/null +++ b/parser/testdata/02731_replace_partition_from_temporary_table/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier src diff --git a/parser/testdata/02731_replace_partition_from_temporary_table/explain_12.txt b/parser/testdata/02731_replace_partition_from_temporary_table/explain_12.txt new file mode 100644 index 0000000000..37b584e2c2 --- /dev/null +++ b/parser/testdata/02731_replace_partition_from_temporary_table/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier src diff --git a/parser/testdata/02731_replace_partition_from_temporary_table/explain_13.txt b/parser/testdata/02731_replace_partition_from_temporary_table/explain_13.txt new file mode 100644 index 0000000000..37b584e2c2 --- /dev/null +++ b/parser/testdata/02731_replace_partition_from_temporary_table/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier src diff --git a/parser/testdata/02731_replace_partition_from_temporary_table/explain_14.txt b/parser/testdata/02731_replace_partition_from_temporary_table/explain_14.txt new file mode 100644 index 0000000000..7e276cbfc4 --- /dev/null +++ b/parser/testdata/02731_replace_partition_from_temporary_table/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dst diff --git a/parser/testdata/02731_replace_partition_from_temporary_table/explain_15.txt b/parser/testdata/02731_replace_partition_from_temporary_table/explain_15.txt new file mode 100644 index 0000000000..7e276cbfc4 --- /dev/null +++ b/parser/testdata/02731_replace_partition_from_temporary_table/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dst diff --git a/parser/testdata/02731_replace_partition_from_temporary_table/explain_16.txt b/parser/testdata/02731_replace_partition_from_temporary_table/explain_16.txt new file mode 100644 index 0000000000..7e276cbfc4 --- /dev/null +++ b/parser/testdata/02731_replace_partition_from_temporary_table/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dst diff --git a/parser/testdata/02731_replace_partition_from_temporary_table/explain_17.txt b/parser/testdata/02731_replace_partition_from_temporary_table/explain_17.txt new file mode 100644 index 0000000000..7e276cbfc4 --- /dev/null +++ b/parser/testdata/02731_replace_partition_from_temporary_table/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dst diff --git a/parser/testdata/02731_replace_partition_from_temporary_table/explain_18.txt b/parser/testdata/02731_replace_partition_from_temporary_table/explain_18.txt new file mode 100644 index 0000000000..577cc9453d --- /dev/null +++ b/parser/testdata/02731_replace_partition_from_temporary_table/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rdst diff --git a/parser/testdata/02731_replace_partition_from_temporary_table/explain_19.txt b/parser/testdata/02731_replace_partition_from_temporary_table/explain_19.txt new file mode 100644 index 0000000000..577cc9453d --- /dev/null +++ b/parser/testdata/02731_replace_partition_from_temporary_table/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rdst diff --git a/parser/testdata/02731_replace_partition_from_temporary_table/explain_20.txt b/parser/testdata/02731_replace_partition_from_temporary_table/explain_20.txt new file mode 100644 index 0000000000..577cc9453d --- /dev/null +++ b/parser/testdata/02731_replace_partition_from_temporary_table/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rdst diff --git a/parser/testdata/02731_replace_partition_from_temporary_table/explain_21.txt b/parser/testdata/02731_replace_partition_from_temporary_table/explain_21.txt new file mode 100644 index 0000000000..577cc9453d --- /dev/null +++ b/parser/testdata/02731_replace_partition_from_temporary_table/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rdst diff --git a/parser/testdata/02731_replace_partition_from_temporary_table/explain_8.txt b/parser/testdata/02731_replace_partition_from_temporary_table/explain_8.txt new file mode 100644 index 0000000000..37b584e2c2 --- /dev/null +++ b/parser/testdata/02731_replace_partition_from_temporary_table/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier src diff --git a/parser/testdata/02731_replace_partition_from_temporary_table/explain_9.txt b/parser/testdata/02731_replace_partition_from_temporary_table/explain_9.txt new file mode 100644 index 0000000000..37b584e2c2 --- /dev/null +++ b/parser/testdata/02731_replace_partition_from_temporary_table/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier src diff --git a/parser/testdata/02732_transform_fuzz/explain.txt b/parser/testdata/02732_transform_fuzz/explain.txt index 4126c787e9..6dbe7b2a59 100644 --- a/parser/testdata/02732_transform_fuzz/explain.txt +++ b/parser/testdata/02732_transform_fuzz/explain.txt @@ -11,4 +11,3 @@ SelectWithUnionQuery (children 1) ExpressionList Function array (children 1) ExpressionList -The query succeeded but the server error '43' was expected (query: EXPLAIN AST SELECT caseWithExpr(arrayReduce(NULL, []), []); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }). diff --git a/parser/testdata/02733_distinct/explain_3.txt b/parser/testdata/02733_distinct/explain_3.txt new file mode 100644 index 0000000000..fa06f465f3 --- /dev/null +++ b/parser/testdata/02733_distinct/explain_3.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 3) + Identifier c1 + Identifier c2 + Identifier c3 diff --git a/parser/testdata/02733_fix_distinct_in_order_bug_49622/explain_4.txt b/parser/testdata/02733_fix_distinct_in_order_bug_49622/explain_4.txt new file mode 100644 index 0000000000..9c157f3c19 --- /dev/null +++ b/parser/testdata/02733_fix_distinct_in_order_bug_49622/explain_4.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test_string + ExpressionList (children 2) + Identifier c1 + Identifier c2 diff --git a/parser/testdata/02734_big_int_from_float_ubsan/explain.txt b/parser/testdata/02734_big_int_from_float_ubsan/explain.txt new file mode 100644 index 0000000000..90c316b3d8 --- /dev/null +++ b/parser/testdata/02734_big_int_from_float_ubsan/explain.txt @@ -0,0 +1,40 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 5) + Literal UInt64_18 (alias precision) + Function toUInt256 (alias int) (children 1) + ExpressionList (children 1) + Literal Int64_-1 + Function toUInt256 (alias converted) (children 1) + ExpressionList (children 1) + Function toFloat64 (children 1) + ExpressionList (children 1) + Identifier int + Function toString (alias int_str) (children 1) + ExpressionList (children 1) + Identifier int + Function toString (alias converted_str) (children 1) + ExpressionList (children 1) + Identifier converted + ExpressionList (children 2) + Function equals (alias have_same_length) (children 1) + ExpressionList (children 2) + Function length (children 1) + ExpressionList (children 1) + Identifier int_str + Function length (children 1) + ExpressionList (children 1) + Identifier converted_str + Function equals (alias have_same_prefix) (children 1) + ExpressionList (children 2) + Function substring (children 1) + ExpressionList (children 3) + Identifier int_str + Literal UInt64_1 + Identifier precision + Function substring (children 1) + ExpressionList (children 3) + Identifier converted_str + Literal UInt64_1 + Identifier precision diff --git a/parser/testdata/02735_asof_join_right_null/explain_2.txt b/parser/testdata/02735_asof_join_right_null/explain_2.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/02735_asof_join_right_null/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/02735_asof_join_right_null/explain_4.txt b/parser/testdata/02735_asof_join_right_null/explain_4.txt new file mode 100644 index 0000000000..df4a687bc0 --- /dev/null +++ b/parser/testdata/02735_asof_join_right_null/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2 diff --git a/parser/testdata/02735_parquet_encoder/explain_11.txt b/parser/testdata/02735_parquet_encoder/explain_11.txt new file mode 100644 index 0000000000..9e9893cee3 --- /dev/null +++ b/parser/testdata/02735_parquet_encoder/explain_11.txt @@ -0,0 +1,15 @@ +InsertQuery (children 3) + Function file (children 1) + ExpressionList (children 1) + Identifier basic_types_02735.parquet + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier basic_types_02735 + Set + Set diff --git a/parser/testdata/02735_parquet_encoder/explain_81.txt b/parser/testdata/02735_parquet_encoder/explain_81.txt new file mode 100644 index 0000000000..e8a8cc9706 --- /dev/null +++ b/parser/testdata/02735_parquet_encoder/explain_81.txt @@ -0,0 +1,13 @@ +InsertQuery (children 3) + Function file (children 1) + ExpressionList (children 1) + Identifier date_as_uint16.parquet + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function toDate (alias d) (children 1) + ExpressionList (children 1) + Literal \'2025-08-12\' + Set + Set diff --git a/parser/testdata/02737_arrayJaccardIndex/explain_14.txt b/parser/testdata/02737_arrayJaccardIndex/explain_14.txt new file mode 100644 index 0000000000..d3ca71d918 --- /dev/null +++ b/parser/testdata/02737_arrayJaccardIndex/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier array_jaccard_index diff --git a/parser/testdata/02737_arrayJaccardIndex/explain_15.txt b/parser/testdata/02737_arrayJaccardIndex/explain_15.txt new file mode 100644 index 0000000000..d3ca71d918 --- /dev/null +++ b/parser/testdata/02737_arrayJaccardIndex/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier array_jaccard_index diff --git a/parser/testdata/02737_arrayJaccardIndex/explain_16.txt b/parser/testdata/02737_arrayJaccardIndex/explain_16.txt new file mode 100644 index 0000000000..d3ca71d918 --- /dev/null +++ b/parser/testdata/02737_arrayJaccardIndex/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier array_jaccard_index diff --git a/parser/testdata/02737_session_timezone/explain.txt b/parser/testdata/02737_session_timezone/explain.txt index 059a1c84bf..cb1142253f 100644 --- a/parser/testdata/02737_session_timezone/explain.txt +++ b/parser/testdata/02737_session_timezone/explain.txt @@ -1,2 +1 @@ Set -The query succeeded but the server error '36' was expected (query: EXPLAIN AST SET session_timezone = 'Ðбырвалг'; -- { serverError BAD_ARGUMENTS}). diff --git a/parser/testdata/02737_session_timezone/explain_11.txt b/parser/testdata/02737_session_timezone/explain_11.txt new file mode 100644 index 0000000000..592dd5f05d --- /dev/null +++ b/parser/testdata/02737_session_timezone/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_tz_setting diff --git a/parser/testdata/02737_session_timezone/explain_12.txt b/parser/testdata/02737_session_timezone/explain_12.txt new file mode 100644 index 0000000000..592dd5f05d --- /dev/null +++ b/parser/testdata/02737_session_timezone/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_tz_setting diff --git a/parser/testdata/02751_query_log_test_partitions/explain_7.txt b/parser/testdata/02751_query_log_test_partitions/explain_7.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02751_query_log_test_partitions/explain_7.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02752_forbidden_headers/explain.txt b/parser/testdata/02752_forbidden_headers/explain.txt index 5f113da276..5bfd869fce 100644 --- a/parser/testdata/02752_forbidden_headers/explain.txt +++ b/parser/testdata/02752_forbidden_headers/explain.txt @@ -16,4 +16,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Literal \'exact_header\' Literal \'value\' -The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT * FROM url('http://localhost:8123/', LineAsString, headers('exact_header' = 'value')); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/02752_space_function/explain_25.txt b/parser/testdata/02752_space_function/explain_25.txt new file mode 100644 index 0000000000..c4bde7d911 --- /dev/null +++ b/parser/testdata/02752_space_function/explain_25.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier defaults diff --git a/parser/testdata/02762_replicated_database_no_args/explain.txt b/parser/testdata/02762_replicated_database_no_args/explain.txt index 9f7cd2a5c4..1594aa7488 100644 --- a/parser/testdata/02762_replicated_database_no_args/explain.txt +++ b/parser/testdata/02762_replicated_database_no_args/explain.txt @@ -2,4 +2,3 @@ CreateQuery replicated_db_no_args (children 2) Identifier replicated_db_no_args Storage definition (children 1) Function Replicated -The query succeeded but the server error '36' was expected (query: EXPLAIN AST create database replicated_db_no_args engine=Replicated; -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/02763_jit_compare_functions_nan/explain_7.txt b/parser/testdata/02763_jit_compare_functions_nan/explain_7.txt new file mode 100644 index 0000000000..3334ffa5de --- /dev/null +++ b/parser/testdata/02763_jit_compare_functions_nan/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_1 diff --git a/parser/testdata/02763_jit_compare_functions_nan/explain_8.txt b/parser/testdata/02763_jit_compare_functions_nan/explain_8.txt new file mode 100644 index 0000000000..324602be3f --- /dev/null +++ b/parser/testdata/02763_jit_compare_functions_nan/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_2 diff --git a/parser/testdata/02763_mutate_compact_part_with_skip_indices_and_projections/explain_11.txt b/parser/testdata/02763_mutate_compact_part_with_skip_indices_and_projections/explain_11.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02763_mutate_compact_part_with_skip_indices_and_projections/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02763_mutate_compact_part_with_skip_indices_and_projections/explain_3.txt b/parser/testdata/02763_mutate_compact_part_with_skip_indices_and_projections/explain_3.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02763_mutate_compact_part_with_skip_indices_and_projections/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02764_index_analysis_fix/explain_3.txt b/parser/testdata/02764_index_analysis_fix/explain_3.txt new file mode 100644 index 0000000000..cd76eec2c4 --- /dev/null +++ b/parser/testdata/02764_index_analysis_fix/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier x diff --git a/parser/testdata/02766_bitshift_with_const_arguments/explain_15.txt b/parser/testdata/02766_bitshift_with_const_arguments/explain_15.txt new file mode 100644 index 0000000000..86f107e55b --- /dev/null +++ b/parser/testdata/02766_bitshift_with_const_arguments/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t5 diff --git a/parser/testdata/02766_bitshift_with_const_arguments/explain_9.txt b/parser/testdata/02766_bitshift_with_const_arguments/explain_9.txt new file mode 100644 index 0000000000..fcb2d89148 --- /dev/null +++ b/parser/testdata/02766_bitshift_with_const_arguments/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t0 diff --git a/parser/testdata/02769_compare_functions_nan/explain_18.txt b/parser/testdata/02769_compare_functions_nan/explain_18.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02769_compare_functions_nan/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02769_compare_functions_nan/explain_23.txt b/parser/testdata/02769_compare_functions_nan/explain_23.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02769_compare_functions_nan/explain_23.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02769_compare_functions_nan/explain_9.txt b/parser/testdata/02769_compare_functions_nan/explain_9.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02769_compare_functions_nan/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02769_parallel_replicas_unavailable_shards/explain_8.txt b/parser/testdata/02769_parallel_replicas_unavailable_shards/explain_8.txt new file mode 100644 index 0000000000..12dbbc2d09 --- /dev/null +++ b/parser/testdata/02769_parallel_replicas_unavailable_shards/explain_8.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test_parallel_replicas_unavailable_shards + Function not (children 1) + ExpressionList (children 1) + Function ignore (children 1) + ExpressionList (children 1) + Asterisk + Set diff --git a/parser/testdata/02769_parallel_replicas_unavailable_shards/explain_9.txt b/parser/testdata/02769_parallel_replicas_unavailable_shards/explain_9.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02769_parallel_replicas_unavailable_shards/explain_9.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02771_ignore_data_skipping_indices/explain_3.txt b/parser/testdata/02771_ignore_data_skipping_indices/explain_3.txt new file mode 100644 index 0000000000..7725bbfa04 --- /dev/null +++ b/parser/testdata/02771_ignore_data_skipping_indices/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data_02771 diff --git a/parser/testdata/02771_log_faminy_truncate_count/explain_3.txt b/parser/testdata/02771_log_faminy_truncate_count/explain_3.txt new file mode 100644 index 0000000000..a1c84d9592 --- /dev/null +++ b/parser/testdata/02771_log_faminy_truncate_count/explain_3.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test_log + ExpressionList (children 2) + Identifier crypto_name + Identifier trade_date diff --git a/parser/testdata/02771_log_faminy_truncate_count/explain_8.txt b/parser/testdata/02771_log_faminy_truncate_count/explain_8.txt new file mode 100644 index 0000000000..a1c84d9592 --- /dev/null +++ b/parser/testdata/02771_log_faminy_truncate_count/explain_8.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test_log + ExpressionList (children 2) + Identifier crypto_name + Identifier trade_date diff --git a/parser/testdata/02771_parallel_replicas_analyzer/explain_4.txt b/parser/testdata/02771_parallel_replicas_analyzer/explain_4.txt new file mode 100644 index 0000000000..e2dfb72670 --- /dev/null +++ b/parser/testdata/02771_parallel_replicas_analyzer/explain_4.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier join_inner_table__fuzz_146_replicated + Set diff --git a/parser/testdata/02771_parallel_replicas_analyzer/explain_5.txt b/parser/testdata/02771_parallel_replicas_analyzer/explain_5.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02771_parallel_replicas_analyzer/explain_5.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02771_tsv_csv_custom_skip_trailing_empty_lines/explain.txt b/parser/testdata/02771_tsv_csv_custom_skip_trailing_empty_lines/explain.txt index b33848c9b6..f04a94a989 100644 --- a/parser/testdata/02771_tsv_csv_custom_skip_trailing_empty_lines/explain.txt +++ b/parser/testdata/02771_tsv_csv_custom_skip_trailing_empty_lines/explain.txt @@ -12,4 +12,3 @@ SelectWithUnionQuery (children 1) Literal \'x UInt32, y UInt32\' Literal \'1\\t2\\n\\n\' Set -The query succeeded but the server error '27' was expected (query: EXPLAIN AST select * from format(TSV, 'x UInt32, y UInt32', '1\t2\n\n') settings input_format_tsv_skip_trailing_empty_lines=0; -- {serverError CANNOT_PARSE_INPUT_ASSERTION_FAILED}). diff --git a/parser/testdata/02772_s3_crash/explain.txt b/parser/testdata/02772_s3_crash/explain.txt index 2c8efa0207..57aed2a59b 100644 --- a/parser/testdata/02772_s3_crash/explain.txt +++ b/parser/testdata/02772_s3_crash/explain.txt @@ -14,4 +14,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Literal \'random_header\' Literal \'value\' -The query succeeded but the server error '42' was expected (query: EXPLAIN AST SELECT * FROM s3(headers('random_header' = 'value')); -- { serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH }). diff --git a/parser/testdata/02781_data_skipping_index_merge_tree_min_for_seek/explain_6.txt b/parser/testdata/02781_data_skipping_index_merge_tree_min_for_seek/explain_6.txt new file mode 100644 index 0000000000..0680d9041d --- /dev/null +++ b/parser/testdata/02781_data_skipping_index_merge_tree_min_for_seek/explain_6.txt @@ -0,0 +1,21 @@ +SelectWithUnionQuery (children 3) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier data + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Identifier v1 + Function minus (children 1) + ExpressionList (children 2) + Function now (children 1) + ExpressionList + Function toIntervalDay (children 1) + ExpressionList (children 1) + Literal UInt64_180 + Identifier Null + Set diff --git a/parser/testdata/02781_data_skipping_index_merge_tree_min_for_seek/explain_7.txt b/parser/testdata/02781_data_skipping_index_merge_tree_min_for_seek/explain_7.txt new file mode 100644 index 0000000000..0680d9041d --- /dev/null +++ b/parser/testdata/02781_data_skipping_index_merge_tree_min_for_seek/explain_7.txt @@ -0,0 +1,21 @@ +SelectWithUnionQuery (children 3) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier data + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Identifier v1 + Function minus (children 1) + ExpressionList (children 2) + Function now (children 1) + ExpressionList + Function toIntervalDay (children 1) + ExpressionList (children 1) + Literal UInt64_180 + Identifier Null + Set diff --git a/parser/testdata/02783_date_predicate_optimizations/explain_10.txt b/parser/testdata/02783_date_predicate_optimizations/explain_10.txt new file mode 100644 index 0000000000..663a542235 --- /dev/null +++ b/parser/testdata/02783_date_predicate_optimizations/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier source diff --git a/parser/testdata/02783_date_predicate_optimizations/explain_11.txt b/parser/testdata/02783_date_predicate_optimizations/explain_11.txt new file mode 100644 index 0000000000..663a542235 --- /dev/null +++ b/parser/testdata/02783_date_predicate_optimizations/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier source diff --git a/parser/testdata/02783_date_predicate_optimizations/explain_12.txt b/parser/testdata/02783_date_predicate_optimizations/explain_12.txt new file mode 100644 index 0000000000..663a542235 --- /dev/null +++ b/parser/testdata/02783_date_predicate_optimizations/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier source diff --git a/parser/testdata/02783_date_predicate_optimizations/explain_13.txt b/parser/testdata/02783_date_predicate_optimizations/explain_13.txt new file mode 100644 index 0000000000..663a542235 --- /dev/null +++ b/parser/testdata/02783_date_predicate_optimizations/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier source diff --git a/parser/testdata/02783_date_predicate_optimizations/explain_2.txt b/parser/testdata/02783_date_predicate_optimizations/explain_2.txt new file mode 100644 index 0000000000..663a542235 --- /dev/null +++ b/parser/testdata/02783_date_predicate_optimizations/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier source diff --git a/parser/testdata/02783_date_predicate_optimizations/explain_9.txt b/parser/testdata/02783_date_predicate_optimizations/explain_9.txt new file mode 100644 index 0000000000..663a542235 --- /dev/null +++ b/parser/testdata/02783_date_predicate_optimizations/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier source diff --git a/parser/testdata/02784_projections_read_in_order_bug/explain_3.txt b/parser/testdata/02784_projections_read_in_order_bug/explain_3.txt new file mode 100644 index 0000000000..0a2535f0df --- /dev/null +++ b/parser/testdata/02784_projections_read_in_order_bug/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier events diff --git a/parser/testdata/02784_projections_read_in_order_bug/explain_4.txt b/parser/testdata/02784_projections_read_in_order_bug/explain_4.txt new file mode 100644 index 0000000000..0a2535f0df --- /dev/null +++ b/parser/testdata/02784_projections_read_in_order_bug/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier events diff --git a/parser/testdata/02785_left_anti_join_bug/explain_5.txt b/parser/testdata/02785_left_anti_join_bug/explain_5.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02785_left_anti_join_bug/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02786_max_execution_time_leaf/explain_3.txt b/parser/testdata/02786_max_execution_time_leaf/explain_3.txt index c639a985e8..332eaf0f22 100644 --- a/parser/testdata/02786_max_execution_time_leaf/explain_3.txt +++ b/parser/testdata/02786_max_execution_time_leaf/explain_3.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 1) Function count (children 1) ExpressionList @@ -23,6 +23,5 @@ SelectWithUnionQuery (children 3) Function numbers (children 1) ExpressionList (children 1) Literal UInt64_10000000000 - Set Identifier Null Set diff --git a/parser/testdata/02789_functions_after_sorting_and_columns_with_same_names_bug_2/explain.txt b/parser/testdata/02789_functions_after_sorting_and_columns_with_same_names_bug_2/explain.txt new file mode 100644 index 0000000000..978f4ed2ab --- /dev/null +++ b/parser/testdata/02789_functions_after_sorting_and_columns_with_same_names_bug_2/explain.txt @@ -0,0 +1,14 @@ +CreateQuery test1 (children 3) + Identifier test1 + Columns definition (children 1) + ExpressionList (children 4) + ColumnDeclaration pt (children 1) + DataType String + ColumnDeclaration brand_name (children 1) + DataType String + ColumnDeclaration total_indirect_order_cnt (children 1) + DataType Float64 + ColumnDeclaration total_indirect_gmv (children 1) + DataType Float64 + Storage definition (children 1) + Function Memory diff --git a/parser/testdata/02789_functions_after_sorting_and_columns_with_same_names_bug_2/explain_3.txt b/parser/testdata/02789_functions_after_sorting_and_columns_with_same_names_bug_2/explain_3.txt new file mode 100644 index 0000000000..bdc2359905 --- /dev/null +++ b/parser/testdata/02789_functions_after_sorting_and_columns_with_same_names_bug_2/explain_3.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier test1 + ExpressionList (children 4) + Identifier pt + Identifier brand_name + Identifier total_indirect_order_cnt + Identifier total_indirect_gmv diff --git a/parser/testdata/02789_functions_after_sorting_and_columns_with_same_names_bug_2/explain_4.txt b/parser/testdata/02789_functions_after_sorting_and_columns_with_same_names_bug_2/explain_4.txt new file mode 100644 index 0000000000..4bedbadf73 --- /dev/null +++ b/parser/testdata/02789_functions_after_sorting_and_columns_with_same_names_bug_2/explain_4.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier test2 + ExpressionList (children 4) + Identifier pt + Identifier brand_name + Identifier exposure_uv + Identifier click_uv diff --git a/parser/testdata/02789_jit_cannot_convert_column/explain.txt b/parser/testdata/02789_jit_cannot_convert_column/explain.txt new file mode 100644 index 0000000000..982162bbd8 --- /dev/null +++ b/parser/testdata/02789_jit_cannot_convert_column/explain.txt @@ -0,0 +1,66 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 2) + Function sum (children 1) + ExpressionList (children 1) + Identifier c + Function plus (alias a) (children 1) + ExpressionList (children 2) + Function toInt32 (children 1) + ExpressionList (children 1) + Function divide (children 1) + ExpressionList (children 2) + Function minus (children 1) + ExpressionList (children 2) + Identifier h + Function CAST (children 1) + ExpressionList (children 2) + Literal NULL + Literal \'Nullable(DateTime)\' + Literal UInt64_3600 + Literal UInt64_1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 2) + Function count (alias c) (children 1) + ExpressionList + Identifier h + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function now (alias h) (children 1) + ExpressionList + Function equals (children 1) + ExpressionList (children 2) + Function plus (children 1) + ExpressionList (children 2) + Function toInt32 (children 1) + ExpressionList (children 1) + Function divide (children 1) + ExpressionList (children 2) + Function minus (children 1) + ExpressionList (children 2) + Identifier h + Function CAST (children 1) + ExpressionList (children 2) + Literal NULL + Literal \'Nullable(DateTime)\' + Literal UInt64_3600 + Literal UInt64_1 + Literal UInt64_1 + ExpressionList (children 1) + Identifier h + ExpressionList (children 1) + Identifier a + Set diff --git a/parser/testdata/02789_set_index_nullable_condition_bug/explain_12.txt b/parser/testdata/02789_set_index_nullable_condition_bug/explain_12.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02789_set_index_nullable_condition_bug/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02789_set_index_nullable_condition_bug/explain_16.txt b/parser/testdata/02789_set_index_nullable_condition_bug/explain_16.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02789_set_index_nullable_condition_bug/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02789_set_index_nullable_condition_bug/explain_22.txt b/parser/testdata/02789_set_index_nullable_condition_bug/explain_22.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02789_set_index_nullable_condition_bug/explain_22.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02789_set_index_nullable_condition_bug/explain_26.txt b/parser/testdata/02789_set_index_nullable_condition_bug/explain_26.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02789_set_index_nullable_condition_bug/explain_26.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02789_set_index_nullable_condition_bug/explain_30.txt b/parser/testdata/02789_set_index_nullable_condition_bug/explain_30.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02789_set_index_nullable_condition_bug/explain_30.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02789_set_index_nullable_condition_bug/explain_8.txt b/parser/testdata/02789_set_index_nullable_condition_bug/explain_8.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02789_set_index_nullable_condition_bug/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02790_fix_coredump_when_compile_expression/explain_2.txt b/parser/testdata/02790_fix_coredump_when_compile_expression/explain_2.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02790_fix_coredump_when_compile_expression/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02790_sql_standard_fetch/explain_2.txt b/parser/testdata/02790_sql_standard_fetch/explain_2.txt new file mode 100644 index 0000000000..be43e3cdaf --- /dev/null +++ b/parser/testdata/02790_sql_standard_fetch/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier employees diff --git a/parser/testdata/02791_final_block_structure_mismatch_bug/explain_11.txt b/parser/testdata/02791_final_block_structure_mismatch_bug/explain_11.txt new file mode 100644 index 0000000000..8adfc70a1f --- /dev/null +++ b/parser/testdata/02791_final_block_structure_mismatch_bug/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_block_mismatch diff --git a/parser/testdata/02791_final_block_structure_mismatch_bug/explain_12.txt b/parser/testdata/02791_final_block_structure_mismatch_bug/explain_12.txt new file mode 100644 index 0000000000..8adfc70a1f --- /dev/null +++ b/parser/testdata/02791_final_block_structure_mismatch_bug/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_block_mismatch diff --git a/parser/testdata/02791_final_block_structure_mismatch_bug/explain_15.txt b/parser/testdata/02791_final_block_structure_mismatch_bug/explain_15.txt new file mode 100644 index 0000000000..ae5f99a0c4 --- /dev/null +++ b/parser/testdata/02791_final_block_structure_mismatch_bug/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_block_mismatch_sk1 diff --git a/parser/testdata/02791_final_block_structure_mismatch_bug/explain_16.txt b/parser/testdata/02791_final_block_structure_mismatch_bug/explain_16.txt new file mode 100644 index 0000000000..ae5f99a0c4 --- /dev/null +++ b/parser/testdata/02791_final_block_structure_mismatch_bug/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_block_mismatch_sk1 diff --git a/parser/testdata/02791_final_block_structure_mismatch_bug/explain_18.txt b/parser/testdata/02791_final_block_structure_mismatch_bug/explain_18.txt new file mode 100644 index 0000000000..ae5f99a0c4 --- /dev/null +++ b/parser/testdata/02791_final_block_structure_mismatch_bug/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_block_mismatch_sk1 diff --git a/parser/testdata/02791_final_block_structure_mismatch_bug/explain_19.txt b/parser/testdata/02791_final_block_structure_mismatch_bug/explain_19.txt new file mode 100644 index 0000000000..ae5f99a0c4 --- /dev/null +++ b/parser/testdata/02791_final_block_structure_mismatch_bug/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_block_mismatch_sk1 diff --git a/parser/testdata/02791_final_block_structure_mismatch_bug/explain_23.txt b/parser/testdata/02791_final_block_structure_mismatch_bug/explain_23.txt new file mode 100644 index 0000000000..ae5f99a0c4 --- /dev/null +++ b/parser/testdata/02791_final_block_structure_mismatch_bug/explain_23.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_block_mismatch_sk1 diff --git a/parser/testdata/02791_final_block_structure_mismatch_bug/explain_24.txt b/parser/testdata/02791_final_block_structure_mismatch_bug/explain_24.txt new file mode 100644 index 0000000000..ae5f99a0c4 --- /dev/null +++ b/parser/testdata/02791_final_block_structure_mismatch_bug/explain_24.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_block_mismatch_sk1 diff --git a/parser/testdata/02791_final_block_structure_mismatch_bug/explain_27.txt b/parser/testdata/02791_final_block_structure_mismatch_bug/explain_27.txt new file mode 100644 index 0000000000..328ee5444d --- /dev/null +++ b/parser/testdata/02791_final_block_structure_mismatch_bug/explain_27.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_block_mismatch_sk2 diff --git a/parser/testdata/02791_final_block_structure_mismatch_bug/explain_28.txt b/parser/testdata/02791_final_block_structure_mismatch_bug/explain_28.txt new file mode 100644 index 0000000000..328ee5444d --- /dev/null +++ b/parser/testdata/02791_final_block_structure_mismatch_bug/explain_28.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_block_mismatch_sk2 diff --git a/parser/testdata/02791_final_block_structure_mismatch_bug/explain_3.txt b/parser/testdata/02791_final_block_structure_mismatch_bug/explain_3.txt new file mode 100644 index 0000000000..8adfc70a1f --- /dev/null +++ b/parser/testdata/02791_final_block_structure_mismatch_bug/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_block_mismatch diff --git a/parser/testdata/02791_final_block_structure_mismatch_bug/explain_30.txt b/parser/testdata/02791_final_block_structure_mismatch_bug/explain_30.txt new file mode 100644 index 0000000000..328ee5444d --- /dev/null +++ b/parser/testdata/02791_final_block_structure_mismatch_bug/explain_30.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_block_mismatch_sk2 diff --git a/parser/testdata/02791_final_block_structure_mismatch_bug/explain_31.txt b/parser/testdata/02791_final_block_structure_mismatch_bug/explain_31.txt new file mode 100644 index 0000000000..328ee5444d --- /dev/null +++ b/parser/testdata/02791_final_block_structure_mismatch_bug/explain_31.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_block_mismatch_sk2 diff --git a/parser/testdata/02791_final_block_structure_mismatch_bug/explain_35.txt b/parser/testdata/02791_final_block_structure_mismatch_bug/explain_35.txt new file mode 100644 index 0000000000..328ee5444d --- /dev/null +++ b/parser/testdata/02791_final_block_structure_mismatch_bug/explain_35.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_block_mismatch_sk2 diff --git a/parser/testdata/02791_final_block_structure_mismatch_bug/explain_36.txt b/parser/testdata/02791_final_block_structure_mismatch_bug/explain_36.txt new file mode 100644 index 0000000000..328ee5444d --- /dev/null +++ b/parser/testdata/02791_final_block_structure_mismatch_bug/explain_36.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_block_mismatch_sk2 diff --git a/parser/testdata/02791_final_block_structure_mismatch_bug/explain_4.txt b/parser/testdata/02791_final_block_structure_mismatch_bug/explain_4.txt new file mode 100644 index 0000000000..8adfc70a1f --- /dev/null +++ b/parser/testdata/02791_final_block_structure_mismatch_bug/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_block_mismatch diff --git a/parser/testdata/02791_final_block_structure_mismatch_bug/explain_6.txt b/parser/testdata/02791_final_block_structure_mismatch_bug/explain_6.txt new file mode 100644 index 0000000000..8adfc70a1f --- /dev/null +++ b/parser/testdata/02791_final_block_structure_mismatch_bug/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_block_mismatch diff --git a/parser/testdata/02791_final_block_structure_mismatch_bug/explain_7.txt b/parser/testdata/02791_final_block_structure_mismatch_bug/explain_7.txt new file mode 100644 index 0000000000..8adfc70a1f --- /dev/null +++ b/parser/testdata/02791_final_block_structure_mismatch_bug/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_block_mismatch diff --git a/parser/testdata/02794_pushdown_invalid_get/explain.txt b/parser/testdata/02794_pushdown_invalid_get/explain.txt index a5f232b366..8781fb63f0 100644 --- a/parser/testdata/02794_pushdown_invalid_get/explain.txt +++ b/parser/testdata/02794_pushdown_invalid_get/explain.txt @@ -22,4 +22,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) Literal Int64_-2 Identifier x -The query succeeded but the server error '59' was expected (query: EXPLAIN AST SELECT * FROM (SELECT toInt128(NULL) AS x UNION ALL SELECT materialize(toInt128(-2))) WHERE x; -- { serverError ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER }). diff --git a/parser/testdata/02796_calculate_text_stack_trace/explain_3.txt b/parser/testdata/02796_calculate_text_stack_trace/explain_3.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02796_calculate_text_stack_trace/explain_3.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02796_calculate_text_stack_trace/explain_8.txt b/parser/testdata/02796_calculate_text_stack_trace/explain_8.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02796_calculate_text_stack_trace/explain_8.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02800_transform_alter/explain_5.txt b/parser/testdata/02800_transform_alter/explain_5.txt new file mode 100644 index 0000000000..aac80a2ac5 --- /dev/null +++ b/parser/testdata/02800_transform_alter/explain_5.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test_xy + ExpressionList (children 2) + Identifier x + Identifier y diff --git a/parser/testdata/02800_transform_alter/explain_6.txt b/parser/testdata/02800_transform_alter/explain_6.txt new file mode 100644 index 0000000000..406bcbe1e6 --- /dev/null +++ b/parser/testdata/02800_transform_alter/explain_6.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier updates + ExpressionList (children 2) + Identifier x + Identifier y diff --git a/parser/testdata/02804_clusterAllReplicas_insert/explain_3.txt b/parser/testdata/02804_clusterAllReplicas_insert/explain_3.txt new file mode 100644 index 0000000000..50576d99f6 --- /dev/null +++ b/parser/testdata/02804_clusterAllReplicas_insert/explain_3.txt @@ -0,0 +1,9 @@ +InsertQuery (children 1) + Function clusterAllReplicas (children 1) + ExpressionList (children 4) + Identifier test_cluster_two_shards + Function currentDatabase (children 1) + ExpressionList + Identifier data + Function rand (children 1) + ExpressionList diff --git a/parser/testdata/02807_default_date_time_nullable/explain.txt b/parser/testdata/02807_default_date_time_nullable/explain.txt new file mode 100644 index 0000000000..4c0159f9a6 --- /dev/null +++ b/parser/testdata/02807_default_date_time_nullable/explain.txt @@ -0,0 +1,14 @@ +CreateQuery test (children 3) + Identifier test + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration data (children 1) + DataType int + ColumnDeclaration default (children 2) + DataType Nullable (children 1) + ExpressionList (children 1) + DataType DateTime + Literal \'1977-01-01 00:00:00\' + Storage definition (children 1) + Function Memory (children 1) + ExpressionList diff --git a/parser/testdata/02807_math_unary_crash/explain_3.txt b/parser/testdata/02807_math_unary_crash/explain_3.txt new file mode 100644 index 0000000000..fa99342d99 --- /dev/null +++ b/parser/testdata/02807_math_unary_crash/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t10 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/02809_storage_set_analysis_bug/explain_8.txt b/parser/testdata/02809_storage_set_analysis_bug/explain_8.txt new file mode 100644 index 0000000000..0d497f6a1b --- /dev/null +++ b/parser/testdata/02809_storage_set_analysis_bug/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_set diff --git a/parser/testdata/02810_fix_remove_dedundant_distinct_view/explain_4.txt b/parser/testdata/02810_fix_remove_dedundant_distinct_view/explain_4.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02810_fix_remove_dedundant_distinct_view/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02810_fix_remove_dedundant_distinct_view/explain_5.txt b/parser/testdata/02810_fix_remove_dedundant_distinct_view/explain_5.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02810_fix_remove_dedundant_distinct_view/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02810_fix_remove_dedundant_distinct_view/explain_6.txt b/parser/testdata/02810_fix_remove_dedundant_distinct_view/explain_6.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02810_fix_remove_dedundant_distinct_view/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02810_system_jemalloc_bins/explain.txt b/parser/testdata/02810_system_jemalloc_bins/explain.txt new file mode 100644 index 0000000000..d411cac300 --- /dev/null +++ b/parser/testdata/02810_system_jemalloc_bins/explain.txt @@ -0,0 +1,134 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 6) + Subquery (alias jemalloc_enabled) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function in (children 1) + ExpressionList (children 2) + Identifier value + Literal Tuple_(\'ON\', \'1\') + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.build_options + Function equals (children 1) + ExpressionList (children 2) + Identifier name + Literal \'USE_JEMALLOC\' + Subquery (alias total_bins) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.jemalloc_bins + Subquery (alias large_bins) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.jemalloc_bins + Identifier large + Subquery (alias small_bins) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.jemalloc_bins + Function not (children 1) + ExpressionList (children 1) + Identifier large + Subquery (alias large_allocated_bytes) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function sum (children 1) + ExpressionList (children 1) + Function multiply (children 1) + ExpressionList (children 2) + Identifier size + Function minus (children 1) + ExpressionList (children 2) + Identifier allocations + Identifier deallocations + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.jemalloc_bins + Identifier large + Subquery (alias small_allocated_bytes) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function sum (children 1) + ExpressionList (children 1) + Function multiply (children 1) + ExpressionList (children 2) + Identifier size + Function minus (children 1) + ExpressionList (children 2) + Identifier allocations + Identifier deallocations + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.jemalloc_bins + Function not (children 1) + ExpressionList (children 1) + Identifier large + ExpressionList (children 5) + Function equals (children 1) + ExpressionList (children 2) + Function greater (children 1) + ExpressionList (children 2) + Identifier total_bins + Literal UInt64_0 + Identifier jemalloc_enabled + Function equals (children 1) + ExpressionList (children 2) + Function greater (children 1) + ExpressionList (children 2) + Identifier large_bins + Literal UInt64_0 + Identifier jemalloc_enabled + Function equals (children 1) + ExpressionList (children 2) + Function greater (children 1) + ExpressionList (children 2) + Identifier small_bins + Literal UInt64_0 + Identifier jemalloc_enabled + Function equals (children 1) + ExpressionList (children 2) + Function greater (children 1) + ExpressionList (children 2) + Identifier large_allocated_bytes + Literal UInt64_0 + Identifier jemalloc_enabled + Function equals (children 1) + ExpressionList (children 2) + Function greater (children 1) + ExpressionList (children 2) + Identifier small_allocated_bytes + Literal UInt64_0 + Identifier jemalloc_enabled diff --git a/parser/testdata/02811_invalid_embedded_rocksdb_create/explain.txt b/parser/testdata/02811_invalid_embedded_rocksdb_create/explain.txt index 66fc420360..103e59559c 100644 --- a/parser/testdata/02811_invalid_embedded_rocksdb_create/explain.txt +++ b/parser/testdata/02811_invalid_embedded_rocksdb_create/explain.txt @@ -11,4 +11,3 @@ CreateQuery dict (children 3) ExpressionList (children 1) Identifier k Identifier k -The query succeeded but the server error '36' was expected (query: EXPLAIN AST CREATE TABLE dict (`k` String, `v` String) ENGINE = EmbeddedRocksDB(k) PRIMARY KEY k; -- {serverError BAD_ARGUMENTS}). diff --git a/parser/testdata/02811_ip_dict_attribute/explain.txt b/parser/testdata/02811_ip_dict_attribute/explain.txt new file mode 100644 index 0000000000..a8ffcc3431 --- /dev/null +++ b/parser/testdata/02811_ip_dict_attribute/explain.txt @@ -0,0 +1,24 @@ +CreateQuery src (children 4) + Identifier src + Columns definition (children 1) + ExpressionList (children 3) + ColumnDeclaration id (children 1) + DataType UInt64 + ColumnDeclaration ip4 (children 1) + DataType IPv4 + ColumnDeclaration ip6 (children 1) + DataType IPv6 + Storage definition (children 1) + Function Memory + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function VALUES (children 1) + ExpressionList (children 2) + Literal Tuple_(UInt64_1, \'1.1.1.1\', \'::1.1.1.1\') + Literal Tuple_(UInt64_2, \'2.2.2.2\', \'::2.2.2.2\') diff --git a/parser/testdata/02811_parallel_replicas_prewhere_count/explain_3.txt b/parser/testdata/02811_parallel_replicas_prewhere_count/explain_3.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/02811_parallel_replicas_prewhere_count/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/02811_parallel_replicas_prewhere_count/explain_4.txt b/parser/testdata/02811_parallel_replicas_prewhere_count/explain_4.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/02811_parallel_replicas_prewhere_count/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/02811_parallel_replicas_prewhere_count/explain_5.txt b/parser/testdata/02811_parallel_replicas_prewhere_count/explain_5.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/02811_parallel_replicas_prewhere_count/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/02811_read_in_order_and_array_join_bug/explain_6.txt b/parser/testdata/02811_read_in_order_and_array_join_bug/explain_6.txt index dcee6c71cb..f7956dc64b 100644 --- a/parser/testdata/02811_read_in_order_and_array_join_bug/explain_6.txt +++ b/parser/testdata/02811_read_in_order_and_array_join_bug/explain_6.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 5) + SelectQuery (children 4) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 2) @@ -27,6 +27,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) OrderByElement (children 1) Identifier id - Set Identifier Null Set diff --git a/parser/testdata/02812_from_to_utc_timestamp/explain_3.txt b/parser/testdata/02812_from_to_utc_timestamp/explain_3.txt new file mode 100644 index 0000000000..d8d2e3004d --- /dev/null +++ b/parser/testdata/02812_from_to_utc_timestamp/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_tbl diff --git a/parser/testdata/02812_from_to_utc_timestamp/explain_4.txt b/parser/testdata/02812_from_to_utc_timestamp/explain_4.txt new file mode 100644 index 0000000000..d8d2e3004d --- /dev/null +++ b/parser/testdata/02812_from_to_utc_timestamp/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_tbl diff --git a/parser/testdata/02812_from_to_utc_timestamp/explain_5.txt b/parser/testdata/02812_from_to_utc_timestamp/explain_5.txt new file mode 100644 index 0000000000..d8d2e3004d --- /dev/null +++ b/parser/testdata/02812_from_to_utc_timestamp/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_tbl diff --git a/parser/testdata/02812_pointwise_array_operations/explain_12.txt b/parser/testdata/02812_pointwise_array_operations/explain_12.txt new file mode 100644 index 0000000000..72eca89da1 --- /dev/null +++ b/parser/testdata/02812_pointwise_array_operations/explain_12.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier my_table + ExpressionList (children 1) + Identifier values diff --git a/parser/testdata/02812_pointwise_array_operations/explain_17.txt b/parser/testdata/02812_pointwise_array_operations/explain_17.txt new file mode 100644 index 0000000000..b99677bd61 --- /dev/null +++ b/parser/testdata/02812_pointwise_array_operations/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier a diff --git a/parser/testdata/02813_array_concat_agg/explain_3.txt b/parser/testdata/02813_array_concat_agg/explain_3.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/02813_array_concat_agg/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/02813_float_parsing/explain.txt b/parser/testdata/02813_float_parsing/explain.txt new file mode 100644 index 0000000000..8f657e8c4d --- /dev/null +++ b/parser/testdata/02813_float_parsing/explain.txt @@ -0,0 +1,29 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 8) + Function toFloat64 (children 1) + ExpressionList (children 1) + Literal \'1.7091\' + Function toFloat64 (children 1) + ExpressionList (children 1) + Literal \'1.5008753E7\' + Function toFloat64 (children 1) + ExpressionList (children 1) + Literal \'6e-09\' + Function toFloat64 (children 1) + ExpressionList (children 1) + Literal \'6.000000000000001e-9\' + Function toFloat32 (children 1) + ExpressionList (children 1) + Literal \'1.7091\' + Function toFloat32 (children 1) + ExpressionList (children 1) + Literal \'1.5008753E7\' + Function toFloat32 (children 1) + ExpressionList (children 1) + Literal \'6e-09\' + Function toFloat32 (children 1) + ExpressionList (children 1) + Literal \'6.000000000000001e-9\' + Set diff --git a/parser/testdata/02813_seriesDecomposeSTL/explain_3.txt b/parser/testdata/02813_seriesDecomposeSTL/explain_3.txt new file mode 100644 index 0000000000..2ca21f3f57 --- /dev/null +++ b/parser/testdata/02813_seriesDecomposeSTL/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tb2 diff --git a/parser/testdata/02813_seriesDecomposeSTL/explain_4.txt b/parser/testdata/02813_seriesDecomposeSTL/explain_4.txt new file mode 100644 index 0000000000..2ca21f3f57 --- /dev/null +++ b/parser/testdata/02813_seriesDecomposeSTL/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tb2 diff --git a/parser/testdata/02813_seriesOutliersDetectTukey/explain_3.txt b/parser/testdata/02813_seriesOutliersDetectTukey/explain_3.txt new file mode 100644 index 0000000000..91fe33fa17 --- /dev/null +++ b/parser/testdata/02813_seriesOutliersDetectTukey/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tb1 diff --git a/parser/testdata/02813_series_period_detect/explain_3.txt b/parser/testdata/02813_series_period_detect/explain_3.txt new file mode 100644 index 0000000000..91fe33fa17 --- /dev/null +++ b/parser/testdata/02813_series_period_detect/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tb1 diff --git a/parser/testdata/02814_currentDatabase_for_table_functions/explain_9.txt b/parser/testdata/02814_currentDatabase_for_table_functions/explain_9.txt new file mode 100644 index 0000000000..859c7cca48 --- /dev/null +++ b/parser/testdata/02814_currentDatabase_for_table_functions/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier null_table_buffer diff --git a/parser/testdata/02814_order_by_tuple_window_function/explain.txt b/parser/testdata/02814_order_by_tuple_window_function/explain.txt index 9c747baf3c..c5551f59ef 100644 --- a/parser/testdata/02814_order_by_tuple_window_function/explain.txt +++ b/parser/testdata/02814_order_by_tuple_window_function/explain.txt @@ -7,6 +7,5 @@ SelectWithUnionQuery (children 1) OrderByElement (children 1) Function tuple (children 1) ExpressionList (children 1) - Function count (children 2) + Function count (children 1) ExpressionList - WindowDefinition diff --git a/parser/testdata/02815_empty_subquery_nullable_bug/explain.txt b/parser/testdata/02815_empty_subquery_nullable_bug/explain.txt new file mode 100644 index 0000000000..97949f09e1 --- /dev/null +++ b/parser/testdata/02815_empty_subquery_nullable_bug/explain.txt @@ -0,0 +1,49 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Subquery (alias x) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Literal UInt64_0 (alias x) + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias t1) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 (alias x) + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias t2) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 (alias x) + TableJoin (children 1) + ExpressionList (children 1) + Identifier x + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 (alias x) + Identifier Null diff --git a/parser/testdata/02815_first_line/explain_8.txt b/parser/testdata/02815_first_line/explain_8.txt new file mode 100644 index 0000000000..373d8e4179 --- /dev/null +++ b/parser/testdata/02815_first_line/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02815_first_line_vector diff --git a/parser/testdata/02815_fix_not_found_constants_col_in_block/explain_3.txt b/parser/testdata/02815_fix_not_found_constants_col_in_block/explain_3.txt new file mode 100644 index 0000000000..fcb2d89148 --- /dev/null +++ b/parser/testdata/02815_fix_not_found_constants_col_in_block/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t0 diff --git a/parser/testdata/02815_join_algorithm_setting/explain_33.txt b/parser/testdata/02815_join_algorithm_setting/explain_33.txt index ec17134cb0..e19918096f 100644 --- a/parser/testdata/02815_join_algorithm_setting/explain_33.txt +++ b/parser/testdata/02815_join_algorithm_setting/explain_33.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 2) @@ -39,6 +39,5 @@ SelectWithUnionQuery (children 3) TableExpression (children 1) TableIdentifier t2 TableJoin - Set Identifier Null Set diff --git a/parser/testdata/02815_join_algorithm_setting/explain_34.txt b/parser/testdata/02815_join_algorithm_setting/explain_34.txt index ec17134cb0..e19918096f 100644 --- a/parser/testdata/02815_join_algorithm_setting/explain_34.txt +++ b/parser/testdata/02815_join_algorithm_setting/explain_34.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 2) @@ -39,6 +39,5 @@ SelectWithUnionQuery (children 3) TableExpression (children 1) TableIdentifier t2 TableJoin - Set Identifier Null Set diff --git a/parser/testdata/02815_join_algorithm_setting/explain_4.txt b/parser/testdata/02815_join_algorithm_setting/explain_4.txt new file mode 100644 index 0000000000..78a9c8d82d --- /dev/null +++ b/parser/testdata/02815_join_algorithm_setting/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rdb diff --git a/parser/testdata/02815_join_algorithm_setting/explain_6.txt b/parser/testdata/02815_join_algorithm_setting/explain_6.txt new file mode 100644 index 0000000000..df4a687bc0 --- /dev/null +++ b/parser/testdata/02815_join_algorithm_setting/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2 diff --git a/parser/testdata/02815_logical_error_cannot_get_column_name_of_set/explain.txt b/parser/testdata/02815_logical_error_cannot_get_column_name_of_set/explain.txt index f02308ba80..a5795f1548 100644 --- a/parser/testdata/02815_logical_error_cannot_get_column_name_of_set/explain.txt +++ b/parser/testdata/02815_logical_error_cannot_get_column_name_of_set/explain.txt @@ -9,4 +9,3 @@ SelectWithUnionQuery (children 1) Function numbers (children 1) ExpressionList (children 1) Set -The query succeeded but the server error '[36, 1]' was expected (query: EXPLAIN AST SELECT * FROM numbers(SETTINGS x = 1); -- { serverError BAD_ARGUMENTS, UNSUPPORTED_METHOD }). diff --git a/parser/testdata/02815_range_dict_no_direct_join/explain_2.txt b/parser/testdata/02815_range_dict_no_direct_join/explain_2.txt new file mode 100644 index 0000000000..fa5638fc88 --- /dev/null +++ b/parser/testdata/02815_range_dict_no_direct_join/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier discounts diff --git a/parser/testdata/02815_range_dict_no_direct_join/explain_3.txt b/parser/testdata/02815_range_dict_no_direct_join/explain_3.txt new file mode 100644 index 0000000000..fa5638fc88 --- /dev/null +++ b/parser/testdata/02815_range_dict_no_direct_join/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier discounts diff --git a/parser/testdata/02815_range_dict_no_direct_join/explain_4.txt b/parser/testdata/02815_range_dict_no_direct_join/explain_4.txt new file mode 100644 index 0000000000..fa5638fc88 --- /dev/null +++ b/parser/testdata/02815_range_dict_no_direct_join/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier discounts diff --git a/parser/testdata/02815_range_dict_no_direct_join/explain_5.txt b/parser/testdata/02815_range_dict_no_direct_join/explain_5.txt new file mode 100644 index 0000000000..fa5638fc88 --- /dev/null +++ b/parser/testdata/02815_range_dict_no_direct_join/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier discounts diff --git a/parser/testdata/02815_range_dict_no_direct_join/explain_6.txt b/parser/testdata/02815_range_dict_no_direct_join/explain_6.txt new file mode 100644 index 0000000000..fa5638fc88 --- /dev/null +++ b/parser/testdata/02815_range_dict_no_direct_join/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier discounts diff --git a/parser/testdata/02815_range_dict_no_direct_join/explain_7.txt b/parser/testdata/02815_range_dict_no_direct_join/explain_7.txt new file mode 100644 index 0000000000..fa5638fc88 --- /dev/null +++ b/parser/testdata/02815_range_dict_no_direct_join/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier discounts diff --git a/parser/testdata/02816_check_projection_metadata/explain.txt b/parser/testdata/02816_check_projection_metadata/explain.txt index 8ec67c350e..a4cec2f649 100644 --- a/parser/testdata/02816_check_projection_metadata/explain.txt +++ b/parser/testdata/02816_check_projection_metadata/explain.txt @@ -31,4 +31,3 @@ CreateQuery kek (children 3) Identifier id Identifier dt Identifier uuid -The query succeeded but the server error '44' was expected (query: EXPLAIN AST create table kek (uuid FixedString(16), id int, ns String, dt DateTime64(6), projection null_pk (select * order by ns, 1, 4)) engine=MergeTree order by (id, dt, uuid); -- {serverError ILLEGAL_COLUMN }). diff --git a/parser/testdata/02816_s2_invalid_point/explain.txt b/parser/testdata/02816_s2_invalid_point/explain.txt index a7ee8fa8f6..7ec997ed1e 100644 --- a/parser/testdata/02816_s2_invalid_point/explain.txt +++ b/parser/testdata/02816_s2_invalid_point/explain.txt @@ -14,4 +14,3 @@ SelectWithUnionQuery (children 1) Function toUInt64 (children 1) ExpressionList (children 1) Literal Int64_-1 -The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT geoToS2(toFloat64(toUInt64(-1)), toFloat64(toUInt64(-1))); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/02817_group_array_moving_zero_window_size/explain.txt b/parser/testdata/02817_group_array_moving_zero_window_size/explain.txt index c167a8954c..d7f8c4aab0 100644 --- a/parser/testdata/02817_group_array_moving_zero_window_size/explain.txt +++ b/parser/testdata/02817_group_array_moving_zero_window_size/explain.txt @@ -12,4 +12,3 @@ SelectWithUnionQuery (children 1) Function toInt64 (children 1) ExpressionList (children 1) Literal UInt64_0 -The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT groupArrayMovingAvg ( toInt64 ( 0 ) ) ( toDecimal32 ( 1 , 1 ) ); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/02818_parameterized_view_with_cte_multiple_usage/explain.txt b/parser/testdata/02818_parameterized_view_with_cte_multiple_usage/explain.txt new file mode 100644 index 0000000000..40c5299c2c --- /dev/null +++ b/parser/testdata/02818_parameterized_view_with_cte_multiple_usage/explain.txt @@ -0,0 +1,30 @@ +CreateQuery test_param_view (children 2) + Identifier test_param_view + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + QueryParameter param_test_val:UInt8 (alias param_test_val) + ExpressionList (children 2) + Identifier param_test_val + Function arrayCount (alias cnt1) (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier a + Function less (children 1) + ExpressionList (children 2) + Identifier a + Identifier param_test_val + Identifier t.arr + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias t) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal Array_[UInt64_1, UInt64_2, UInt64_3, UInt64_4, UInt64_5] (alias arr) diff --git a/parser/testdata/02830_insert_values_time_interval/explain_3.txt b/parser/testdata/02830_insert_values_time_interval/explain_3.txt new file mode 100644 index 0000000000..7e1fbaab7a --- /dev/null +++ b/parser/testdata/02830_insert_values_time_interval/explain_3.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 3) + Identifier c1 + Identifier c2 + Identifier c3 diff --git a/parser/testdata/02830_insert_values_time_interval/explain_7.txt b/parser/testdata/02830_insert_values_time_interval/explain_7.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/02830_insert_values_time_interval/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/02830_insert_values_time_interval/explain_8.txt b/parser/testdata/02830_insert_values_time_interval/explain_8.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/02830_insert_values_time_interval/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/02831_ast_fuzz_asan_join/explain.txt b/parser/testdata/02831_ast_fuzz_asan_join/explain.txt new file mode 100644 index 0000000000..d023aad1df --- /dev/null +++ b/parser/testdata/02831_ast_fuzz_asan_join/explain.txt @@ -0,0 +1,65 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Literal \'0\' + Function toTypeName (children 1) + ExpressionList (children 1) + Function materialize (children 1) + ExpressionList (children 1) + Identifier js2.s + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias js1) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier number (alias k) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_100 + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias js2) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 4) + Function toLowCardinality (alias k) (children 1) + ExpressionList (children 1) + Function plus (children 1) + ExpressionList (children 2) + Literal UInt64_2147483647 + Literal UInt64_256 + Literal \'-0.0000000001\' + Literal UInt64_1024 + Function toString (alias s) (children 1) + ExpressionList (children 1) + Function plus (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1024 + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier js1.k + Identifier js2.k + ExpressionList (children 3) + OrderByElement (children 1) + Literal Float64_inf + OrderByElement (children 1) + Identifier js1.k + OrderByElement (children 1) + Identifier js2.k + Identifier Null diff --git a/parser/testdata/02831_regexp_analyze_recursion/explain.txt b/parser/testdata/02831_regexp_analyze_recursion/explain.txt index e45b2901af..1008cee92c 100644 --- a/parser/testdata/02831_regexp_analyze_recursion/explain.txt +++ b/parser/testdata/02831_regexp_analyze_recursion/explain.txt @@ -9,4 +9,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Literal \'(\' Literal UInt64_100000 -The query succeeded but the server error '427' was expected (query: EXPLAIN AST SELECT match('', repeat('(', 100000)); -- { serverError CANNOT_COMPILE_REGEXP }). diff --git a/parser/testdata/02833_array_join_columns/explain_6.txt b/parser/testdata/02833_array_join_columns/explain_6.txt index e85b0583c0..fa10a0afd8 100644 --- a/parser/testdata/02833_array_join_columns/explain_6.txt +++ b/parser/testdata/02833_array_join_columns/explain_6.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 5) + SelectQuery (children 4) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 2) @@ -24,6 +24,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) OrderByElement (children 1) Identifier id - Set Identifier Null Set diff --git a/parser/testdata/02833_multiprewhere_extra_column/explain_8.txt b/parser/testdata/02833_multiprewhere_extra_column/explain_8.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02833_multiprewhere_extra_column/explain_8.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02833_sparse_columns_tuple_function/explain_3.txt b/parser/testdata/02833_sparse_columns_tuple_function/explain_3.txt new file mode 100644 index 0000000000..89e95b2667 --- /dev/null +++ b/parser/testdata/02833_sparse_columns_tuple_function/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_tuple_sparse diff --git a/parser/testdata/02833_std_alias/explain_3.txt b/parser/testdata/02833_std_alias/explain_3.txt new file mode 100644 index 0000000000..2e82116da3 --- /dev/null +++ b/parser/testdata/02833_std_alias/explain_3.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier series + ExpressionList (children 3) + Identifier i + Identifier x + Identifier y diff --git a/parser/testdata/02833_tuple_concat/explain.txt b/parser/testdata/02833_tuple_concat/explain.txt index 2e5871c1e8..91b89390ca 100644 --- a/parser/testdata/02833_tuple_concat/explain.txt +++ b/parser/testdata/02833_tuple_concat/explain.txt @@ -4,4 +4,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) Function tupleConcat (children 1) ExpressionList -The query succeeded but the server error '42' was expected (query: EXPLAIN AST SELECT tupleConcat(); -- { serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH }). diff --git a/parser/testdata/02833_tuple_concat/explain_8.txt b/parser/testdata/02833_tuple_concat/explain_8.txt new file mode 100644 index 0000000000..9de204e12b --- /dev/null +++ b/parser/testdata/02833_tuple_concat/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_02833 diff --git a/parser/testdata/02833_window_func_range_offset/explain.txt b/parser/testdata/02833_window_func_range_offset/explain.txt index 8619033544..d92f4bdfcb 100644 --- a/parser/testdata/02833_window_func_range_offset/explain.txt +++ b/parser/testdata/02833_window_func_range_offset/explain.txt @@ -2,11 +2,5 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 1) ExpressionList (children 1) - Function count (children 2) + Function count (children 1) ExpressionList - WindowDefinition (children 2) - ExpressionList (children 1) - OrderByElement (children 1) - Literal Float64_3.4028234663852886e38 - Literal Float64_0 -The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT count() OVER (ORDER BY 3.4028234663852886e38 RANGE BETWEEN 0.0 PRECEDING AND UNBOUNDED FOLLOWING); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/02834_array_exists_segfault/explain_7.txt b/parser/testdata/02834_array_exists_segfault/explain_7.txt new file mode 100644 index 0000000000..86f2db7ef0 --- /dev/null +++ b/parser/testdata/02834_array_exists_segfault/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02834_t diff --git a/parser/testdata/02834_nulls_first_sort/explain_3.txt b/parser/testdata/02834_nulls_first_sort/explain_3.txt new file mode 100644 index 0000000000..90e14f8e47 --- /dev/null +++ b/parser/testdata/02834_nulls_first_sort/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nulls_first_sort_test diff --git a/parser/testdata/02835_join_step_explain/explain_7.txt b/parser/testdata/02835_join_step_explain/explain_7.txt new file mode 100644 index 0000000000..3334ffa5de --- /dev/null +++ b/parser/testdata/02835_join_step_explain/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_1 diff --git a/parser/testdata/02835_join_step_explain/explain_8.txt b/parser/testdata/02835_join_step_explain/explain_8.txt new file mode 100644 index 0000000000..324602be3f --- /dev/null +++ b/parser/testdata/02835_join_step_explain/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_2 diff --git a/parser/testdata/02841_group_array_sorted/explain_12.txt b/parser/testdata/02841_group_array_sorted/explain_12.txt new file mode 100644 index 0000000000..029f7bb919 --- /dev/null +++ b/parser/testdata/02841_group_array_sorted/explain_12.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 2) + Identifier id + Identifier data diff --git a/parser/testdata/02841_group_array_sorted/explain_16.txt b/parser/testdata/02841_group_array_sorted/explain_16.txt new file mode 100644 index 0000000000..029f7bb919 --- /dev/null +++ b/parser/testdata/02841_group_array_sorted/explain_16.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 2) + Identifier id + Identifier data diff --git a/parser/testdata/02841_group_array_sorted/explain_20.txt b/parser/testdata/02841_group_array_sorted/explain_20.txt new file mode 100644 index 0000000000..029f7bb919 --- /dev/null +++ b/parser/testdata/02841_group_array_sorted/explain_20.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 2) + Identifier id + Identifier data diff --git a/parser/testdata/02841_group_array_sorted/explain_8.txt b/parser/testdata/02841_group_array_sorted/explain_8.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02841_group_array_sorted/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02841_not_ready_set_constraints/explain_12.txt b/parser/testdata/02841_not_ready_set_constraints/explain_12.txt new file mode 100644 index 0000000000..48afdd8bbd --- /dev/null +++ b/parser/testdata/02841_not_ready_set_constraints/explain_12.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t2 + ExpressionList (children 1) + Identifier conversation diff --git a/parser/testdata/02841_not_ready_set_constraints/explain_14.txt b/parser/testdata/02841_not_ready_set_constraints/explain_14.txt new file mode 100644 index 0000000000..96a9eddc63 --- /dev/null +++ b/parser/testdata/02841_not_ready_set_constraints/explain_14.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 1) + Identifier id diff --git a/parser/testdata/02841_not_ready_set_constraints/explain_15.txt b/parser/testdata/02841_not_ready_set_constraints/explain_15.txt new file mode 100644 index 0000000000..48afdd8bbd --- /dev/null +++ b/parser/testdata/02841_not_ready_set_constraints/explain_15.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t2 + ExpressionList (children 1) + Identifier conversation diff --git a/parser/testdata/02841_not_ready_set_constraints/explain_4.txt b/parser/testdata/02841_not_ready_set_constraints/explain_4.txt new file mode 100644 index 0000000000..96a9eddc63 --- /dev/null +++ b/parser/testdata/02841_not_ready_set_constraints/explain_4.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 1) + Identifier id diff --git a/parser/testdata/02841_not_ready_set_constraints/explain_6.txt b/parser/testdata/02841_not_ready_set_constraints/explain_6.txt new file mode 100644 index 0000000000..48afdd8bbd --- /dev/null +++ b/parser/testdata/02841_not_ready_set_constraints/explain_6.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t2 + ExpressionList (children 1) + Identifier conversation diff --git a/parser/testdata/02841_not_ready_set_constraints/explain_9.txt b/parser/testdata/02841_not_ready_set_constraints/explain_9.txt new file mode 100644 index 0000000000..48afdd8bbd --- /dev/null +++ b/parser/testdata/02841_not_ready_set_constraints/explain_9.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t2 + ExpressionList (children 1) + Identifier conversation diff --git a/parser/testdata/02841_parquet_filter_pushdown/explain_73.txt b/parser/testdata/02841_parquet_filter_pushdown/explain_73.txt new file mode 100644 index 0000000000..413aa7336e --- /dev/null +++ b/parser/testdata/02841_parquet_filter_pushdown/explain_73.txt @@ -0,0 +1,6 @@ +InsertQuery (children 1) + Function file (children 1) + ExpressionList (children 3) + Literal \'t.parquet\' + Identifier Parquet + Literal \'x String\' diff --git a/parser/testdata/02841_remote_parameter_parsing_error/explain.txt b/parser/testdata/02841_remote_parameter_parsing_error/explain.txt index 01576495a0..17c8173542 100644 --- a/parser/testdata/02841_remote_parameter_parsing_error/explain.txt +++ b/parser/testdata/02841_remote_parameter_parsing_error/explain.txt @@ -10,4 +10,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Literal \'127.0.0.1\' Identifier sys -The query succeeded but the server error '42' was expected (query: EXPLAIN AST select * from remote('127.0.0.1', sys); -- { serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH }). diff --git a/parser/testdata/02842_largestTriangleThreeBuckets_aggregate_function/explain_12.txt b/parser/testdata/02842_largestTriangleThreeBuckets_aggregate_function/explain_12.txt new file mode 100644 index 0000000000..b4e91685f1 --- /dev/null +++ b/parser/testdata/02842_largestTriangleThreeBuckets_aggregate_function/explain_12.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier largestTriangleThreeBucketsTestDecimal64Decimal64 + ExpressionList (children 2) + Identifier x + Identifier y diff --git a/parser/testdata/02842_largestTriangleThreeBuckets_aggregate_function/explain_17.txt b/parser/testdata/02842_largestTriangleThreeBuckets_aggregate_function/explain_17.txt new file mode 100644 index 0000000000..8f4ef55131 --- /dev/null +++ b/parser/testdata/02842_largestTriangleThreeBuckets_aggregate_function/explain_17.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier largestTriangleThreeBucketsTestDateTime64Float64 + ExpressionList (children 2) + Identifier x + Identifier y diff --git a/parser/testdata/02842_largestTriangleThreeBuckets_aggregate_function/explain_4.txt b/parser/testdata/02842_largestTriangleThreeBuckets_aggregate_function/explain_4.txt new file mode 100644 index 0000000000..a789a3d3b8 --- /dev/null +++ b/parser/testdata/02842_largestTriangleThreeBuckets_aggregate_function/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier largestTriangleThreeBucketsTestFloat64Float64 diff --git a/parser/testdata/02842_mutations_replace_non_deterministic/explain_12.txt b/parser/testdata/02842_mutations_replace_non_deterministic/explain_12.txt new file mode 100644 index 0000000000..86c35991c3 --- /dev/null +++ b/parser/testdata/02842_mutations_replace_non_deterministic/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_mutations_nondeterministic diff --git a/parser/testdata/02842_mutations_replace_non_deterministic/explain_19.txt b/parser/testdata/02842_mutations_replace_non_deterministic/explain_19.txt new file mode 100644 index 0000000000..86c35991c3 --- /dev/null +++ b/parser/testdata/02842_mutations_replace_non_deterministic/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_mutations_nondeterministic diff --git a/parser/testdata/02842_mutations_replace_non_deterministic/explain_25.txt b/parser/testdata/02842_mutations_replace_non_deterministic/explain_25.txt new file mode 100644 index 0000000000..86c35991c3 --- /dev/null +++ b/parser/testdata/02842_mutations_replace_non_deterministic/explain_25.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_mutations_nondeterministic diff --git a/parser/testdata/02842_mutations_replace_non_deterministic/explain_31.txt b/parser/testdata/02842_mutations_replace_non_deterministic/explain_31.txt new file mode 100644 index 0000000000..86c35991c3 --- /dev/null +++ b/parser/testdata/02842_mutations_replace_non_deterministic/explain_31.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_mutations_nondeterministic diff --git a/parser/testdata/02842_mutations_replace_non_deterministic/explain_35.txt b/parser/testdata/02842_mutations_replace_non_deterministic/explain_35.txt new file mode 100644 index 0000000000..86c35991c3 --- /dev/null +++ b/parser/testdata/02842_mutations_replace_non_deterministic/explain_35.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_mutations_nondeterministic diff --git a/parser/testdata/02842_mutations_replace_non_deterministic/explain_40.txt b/parser/testdata/02842_mutations_replace_non_deterministic/explain_40.txt new file mode 100644 index 0000000000..86c35991c3 --- /dev/null +++ b/parser/testdata/02842_mutations_replace_non_deterministic/explain_40.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_mutations_nondeterministic diff --git a/parser/testdata/02842_mutations_replace_non_deterministic/explain_6.txt b/parser/testdata/02842_mutations_replace_non_deterministic/explain_6.txt new file mode 100644 index 0000000000..86c35991c3 --- /dev/null +++ b/parser/testdata/02842_mutations_replace_non_deterministic/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_mutations_nondeterministic diff --git a/parser/testdata/02842_truncate_database/explain_15.txt b/parser/testdata/02842_truncate_database/explain_15.txt new file mode 100644 index 0000000000..7e7f4ce956 --- /dev/null +++ b/parser/testdata/02842_truncate_database/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier source_table_dictionary diff --git a/parser/testdata/02842_vertical_merge_after_add_drop_column/explain_3.txt b/parser/testdata/02842_vertical_merge_after_add_drop_column/explain_3.txt new file mode 100644 index 0000000000..77a6f1093c --- /dev/null +++ b/parser/testdata/02842_vertical_merge_after_add_drop_column/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier data + ExpressionList (children 1) + Identifier key diff --git a/parser/testdata/02842_vertical_merge_after_add_drop_column/explain_4.txt b/parser/testdata/02842_vertical_merge_after_add_drop_column/explain_4.txt new file mode 100644 index 0000000000..77a6f1093c --- /dev/null +++ b/parser/testdata/02842_vertical_merge_after_add_drop_column/explain_4.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier data + ExpressionList (children 1) + Identifier key diff --git a/parser/testdata/02843_date_predicate_optimizations_bugs/explain.txt b/parser/testdata/02843_date_predicate_optimizations_bugs/explain.txt new file mode 100644 index 0000000000..431085c988 --- /dev/null +++ b/parser/testdata/02843_date_predicate_optimizations_bugs/explain.txt @@ -0,0 +1,34 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Function toYYYYMM (alias date_) (children 1) + ExpressionList (children 1) + Identifier date + Identifier n + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias data) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function array (alias date) (children 1) + ExpressionList (children 2) + Function toDate (children 1) + ExpressionList (children 1) + Literal \'20230815\' + Function toDate (children 1) + ExpressionList (children 1) + Literal \'20230816\' + Literal Array_[UInt64_1, UInt64_2] (alias n) + TablesInSelectQueryElement (children 1) + ArrayJoin (children 1) + ExpressionList (children 2) + Identifier date + Identifier n + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Identifier date_ + Literal UInt64_202303 diff --git a/parser/testdata/02845_arrayShiftRotate/explain_42.txt b/parser/testdata/02845_arrayShiftRotate/explain_42.txt new file mode 100644 index 0000000000..8deb25e3ed --- /dev/null +++ b/parser/testdata/02845_arrayShiftRotate/explain_42.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t02845 diff --git a/parser/testdata/02845_join_on_cond_sparse/explain_4.txt b/parser/testdata/02845_join_on_cond_sparse/explain_4.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/02845_join_on_cond_sparse/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/02845_join_on_cond_sparse/explain_6.txt b/parser/testdata/02845_join_on_cond_sparse/explain_6.txt new file mode 100644 index 0000000000..df4a687bc0 --- /dev/null +++ b/parser/testdata/02845_join_on_cond_sparse/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2 diff --git a/parser/testdata/02845_join_on_cond_sparse/explain_8.txt b/parser/testdata/02845_join_on_cond_sparse/explain_8.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/02845_join_on_cond_sparse/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/02860_distributed_flush_on_detach/explain_12.txt b/parser/testdata/02860_distributed_flush_on_detach/explain_12.txt new file mode 100644 index 0000000000..42d683d759 --- /dev/null +++ b/parser/testdata/02860_distributed_flush_on_detach/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dist diff --git a/parser/testdata/02860_distributed_flush_on_detach/explain_20.txt b/parser/testdata/02860_distributed_flush_on_detach/explain_20.txt new file mode 100644 index 0000000000..42d683d759 --- /dev/null +++ b/parser/testdata/02860_distributed_flush_on_detach/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dist diff --git a/parser/testdata/02860_distributed_flush_on_detach/explain_7.txt b/parser/testdata/02860_distributed_flush_on_detach/explain_7.txt new file mode 100644 index 0000000000..42d683d759 --- /dev/null +++ b/parser/testdata/02860_distributed_flush_on_detach/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dist diff --git a/parser/testdata/02861_filter_pushdown_const_bug/explain_4.txt b/parser/testdata/02861_filter_pushdown_const_bug/explain_4.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/02861_filter_pushdown_const_bug/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/02861_index_set_incorrect_args/explain_3.txt b/parser/testdata/02861_index_set_incorrect_args/explain_3.txt new file mode 100644 index 0000000000..c771ac5f23 --- /dev/null +++ b/parser/testdata/02861_index_set_incorrect_args/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier set_index__fuzz_41 + ExpressionList (children 1) + Identifier a diff --git a/parser/testdata/02861_index_set_incorrect_args/explain_4.txt b/parser/testdata/02861_index_set_incorrect_args/explain_4.txt new file mode 100644 index 0000000000..e8786418cb --- /dev/null +++ b/parser/testdata/02861_index_set_incorrect_args/explain_4.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Identifier b + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier set_index__fuzz_41 + Function and (children 1) + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier b + Literal UInt64_256 + Set diff --git a/parser/testdata/02861_interpolate_alias_precedence/explain_3.txt b/parser/testdata/02861_interpolate_alias_precedence/explain_3.txt new file mode 100644 index 0000000000..5ca9254cb2 --- /dev/null +++ b/parser/testdata/02861_interpolate_alias_precedence/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02861_interpolate diff --git a/parser/testdata/02861_replacing_merge_tree_with_cleanup/explain_3.txt b/parser/testdata/02861_replacing_merge_tree_with_cleanup/explain_3.txt new file mode 100644 index 0000000000..b6737a0095 --- /dev/null +++ b/parser/testdata/02861_replacing_merge_tree_with_cleanup/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 1) + Asterisk diff --git a/parser/testdata/02861_replacing_merge_tree_with_cleanup/explain_4.txt b/parser/testdata/02861_replacing_merge_tree_with_cleanup/explain_4.txt new file mode 100644 index 0000000000..b6737a0095 --- /dev/null +++ b/parser/testdata/02861_replacing_merge_tree_with_cleanup/explain_4.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 1) + Asterisk diff --git a/parser/testdata/02861_replacing_merge_tree_with_cleanup/explain_8.txt b/parser/testdata/02861_replacing_merge_tree_with_cleanup/explain_8.txt new file mode 100644 index 0000000000..b6737a0095 --- /dev/null +++ b/parser/testdata/02861_replacing_merge_tree_with_cleanup/explain_8.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 1) + Asterisk diff --git a/parser/testdata/02861_uuid_format_serialization/explain_3.txt b/parser/testdata/02861_uuid_format_serialization/explain_3.txt new file mode 100644 index 0000000000..36decde470 --- /dev/null +++ b/parser/testdata/02861_uuid_format_serialization/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_uuid diff --git a/parser/testdata/02862_uuid_reinterpret_as_numeric/explain_3.txt b/parser/testdata/02862_uuid_reinterpret_as_numeric/explain_3.txt new file mode 100644 index 0000000000..36decde470 --- /dev/null +++ b/parser/testdata/02862_uuid_reinterpret_as_numeric/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_uuid diff --git a/parser/testdata/02863_delayed_source_with_totals_and_extremes/explain_3.txt b/parser/testdata/02863_delayed_source_with_totals_and_extremes/explain_3.txt new file mode 100644 index 0000000000..44dc26d7a7 --- /dev/null +++ b/parser/testdata/02863_delayed_source_with_totals_and_extremes/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02863_delayed_source diff --git a/parser/testdata/02863_delayed_source_with_totals_and_extremes/explain_7.txt b/parser/testdata/02863_delayed_source_with_totals_and_extremes/explain_7.txt index 00e112b348..7c6411a1f0 100644 --- a/parser/testdata/02863_delayed_source_with_totals_and_extremes/explain_7.txt +++ b/parser/testdata/02863_delayed_source_with_totals_and_extremes/explain_7.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 6) + SelectQuery (children 5) ExpressionList (children 1) Function sum (children 1) ExpressionList (children 1) @@ -20,6 +20,5 @@ SelectWithUnionQuery (children 3) OrderByElement (children 1) Identifier a Literal UInt64_1 - Set Identifier JSON Set diff --git a/parser/testdata/02863_non_const_timezone_check/explain_3.txt b/parser/testdata/02863_non_const_timezone_check/explain_3.txt new file mode 100644 index 0000000000..7fed30de2b --- /dev/null +++ b/parser/testdata/02863_non_const_timezone_check/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier Dates diff --git a/parser/testdata/02864_profile_event_part_lock/explain_3.txt b/parser/testdata/02864_profile_event_part_lock/explain_3.txt new file mode 100644 index 0000000000..c6f07bd16a --- /dev/null +++ b/parser/testdata/02864_profile_event_part_lock/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier random_mt diff --git a/parser/testdata/02864_statistics_bug_69589/explain_4.txt b/parser/testdata/02864_statistics_bug_69589/explain_4.txt new file mode 100644 index 0000000000..348b82b37f --- /dev/null +++ b/parser/testdata/02864_statistics_bug_69589/explain_4.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier tab + ExpressionList (children 1) + Identifier c diff --git a/parser/testdata/02864_statistics_bug_69589/explain_6.txt b/parser/testdata/02864_statistics_bug_69589/explain_6.txt new file mode 100644 index 0000000000..348b82b37f --- /dev/null +++ b/parser/testdata/02864_statistics_bug_69589/explain_6.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier tab + ExpressionList (children 1) + Identifier c diff --git a/parser/testdata/02864_test_ipv4_type_mismatch/explain_3.txt b/parser/testdata/02864_test_ipv4_type_mismatch/explain_3.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02864_test_ipv4_type_mismatch/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02864_test_ipv4_type_mismatch/explain_4.txt b/parser/testdata/02864_test_ipv4_type_mismatch/explain_4.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02864_test_ipv4_type_mismatch/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02867_null_lc_in_bug/explain_4.txt b/parser/testdata/02867_null_lc_in_bug/explain_4.txt new file mode 100644 index 0000000000..350d557c9b --- /dev/null +++ b/parser/testdata/02867_null_lc_in_bug/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tnul diff --git a/parser/testdata/02867_null_lc_in_bug/explain_9.txt b/parser/testdata/02867_null_lc_in_bug/explain_9.txt new file mode 100644 index 0000000000..15ebad8b33 --- /dev/null +++ b/parser/testdata/02867_null_lc_in_bug/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tlc diff --git a/parser/testdata/02868_distinct_to_count_optimization/explain_3.txt b/parser/testdata/02868_distinct_to_count_optimization/explain_3.txt new file mode 100644 index 0000000000..57840a17ef --- /dev/null +++ b/parser/testdata/02868_distinct_to_count_optimization/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_rewrite_uniq_to_count diff --git a/parser/testdata/02868_distinct_to_count_optimization/explain_4.txt b/parser/testdata/02868_distinct_to_count_optimization/explain_4.txt new file mode 100644 index 0000000000..57840a17ef --- /dev/null +++ b/parser/testdata/02868_distinct_to_count_optimization/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_rewrite_uniq_to_count diff --git a/parser/testdata/02868_distinct_to_count_optimization/explain_5.txt b/parser/testdata/02868_distinct_to_count_optimization/explain_5.txt new file mode 100644 index 0000000000..57840a17ef --- /dev/null +++ b/parser/testdata/02868_distinct_to_count_optimization/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_rewrite_uniq_to_count diff --git a/parser/testdata/02869_insert_filenames_collisions/explain_10.txt b/parser/testdata/02869_insert_filenames_collisions/explain_10.txt new file mode 100644 index 0000000000..206e73768b --- /dev/null +++ b/parser/testdata/02869_insert_filenames_collisions/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_collisions diff --git a/parser/testdata/02869_insert_filenames_collisions/explain_12.txt b/parser/testdata/02869_insert_filenames_collisions/explain_12.txt new file mode 100644 index 0000000000..206e73768b --- /dev/null +++ b/parser/testdata/02869_insert_filenames_collisions/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_collisions diff --git a/parser/testdata/02869_parallel_replicas_read_from_several/explain_19.txt b/parser/testdata/02869_parallel_replicas_read_from_several/explain_19.txt new file mode 100644 index 0000000000..11aae642e9 --- /dev/null +++ b/parser/testdata/02869_parallel_replicas_read_from_several/explain_19.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 4) + Function count (children 1) + ExpressionList + Function min (children 1) + ExpressionList (children 1) + Identifier k + Function max (children 1) + ExpressionList (children 1) + Identifier k + Function avg (children 1) + ExpressionList (children 1) + Identifier k + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t1 + Set diff --git a/parser/testdata/02870_move_partition_to_volume_io_throttling/explain_6.txt b/parser/testdata/02870_move_partition_to_volume_io_throttling/explain_6.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02870_move_partition_to_volume_io_throttling/explain_6.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02871_join_on_system_errors/explain.txt b/parser/testdata/02871_join_on_system_errors/explain.txt index 94a501d9b2..b55ad40628 100644 --- a/parser/testdata/02871_join_on_system_errors/explain.txt +++ b/parser/testdata/02871_join_on_system_errors/explain.txt @@ -3,7 +3,7 @@ SelectWithUnionQuery (children 1) SelectQuery (children 2) ExpressionList (children 1) Asterisk - TablesInSelectQuery (children 1) + TablesInSelectQuery (children 2) TablesInSelectQueryElement (children 1) TableExpression (children 1) Subquery (alias t) (children 1) @@ -12,3 +12,16 @@ SelectWithUnionQuery (children 1) SelectQuery (children 1) ExpressionList (children 1) Literal UInt64_1 (alias a) + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias 89467d35-77c2-4f82-ae7a-f093ff40f4cd) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_2 (alias a) + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier t.a + Identifier 89467d35-77c2-4f82-ae7a-f093ff40f4cd.a diff --git a/parser/testdata/02871_multiple_joins_rewriter_v2_handle_last_table_columns/explain.txt b/parser/testdata/02871_multiple_joins_rewriter_v2_handle_last_table_columns/explain.txt new file mode 100644 index 0000000000..65d905034d --- /dev/null +++ b/parser/testdata/02871_multiple_joins_rewriter_v2_handle_last_table_columns/explain.txt @@ -0,0 +1,39 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function plus (children 1) + ExpressionList (children 2) + Identifier c + Literal UInt64_1 + Function plus (children 1) + ExpressionList (children 2) + Identifier Z.c + Literal UInt64_1 + TablesInSelectQuery (children 3) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias X) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_10 (alias a) + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias Y) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_20 (alias b) + TableJoin + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias Z) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_30 (alias c) + TableJoin diff --git a/parser/testdata/02872_gcd_codec/explain.txt b/parser/testdata/02872_gcd_codec/explain.txt index 4bc4145e30..efce373bfa 100644 --- a/parser/testdata/02872_gcd_codec/explain.txt +++ b/parser/testdata/02872_gcd_codec/explain.txt @@ -9,4 +9,3 @@ CreateQuery table_gcd_codec (children 3) Function GCD Storage definition (children 1) Function Memory -The query succeeded but the server error '36' was expected (query: EXPLAIN AST CREATE TABLE table_gcd_codec (n UInt64 CODEC(GCD)) ENGINE = Memory; -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/02872_gcd_codec/explain_69.txt b/parser/testdata/02872_gcd_codec/explain_69.txt new file mode 100644 index 0000000000..45435b32ad --- /dev/null +++ b/parser/testdata/02872_gcd_codec/explain_69.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_gcd_codec_only_zeros diff --git a/parser/testdata/02872_prewhere_filter/explain_4.txt b/parser/testdata/02872_prewhere_filter/explain_4.txt new file mode 100644 index 0000000000..36337a4d9e --- /dev/null +++ b/parser/testdata/02872_prewhere_filter/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data diff --git a/parser/testdata/02872_prewhere_filter/explain_5.txt b/parser/testdata/02872_prewhere_filter/explain_5.txt new file mode 100644 index 0000000000..36337a4d9e --- /dev/null +++ b/parser/testdata/02872_prewhere_filter/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data diff --git a/parser/testdata/02873_s3_presigned_url_and_url_with_special_characters/explain.txt b/parser/testdata/02873_s3_presigned_url_and_url_with_special_characters/explain.txt index b82f581f03..e1179a863c 100644 --- a/parser/testdata/02873_s3_presigned_url_and_url_with_special_characters/explain.txt +++ b/parser/testdata/02873_s3_presigned_url_and_url_with_special_characters/explain.txt @@ -9,4 +9,3 @@ SelectWithUnionQuery (children 1) Function s3 (children 1) ExpressionList (children 1) Literal \'http://localhost:11111/test/MyPrefix/BU%20-%20UNIT%20-%201/*.parquet\' -The query succeeded but the server error '636' was expected (query: EXPLAIN AST select * from s3('http://localhost:11111/test/MyPrefix/BU%20-%20UNIT%20-%201/*.parquet'); -- { serverError CANNOT_EXTRACT_TABLE_STRUCTURE }). diff --git a/parser/testdata/02874_analysis_of_variance_overflow/explain.txt b/parser/testdata/02874_analysis_of_variance_overflow/explain.txt index 08a02c28b6..88362d5654 100644 --- a/parser/testdata/02874_analysis_of_variance_overflow/explain.txt +++ b/parser/testdata/02874_analysis_of_variance_overflow/explain.txt @@ -6,4 +6,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Literal UInt64_1 Literal UInt64_18446744073709551615 -The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT analysisOfVariance(1, 18446744073709551615); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/02875_final_invalid_read_ranges_bug/explain_3.txt b/parser/testdata/02875_final_invalid_read_ranges_bug/explain_3.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/02875_final_invalid_read_ranges_bug/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/02875_final_invalid_read_ranges_bug/explain_6.txt b/parser/testdata/02875_final_invalid_read_ranges_bug/explain_6.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/02875_final_invalid_read_ranges_bug/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/02875_fix_column_decimal_serialization/explain_2.txt b/parser/testdata/02875_fix_column_decimal_serialization/explain_2.txt new file mode 100644 index 0000000000..b5fea5c33a --- /dev/null +++ b/parser/testdata/02875_fix_column_decimal_serialization/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier max_length_alias_14053__fuzz_45 diff --git a/parser/testdata/02875_parallel_replicas_cluster_all_replicas/explain_7.txt b/parser/testdata/02875_parallel_replicas_cluster_all_replicas/explain_7.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02875_parallel_replicas_cluster_all_replicas/explain_7.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02875_parallel_replicas_remote/explain_7.txt b/parser/testdata/02875_parallel_replicas_remote/explain_7.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02875_parallel_replicas_remote/explain_7.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02880_indexHint__partition_id/explain_3.txt b/parser/testdata/02880_indexHint__partition_id/explain_3.txt new file mode 100644 index 0000000000..36337a4d9e --- /dev/null +++ b/parser/testdata/02880_indexHint__partition_id/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data diff --git a/parser/testdata/02882_formatQuery/explain_3.txt b/parser/testdata/02882_formatQuery/explain_3.txt new file mode 100644 index 0000000000..1b1c650f74 --- /dev/null +++ b/parser/testdata/02882_formatQuery/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier all_valid diff --git a/parser/testdata/02882_formatQuery/explain_6.txt b/parser/testdata/02882_formatQuery/explain_6.txt new file mode 100644 index 0000000000..ed49599bab --- /dev/null +++ b/parser/testdata/02882_formatQuery/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier some_invalid diff --git a/parser/testdata/02882_replicated_fetch_checksums_doesnt_match/explain_10.txt b/parser/testdata/02882_replicated_fetch_checksums_doesnt_match/explain_10.txt new file mode 100644 index 0000000000..465a71a0e1 --- /dev/null +++ b/parser/testdata/02882_replicated_fetch_checksums_doesnt_match/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier checksums_r1 diff --git a/parser/testdata/02882_replicated_fetch_checksums_doesnt_match/explain_11.txt b/parser/testdata/02882_replicated_fetch_checksums_doesnt_match/explain_11.txt new file mode 100644 index 0000000000..5328b6cb11 --- /dev/null +++ b/parser/testdata/02882_replicated_fetch_checksums_doesnt_match/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier checksums_r3 diff --git a/parser/testdata/02882_replicated_fetch_checksums_doesnt_match/explain_22.txt b/parser/testdata/02882_replicated_fetch_checksums_doesnt_match/explain_22.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02882_replicated_fetch_checksums_doesnt_match/explain_22.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02883_array_scalar_mult_div_modulo/explain_20.txt b/parser/testdata/02883_array_scalar_mult_div_modulo/explain_20.txt new file mode 100644 index 0000000000..72eca89da1 --- /dev/null +++ b/parser/testdata/02883_array_scalar_mult_div_modulo/explain_20.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier my_table + ExpressionList (children 1) + Identifier values diff --git a/parser/testdata/02884_async_insert_skip_settings/explain_10.txt b/parser/testdata/02884_async_insert_skip_settings/explain_10.txt new file mode 100644 index 0000000000..183f04893a --- /dev/null +++ b/parser/testdata/02884_async_insert_skip_settings/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_async_insert_skip_settings diff --git a/parser/testdata/02884_async_insert_skip_settings/explain_13.txt b/parser/testdata/02884_async_insert_skip_settings/explain_13.txt new file mode 100644 index 0000000000..183f04893a --- /dev/null +++ b/parser/testdata/02884_async_insert_skip_settings/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_async_insert_skip_settings diff --git a/parser/testdata/02884_async_insert_skip_settings/explain_16.txt b/parser/testdata/02884_async_insert_skip_settings/explain_16.txt new file mode 100644 index 0000000000..183f04893a --- /dev/null +++ b/parser/testdata/02884_async_insert_skip_settings/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_async_insert_skip_settings diff --git a/parser/testdata/02884_async_insert_skip_settings/explain_19.txt b/parser/testdata/02884_async_insert_skip_settings/explain_19.txt new file mode 100644 index 0000000000..183f04893a --- /dev/null +++ b/parser/testdata/02884_async_insert_skip_settings/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_async_insert_skip_settings diff --git a/parser/testdata/02884_async_insert_skip_settings/explain_20.txt b/parser/testdata/02884_async_insert_skip_settings/explain_20.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02884_async_insert_skip_settings/explain_20.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02884_async_insert_skip_settings/explain_24.txt b/parser/testdata/02884_async_insert_skip_settings/explain_24.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02884_async_insert_skip_settings/explain_24.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02884_parallel_window_functions_bug/explain.txt b/parser/testdata/02884_parallel_window_functions_bug/explain.txt index c3999dd23f..54c37dbe98 100644 --- a/parser/testdata/02884_parallel_window_functions_bug/explain.txt +++ b/parser/testdata/02884_parallel_window_functions_bug/explain.txt @@ -6,16 +6,31 @@ CreateQuery posts (children 3) DataType LowCardinality (children 1) ExpressionList (children 1) DataType String - ColumnDeclaration post_id (children 1) + ColumnDeclaration post_id (children 2) DataType String - ColumnDeclaration host_id (children 1) + Function CODEC (children 1) + ExpressionList (children 1) + Function LZ4 + ColumnDeclaration host_id (children 2) DataType UInt32 + Function CODEC (children 1) + ExpressionList (children 2) + Function T64 + Function LZ4 ColumnDeclaration path_id (children 1) DataType UInt32 - ColumnDeclaration created (children 1) + ColumnDeclaration created (children 2) DataType DateTime - ColumnDeclaration as_of (children 1) + Function CODEC (children 1) + ExpressionList (children 2) + Function T64 + Function LZ4 + ColumnDeclaration as_of (children 2) DataType DateTime + Function CODEC (children 1) + ExpressionList (children 2) + Function T64 + Function LZ4 Storage definition (children 3) Function ReplacingMergeTree (children 1) ExpressionList (children 1) diff --git a/parser/testdata/02884_string_distance_function/explain_19.txt b/parser/testdata/02884_string_distance_function/explain_19.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/02884_string_distance_function/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/02885_create_distributed_table_without_as/explain_6.txt b/parser/testdata/02885_create_distributed_table_without_as/explain_6.txt new file mode 100644 index 0000000000..f2b1378a71 --- /dev/null +++ b/parser/testdata/02885_create_distributed_table_without_as/explain_6.txt @@ -0,0 +1,5 @@ +InsertQuery (children 3) + Identifier dist_tbl + ExpressionList (children 1) + Identifier key + Set diff --git a/parser/testdata/02887_format_readable_timedelta_subseconds/explain.txt b/parser/testdata/02887_format_readable_timedelta_subseconds/explain.txt new file mode 100644 index 0000000000..cc8f79ee64 --- /dev/null +++ b/parser/testdata/02887_format_readable_timedelta_subseconds/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Literal \'hours\' (alias maximum_unit) + Function arrayJoin (alias elapsed) (children 1) + ExpressionList (children 1) + Literal Array_[Float64_1.12, Float64_60.2, Float64_123.33, Float64_24.45, Float64_35.57, Float64_66.64, Float64_67.79, Float64_48.88, Float64_99.96, UInt64_3600] + ExpressionList (children 1) + Function formatReadableTimeDelta (alias time_delta) (children 1) + ExpressionList (children 2) + Identifier elapsed + Identifier maximum_unit diff --git a/parser/testdata/02887_insert_quorum_wo_keeper_retries/explain_10.txt b/parser/testdata/02887_insert_quorum_wo_keeper_retries/explain_10.txt new file mode 100644 index 0000000000..a33133e256 --- /dev/null +++ b/parser/testdata/02887_insert_quorum_wo_keeper_retries/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier quorum1 diff --git a/parser/testdata/02887_insert_quorum_wo_keeper_retries/explain_9.txt b/parser/testdata/02887_insert_quorum_wo_keeper_retries/explain_9.txt new file mode 100644 index 0000000000..a33133e256 --- /dev/null +++ b/parser/testdata/02887_insert_quorum_wo_keeper_retries/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier quorum1 diff --git a/parser/testdata/02888_attach_partition_from_different_tables/explain.txt b/parser/testdata/02888_attach_partition_from_different_tables/explain.txt new file mode 100644 index 0000000000..23dc347ea5 --- /dev/null +++ b/parser/testdata/02888_attach_partition_from_different_tables/explain.txt @@ -0,0 +1,19 @@ +CreateQuery attach_partition_t1 (children 3) + Identifier attach_partition_t1 + Columns definition (children 2) + ExpressionList (children 2) + ColumnDeclaration a (children 1) + DataType UInt32 + ColumnDeclaration b (children 1) + DataType String + ExpressionList (children 1) + Index (children 2) + Identifier b + Function tokenbf_v1 (children 1) + ExpressionList (children 3) + Literal UInt64_8192 + Literal UInt64_3 + Literal UInt64_0 + Storage definition (children 2) + Function MergeTree + Identifier a diff --git a/parser/testdata/02888_single_state_nullable_type/explain.txt b/parser/testdata/02888_single_state_nullable_type/explain.txt new file mode 100644 index 0000000000..a7eda1c837 --- /dev/null +++ b/parser/testdata/02888_single_state_nullable_type/explain.txt @@ -0,0 +1,24 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function minSimpleState (alias c) (children 1) + ExpressionList (children 1) + Identifier value + ExpressionList (children 2) + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier c + Identifier c + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 2) + SelectQuery (children 1) + ExpressionList (children 1) + Literal NULL (alias value) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 (alias value) diff --git a/parser/testdata/02890_named_tuple_functions/explain_18.txt b/parser/testdata/02890_named_tuple_functions/explain_18.txt new file mode 100644 index 0000000000..fded649204 --- /dev/null +++ b/parser/testdata/02890_named_tuple_functions/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tbl diff --git a/parser/testdata/02890_named_tuple_functions/explain_5.txt b/parser/testdata/02890_named_tuple_functions/explain_5.txt new file mode 100644 index 0000000000..cd76eec2c4 --- /dev/null +++ b/parser/testdata/02890_named_tuple_functions/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier x diff --git a/parser/testdata/02890_untuple_column_names/explain_10.txt b/parser/testdata/02890_untuple_column_names/explain_10.txt index 649b565abf..af410929c5 100644 --- a/parser/testdata/02890_untuple_column_names/explain_10.txt +++ b/parser/testdata/02890_untuple_column_names/explain_10.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 2) + SelectQuery (children 1) ExpressionList (children 2) Function untuple (alias x) (children 1) ExpressionList (children 1) @@ -18,6 +18,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) Literal UInt64_1 Literal \'Tuple(a Int)\' - Set Identifier Vertical Set diff --git a/parser/testdata/02890_untuple_column_names/explain_12.txt b/parser/testdata/02890_untuple_column_names/explain_12.txt index 2bc2f2bce1..175d28a94d 100644 --- a/parser/testdata/02890_untuple_column_names/explain_12.txt +++ b/parser/testdata/02890_untuple_column_names/explain_12.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 2) + SelectQuery (children 1) ExpressionList (children 2) Function untuple (alias x) (children 1) ExpressionList (children 1) @@ -18,6 +18,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) Literal \'s\' Literal \'Tuple(String)\' - Set Identifier Vertical Set diff --git a/parser/testdata/02890_untuple_column_names/explain_13.txt b/parser/testdata/02890_untuple_column_names/explain_13.txt index 2bc2f2bce1..175d28a94d 100644 --- a/parser/testdata/02890_untuple_column_names/explain_13.txt +++ b/parser/testdata/02890_untuple_column_names/explain_13.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 2) + SelectQuery (children 1) ExpressionList (children 2) Function untuple (alias x) (children 1) ExpressionList (children 1) @@ -18,6 +18,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) Literal \'s\' Literal \'Tuple(String)\' - Set Identifier Vertical Set diff --git a/parser/testdata/02890_untuple_column_names/explain_14.txt b/parser/testdata/02890_untuple_column_names/explain_14.txt index f3dc1651c7..01bcb79b3a 100644 --- a/parser/testdata/02890_untuple_column_names/explain_14.txt +++ b/parser/testdata/02890_untuple_column_names/explain_14.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 2) + SelectQuery (children 1) ExpressionList (children 2) Function untuple (alias x) (children 1) ExpressionList (children 1) @@ -18,6 +18,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) Literal UInt64_1 Literal \'Tuple(Int)\' - Set Identifier Vertical Set diff --git a/parser/testdata/02890_untuple_column_names/explain_15.txt b/parser/testdata/02890_untuple_column_names/explain_15.txt index f3dc1651c7..01bcb79b3a 100644 --- a/parser/testdata/02890_untuple_column_names/explain_15.txt +++ b/parser/testdata/02890_untuple_column_names/explain_15.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 2) + SelectQuery (children 1) ExpressionList (children 2) Function untuple (alias x) (children 1) ExpressionList (children 1) @@ -18,6 +18,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) Literal UInt64_1 Literal \'Tuple(Int)\' - Set Identifier Vertical Set diff --git a/parser/testdata/02890_untuple_column_names/explain_17.txt b/parser/testdata/02890_untuple_column_names/explain_17.txt index 0ee0daafc1..6140273946 100644 --- a/parser/testdata/02890_untuple_column_names/explain_17.txt +++ b/parser/testdata/02890_untuple_column_names/explain_17.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 2) + SelectQuery (children 1) ExpressionList (children 2) Function untuple (children 1) ExpressionList (children 1) @@ -18,6 +18,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) Literal \'s\' Literal \'Tuple(String)\' - Set Identifier Vertical Set diff --git a/parser/testdata/02890_untuple_column_names/explain_18.txt b/parser/testdata/02890_untuple_column_names/explain_18.txt index 0ee0daafc1..6140273946 100644 --- a/parser/testdata/02890_untuple_column_names/explain_18.txt +++ b/parser/testdata/02890_untuple_column_names/explain_18.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 2) + SelectQuery (children 1) ExpressionList (children 2) Function untuple (children 1) ExpressionList (children 1) @@ -18,6 +18,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) Literal \'s\' Literal \'Tuple(String)\' - Set Identifier Vertical Set diff --git a/parser/testdata/02890_untuple_column_names/explain_19.txt b/parser/testdata/02890_untuple_column_names/explain_19.txt index ba7d6827d0..c88f32a273 100644 --- a/parser/testdata/02890_untuple_column_names/explain_19.txt +++ b/parser/testdata/02890_untuple_column_names/explain_19.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 2) + SelectQuery (children 1) ExpressionList (children 2) Function untuple (children 1) ExpressionList (children 1) @@ -18,6 +18,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) Literal UInt64_1 Literal \'Tuple(Int)\' - Set Identifier Vertical Set diff --git a/parser/testdata/02890_untuple_column_names/explain_2.txt b/parser/testdata/02890_untuple_column_names/explain_2.txt index dc1943a5bf..8e4e1cd10b 100644 --- a/parser/testdata/02890_untuple_column_names/explain_2.txt +++ b/parser/testdata/02890_untuple_column_names/explain_2.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 2) + SelectQuery (children 1) ExpressionList (children 2) Function untuple (children 1) ExpressionList (children 1) @@ -18,6 +18,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) Literal \'s\' Literal \'Tuple(a String)\' - Set Identifier Vertical Set diff --git a/parser/testdata/02890_untuple_column_names/explain_20.txt b/parser/testdata/02890_untuple_column_names/explain_20.txt index ba7d6827d0..c88f32a273 100644 --- a/parser/testdata/02890_untuple_column_names/explain_20.txt +++ b/parser/testdata/02890_untuple_column_names/explain_20.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 2) + SelectQuery (children 1) ExpressionList (children 2) Function untuple (children 1) ExpressionList (children 1) @@ -18,6 +18,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) Literal UInt64_1 Literal \'Tuple(Int)\' - Set Identifier Vertical Set diff --git a/parser/testdata/02890_untuple_column_names/explain_22.txt b/parser/testdata/02890_untuple_column_names/explain_22.txt index ed2881574b..8c2fe07f70 100644 --- a/parser/testdata/02890_untuple_column_names/explain_22.txt +++ b/parser/testdata/02890_untuple_column_names/explain_22.txt @@ -1,12 +1,11 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 2) + SelectQuery (children 1) ExpressionList (children 1) Function untuple (alias t) (children 1) ExpressionList (children 1) Function tuple (children 1) ExpressionList (children 1) Literal UInt64_1 (alias a) - Set Identifier Vertical Set diff --git a/parser/testdata/02890_untuple_column_names/explain_23.txt b/parser/testdata/02890_untuple_column_names/explain_23.txt index ed2881574b..8c2fe07f70 100644 --- a/parser/testdata/02890_untuple_column_names/explain_23.txt +++ b/parser/testdata/02890_untuple_column_names/explain_23.txt @@ -1,12 +1,11 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 2) + SelectQuery (children 1) ExpressionList (children 1) Function untuple (alias t) (children 1) ExpressionList (children 1) Function tuple (children 1) ExpressionList (children 1) Literal UInt64_1 (alias a) - Set Identifier Vertical Set diff --git a/parser/testdata/02890_untuple_column_names/explain_25.txt b/parser/testdata/02890_untuple_column_names/explain_25.txt index ed2881574b..8c2fe07f70 100644 --- a/parser/testdata/02890_untuple_column_names/explain_25.txt +++ b/parser/testdata/02890_untuple_column_names/explain_25.txt @@ -1,12 +1,11 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 2) + SelectQuery (children 1) ExpressionList (children 1) Function untuple (alias t) (children 1) ExpressionList (children 1) Function tuple (children 1) ExpressionList (children 1) Literal UInt64_1 (alias a) - Set Identifier Vertical Set diff --git a/parser/testdata/02890_untuple_column_names/explain_27.txt b/parser/testdata/02890_untuple_column_names/explain_27.txt index c4c2087bee..737b6e31a4 100644 --- a/parser/testdata/02890_untuple_column_names/explain_27.txt +++ b/parser/testdata/02890_untuple_column_names/explain_27.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 2) + SelectQuery (children 1) ExpressionList (children 1) Function untuple (alias x) (children 1) ExpressionList (children 1) @@ -8,6 +8,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 2) Literal \'{"key": "value"}\' Literal \'Tuple(key String)\' - Set Identifier Vertical Set diff --git a/parser/testdata/02890_untuple_column_names/explain_28.txt b/parser/testdata/02890_untuple_column_names/explain_28.txt index c4c2087bee..737b6e31a4 100644 --- a/parser/testdata/02890_untuple_column_names/explain_28.txt +++ b/parser/testdata/02890_untuple_column_names/explain_28.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 2) + SelectQuery (children 1) ExpressionList (children 1) Function untuple (alias x) (children 1) ExpressionList (children 1) @@ -8,6 +8,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 2) Literal \'{"key": "value"}\' Literal \'Tuple(key String)\' - Set Identifier Vertical Set diff --git a/parser/testdata/02890_untuple_column_names/explain_3.txt b/parser/testdata/02890_untuple_column_names/explain_3.txt index dc1943a5bf..8e4e1cd10b 100644 --- a/parser/testdata/02890_untuple_column_names/explain_3.txt +++ b/parser/testdata/02890_untuple_column_names/explain_3.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 2) + SelectQuery (children 1) ExpressionList (children 2) Function untuple (children 1) ExpressionList (children 1) @@ -18,6 +18,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) Literal \'s\' Literal \'Tuple(a String)\' - Set Identifier Vertical Set diff --git a/parser/testdata/02890_untuple_column_names/explain_4.txt b/parser/testdata/02890_untuple_column_names/explain_4.txt index 59b381c8fa..b7250ab429 100644 --- a/parser/testdata/02890_untuple_column_names/explain_4.txt +++ b/parser/testdata/02890_untuple_column_names/explain_4.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 2) + SelectQuery (children 1) ExpressionList (children 2) Function untuple (children 1) ExpressionList (children 1) @@ -18,6 +18,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) Literal UInt64_1 Literal \'Tuple(a Int)\' - Set Identifier Vertical Set diff --git a/parser/testdata/02890_untuple_column_names/explain_5.txt b/parser/testdata/02890_untuple_column_names/explain_5.txt index 59b381c8fa..b7250ab429 100644 --- a/parser/testdata/02890_untuple_column_names/explain_5.txt +++ b/parser/testdata/02890_untuple_column_names/explain_5.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 2) + SelectQuery (children 1) ExpressionList (children 2) Function untuple (children 1) ExpressionList (children 1) @@ -18,6 +18,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) Literal UInt64_1 Literal \'Tuple(a Int)\' - Set Identifier Vertical Set diff --git a/parser/testdata/02890_untuple_column_names/explain_7.txt b/parser/testdata/02890_untuple_column_names/explain_7.txt index f2603fba33..f7d62b6f22 100644 --- a/parser/testdata/02890_untuple_column_names/explain_7.txt +++ b/parser/testdata/02890_untuple_column_names/explain_7.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 2) + SelectQuery (children 1) ExpressionList (children 2) Function untuple (alias x) (children 1) ExpressionList (children 1) @@ -18,6 +18,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) Literal \'s\' Literal \'Tuple(a String)\' - Set Identifier Vertical Set diff --git a/parser/testdata/02890_untuple_column_names/explain_8.txt b/parser/testdata/02890_untuple_column_names/explain_8.txt index f2603fba33..f7d62b6f22 100644 --- a/parser/testdata/02890_untuple_column_names/explain_8.txt +++ b/parser/testdata/02890_untuple_column_names/explain_8.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 2) + SelectQuery (children 1) ExpressionList (children 2) Function untuple (alias x) (children 1) ExpressionList (children 1) @@ -18,6 +18,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) Literal \'s\' Literal \'Tuple(a String)\' - Set Identifier Vertical Set diff --git a/parser/testdata/02890_untuple_column_names/explain_9.txt b/parser/testdata/02890_untuple_column_names/explain_9.txt index 649b565abf..af410929c5 100644 --- a/parser/testdata/02890_untuple_column_names/explain_9.txt +++ b/parser/testdata/02890_untuple_column_names/explain_9.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 2) + SelectQuery (children 1) ExpressionList (children 2) Function untuple (alias x) (children 1) ExpressionList (children 1) @@ -18,6 +18,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) Literal UInt64_1 Literal \'Tuple(a Int)\' - Set Identifier Vertical Set diff --git a/parser/testdata/02891_empty_tuple/explain_12.txt b/parser/testdata/02891_empty_tuple/explain_12.txt new file mode 100644 index 0000000000..cd76eec2c4 --- /dev/null +++ b/parser/testdata/02891_empty_tuple/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier x diff --git a/parser/testdata/02891_empty_tuple/explain_3.txt b/parser/testdata/02891_empty_tuple/explain_3.txt new file mode 100644 index 0000000000..cd76eec2c4 --- /dev/null +++ b/parser/testdata/02891_empty_tuple/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier x diff --git a/parser/testdata/02892_SummingMergeTree_Nested/explain_4.txt b/parser/testdata/02892_SummingMergeTree_Nested/explain_4.txt new file mode 100644 index 0000000000..5143d0a2bf --- /dev/null +++ b/parser/testdata/02892_SummingMergeTree_Nested/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nested_smt diff --git a/parser/testdata/02892_SummingMergeTree_Nested/explain_5.txt b/parser/testdata/02892_SummingMergeTree_Nested/explain_5.txt new file mode 100644 index 0000000000..5143d0a2bf --- /dev/null +++ b/parser/testdata/02892_SummingMergeTree_Nested/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nested_smt diff --git a/parser/testdata/02893_array_enum_has_hasAny/explain_4.txt b/parser/testdata/02893_array_enum_has_hasAny/explain_4.txt new file mode 100644 index 0000000000..770c665293 --- /dev/null +++ b/parser/testdata/02893_array_enum_has_hasAny/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier v diff --git a/parser/testdata/02893_array_enum_has_hasAny/explain_9.txt b/parser/testdata/02893_array_enum_has_hasAny/explain_9.txt new file mode 100644 index 0000000000..8eb1834de4 --- /dev/null +++ b/parser/testdata/02893_array_enum_has_hasAny/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier v2 diff --git a/parser/testdata/02893_vertical_final_bugs/explain_12.txt b/parser/testdata/02893_vertical_final_bugs/explain_12.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/02893_vertical_final_bugs/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/02893_vertical_final_bugs/explain_5.txt b/parser/testdata/02893_vertical_final_bugs/explain_5.txt new file mode 100644 index 0000000000..2b33f6d05c --- /dev/null +++ b/parser/testdata/02893_vertical_final_bugs/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier foo diff --git a/parser/testdata/02893_vertical_final_bugs/explain_6.txt b/parser/testdata/02893_vertical_final_bugs/explain_6.txt new file mode 100644 index 0000000000..ccf6712329 --- /dev/null +++ b/parser/testdata/02893_vertical_final_bugs/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier bar diff --git a/parser/testdata/02893_vertical_final_bugs/explain_7.txt b/parser/testdata/02893_vertical_final_bugs/explain_7.txt new file mode 100644 index 0000000000..ccf6712329 --- /dev/null +++ b/parser/testdata/02893_vertical_final_bugs/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier bar diff --git a/parser/testdata/02896_illegal_sampling/explain.txt b/parser/testdata/02896_illegal_sampling/explain.txt index 81eb45010e..c4a08a15df 100644 --- a/parser/testdata/02896_illegal_sampling/explain.txt +++ b/parser/testdata/02896_illegal_sampling/explain.txt @@ -13,4 +13,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) Literal UInt64_1 SampleRatio 1 / 2 -The query succeeded but the server error '[141, 1]' was expected (query: EXPLAIN AST SELECT * FROM (SELECT 1) SAMPLE 1 / 2; -- { serverError SAMPLING_NOT_SUPPORTED, UNSUPPORTED_METHOD }). diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_10.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_10.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_100.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_100.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_100.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_101.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_101.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_101.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_102.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_102.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_102.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_103.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_103.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_103.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_104.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_104.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_104.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_105.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_105.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_105.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_106.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_106.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_106.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_107.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_107.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_107.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_108.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_108.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_108.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_109.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_109.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_109.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_11.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_11.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_110.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_110.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_110.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_111.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_111.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_111.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_112.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_112.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_112.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_113.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_113.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_113.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_114.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_114.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_114.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_115.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_115.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_115.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_116.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_116.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_116.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_117.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_117.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_117.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_118.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_118.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_118.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_119.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_119.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_119.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_12.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_12.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_120.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_120.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_120.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_121.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_121.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_121.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_122.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_122.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_122.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_123.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_123.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_123.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_124.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_124.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_124.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_125.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_125.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_125.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_126.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_126.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_126.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_127.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_127.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_127.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_128.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_128.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_128.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_129.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_129.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_129.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_13.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_13.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_130.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_130.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_130.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_131.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_131.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_131.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_132.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_132.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_132.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_133.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_133.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_133.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_134.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_134.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_134.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_135.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_135.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_135.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_136.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_136.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_136.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_137.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_137.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_137.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_138.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_138.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_138.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_139.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_139.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_139.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_14.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_14.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_140.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_140.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_140.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_141.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_141.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_141.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_142.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_142.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_142.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_143.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_143.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_143.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_144.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_144.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_144.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_145.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_145.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_145.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_146.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_146.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_146.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_147.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_147.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_147.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_148.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_148.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_148.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_149.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_149.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_149.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_15.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_15.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_150.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_150.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_150.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_151.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_151.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_151.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_152.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_152.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_152.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_153.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_153.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_153.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_154.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_154.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_154.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_155.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_155.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_155.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_156.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_156.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_156.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_157.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_157.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_157.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_158.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_158.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_158.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_159.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_159.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_159.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_16.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_16.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_160.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_160.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_160.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_161.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_161.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_161.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_162.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_162.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_162.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_163.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_163.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_163.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_164.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_164.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_164.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_17.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_17.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_18.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_18.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_19.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_19.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_20.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_20.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_21.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_21.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_22.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_22.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_22.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_23.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_23.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_23.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_24.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_24.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_24.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_25.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_25.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_25.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_26.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_26.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_26.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_27.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_27.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_27.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_28.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_28.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_28.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_29.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_29.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_29.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_30.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_30.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_30.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_31.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_31.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_31.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_32.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_32.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_32.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_33.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_33.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_33.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_34.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_34.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_34.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_35.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_35.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_35.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_36.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_36.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_36.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_37.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_37.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_37.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_38.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_38.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_38.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_39.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_39.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_39.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_40.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_40.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_40.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_41.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_41.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_41.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_42.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_42.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_42.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_43.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_43.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_43.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_44.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_44.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_44.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_45.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_45.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_45.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_46.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_46.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_46.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_47.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_47.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_47.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_48.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_48.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_48.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_49.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_49.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_49.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_50.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_50.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_50.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_51.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_51.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_51.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_52.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_52.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_52.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_53.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_53.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_53.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_54.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_54.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_54.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_55.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_55.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_55.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_56.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_56.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_56.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_57.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_57.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_57.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_58.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_58.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_58.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_59.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_59.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_59.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_6.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_6.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_60.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_60.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_60.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_61.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_61.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_61.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_62.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_62.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_62.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_63.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_63.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_63.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_64.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_64.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_64.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_65.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_65.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_65.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_66.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_66.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_66.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_67.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_67.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_67.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_68.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_68.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_68.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_69.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_69.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_69.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_7.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_7.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_70.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_70.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_70.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_71.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_71.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_71.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_72.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_72.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_72.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_73.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_73.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_73.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_74.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_74.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_74.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_75.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_75.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_75.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_76.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_76.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_76.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_77.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_77.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_77.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_78.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_78.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_78.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_79.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_79.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_79.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_8.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_8.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_80.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_80.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_80.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_81.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_81.txt new file mode 100644 index 0000000000..5a14e880a8 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_81.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes_f diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_82.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_82.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_82.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_83.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_83.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_83.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_84.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_84.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_84.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_86.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_86.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_86.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_87.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_87.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_87.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_88.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_88.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_88.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_89.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_89.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_89.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_9.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_9.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_90.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_90.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_90.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_91.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_91.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_91.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_92.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_92.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_92.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_93.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_93.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_93.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_94.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_94.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_94.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_95.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_95.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_95.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_96.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_96.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_96.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_97.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_97.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_97.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_98.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_98.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_98.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain_99.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain_99.txt new file mode 100644 index 0000000000..799a8006f4 --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain_99.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_multiple_OR/explain_3.txt b/parser/testdata/02896_multiple_OR/explain_3.txt new file mode 100644 index 0000000000..0b1bedc2cf --- /dev/null +++ b/parser/testdata/02896_multiple_OR/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier or_bug diff --git a/parser/testdata/02896_multiple_OR/explain_9.txt b/parser/testdata/02896_multiple_OR/explain_9.txt new file mode 100644 index 0000000000..b6b7304f39 --- /dev/null +++ b/parser/testdata/02896_multiple_OR/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier forms diff --git a/parser/testdata/02897_alter_partition_parameters/explain_12.txt b/parser/testdata/02897_alter_partition_parameters/explain_12.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02897_alter_partition_parameters/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02897_alter_partition_parameters/explain_16.txt b/parser/testdata/02897_alter_partition_parameters/explain_16.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02897_alter_partition_parameters/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02897_alter_partition_parameters/explain_19.txt b/parser/testdata/02897_alter_partition_parameters/explain_19.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02897_alter_partition_parameters/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02897_alter_partition_parameters/explain_23.txt b/parser/testdata/02897_alter_partition_parameters/explain_23.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02897_alter_partition_parameters/explain_23.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02897_alter_partition_parameters/explain_29.txt b/parser/testdata/02897_alter_partition_parameters/explain_29.txt new file mode 100644 index 0000000000..f67968f237 --- /dev/null +++ b/parser/testdata/02897_alter_partition_parameters/explain_29.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test2 diff --git a/parser/testdata/02897_alter_partition_parameters/explain_3.txt b/parser/testdata/02897_alter_partition_parameters/explain_3.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02897_alter_partition_parameters/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02897_alter_partition_parameters/explain_32.txt b/parser/testdata/02897_alter_partition_parameters/explain_32.txt new file mode 100644 index 0000000000..f67968f237 --- /dev/null +++ b/parser/testdata/02897_alter_partition_parameters/explain_32.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test2 diff --git a/parser/testdata/02897_alter_partition_parameters/explain_35.txt b/parser/testdata/02897_alter_partition_parameters/explain_35.txt new file mode 100644 index 0000000000..f67968f237 --- /dev/null +++ b/parser/testdata/02897_alter_partition_parameters/explain_35.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test2 diff --git a/parser/testdata/02897_alter_partition_parameters/explain_43.txt b/parser/testdata/02897_alter_partition_parameters/explain_43.txt new file mode 100644 index 0000000000..003dbb1a49 --- /dev/null +++ b/parser/testdata/02897_alter_partition_parameters/explain_43.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test3 diff --git a/parser/testdata/02897_alter_partition_parameters/explain_50.txt b/parser/testdata/02897_alter_partition_parameters/explain_50.txt new file mode 100644 index 0000000000..e4c3dd0420 --- /dev/null +++ b/parser/testdata/02897_alter_partition_parameters/explain_50.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test4 diff --git a/parser/testdata/02897_alter_partition_parameters/explain_57.txt b/parser/testdata/02897_alter_partition_parameters/explain_57.txt new file mode 100644 index 0000000000..bd504d255b --- /dev/null +++ b/parser/testdata/02897_alter_partition_parameters/explain_57.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test5 diff --git a/parser/testdata/02897_alter_partition_parameters/explain_6.txt b/parser/testdata/02897_alter_partition_parameters/explain_6.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02897_alter_partition_parameters/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02897_alter_partition_parameters/explain_65.txt b/parser/testdata/02897_alter_partition_parameters/explain_65.txt new file mode 100644 index 0000000000..0e0c892c00 --- /dev/null +++ b/parser/testdata/02897_alter_partition_parameters/explain_65.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test6 diff --git a/parser/testdata/02897_alter_partition_parameters/explain_9.txt b/parser/testdata/02897_alter_partition_parameters/explain_9.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02897_alter_partition_parameters/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02898_parallel_replicas_custom_key_final/explain_4.txt b/parser/testdata/02898_parallel_replicas_custom_key_final/explain_4.txt new file mode 100644 index 0000000000..e3c21f28b7 --- /dev/null +++ b/parser/testdata/02898_parallel_replicas_custom_key_final/explain_4.txt @@ -0,0 +1,22 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 2) + Identifier y + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function cluster (children 1) + ExpressionList (children 3) + Identifier test_cluster_one_shard_three_replicas_localhost + Function currentDatabase (children 1) + ExpressionList + Identifier 02898_parallel_replicas_final + ExpressionList (children 1) + Identifier y + ExpressionList (children 1) + OrderByElement (children 1) + Identifier y + Set diff --git a/parser/testdata/02898_parallel_replicas_custom_key_final/explain_5.txt b/parser/testdata/02898_parallel_replicas_custom_key_final/explain_5.txt new file mode 100644 index 0000000000..e3c21f28b7 --- /dev/null +++ b/parser/testdata/02898_parallel_replicas_custom_key_final/explain_5.txt @@ -0,0 +1,22 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 2) + Identifier y + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function cluster (children 1) + ExpressionList (children 3) + Identifier test_cluster_one_shard_three_replicas_localhost + Function currentDatabase (children 1) + ExpressionList + Identifier 02898_parallel_replicas_final + ExpressionList (children 1) + Identifier y + ExpressionList (children 1) + OrderByElement (children 1) + Identifier y + Set diff --git a/parser/testdata/02898_parallel_replicas_progress_bar/explain_17.txt b/parser/testdata/02898_parallel_replicas_progress_bar/explain_17.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02898_parallel_replicas_progress_bar/explain_17.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02898_parallel_replicas_progress_bar/explain_21.txt b/parser/testdata/02898_parallel_replicas_progress_bar/explain_21.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02898_parallel_replicas_progress_bar/explain_21.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02900_window_function_with_sparse_column/explain_2.txt b/parser/testdata/02900_window_function_with_sparse_column/explain_2.txt new file mode 100644 index 0000000000..42958894ce --- /dev/null +++ b/parser/testdata/02900_window_function_with_sparse_column/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test1 diff --git a/parser/testdata/02901_analyzer_recursive_window/explain.txt b/parser/testdata/02901_analyzer_recursive_window/explain.txt index d117937dca..632f0e5332 100644 --- a/parser/testdata/02901_analyzer_recursive_window/explain.txt +++ b/parser/testdata/02901_analyzer_recursive_window/explain.txt @@ -5,4 +5,3 @@ SelectWithUnionQuery (children 1) Literal UInt64_1 ExpressionList (children 1) WindowListElement -The query succeeded but the server error '47' was expected (query: EXPLAIN AST SELECT 1 WINDOW x AS (PARTITION BY x); -- { serverError UNKNOWN_IDENTIFIER }). diff --git a/parser/testdata/02901_predicate_pushdown_cte_stateful/explain_3.txt b/parser/testdata/02901_predicate_pushdown_cte_stateful/explain_3.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/02901_predicate_pushdown_cte_stateful/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/02902_json_skip_null_values/explain.txt b/parser/testdata/02902_json_skip_null_values/explain.txt index bec6e4b2a6..b2970d8488 100644 --- a/parser/testdata/02902_json_skip_null_values/explain.txt +++ b/parser/testdata/02902_json_skip_null_values/explain.txt @@ -9,7 +9,7 @@ CreateQuery test_02902 (children 3) ExpressionList (children 1) SelectQuery (children 2) ExpressionList (children 1) - Function CAST (children 1) + Function CAST (alias c) (children 1) ExpressionList (children 2) Function tuple (children 1) ExpressionList (children 3) diff --git a/parser/testdata/02902_json_skip_null_values/explain_2.txt b/parser/testdata/02902_json_skip_null_values/explain_2.txt index 0070cf5953..436a2ad86b 100644 --- a/parser/testdata/02902_json_skip_null_values/explain_2.txt +++ b/parser/testdata/02902_json_skip_null_values/explain_2.txt @@ -1,12 +1,11 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) TableIdentifier test_02902 - Set Identifier JSONEachRow Set diff --git a/parser/testdata/02902_json_skip_null_values/explain_3.txt b/parser/testdata/02902_json_skip_null_values/explain_3.txt index 0070cf5953..436a2ad86b 100644 --- a/parser/testdata/02902_json_skip_null_values/explain_3.txt +++ b/parser/testdata/02902_json_skip_null_values/explain_3.txt @@ -1,12 +1,11 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) TableIdentifier test_02902 - Set Identifier JSONEachRow Set diff --git a/parser/testdata/02902_topKGeneric_deserialization_memory/explain.txt b/parser/testdata/02902_topKGeneric_deserialization_memory/explain.txt new file mode 100644 index 0000000000..4088e140b1 --- /dev/null +++ b/parser/testdata/02902_topKGeneric_deserialization_memory/explain.txt @@ -0,0 +1,22 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function topKResampleState (children 2) + ExpressionList (children 2) + Function toString (children 1) + ExpressionList (children 1) + Identifier number + Identifier number + ExpressionList (children 4) + Literal UInt64_1048576 + Literal UInt64_257 + Literal UInt64_65536 + Literal UInt64_10 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_3 + Identifier Parquet diff --git a/parser/testdata/02905_system_logs_hostname/explain_8.txt b/parser/testdata/02905_system_logs_hostname/explain_8.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02905_system_logs_hostname/explain_8.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02906_force_optimize_projection_name/explain_10.txt b/parser/testdata/02906_force_optimize_projection_name/explain_10.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02906_force_optimize_projection_name/explain_10.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02907_filter_pushdown_crash/explain_4.txt b/parser/testdata/02907_filter_pushdown_crash/explain_4.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/02907_filter_pushdown_crash/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/02907_filter_pushdown_crash/explain_6.txt b/parser/testdata/02907_filter_pushdown_crash/explain_6.txt new file mode 100644 index 0000000000..df4a687bc0 --- /dev/null +++ b/parser/testdata/02907_filter_pushdown_crash/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2 diff --git a/parser/testdata/02907_read_buffer_content_is_cached_multiple_blobs/explain.txt b/parser/testdata/02907_read_buffer_content_is_cached_multiple_blobs/explain.txt index 7ac3248b34..70a1e2cd17 100644 --- a/parser/testdata/02907_read_buffer_content_is_cached_multiple_blobs/explain.txt +++ b/parser/testdata/02907_read_buffer_content_is_cached_multiple_blobs/explain.txt @@ -1,6 +1,9 @@ -CreateQuery t (children 2) +CreateQuery t (children 3) Identifier t Columns definition (children 1) ExpressionList (children 1) ColumnDeclaration a (children 1) DataType UInt64 + Storage definition (children 2) + Function Log + Set diff --git a/parser/testdata/02908_alter_column_alias/explain.txt b/parser/testdata/02908_alter_column_alias/explain.txt new file mode 100644 index 0000000000..74416549ad --- /dev/null +++ b/parser/testdata/02908_alter_column_alias/explain.txt @@ -0,0 +1,18 @@ +CreateQuery t (children 3) + Identifier t + Columns definition (children 1) + ExpressionList (children 3) + ColumnDeclaration c0 (children 1) + DataType DateTime + ColumnDeclaration c1 (children 1) + DataType DateTime + ColumnDeclaration a (children 2) + DataType DateTime + Function toStartOfFifteenMinutes (children 1) + ExpressionList (children 1) + Identifier c0 + Storage definition (children 2) + Function MergeTree (children 1) + ExpressionList + Function tuple (children 1) + ExpressionList diff --git a/parser/testdata/02911_analyzer_remove_unused_projection_columns/explain_4.txt b/parser/testdata/02911_analyzer_remove_unused_projection_columns/explain_4.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02911_analyzer_remove_unused_projection_columns/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02911_cte_invalid_query_analysis/explain_7.txt b/parser/testdata/02911_cte_invalid_query_analysis/explain_7.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/02911_cte_invalid_query_analysis/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/02911_join_on_nullsafe_optimization/explain_11.txt b/parser/testdata/02911_join_on_nullsafe_optimization/explain_11.txt new file mode 100644 index 0000000000..2c003e7142 --- /dev/null +++ b/parser/testdata/02911_join_on_nullsafe_optimization/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1n diff --git a/parser/testdata/02911_join_on_nullsafe_optimization/explain_12.txt b/parser/testdata/02911_join_on_nullsafe_optimization/explain_12.txt new file mode 100644 index 0000000000..1921a071db --- /dev/null +++ b/parser/testdata/02911_join_on_nullsafe_optimization/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2n diff --git a/parser/testdata/02911_join_on_nullsafe_optimization/explain_24.txt b/parser/testdata/02911_join_on_nullsafe_optimization/explain_24.txt new file mode 100644 index 0000000000..096e7dd63a --- /dev/null +++ b/parser/testdata/02911_join_on_nullsafe_optimization/explain_24.txt @@ -0,0 +1,43 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t1 + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier t2 + TableJoin (children 1) + Function or (children 1) + ExpressionList (children 2) + Function and (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier t1.x + Identifier t2.x + Function and (children 1) + ExpressionList (children 2) + Function isNotNull (children 1) + ExpressionList (children 1) + Identifier t2.x + Function isNotNull (children 1) + ExpressionList (children 1) + Identifier t1.x + Function and (children 1) + ExpressionList (children 2) + Function notEquals (children 1) + ExpressionList (children 2) + Identifier t2.x + Identifier t1.x + Function notEquals (children 1) + ExpressionList (children 2) + Identifier t2.x + Identifier t1.x + ExpressionList (children 1) + OrderByElement (children 1) + Identifier ALL + Set diff --git a/parser/testdata/02911_join_on_nullsafe_optimization/explain_7.txt b/parser/testdata/02911_join_on_nullsafe_optimization/explain_7.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/02911_join_on_nullsafe_optimization/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/02911_join_on_nullsafe_optimization/explain_8.txt b/parser/testdata/02911_join_on_nullsafe_optimization/explain_8.txt new file mode 100644 index 0000000000..df4a687bc0 --- /dev/null +++ b/parser/testdata/02911_join_on_nullsafe_optimization/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2 diff --git a/parser/testdata/02912_ingestion_mv_deduplication/explain_18.txt b/parser/testdata/02912_ingestion_mv_deduplication/explain_18.txt new file mode 100644 index 0000000000..c3ecbd221e --- /dev/null +++ b/parser/testdata/02912_ingestion_mv_deduplication/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier landing diff --git a/parser/testdata/02912_ingestion_mv_deduplication/explain_19.txt b/parser/testdata/02912_ingestion_mv_deduplication/explain_19.txt new file mode 100644 index 0000000000..c3ecbd221e --- /dev/null +++ b/parser/testdata/02912_ingestion_mv_deduplication/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier landing diff --git a/parser/testdata/02912_ingestion_mv_deduplication/explain_30.txt b/parser/testdata/02912_ingestion_mv_deduplication/explain_30.txt new file mode 100644 index 0000000000..c3ecbd221e --- /dev/null +++ b/parser/testdata/02912_ingestion_mv_deduplication/explain_30.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier landing diff --git a/parser/testdata/02912_ingestion_mv_deduplication/explain_31.txt b/parser/testdata/02912_ingestion_mv_deduplication/explain_31.txt new file mode 100644 index 0000000000..c3ecbd221e --- /dev/null +++ b/parser/testdata/02912_ingestion_mv_deduplication/explain_31.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier landing diff --git a/parser/testdata/02912_ingestion_mv_deduplication/explain_43.txt b/parser/testdata/02912_ingestion_mv_deduplication/explain_43.txt new file mode 100644 index 0000000000..6c4eef4f19 --- /dev/null +++ b/parser/testdata/02912_ingestion_mv_deduplication/explain_43.txt @@ -0,0 +1,8 @@ +InsertQuery (children 2) + Identifier landing + ExpressionList (children 5) + Identifier time + Identifier pk1 + Identifier pk2 + Identifier pk4 + Identifier pk3 diff --git a/parser/testdata/02912_ingestion_mv_deduplication/explain_6.txt b/parser/testdata/02912_ingestion_mv_deduplication/explain_6.txt new file mode 100644 index 0000000000..c3ecbd221e --- /dev/null +++ b/parser/testdata/02912_ingestion_mv_deduplication/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier landing diff --git a/parser/testdata/02912_ingestion_mv_deduplication/explain_7.txt b/parser/testdata/02912_ingestion_mv_deduplication/explain_7.txt new file mode 100644 index 0000000000..c3ecbd221e --- /dev/null +++ b/parser/testdata/02912_ingestion_mv_deduplication/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier landing diff --git a/parser/testdata/02915_analyzer_fuzz_6/explain_10.txt b/parser/testdata/02915_analyzer_fuzz_6/explain_10.txt new file mode 100644 index 0000000000..2ed780dd68 --- /dev/null +++ b/parser/testdata/02915_analyzer_fuzz_6/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t__fuzz_282 diff --git a/parser/testdata/02915_sleep_large_uint/explain.txt b/parser/testdata/02915_sleep_large_uint/explain.txt index 252e9d23e1..707fb28e45 100644 --- a/parser/testdata/02915_sleep_large_uint/explain.txt +++ b/parser/testdata/02915_sleep_large_uint/explain.txt @@ -5,4 +5,3 @@ SelectWithUnionQuery (children 1) Function sleep (children 1) ExpressionList (children 1) Literal Float64_3.40282e44 -The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT sleep(3.40282e+44); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/02916_analyzer_set_in_join/explain.txt b/parser/testdata/02916_analyzer_set_in_join/explain.txt index 35c3f2642c..3daaf1ea19 100644 --- a/parser/testdata/02916_analyzer_set_in_join/explain.txt +++ b/parser/testdata/02916_analyzer_set_in_join/explain.txt @@ -13,5 +13,16 @@ SelectWithUnionQuery (children 1) TablesInSelectQueryElement (children 1) ArrayJoin (children 1) ExpressionList (children 1) - Literal Array_[materialize(3) IN (SELECT ...)] (alias b) - + Function array (alias b) (children 1) + ExpressionList (children 1) + Function in (children 1) + ExpressionList (children 2) + Function materialize (children 1) + ExpressionList (children 1) + Literal UInt64_3 + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_42 diff --git a/parser/testdata/02916_date_text_parsing/explain.txt b/parser/testdata/02916_date_text_parsing/explain.txt index eb0bc85309..b75609f6a0 100644 --- a/parser/testdata/02916_date_text_parsing/explain.txt +++ b/parser/testdata/02916_date_text_parsing/explain.txt @@ -11,4 +11,3 @@ SelectWithUnionQuery (children 1) Identifier CSV Literal \'d Date, s String\' Literal \'abcdefgh,SomeString\' -The query succeeded but the server error '38' was expected (query: EXPLAIN AST select * from format(CSV, 'd Date, s String', 'abcdefgh,SomeString'); -- {serverError CANNOT_PARSE_DATE}). diff --git a/parser/testdata/02916_distributed_skip_unavailable_shards/explain_4.txt b/parser/testdata/02916_distributed_skip_unavailable_shards/explain_4.txt new file mode 100644 index 0000000000..e50a9e74dd --- /dev/null +++ b/parser/testdata/02916_distributed_skip_unavailable_shards/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_02916 diff --git a/parser/testdata/02916_replication_protocol_wait_for_part/explain_4.txt b/parser/testdata/02916_replication_protocol_wait_for_part/explain_4.txt new file mode 100644 index 0000000000..05a706fb12 --- /dev/null +++ b/parser/testdata/02916_replication_protocol_wait_for_part/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tableIn diff --git a/parser/testdata/02916_replication_protocol_wait_for_part/explain_5.txt b/parser/testdata/02916_replication_protocol_wait_for_part/explain_5.txt new file mode 100644 index 0000000000..05a706fb12 --- /dev/null +++ b/parser/testdata/02916_replication_protocol_wait_for_part/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tableIn diff --git a/parser/testdata/02918_alter_temporary_table/explain_3.txt b/parser/testdata/02918_alter_temporary_table/explain_3.txt new file mode 100644 index 0000000000..336fdaee7b --- /dev/null +++ b/parser/testdata/02918_alter_temporary_table/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier alter_test diff --git a/parser/testdata/02918_analyzer_to_ast_crash/explain.txt b/parser/testdata/02918_analyzer_to_ast_crash/explain.txt new file mode 100644 index 0000000000..e2c11c7757 --- /dev/null +++ b/parser/testdata/02918_analyzer_to_ast_crash/explain.txt @@ -0,0 +1,35 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + WithElement (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function in (children 1) + ExpressionList (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier y + WithElement (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier x diff --git a/parser/testdata/02918_optimize_count_for_merge_tables/explain_14.txt b/parser/testdata/02918_optimize_count_for_merge_tables/explain_14.txt new file mode 100644 index 0000000000..3595e71ff6 --- /dev/null +++ b/parser/testdata/02918_optimize_count_for_merge_tables/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mt2 diff --git a/parser/testdata/02918_optimize_count_for_merge_tables/explain_7.txt b/parser/testdata/02918_optimize_count_for_merge_tables/explain_7.txt new file mode 100644 index 0000000000..78291d567a --- /dev/null +++ b/parser/testdata/02918_optimize_count_for_merge_tables/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mt1 diff --git a/parser/testdata/02918_optimize_count_for_merge_tables/explain_8.txt b/parser/testdata/02918_optimize_count_for_merge_tables/explain_8.txt new file mode 100644 index 0000000000..3595e71ff6 --- /dev/null +++ b/parser/testdata/02918_optimize_count_for_merge_tables/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mt2 diff --git a/parser/testdata/02918_parallel_replicas_custom_key_unavailable_replica/explain_6.txt b/parser/testdata/02918_parallel_replicas_custom_key_unavailable_replica/explain_6.txt new file mode 100644 index 0000000000..9170d9f26c --- /dev/null +++ b/parser/testdata/02918_parallel_replicas_custom_key_unavailable_replica/explain_6.txt @@ -0,0 +1,22 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 2) + Identifier y + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function cluster (children 1) + ExpressionList (children 3) + Identifier test_cluster_1_shard_3_replicas_1_unavailable + Function currentDatabase (children 1) + ExpressionList + Identifier 02918_parallel_replicas + ExpressionList (children 1) + Identifier y + ExpressionList (children 1) + OrderByElement (children 1) + Identifier y + Set diff --git a/parser/testdata/02918_parallel_replicas_custom_key_unavailable_replica/explain_7.txt b/parser/testdata/02918_parallel_replicas_custom_key_unavailable_replica/explain_7.txt new file mode 100644 index 0000000000..9170d9f26c --- /dev/null +++ b/parser/testdata/02918_parallel_replicas_custom_key_unavailable_replica/explain_7.txt @@ -0,0 +1,22 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 2) + Identifier y + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function cluster (children 1) + ExpressionList (children 3) + Identifier test_cluster_1_shard_3_replicas_1_unavailable + Function currentDatabase (children 1) + ExpressionList + Identifier 02918_parallel_replicas + ExpressionList (children 1) + Identifier y + ExpressionList (children 1) + OrderByElement (children 1) + Identifier y + Set diff --git a/parser/testdata/02918_parallel_replicas_custom_key_unavailable_replica/explain_9.txt b/parser/testdata/02918_parallel_replicas_custom_key_unavailable_replica/explain_9.txt new file mode 100644 index 0000000000..9170d9f26c --- /dev/null +++ b/parser/testdata/02918_parallel_replicas_custom_key_unavailable_replica/explain_9.txt @@ -0,0 +1,22 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 2) + Identifier y + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function cluster (children 1) + ExpressionList (children 3) + Identifier test_cluster_1_shard_3_replicas_1_unavailable + Function currentDatabase (children 1) + ExpressionList + Identifier 02918_parallel_replicas + ExpressionList (children 1) + Identifier y + ExpressionList (children 1) + OrderByElement (children 1) + Identifier y + Set diff --git a/parser/testdata/02919_alter_temporary_table_with_nondefault_engine/explain_13.txt b/parser/testdata/02919_alter_temporary_table_with_nondefault_engine/explain_13.txt new file mode 100644 index 0000000000..336fdaee7b --- /dev/null +++ b/parser/testdata/02919_alter_temporary_table_with_nondefault_engine/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier alter_test diff --git a/parser/testdata/02919_alter_temporary_table_with_nondefault_engine/explain_3.txt b/parser/testdata/02919_alter_temporary_table_with_nondefault_engine/explain_3.txt new file mode 100644 index 0000000000..336fdaee7b --- /dev/null +++ b/parser/testdata/02919_alter_temporary_table_with_nondefault_engine/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier alter_test diff --git a/parser/testdata/02919_alter_temporary_table_with_nondefault_engine/explain_8.txt b/parser/testdata/02919_alter_temporary_table_with_nondefault_engine/explain_8.txt new file mode 100644 index 0000000000..336fdaee7b --- /dev/null +++ b/parser/testdata/02919_alter_temporary_table_with_nondefault_engine/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier alter_test diff --git a/parser/testdata/02919_insert_meet_eternal_hardware_error/explain_3.txt b/parser/testdata/02919_insert_meet_eternal_hardware_error/explain_3.txt new file mode 100644 index 0000000000..9d1b30bb58 --- /dev/null +++ b/parser/testdata/02919_insert_meet_eternal_hardware_error/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_hardware_error diff --git a/parser/testdata/02919_insert_meet_eternal_hardware_error/explain_6.txt b/parser/testdata/02919_insert_meet_eternal_hardware_error/explain_6.txt new file mode 100644 index 0000000000..9d1b30bb58 --- /dev/null +++ b/parser/testdata/02919_insert_meet_eternal_hardware_error/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_hardware_error diff --git a/parser/testdata/02919_insert_meet_eternal_hardware_error/explain_9.txt b/parser/testdata/02919_insert_meet_eternal_hardware_error/explain_9.txt new file mode 100644 index 0000000000..9d1b30bb58 --- /dev/null +++ b/parser/testdata/02919_insert_meet_eternal_hardware_error/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_hardware_error diff --git a/parser/testdata/02919_segfault_nullable_materialized_update/explain_3.txt b/parser/testdata/02919_segfault_nullable_materialized_update/explain_3.txt new file mode 100644 index 0000000000..acb4930849 --- /dev/null +++ b/parser/testdata/02919_segfault_nullable_materialized_update/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier crash_02919 diff --git a/parser/testdata/02920_alter_column_of_projections/explain_3.txt b/parser/testdata/02920_alter_column_of_projections/explain_3.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/02920_alter_column_of_projections/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/02921_database_filesystem_path_check/explain.txt b/parser/testdata/02921_database_filesystem_path_check/explain.txt index 325460b738..ff7369d8e8 100644 --- a/parser/testdata/02921_database_filesystem_path_check/explain.txt +++ b/parser/testdata/02921_database_filesystem_path_check/explain.txt @@ -4,4 +4,3 @@ CreateQuery db_filesystem (children 2) Function Filesystem (children 1) ExpressionList (children 1) Literal \'/etc\' -The query succeeded but the server error '36' was expected (query: EXPLAIN AST create database db_filesystem ENGINE=Filesystem('/etc'); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/02921_parameterized_view_except_queries/explain_5.txt b/parser/testdata/02921_parameterized_view_except_queries/explain_5.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/02921_parameterized_view_except_queries/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/02921_parameterized_view_except_queries/explain_6.txt b/parser/testdata/02921_parameterized_view_except_queries/explain_6.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/02921_parameterized_view_except_queries/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/02921_parameterized_view_except_queries/explain_7.txt b/parser/testdata/02921_parameterized_view_except_queries/explain_7.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/02921_parameterized_view_except_queries/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/02922_respect_nulls_Nullable/explain.txt b/parser/testdata/02922_respect_nulls_Nullable/explain.txt new file mode 100644 index 0000000000..6da291c04a --- /dev/null +++ b/parser/testdata/02922_respect_nulls_Nullable/explain.txt @@ -0,0 +1,131 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Asterisk + Asterisk (children 1) + ColumnsTransformerList (children 1) + ColumnsApplyTransformer + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 9) + Identifier bl + Function anyIf (alias any_ignore) (children 1) + ExpressionList (children 2) + Identifier n + Identifier cond + Function anyIf (alias any_respect) (children 1) + ExpressionList (children 2) + Identifier n + Identifier cond + Function anyLastIf (alias last_ignore) (children 1) + ExpressionList (children 2) + Identifier n + Identifier cond + Function anyLastIf (alias last_respect) (children 1) + ExpressionList (children 2) + Identifier n + Identifier cond + Function anyIf (alias any_nullable_ignore) (children 1) + ExpressionList (children 2) + Identifier nullable_n + Identifier cond + Function anyIf (alias any_nullable_respect) (children 1) + ExpressionList (children 2) + Identifier nullable_n + Identifier cond + Function anyLastIf (alias last_nullable_ignore) (children 1) + ExpressionList (children 2) + Identifier nullable_n + Identifier cond + Function anyLastIf (alias last_nullable_respect) (children 1) + ExpressionList (children 2) + Identifier nullable_n + Identifier cond + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 4) + Identifier number (alias n) + Function greater (alias cond) (children 1) + ExpressionList (children 2) + Function rand (children 1) + ExpressionList + Function pow (children 1) + ExpressionList (children 2) + Literal UInt64_2 + Literal UInt64_31 + Function if (alias nullable_n) (children 1) + ExpressionList (children 3) + Identifier cond + Literal NULL + Identifier n + Function blockNumber (alias bl) (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10000 + ExpressionList (children 1) + Identifier bl + Function or (children 1) + ExpressionList (children 8) + Function notEquals (children 1) + ExpressionList (children 2) + Identifier any_ignore + Identifier any_respect + Function notEquals (children 1) + ExpressionList (children 2) + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier any_ignore + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier any_respect + Function notEquals (children 1) + ExpressionList (children 2) + Identifier last_ignore + Identifier last_respect + Function notEquals (children 1) + ExpressionList (children 2) + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier last_ignore + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier last_respect + Function notEquals (children 1) + ExpressionList (children 2) + Identifier any_nullable_ignore + Identifier any_nullable_respect + Function notEquals (children 1) + ExpressionList (children 2) + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier any_nullable_ignore + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier any_nullable_respect + Function notEquals (children 1) + ExpressionList (children 2) + Identifier last_nullable_ignore + Identifier last_nullable_respect + Function notEquals (children 1) + ExpressionList (children 2) + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier last_nullable_ignore + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier last_nullable_respect diff --git a/parser/testdata/02922_respect_nulls_extensive/explain.txt b/parser/testdata/02922_respect_nulls_extensive/explain.txt index bf4ca511c9..1605da0299 100644 --- a/parser/testdata/02922_respect_nulls_extensive/explain.txt +++ b/parser/testdata/02922_respect_nulls_extensive/explain.txt @@ -3,13 +3,9 @@ SelectWithUnionQuery (children 1) SelectQuery (children 2) ExpressionList (children 2) Identifier number - Function first_value (children 2) + Function first_value (children 1) ExpressionList (children 1) Identifier number - WindowDefinition (children 1) - ExpressionList (children 1) - OrderByElement (children 1) - Identifier number TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) diff --git a/parser/testdata/02922_respect_nulls_parser/explain.txt b/parser/testdata/02922_respect_nulls_parser/explain.txt deleted file mode 100644 index 8b13789179..0000000000 --- a/parser/testdata/02922_respect_nulls_parser/explain.txt +++ /dev/null @@ -1 +0,0 @@ - diff --git a/parser/testdata/02923_join_use_nulls_modulo/explain.txt b/parser/testdata/02923_join_use_nulls_modulo/explain.txt new file mode 100644 index 0000000000..cbb38159a1 --- /dev/null +++ b/parser/testdata/02923_join_use_nulls_modulo/explain.txt @@ -0,0 +1,72 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier id + Literal UInt64_255 + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier d.id + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias a) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function toLowCardinality (alias id) (children 1) + ExpressionList (children 1) + Literal UInt64_1048577 + Function toLowCardinality (alias value) (children 1) + ExpressionList (children 1) + Literal UInt64_9223372036854775807 + ExpressionList (children 4) + ExpressionList (children 1) + Function toLowCardinality (children 1) + ExpressionList (children 1) + Literal UInt64_1024 + ExpressionList (children 1) + Function modulo (children 1) + ExpressionList (children 2) + Identifier id + Literal Float64_10.0001 + ExpressionList (children 1) + Function notEquals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier id + Literal UInt64_2147483646 + Literal Int64_-9223372036854775807 + ExpressionList (children 1) + Function notEquals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier id + Literal Int64_-1 + Literal UInt64_255 + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias d) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function toLowCardinality (alias id) (children 1) + ExpressionList (children 1) + Literal UInt64_9223372036854775807 + Function notEquals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier id + Literal UInt64_2147483646 + Literal NULL + TableJoin (children 1) + ExpressionList (children 1) + Identifier id + Set diff --git a/parser/testdata/02931_max_num_to_warn/explain_45.txt b/parser/testdata/02931_max_num_to_warn/explain_45.txt new file mode 100644 index 0000000000..196ab7be5d --- /dev/null +++ b/parser/testdata/02931_max_num_to_warn/explain_45.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier test_max_num_to_warn_02931 + Identifier test_max_num_to_warn_1 diff --git a/parser/testdata/02931_max_num_to_warn/explain_46.txt b/parser/testdata/02931_max_num_to_warn/explain_46.txt new file mode 100644 index 0000000000..852371ff29 --- /dev/null +++ b/parser/testdata/02931_max_num_to_warn/explain_46.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier test_max_num_to_warn_02931 + Identifier test_max_num_to_warn_2 diff --git a/parser/testdata/02931_max_num_to_warn/explain_47.txt b/parser/testdata/02931_max_num_to_warn/explain_47.txt new file mode 100644 index 0000000000..47dcf08fb1 --- /dev/null +++ b/parser/testdata/02931_max_num_to_warn/explain_47.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier test_max_num_to_warn_02931 + Identifier test_max_num_to_warn_3 diff --git a/parser/testdata/02931_max_num_to_warn/explain_48.txt b/parser/testdata/02931_max_num_to_warn/explain_48.txt new file mode 100644 index 0000000000..57d832173d --- /dev/null +++ b/parser/testdata/02931_max_num_to_warn/explain_48.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier test_max_num_to_warn_02931 + Identifier test_max_num_to_warn_4 diff --git a/parser/testdata/02931_max_num_to_warn/explain_49.txt b/parser/testdata/02931_max_num_to_warn/explain_49.txt new file mode 100644 index 0000000000..ebe75e5d74 --- /dev/null +++ b/parser/testdata/02931_max_num_to_warn/explain_49.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier test_max_num_to_warn_02931 + Identifier test_max_num_to_warn_5 diff --git a/parser/testdata/02931_max_num_to_warn/explain_50.txt b/parser/testdata/02931_max_num_to_warn/explain_50.txt new file mode 100644 index 0000000000..77e384161d --- /dev/null +++ b/parser/testdata/02931_max_num_to_warn/explain_50.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier test_max_num_to_warn_02931 + Identifier test_max_num_to_warn_6 diff --git a/parser/testdata/02931_max_num_to_warn/explain_51.txt b/parser/testdata/02931_max_num_to_warn/explain_51.txt new file mode 100644 index 0000000000..1e11d595df --- /dev/null +++ b/parser/testdata/02931_max_num_to_warn/explain_51.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier test_max_num_to_warn_02931 + Identifier test_max_num_to_warn_7 diff --git a/parser/testdata/02931_max_num_to_warn/explain_52.txt b/parser/testdata/02931_max_num_to_warn/explain_52.txt new file mode 100644 index 0000000000..5a76a18890 --- /dev/null +++ b/parser/testdata/02931_max_num_to_warn/explain_52.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier test_max_num_to_warn_02931 + Identifier test_max_num_to_warn_8 diff --git a/parser/testdata/02931_max_num_to_warn/explain_53.txt b/parser/testdata/02931_max_num_to_warn/explain_53.txt new file mode 100644 index 0000000000..5caf75bfaa --- /dev/null +++ b/parser/testdata/02931_max_num_to_warn/explain_53.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier test_max_num_to_warn_02931 + Identifier test_max_num_to_warn_9 diff --git a/parser/testdata/02931_max_num_to_warn/explain_54.txt b/parser/testdata/02931_max_num_to_warn/explain_54.txt new file mode 100644 index 0000000000..f17a6e44b7 --- /dev/null +++ b/parser/testdata/02931_max_num_to_warn/explain_54.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier test_max_num_to_warn_02931 + Identifier test_max_num_to_warn_10 diff --git a/parser/testdata/02931_max_num_to_warn/explain_55.txt b/parser/testdata/02931_max_num_to_warn/explain_55.txt new file mode 100644 index 0000000000..4d44f02a15 --- /dev/null +++ b/parser/testdata/02931_max_num_to_warn/explain_55.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier test_max_num_to_warn_02931 + Identifier test_max_num_to_warn_11 diff --git a/parser/testdata/02931_rewrite_sum_column_and_constant/explain_16.txt b/parser/testdata/02931_rewrite_sum_column_and_constant/explain_16.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02931_rewrite_sum_column_and_constant/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02931_rewrite_sum_column_and_constant/explain_17.txt b/parser/testdata/02931_rewrite_sum_column_and_constant/explain_17.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02931_rewrite_sum_column_and_constant/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02931_rewrite_sum_column_and_constant/explain_18.txt b/parser/testdata/02931_rewrite_sum_column_and_constant/explain_18.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02931_rewrite_sum_column_and_constant/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02931_rewrite_sum_column_and_constant/explain_19.txt b/parser/testdata/02931_rewrite_sum_column_and_constant/explain_19.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02931_rewrite_sum_column_and_constant/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02931_rewrite_sum_column_and_constant/explain_20.txt b/parser/testdata/02931_rewrite_sum_column_and_constant/explain_20.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02931_rewrite_sum_column_and_constant/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02932_analyzer_rewrite_sum_column_and_constant/explain_16.txt b/parser/testdata/02932_analyzer_rewrite_sum_column_and_constant/explain_16.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02932_analyzer_rewrite_sum_column_and_constant/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02932_analyzer_rewrite_sum_column_and_constant/explain_17.txt b/parser/testdata/02932_analyzer_rewrite_sum_column_and_constant/explain_17.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02932_analyzer_rewrite_sum_column_and_constant/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02932_analyzer_rewrite_sum_column_and_constant/explain_18.txt b/parser/testdata/02932_analyzer_rewrite_sum_column_and_constant/explain_18.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02932_analyzer_rewrite_sum_column_and_constant/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02932_analyzer_rewrite_sum_column_and_constant/explain_19.txt b/parser/testdata/02932_analyzer_rewrite_sum_column_and_constant/explain_19.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02932_analyzer_rewrite_sum_column_and_constant/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02932_analyzer_rewrite_sum_column_and_constant/explain_20.txt b/parser/testdata/02932_analyzer_rewrite_sum_column_and_constant/explain_20.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02932_analyzer_rewrite_sum_column_and_constant/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02932_idna/explain_91.txt b/parser/testdata/02932_idna/explain_91.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02932_idna/explain_91.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02932_idna/explain_97.txt b/parser/testdata/02932_idna/explain_97.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02932_idna/explain_97.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02932_parallel_replicas_fuzzer/explain_4.txt b/parser/testdata/02932_parallel_replicas_fuzzer/explain_4.txt new file mode 100644 index 0000000000..3ce00d0e96 --- /dev/null +++ b/parser/testdata/02932_parallel_replicas_fuzzer/explain_4.txt @@ -0,0 +1,28 @@ +SelectWithUnionQuery (children 3) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 4) + Identifier key + Identifier value1 + Identifier value2 + Function toUInt64 (alias start_ts) (children 1) + ExpressionList (children 1) + Function min (children 1) + ExpressionList (children 1) + Identifier time + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier join_inner_table__fuzz_146 + ExpressionList (children 3) + Identifier key + Identifier value1 + Identifier value2 + ExpressionList (children 2) + OrderByElement (children 1) + Identifier key + OrderByElement (children 1) + Identifier value2 + Literal UInt64_9223372036854775806 + Identifier Null + Set diff --git a/parser/testdata/02932_parallel_replicas_fuzzer/explain_6.txt b/parser/testdata/02932_parallel_replicas_fuzzer/explain_6.txt new file mode 100644 index 0000000000..22d170831b --- /dev/null +++ b/parser/testdata/02932_parallel_replicas_fuzzer/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_02709__fuzz_23 diff --git a/parser/testdata/02932_parallel_replicas_fuzzer/explain_7.txt b/parser/testdata/02932_parallel_replicas_fuzzer/explain_7.txt new file mode 100644 index 0000000000..b5ffa71ded --- /dev/null +++ b/parser/testdata/02932_parallel_replicas_fuzzer/explain_7.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 3) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Literal NULL + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t_02709__fuzz_23 + ExpressionList (children 2) + Identifier sign + Literal \'1023\' + ExpressionList (children 2) + OrderByElement (children 1) + Literal Float64_nan + OrderByElement (children 1) + Literal Array_[UInt64_0, NULL, NULL, NULL, NULL] + Identifier Null + Set diff --git a/parser/testdata/02932_parallel_replicas_fuzzer/explain_8.txt b/parser/testdata/02932_parallel_replicas_fuzzer/explain_8.txt new file mode 100644 index 0000000000..3cbe0e0324 --- /dev/null +++ b/parser/testdata/02932_parallel_replicas_fuzzer/explain_8.txt @@ -0,0 +1,25 @@ +SelectWithUnionQuery (children 3) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function _CAST (alias NULL) (children 1) + ExpressionList (children 2) + Literal NULL + Literal \'Nullable(Nothing)\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t_02709__fuzz_23 + ExpressionList (children 2) + Identifier t_02709__fuzz_23.sign + Literal \'1023\' + ExpressionList (children 2) + OrderByElement (children 1) + Literal Float64_nan + OrderByElement (children 1) + Function _CAST (children 1) + ExpressionList (children 2) + Literal Array_[UInt64_0, NULL, NULL, NULL, NULL] + Literal \'Array(Nullable(UInt8))\' + Identifier Null + Set diff --git a/parser/testdata/02932_punycode/explain_56.txt b/parser/testdata/02932_punycode/explain_56.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02932_punycode/explain_56.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02932_punycode/explain_62.txt b/parser/testdata/02932_punycode/explain_62.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/02932_punycode/explain_62.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/02933_ephemeral_mv/explain_4.txt b/parser/testdata/02933_ephemeral_mv/explain_4.txt new file mode 100644 index 0000000000..425ea45f9d --- /dev/null +++ b/parser/testdata/02933_ephemeral_mv/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier raw diff --git a/parser/testdata/02935_format_with_arbitrary_types/explain_50.txt b/parser/testdata/02935_format_with_arbitrary_types/explain_50.txt new file mode 100644 index 0000000000..aa19756a0e --- /dev/null +++ b/parser/testdata/02935_format_with_arbitrary_types/explain_50.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier format_nested diff --git a/parser/testdata/02935_ipv6_bit_operations/explain.txt b/parser/testdata/02935_ipv6_bit_operations/explain.txt new file mode 100644 index 0000000000..acf9bda669 --- /dev/null +++ b/parser/testdata/02935_ipv6_bit_operations/explain.txt @@ -0,0 +1,127 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 4) + Function toIPv6 (alias ip1) (children 1) + ExpressionList (children 1) + Literal \'FFFF:0000:FFFF:0000:FFFF:0000:FFFF:0000\' + Function toIPv6 (alias ip2) (children 1) + ExpressionList (children 1) + Literal \'0000:FFFF:0000:FFFF:0000:FFFF:0000:FFFF\' + Function CAST (alias n1) (children 1) + ExpressionList (children 2) + Literal \'226854911280625642308916404954512140970\' + Literal \'UInt128\' + Function CAST (alias n2) (children 1) + ExpressionList (children 2) + Literal \'113427455640312821154458202477256070485\' + Literal \'UInt128\' + ExpressionList (children 20) + Function bin (children 1) + ExpressionList (children 1) + Identifier ip1 + Function bin (children 1) + ExpressionList (children 1) + Identifier ip2 + Function bin (children 1) + ExpressionList (children 1) + Identifier n1 + Function bin (children 1) + ExpressionList (children 1) + Identifier n2 + Function bin (children 1) + ExpressionList (children 1) + Function bitAnd (children 1) + ExpressionList (children 2) + Identifier ip1 + Identifier n1 + Function bin (children 1) + ExpressionList (children 1) + Function bitAnd (children 1) + ExpressionList (children 2) + Identifier n1 + Identifier ip1 + Function bin (children 1) + ExpressionList (children 1) + Function bitAnd (children 1) + ExpressionList (children 2) + Identifier ip2 + Identifier n1 + Function bin (children 1) + ExpressionList (children 1) + Function bitAnd (children 1) + ExpressionList (children 2) + Identifier n1 + Identifier ip2 + Function bin (children 1) + ExpressionList (children 1) + Function bitAnd (children 1) + ExpressionList (children 2) + Identifier ip1 + Identifier n2 + Function bin (children 1) + ExpressionList (children 1) + Function bitAnd (children 1) + ExpressionList (children 2) + Identifier n2 + Identifier ip1 + Function bin (children 1) + ExpressionList (children 1) + Function bitAnd (children 1) + ExpressionList (children 2) + Identifier ip2 + Identifier n2 + Function bin (children 1) + ExpressionList (children 1) + Function bitAnd (children 1) + ExpressionList (children 2) + Identifier n2 + Identifier ip2 + Function bin (children 1) + ExpressionList (children 1) + Function bitOr (children 1) + ExpressionList (children 2) + Identifier ip1 + Identifier n1 + Function bin (children 1) + ExpressionList (children 1) + Function bitOr (children 1) + ExpressionList (children 2) + Identifier n1 + Identifier ip1 + Function bin (children 1) + ExpressionList (children 1) + Function bitOr (children 1) + ExpressionList (children 2) + Identifier ip2 + Identifier n1 + Function bin (children 1) + ExpressionList (children 1) + Function bitOr (children 1) + ExpressionList (children 2) + Identifier n1 + Identifier ip2 + Function bin (children 1) + ExpressionList (children 1) + Function bitOr (children 1) + ExpressionList (children 2) + Identifier ip1 + Identifier n2 + Function bin (children 1) + ExpressionList (children 1) + Function bitOr (children 1) + ExpressionList (children 2) + Identifier n2 + Identifier ip1 + Function bin (children 1) + ExpressionList (children 1) + Function bitOr (children 1) + ExpressionList (children 2) + Identifier ip2 + Identifier n2 + Function bin (children 1) + ExpressionList (children 1) + Function bitOr (children 1) + ExpressionList (children 2) + Identifier n2 + Identifier ip2 diff --git a/parser/testdata/02935_parallel_replicas_settings/explain_10.txt b/parser/testdata/02935_parallel_replicas_settings/explain_10.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02935_parallel_replicas_settings/explain_10.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02935_parallel_replicas_settings/explain_12.txt b/parser/testdata/02935_parallel_replicas_settings/explain_12.txt new file mode 100644 index 0000000000..9ae07f0e3c --- /dev/null +++ b/parser/testdata/02935_parallel_replicas_settings/explain_12.txt @@ -0,0 +1,53 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function greater (children 1) + ExpressionList (children 2) + Function count (children 1) + ExpressionList + Literal UInt64_0 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.text_log + Function and (children 1) + ExpressionList (children 4) + Function lessOrEquals (children 1) + ExpressionList (children 2) + Function yesterday (children 1) + ExpressionList + Identifier event_date + Function in (children 1) + ExpressionList (children 2) + Identifier query_id + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier query_id + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.query_log + Function and (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier current_database + Function currentDatabase (children 1) + ExpressionList + Function equals (children 1) + ExpressionList (children 2) + Identifier log_comment + Literal \'0_f621c4f2-4da7-4a7c-bb6d-052c442d0f7f\' + Function equals (children 1) + ExpressionList (children 2) + Identifier level + Literal \'Information\' + Function ilike (children 1) + ExpressionList (children 2) + Identifier message + Literal \'%Disabling \\\'use_hedged_requests\\\' in favor of \\\'enable_parallel_replicas\\\'%\' + Set diff --git a/parser/testdata/02935_parallel_replicas_settings/explain_15.txt b/parser/testdata/02935_parallel_replicas_settings/explain_15.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02935_parallel_replicas_settings/explain_15.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02935_parallel_replicas_settings/explain_17.txt b/parser/testdata/02935_parallel_replicas_settings/explain_17.txt new file mode 100644 index 0000000000..b5518a68e1 --- /dev/null +++ b/parser/testdata/02935_parallel_replicas_settings/explain_17.txt @@ -0,0 +1,53 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function greater (children 1) + ExpressionList (children 2) + Function count (children 1) + ExpressionList + Literal UInt64_0 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.text_log + Function and (children 1) + ExpressionList (children 4) + Function lessOrEquals (children 1) + ExpressionList (children 2) + Function yesterday (children 1) + ExpressionList + Identifier event_date + Function in (children 1) + ExpressionList (children 2) + Identifier query_id + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier query_id + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.query_log + Function and (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier current_database + Function currentDatabase (children 1) + ExpressionList + Function equals (children 1) + ExpressionList (children 2) + Identifier log_comment + Literal \'1_f621c4f2-4da7-4a7c-bb6d-052c442d0f7f\' + Function equals (children 1) + ExpressionList (children 2) + Identifier level + Literal \'Warning\' + Function ilike (children 1) + ExpressionList (children 2) + Identifier message + Literal \'%Setting \\\'use_hedged_requests\\\' explicitly with enabled \\\'enable_parallel_replicas\\\' has no effect%\' + Set diff --git a/parser/testdata/02941_any_RESPECT_NULL_sparse_column/explain_3.txt b/parser/testdata/02941_any_RESPECT_NULL_sparse_column/explain_3.txt new file mode 100644 index 0000000000..f5be3d2095 --- /dev/null +++ b/parser/testdata/02941_any_RESPECT_NULL_sparse_column/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data_sparse_column diff --git a/parser/testdata/02941_projections_external_aggregation/explain_12.txt b/parser/testdata/02941_projections_external_aggregation/explain_12.txt new file mode 100644 index 0000000000..7d60d179b3 --- /dev/null +++ b/parser/testdata/02941_projections_external_aggregation/explain_12.txt @@ -0,0 +1,26 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 4) + Identifier k1 + Identifier k2 + Identifier k3 + Function sum (alias v) (children 1) + ExpressionList (children 1) + Identifier value + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t_proj_external + ExpressionList (children 3) + Identifier k1 + Identifier k2 + Identifier k3 + ExpressionList (children 3) + OrderByElement (children 1) + Identifier k1 + OrderByElement (children 1) + Identifier k2 + OrderByElement (children 1) + Identifier k3 + Set diff --git a/parser/testdata/02941_projections_external_aggregation/explain_14.txt b/parser/testdata/02941_projections_external_aggregation/explain_14.txt new file mode 100644 index 0000000000..7d60d179b3 --- /dev/null +++ b/parser/testdata/02941_projections_external_aggregation/explain_14.txt @@ -0,0 +1,26 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 4) + Identifier k1 + Identifier k2 + Identifier k3 + Function sum (alias v) (children 1) + ExpressionList (children 1) + Identifier value + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t_proj_external + ExpressionList (children 3) + Identifier k1 + Identifier k2 + Identifier k3 + ExpressionList (children 3) + OrderByElement (children 1) + Identifier k1 + OrderByElement (children 1) + Identifier k2 + OrderByElement (children 1) + Identifier k3 + Set diff --git a/parser/testdata/02941_projections_external_aggregation/explain_23.txt b/parser/testdata/02941_projections_external_aggregation/explain_23.txt new file mode 100644 index 0000000000..7d60d179b3 --- /dev/null +++ b/parser/testdata/02941_projections_external_aggregation/explain_23.txt @@ -0,0 +1,26 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 4) + Identifier k1 + Identifier k2 + Identifier k3 + Function sum (alias v) (children 1) + ExpressionList (children 1) + Identifier value + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t_proj_external + ExpressionList (children 3) + Identifier k1 + Identifier k2 + Identifier k3 + ExpressionList (children 3) + OrderByElement (children 1) + Identifier k1 + OrderByElement (children 1) + Identifier k2 + OrderByElement (children 1) + Identifier k3 + Set diff --git a/parser/testdata/02941_projections_external_aggregation/explain_25.txt b/parser/testdata/02941_projections_external_aggregation/explain_25.txt new file mode 100644 index 0000000000..7d60d179b3 --- /dev/null +++ b/parser/testdata/02941_projections_external_aggregation/explain_25.txt @@ -0,0 +1,26 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 4) + Identifier k1 + Identifier k2 + Identifier k3 + Function sum (alias v) (children 1) + ExpressionList (children 1) + Identifier value + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t_proj_external + ExpressionList (children 3) + Identifier k1 + Identifier k2 + Identifier k3 + ExpressionList (children 3) + OrderByElement (children 1) + Identifier k1 + OrderByElement (children 1) + Identifier k2 + OrderByElement (children 1) + Identifier k3 + Set diff --git a/parser/testdata/02943_create_query_interpreter_sample_block_fix/explain_14.txt b/parser/testdata/02943_create_query_interpreter_sample_block_fix/explain_14.txt new file mode 100644 index 0000000000..67843ba4be --- /dev/null +++ b/parser/testdata/02943_create_query_interpreter_sample_block_fix/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier regex_test_table diff --git a/parser/testdata/02943_create_query_interpreter_sample_block_fix/explain_17.txt b/parser/testdata/02943_create_query_interpreter_sample_block_fix/explain_17.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02943_create_query_interpreter_sample_block_fix/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02943_create_query_interpreter_sample_block_fix/explain_20.txt b/parser/testdata/02943_create_query_interpreter_sample_block_fix/explain_20.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02943_create_query_interpreter_sample_block_fix/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02943_create_query_interpreter_sample_block_fix/explain_5.txt b/parser/testdata/02943_create_query_interpreter_sample_block_fix/explain_5.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02943_create_query_interpreter_sample_block_fix/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02943_create_query_interpreter_sample_block_fix/explain_8.txt b/parser/testdata/02943_create_query_interpreter_sample_block_fix/explain_8.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02943_create_query_interpreter_sample_block_fix/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02943_exprs_order_in_group_by_with_rollup/explain_3.txt b/parser/testdata/02943_exprs_order_in_group_by_with_rollup/explain_3.txt new file mode 100644 index 0000000000..2ca44b1b35 --- /dev/null +++ b/parser/testdata/02943_exprs_order_in_group_by_with_rollup/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_group_by_with_rollup_order diff --git a/parser/testdata/02943_exprs_order_in_group_by_with_rollup/explain_4.txt b/parser/testdata/02943_exprs_order_in_group_by_with_rollup/explain_4.txt new file mode 100644 index 0000000000..2ca44b1b35 --- /dev/null +++ b/parser/testdata/02943_exprs_order_in_group_by_with_rollup/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_group_by_with_rollup_order diff --git a/parser/testdata/02943_exprs_order_in_group_by_with_rollup/explain_5.txt b/parser/testdata/02943_exprs_order_in_group_by_with_rollup/explain_5.txt new file mode 100644 index 0000000000..2ca44b1b35 --- /dev/null +++ b/parser/testdata/02943_exprs_order_in_group_by_with_rollup/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_group_by_with_rollup_order diff --git a/parser/testdata/02943_exprs_order_in_group_by_with_rollup/explain_6.txt b/parser/testdata/02943_exprs_order_in_group_by_with_rollup/explain_6.txt new file mode 100644 index 0000000000..2ca44b1b35 --- /dev/null +++ b/parser/testdata/02943_exprs_order_in_group_by_with_rollup/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_group_by_with_rollup_order diff --git a/parser/testdata/02943_order_by_all/explain_3.txt b/parser/testdata/02943_order_by_all/explain_3.txt new file mode 100644 index 0000000000..b3f03bb73d --- /dev/null +++ b/parser/testdata/02943_order_by_all/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier order_by_all diff --git a/parser/testdata/02943_order_by_all/explain_33.txt b/parser/testdata/02943_order_by_all/explain_33.txt new file mode 100644 index 0000000000..b3f03bb73d --- /dev/null +++ b/parser/testdata/02943_order_by_all/explain_33.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier order_by_all diff --git a/parser/testdata/02943_tokenbf_and_ngrambf_indexes_support_match_function/explain_5.txt b/parser/testdata/02943_tokenbf_and_ngrambf_indexes_support_match_function/explain_5.txt new file mode 100644 index 0000000000..fbec063f74 --- /dev/null +++ b/parser/testdata/02943_tokenbf_and_ngrambf_indexes_support_match_function/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tokenbf_tab diff --git a/parser/testdata/02943_tokenbf_and_ngrambf_indexes_support_match_function/explain_6.txt b/parser/testdata/02943_tokenbf_and_ngrambf_indexes_support_match_function/explain_6.txt new file mode 100644 index 0000000000..b71694297b --- /dev/null +++ b/parser/testdata/02943_tokenbf_and_ngrambf_indexes_support_match_function/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ngrambf_tab diff --git a/parser/testdata/02943_use_full_text_skip_index_with_has_any/explain_5.txt b/parser/testdata/02943_use_full_text_skip_index_with_has_any/explain_5.txt new file mode 100644 index 0000000000..21bc1884dd --- /dev/null +++ b/parser/testdata/02943_use_full_text_skip_index_with_has_any/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tokenbf_v1_hasany_test diff --git a/parser/testdata/02943_use_full_text_skip_index_with_has_any/explain_6.txt b/parser/testdata/02943_use_full_text_skip_index_with_has_any/explain_6.txt new file mode 100644 index 0000000000..ef5a976ffb --- /dev/null +++ b/parser/testdata/02943_use_full_text_skip_index_with_has_any/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ngrambf_v1_hasany_test diff --git a/parser/testdata/02946_literal_alias_misclassification/explain_3.txt b/parser/testdata/02946_literal_alias_misclassification/explain_3.txt new file mode 100644 index 0000000000..8b8e8511e3 --- /dev/null +++ b/parser/testdata/02946_literal_alias_misclassification/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier literal_alias_misclassification diff --git a/parser/testdata/02946_literal_alias_misclassification/explain_4.txt b/parser/testdata/02946_literal_alias_misclassification/explain_4.txt new file mode 100644 index 0000000000..8b8e8511e3 --- /dev/null +++ b/parser/testdata/02946_literal_alias_misclassification/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier literal_alias_misclassification diff --git a/parser/testdata/02946_materialize_column_must_not_override_past_values/explain_16.txt b/parser/testdata/02946_materialize_column_must_not_override_past_values/explain_16.txt new file mode 100644 index 0000000000..55727cdf55 --- /dev/null +++ b/parser/testdata/02946_materialize_column_must_not_override_past_values/explain_16.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier tab + ExpressionList (children 2) + Identifier id + Identifier dflt diff --git a/parser/testdata/02946_materialize_column_must_not_override_past_values/explain_17.txt b/parser/testdata/02946_materialize_column_must_not_override_past_values/explain_17.txt new file mode 100644 index 0000000000..7a83258072 --- /dev/null +++ b/parser/testdata/02946_materialize_column_must_not_override_past_values/explain_17.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier tab + ExpressionList (children 1) + Identifier id diff --git a/parser/testdata/02946_materialize_column_must_not_override_past_values/explain_26.txt b/parser/testdata/02946_materialize_column_must_not_override_past_values/explain_26.txt new file mode 100644 index 0000000000..55727cdf55 --- /dev/null +++ b/parser/testdata/02946_materialize_column_must_not_override_past_values/explain_26.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier tab + ExpressionList (children 2) + Identifier id + Identifier dflt diff --git a/parser/testdata/02946_materialize_column_must_not_override_past_values/explain_27.txt b/parser/testdata/02946_materialize_column_must_not_override_past_values/explain_27.txt new file mode 100644 index 0000000000..55727cdf55 --- /dev/null +++ b/parser/testdata/02946_materialize_column_must_not_override_past_values/explain_27.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier tab + ExpressionList (children 2) + Identifier id + Identifier dflt diff --git a/parser/testdata/02946_materialize_column_must_not_override_past_values/explain_28.txt b/parser/testdata/02946_materialize_column_must_not_override_past_values/explain_28.txt new file mode 100644 index 0000000000..7a83258072 --- /dev/null +++ b/parser/testdata/02946_materialize_column_must_not_override_past_values/explain_28.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier tab + ExpressionList (children 1) + Identifier id diff --git a/parser/testdata/02946_materialize_column_must_not_override_past_values/explain_37.txt b/parser/testdata/02946_materialize_column_must_not_override_past_values/explain_37.txt new file mode 100644 index 0000000000..55727cdf55 --- /dev/null +++ b/parser/testdata/02946_materialize_column_must_not_override_past_values/explain_37.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier tab + ExpressionList (children 2) + Identifier id + Identifier dflt diff --git a/parser/testdata/02946_materialize_column_must_not_override_past_values/explain_38.txt b/parser/testdata/02946_materialize_column_must_not_override_past_values/explain_38.txt new file mode 100644 index 0000000000..7a83258072 --- /dev/null +++ b/parser/testdata/02946_materialize_column_must_not_override_past_values/explain_38.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier tab + ExpressionList (children 1) + Identifier id diff --git a/parser/testdata/02946_materialize_column_must_not_override_past_values/explain_51.txt b/parser/testdata/02946_materialize_column_must_not_override_past_values/explain_51.txt new file mode 100644 index 0000000000..7a83258072 --- /dev/null +++ b/parser/testdata/02946_materialize_column_must_not_override_past_values/explain_51.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier tab + ExpressionList (children 1) + Identifier id diff --git a/parser/testdata/02946_materialize_column_must_not_override_past_values/explain_6.txt b/parser/testdata/02946_materialize_column_must_not_override_past_values/explain_6.txt new file mode 100644 index 0000000000..55727cdf55 --- /dev/null +++ b/parser/testdata/02946_materialize_column_must_not_override_past_values/explain_6.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier tab + ExpressionList (children 2) + Identifier id + Identifier dflt diff --git a/parser/testdata/02946_materialize_column_must_not_override_past_values/explain_61.txt b/parser/testdata/02946_materialize_column_must_not_override_past_values/explain_61.txt new file mode 100644 index 0000000000..7a83258072 --- /dev/null +++ b/parser/testdata/02946_materialize_column_must_not_override_past_values/explain_61.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier tab + ExpressionList (children 1) + Identifier id diff --git a/parser/testdata/02946_materialize_column_must_not_override_past_values/explain_7.txt b/parser/testdata/02946_materialize_column_must_not_override_past_values/explain_7.txt new file mode 100644 index 0000000000..7a83258072 --- /dev/null +++ b/parser/testdata/02946_materialize_column_must_not_override_past_values/explain_7.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier tab + ExpressionList (children 1) + Identifier id diff --git a/parser/testdata/02946_parallel_replicas_distributed/explain_6.txt b/parser/testdata/02946_parallel_replicas_distributed/explain_6.txt new file mode 100644 index 0000000000..aa2d9d32f3 --- /dev/null +++ b/parser/testdata/02946_parallel_replicas_distributed/explain_6.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Function count (children 1) + ExpressionList + Function sum (children 1) + ExpressionList (children 1) + Identifier id + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test_d + Set diff --git a/parser/testdata/02946_parallel_replicas_force_primary_key/explain_13.txt b/parser/testdata/02946_parallel_replicas_force_primary_key/explain_13.txt new file mode 100644 index 0000000000..adff72d8c0 --- /dev/null +++ b/parser/testdata/02946_parallel_replicas_force_primary_key/explain_13.txt @@ -0,0 +1,21 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 2) + Identifier k + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t1 + Function greater (children 1) + ExpressionList (children 2) + Identifier k + Literal UInt64_0 + ExpressionList (children 1) + Identifier k + ExpressionList (children 1) + OrderByElement (children 1) + Identifier k + Set diff --git a/parser/testdata/02947_dropped_tables_parts/explain_5.txt b/parser/testdata/02947_dropped_tables_parts/explain_5.txt new file mode 100644 index 0000000000..45bd4dc668 --- /dev/null +++ b/parser/testdata/02947_dropped_tables_parts/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02947_table_1 diff --git a/parser/testdata/02947_dropped_tables_parts/explain_6.txt b/parser/testdata/02947_dropped_tables_parts/explain_6.txt new file mode 100644 index 0000000000..85e6cbeaa9 --- /dev/null +++ b/parser/testdata/02947_dropped_tables_parts/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02947_table_2 diff --git a/parser/testdata/02947_parallel_replicas_remote/explain_5.txt b/parser/testdata/02947_parallel_replicas_remote/explain_5.txt new file mode 100644 index 0000000000..856f2dba77 --- /dev/null +++ b/parser/testdata/02947_parallel_replicas_remote/explain_5.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Function count (children 1) + ExpressionList + Function sum (children 1) + ExpressionList (children 1) + Identifier id + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 3) + Literal \'127.0.0.1|127.0.0.2|127.0.0.3|127.0.0.4\' + Function currentDatabase (children 1) + ExpressionList + Identifier test + Set diff --git a/parser/testdata/02949_parallel_replicas_in_subquery/explain_10.txt b/parser/testdata/02949_parallel_replicas_in_subquery/explain_10.txt new file mode 100644 index 0000000000..0ec4c4caa3 --- /dev/null +++ b/parser/testdata/02949_parallel_replicas_in_subquery/explain_10.txt @@ -0,0 +1,24 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier merge_tree_in_subqueries + Function in (children 1) + ExpressionList (children 2) + Identifier id + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_0 + Set diff --git a/parser/testdata/02949_parallel_replicas_in_subquery/explain_11.txt b/parser/testdata/02949_parallel_replicas_in_subquery/explain_11.txt new file mode 100644 index 0000000000..0ec4c4caa3 --- /dev/null +++ b/parser/testdata/02949_parallel_replicas_in_subquery/explain_11.txt @@ -0,0 +1,24 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier merge_tree_in_subqueries + Function in (children 1) + ExpressionList (children 2) + Identifier id + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_0 + Set diff --git a/parser/testdata/02949_parallel_replicas_in_subquery/explain_12.txt b/parser/testdata/02949_parallel_replicas_in_subquery/explain_12.txt new file mode 100644 index 0000000000..0ec4c4caa3 --- /dev/null +++ b/parser/testdata/02949_parallel_replicas_in_subquery/explain_12.txt @@ -0,0 +1,24 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier merge_tree_in_subqueries + Function in (children 1) + ExpressionList (children 2) + Identifier id + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_0 + Set diff --git a/parser/testdata/02949_parallel_replicas_in_subquery/explain_14.txt b/parser/testdata/02949_parallel_replicas_in_subquery/explain_14.txt new file mode 100644 index 0000000000..0ba610ca1c --- /dev/null +++ b/parser/testdata/02949_parallel_replicas_in_subquery/explain_14.txt @@ -0,0 +1,28 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier merge_tree_in_subqueries + Function in (children 1) + ExpressionList (children 2) + Identifier id + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_2 + Literal UInt64_3 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier id + Set diff --git a/parser/testdata/02949_parallel_replicas_in_subquery/explain_15.txt b/parser/testdata/02949_parallel_replicas_in_subquery/explain_15.txt new file mode 100644 index 0000000000..0ba610ca1c --- /dev/null +++ b/parser/testdata/02949_parallel_replicas_in_subquery/explain_15.txt @@ -0,0 +1,28 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier merge_tree_in_subqueries + Function in (children 1) + ExpressionList (children 2) + Identifier id + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_2 + Literal UInt64_3 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier id + Set diff --git a/parser/testdata/02949_parallel_replicas_in_subquery/explain_16.txt b/parser/testdata/02949_parallel_replicas_in_subquery/explain_16.txt new file mode 100644 index 0000000000..0ba610ca1c --- /dev/null +++ b/parser/testdata/02949_parallel_replicas_in_subquery/explain_16.txt @@ -0,0 +1,28 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier merge_tree_in_subqueries + Function in (children 1) + ExpressionList (children 2) + Identifier id + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_2 + Literal UInt64_3 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier id + Set diff --git a/parser/testdata/02949_parallel_replicas_in_subquery/explain_18.txt b/parser/testdata/02949_parallel_replicas_in_subquery/explain_18.txt new file mode 100644 index 0000000000..68c09b73f3 --- /dev/null +++ b/parser/testdata/02949_parallel_replicas_in_subquery/explain_18.txt @@ -0,0 +1,22 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier merge_tree_in_subqueries + Function in (children 1) + ExpressionList (children 2) + Identifier id + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier id + Set diff --git a/parser/testdata/02949_parallel_replicas_in_subquery/explain_19.txt b/parser/testdata/02949_parallel_replicas_in_subquery/explain_19.txt new file mode 100644 index 0000000000..68c09b73f3 --- /dev/null +++ b/parser/testdata/02949_parallel_replicas_in_subquery/explain_19.txt @@ -0,0 +1,22 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier merge_tree_in_subqueries + Function in (children 1) + ExpressionList (children 2) + Identifier id + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier id + Set diff --git a/parser/testdata/02949_parallel_replicas_in_subquery/explain_20.txt b/parser/testdata/02949_parallel_replicas_in_subquery/explain_20.txt new file mode 100644 index 0000000000..68c09b73f3 --- /dev/null +++ b/parser/testdata/02949_parallel_replicas_in_subquery/explain_20.txt @@ -0,0 +1,22 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier merge_tree_in_subqueries + Function in (children 1) + ExpressionList (children 2) + Identifier id + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier id + Set diff --git a/parser/testdata/02949_parallel_replicas_in_subquery/explain_22.txt b/parser/testdata/02949_parallel_replicas_in_subquery/explain_22.txt new file mode 100644 index 0000000000..bcfc5bc19f --- /dev/null +++ b/parser/testdata/02949_parallel_replicas_in_subquery/explain_22.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 2) + Identifier id + Identifier name + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier merge_tree_in_subqueries + Function in (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 2) + Identifier id + Identifier name + Literal Tuple_(UInt64_3, \'test3\') + Set diff --git a/parser/testdata/02949_parallel_replicas_in_subquery/explain_23.txt b/parser/testdata/02949_parallel_replicas_in_subquery/explain_23.txt new file mode 100644 index 0000000000..bcfc5bc19f --- /dev/null +++ b/parser/testdata/02949_parallel_replicas_in_subquery/explain_23.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 2) + Identifier id + Identifier name + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier merge_tree_in_subqueries + Function in (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 2) + Identifier id + Identifier name + Literal Tuple_(UInt64_3, \'test3\') + Set diff --git a/parser/testdata/02949_parallel_replicas_in_subquery/explain_3.txt b/parser/testdata/02949_parallel_replicas_in_subquery/explain_3.txt new file mode 100644 index 0000000000..0c5f8ebbfb --- /dev/null +++ b/parser/testdata/02949_parallel_replicas_in_subquery/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier merge_tree_in_subqueries diff --git a/parser/testdata/02949_parallel_replicas_in_subquery/explain_4.txt b/parser/testdata/02949_parallel_replicas_in_subquery/explain_4.txt new file mode 100644 index 0000000000..0c5f8ebbfb --- /dev/null +++ b/parser/testdata/02949_parallel_replicas_in_subquery/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier merge_tree_in_subqueries diff --git a/parser/testdata/02949_parallel_replicas_in_subquery/explain_5.txt b/parser/testdata/02949_parallel_replicas_in_subquery/explain_5.txt new file mode 100644 index 0000000000..0c5f8ebbfb --- /dev/null +++ b/parser/testdata/02949_parallel_replicas_in_subquery/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier merge_tree_in_subqueries diff --git a/parser/testdata/02949_parallel_replicas_in_subquery/explain_6.txt b/parser/testdata/02949_parallel_replicas_in_subquery/explain_6.txt new file mode 100644 index 0000000000..0c5f8ebbfb --- /dev/null +++ b/parser/testdata/02949_parallel_replicas_in_subquery/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier merge_tree_in_subqueries diff --git a/parser/testdata/02949_parallel_replicas_in_subquery/explain_7.txt b/parser/testdata/02949_parallel_replicas_in_subquery/explain_7.txt new file mode 100644 index 0000000000..0c5f8ebbfb --- /dev/null +++ b/parser/testdata/02949_parallel_replicas_in_subquery/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier merge_tree_in_subqueries diff --git a/parser/testdata/02949_parallel_replicas_scalar_subquery_big_integer/explain_3.txt b/parser/testdata/02949_parallel_replicas_scalar_subquery_big_integer/explain_3.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02949_parallel_replicas_scalar_subquery_big_integer/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02950_dictionary_short_circuit/explain_3.txt b/parser/testdata/02950_dictionary_short_circuit/explain_3.txt new file mode 100644 index 0000000000..89c04319e2 --- /dev/null +++ b/parser/testdata/02950_dictionary_short_circuit/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dictionary_source_table diff --git a/parser/testdata/02950_dictionary_short_circuit/explain_31.txt b/parser/testdata/02950_dictionary_short_circuit/explain_31.txt new file mode 100644 index 0000000000..33ab7f4025 --- /dev/null +++ b/parser/testdata/02950_dictionary_short_circuit/explain_31.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier range_dictionary_source_table diff --git a/parser/testdata/02950_dictionary_short_circuit/explain_55.txt b/parser/testdata/02950_dictionary_short_circuit/explain_55.txt new file mode 100644 index 0000000000..f9d59b146e --- /dev/null +++ b/parser/testdata/02950_dictionary_short_circuit/explain_55.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ip_dictionary_source_table diff --git a/parser/testdata/02950_dictionary_short_circuit/explain_64.txt b/parser/testdata/02950_dictionary_short_circuit/explain_64.txt new file mode 100644 index 0000000000..38afbcb530 --- /dev/null +++ b/parser/testdata/02950_dictionary_short_circuit/explain_64.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier polygon_dictionary_source_table diff --git a/parser/testdata/02950_dictionary_short_circuit/explain_69.txt b/parser/testdata/02950_dictionary_short_circuit/explain_69.txt new file mode 100644 index 0000000000..6c28add40c --- /dev/null +++ b/parser/testdata/02950_dictionary_short_circuit/explain_69.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier points diff --git a/parser/testdata/02950_dictionary_short_circuit/explain_77.txt b/parser/testdata/02950_dictionary_short_circuit/explain_77.txt new file mode 100644 index 0000000000..1b777a041c --- /dev/null +++ b/parser/testdata/02950_dictionary_short_circuit/explain_77.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier regexp_dictionary_source_table diff --git a/parser/testdata/02950_dictionary_short_circuit/explain_78.txt b/parser/testdata/02950_dictionary_short_circuit/explain_78.txt new file mode 100644 index 0000000000..1b777a041c --- /dev/null +++ b/parser/testdata/02950_dictionary_short_circuit/explain_78.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier regexp_dictionary_source_table diff --git a/parser/testdata/02950_dictionary_short_circuit/explain_79.txt b/parser/testdata/02950_dictionary_short_circuit/explain_79.txt new file mode 100644 index 0000000000..1b777a041c --- /dev/null +++ b/parser/testdata/02950_dictionary_short_circuit/explain_79.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier regexp_dictionary_source_table diff --git a/parser/testdata/02950_dictionary_short_circuit/explain_80.txt b/parser/testdata/02950_dictionary_short_circuit/explain_80.txt new file mode 100644 index 0000000000..1b777a041c --- /dev/null +++ b/parser/testdata/02950_dictionary_short_circuit/explain_80.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier regexp_dictionary_source_table diff --git a/parser/testdata/02950_dictionary_short_circuit/explain_81.txt b/parser/testdata/02950_dictionary_short_circuit/explain_81.txt new file mode 100644 index 0000000000..1b777a041c --- /dev/null +++ b/parser/testdata/02950_dictionary_short_circuit/explain_81.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier regexp_dictionary_source_table diff --git a/parser/testdata/02950_dictionary_short_circuit/explain_82.txt b/parser/testdata/02950_dictionary_short_circuit/explain_82.txt new file mode 100644 index 0000000000..1b777a041c --- /dev/null +++ b/parser/testdata/02950_dictionary_short_circuit/explain_82.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier regexp_dictionary_source_table diff --git a/parser/testdata/02950_parallel_replicas_used_count/explain_10.txt b/parser/testdata/02950_parallel_replicas_used_count/explain_10.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02950_parallel_replicas_used_count/explain_10.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02950_parallel_replicas_used_count/explain_11.txt b/parser/testdata/02950_parallel_replicas_used_count/explain_11.txt new file mode 100644 index 0000000000..336e9082bd --- /dev/null +++ b/parser/testdata/02950_parallel_replicas_used_count/explain_11.txt @@ -0,0 +1,54 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function greater (children 1) + ExpressionList (children 2) + Function arrayElement (children 1) + ExpressionList (children 2) + Identifier ProfileEvents + Literal \'ParallelReplicasUsedCount\' + Literal UInt64_0 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.query_log + Function and (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier type + Literal \'QueryFinish\' + Function in (children 1) + ExpressionList (children 2) + Identifier query_id + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier query_id + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.query_log + Function and (children 1) + ExpressionList (children 4) + Function equals (children 1) + ExpressionList (children 2) + Identifier current_database + Function currentDatabase (children 1) + ExpressionList + Function equals (children 1) + ExpressionList (children 2) + Identifier log_comment + Literal \'02950_parallel_replicas_used_replicas_count_2\' + Function equals (children 1) + ExpressionList (children 2) + Identifier type + Literal \'QueryFinish\' + Function equals (children 1) + ExpressionList (children 2) + Identifier initial_query_id + Identifier query_id + Set diff --git a/parser/testdata/02950_parallel_replicas_used_count/explain_13.txt b/parser/testdata/02950_parallel_replicas_used_count/explain_13.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02950_parallel_replicas_used_count/explain_13.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02950_parallel_replicas_used_count/explain_14.txt b/parser/testdata/02950_parallel_replicas_used_count/explain_14.txt new file mode 100644 index 0000000000..be6bfcc6d8 --- /dev/null +++ b/parser/testdata/02950_parallel_replicas_used_count/explain_14.txt @@ -0,0 +1,54 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function greater (children 1) + ExpressionList (children 2) + Function arrayElement (children 1) + ExpressionList (children 2) + Identifier ProfileEvents + Literal \'ParallelReplicasUsedCount\' + Literal UInt64_0 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.query_log + Function and (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier type + Literal \'QueryFinish\' + Function in (children 1) + ExpressionList (children 2) + Identifier query_id + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier query_id + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.query_log + Function and (children 1) + ExpressionList (children 4) + Function equals (children 1) + ExpressionList (children 2) + Identifier current_database + Function currentDatabase (children 1) + ExpressionList + Function equals (children 1) + ExpressionList (children 2) + Identifier log_comment + Literal \'02950_parallel_replicas_used_replicas_count_3\' + Function equals (children 1) + ExpressionList (children 2) + Identifier type + Literal \'QueryFinish\' + Function equals (children 1) + ExpressionList (children 2) + Identifier initial_query_id + Identifier query_id + Set diff --git a/parser/testdata/02950_parallel_replicas_used_count/explain_7.txt b/parser/testdata/02950_parallel_replicas_used_count/explain_7.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02950_parallel_replicas_used_count/explain_7.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02950_parallel_replicas_used_count/explain_8.txt b/parser/testdata/02950_parallel_replicas_used_count/explain_8.txt new file mode 100644 index 0000000000..3d12680aa6 --- /dev/null +++ b/parser/testdata/02950_parallel_replicas_used_count/explain_8.txt @@ -0,0 +1,54 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function greater (children 1) + ExpressionList (children 2) + Function arrayElement (children 1) + ExpressionList (children 2) + Identifier ProfileEvents + Literal \'ParallelReplicasUsedCount\' + Literal UInt64_0 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.query_log + Function and (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier type + Literal \'QueryFinish\' + Function in (children 1) + ExpressionList (children 2) + Identifier query_id + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier query_id + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.query_log + Function and (children 1) + ExpressionList (children 4) + Function equals (children 1) + ExpressionList (children 2) + Identifier current_database + Function currentDatabase (children 1) + ExpressionList + Function equals (children 1) + ExpressionList (children 2) + Identifier log_comment + Literal \'02950_parallel_replicas_used_replicas_count\' + Function equals (children 1) + ExpressionList (children 2) + Identifier type + Literal \'QueryFinish\' + Function equals (children 1) + ExpressionList (children 2) + Identifier initial_query_id + Identifier query_id + Set diff --git a/parser/testdata/02950_part_log_bytes_uncompressed/explain.txt b/parser/testdata/02950_part_log_bytes_uncompressed/explain.txt new file mode 100644 index 0000000000..68f170809b --- /dev/null +++ b/parser/testdata/02950_part_log_bytes_uncompressed/explain.txt @@ -0,0 +1,12 @@ +CreateQuery part_log_bytes_uncompressed (children 3) + Identifier part_log_bytes_uncompressed + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration key (children 1) + DataType UInt8 + ColumnDeclaration value (children 1) + DataType UInt8 + Storage definition (children 2) + Function MergeTree (children 1) + ExpressionList + Identifier key diff --git a/parser/testdata/02950_part_log_bytes_uncompressed/explain_8.txt b/parser/testdata/02950_part_log_bytes_uncompressed/explain_8.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02950_part_log_bytes_uncompressed/explain_8.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02952_conjunction_optimization/explain_5.txt b/parser/testdata/02952_conjunction_optimization/explain_5.txt new file mode 100644 index 0000000000..e3df8b7df0 --- /dev/null +++ b/parser/testdata/02952_conjunction_optimization/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 02952_disjunction_optimization diff --git a/parser/testdata/02954_analyzer_fuzz_i57086/explain.txt b/parser/testdata/02954_analyzer_fuzz_i57086/explain.txt new file mode 100644 index 0000000000..f15646a2db --- /dev/null +++ b/parser/testdata/02954_analyzer_fuzz_i57086/explain.txt @@ -0,0 +1,40 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 3) + Literal \'limit w/ GROUP BY\' + Function count (children 1) + ExpressionList (children 1) + Literal NULL + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.{1,2}\' + Function view (children 1) + ExpressionList (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function intDiv (alias number) (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2147483647 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + ExpressionList (children 1) + Identifier number + ExpressionList (children 2) + OrderByElement (children 1) + Function count (children 1) + ExpressionList + OrderByElement (children 1) + Identifier number + Set diff --git a/parser/testdata/02955_sparkBar_alias_sparkbar/explain_4.txt b/parser/testdata/02955_sparkBar_alias_sparkbar/explain_4.txt new file mode 100644 index 0000000000..caae60f51e --- /dev/null +++ b/parser/testdata/02955_sparkBar_alias_sparkbar/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier spark_bar_test diff --git a/parser/testdata/02956_rocksdb_with_ttl/explain_2.txt b/parser/testdata/02956_rocksdb_with_ttl/explain_2.txt new file mode 100644 index 0000000000..196a928701 --- /dev/null +++ b/parser/testdata/02956_rocksdb_with_ttl/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dict_with_ttl diff --git a/parser/testdata/02960_alter_table_part_query_parameter/explain_10.txt b/parser/testdata/02960_alter_table_part_query_parameter/explain_10.txt new file mode 100644 index 0000000000..36337a4d9e --- /dev/null +++ b/parser/testdata/02960_alter_table_part_query_parameter/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data diff --git a/parser/testdata/02960_alter_table_part_query_parameter/explain_3.txt b/parser/testdata/02960_alter_table_part_query_parameter/explain_3.txt new file mode 100644 index 0000000000..36337a4d9e --- /dev/null +++ b/parser/testdata/02960_alter_table_part_query_parameter/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data diff --git a/parser/testdata/02962_analyzer_resolve_group_by_on_shards/explain.txt b/parser/testdata/02962_analyzer_resolve_group_by_on_shards/explain.txt index af2d8c5e35..c7459cf194 100644 --- a/parser/testdata/02962_analyzer_resolve_group_by_on_shards/explain.txt +++ b/parser/testdata/02962_analyzer_resolve_group_by_on_shards/explain.txt @@ -34,37 +34,31 @@ SelectWithUnionQuery (children 1) Function toDate (children 1) ExpressionList (children 3) Function and (children 1) - ExpressionList (children 2) - Function and (children 1) - ExpressionList (children 2) + ExpressionList (children 3) + Function toDate (children 1) + ExpressionList (children 4) + Literal \'0.0001048577\' Function toDate (children 1) ExpressionList (children 4) - Literal \'0.0001048577\' - Function toDate (children 1) - ExpressionList (children 4) - Literal NULL + Literal NULL + Function and (children 1) + ExpressionList (children 3) + Literal UInt64_10 Function and (children 1) - ExpressionList (children 2) - Function and (children 1) - ExpressionList (children 2) - Literal UInt64_10 - Function and (children 1) - ExpressionList (children 2) - Function and (children 1) - ExpressionList (children 2) - Function toDate (children 1) - ExpressionList (children 3) - Literal UInt64_257 - Literal UInt64_9223372036854775807 - Literal NULL - Literal NULL - Literal NULL + ExpressionList (children 3) + Function toDate (children 1) + ExpressionList (children 3) + Literal UInt64_257 + Literal UInt64_9223372036854775807 + Literal NULL + Literal NULL Literal NULL - Literal UInt64_7 Literal NULL - Literal NULL + Literal UInt64_7 Literal NULL Literal NULL + Literal NULL + Literal NULL Literal Int64_-2147483648 Literal NULL Literal NULL @@ -82,4 +76,5 @@ SelectWithUnionQuery (children 1) Literal NULL Literal NULL ExpressionList (children 1) - Literal NULL + ExpressionList (children 1) + Literal NULL diff --git a/parser/testdata/02962_join_using_bug_57894/explain_8.txt b/parser/testdata/02962_join_using_bug_57894/explain_8.txt new file mode 100644 index 0000000000..2cddd5def2 --- /dev/null +++ b/parser/testdata/02962_join_using_bug_57894/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier r diff --git a/parser/testdata/02962_parallel_window_functions_different_partitioning/explain_2.txt b/parser/testdata/02962_parallel_window_functions_different_partitioning/explain_2.txt new file mode 100644 index 0000000000..0bc7fa756f --- /dev/null +++ b/parser/testdata/02962_parallel_window_functions_different_partitioning/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier empsalary diff --git a/parser/testdata/02962_parallel_window_functions_different_partitioning/explain_3.txt b/parser/testdata/02962_parallel_window_functions_different_partitioning/explain_3.txt new file mode 100644 index 0000000000..0bc7fa756f --- /dev/null +++ b/parser/testdata/02962_parallel_window_functions_different_partitioning/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier empsalary diff --git a/parser/testdata/02962_parallel_window_functions_different_partitioning/explain_4.txt b/parser/testdata/02962_parallel_window_functions_different_partitioning/explain_4.txt new file mode 100644 index 0000000000..0bc7fa756f --- /dev/null +++ b/parser/testdata/02962_parallel_window_functions_different_partitioning/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier empsalary diff --git a/parser/testdata/02963_invalid_identifier/explain.txt b/parser/testdata/02963_invalid_identifier/explain.txt index 513fedd2b1..54e5ff270d 100644 --- a/parser/testdata/02963_invalid_identifier/explain.txt +++ b/parser/testdata/02963_invalid_identifier/explain.txt @@ -13,4 +13,3 @@ SelectWithUnionQuery (children 1) Identifier database Function currentDatabase (children 1) ExpressionList -The query succeeded but the server error '703' was expected (query: EXPLAIN AST SELECT t.t.t.* FROM system.tables WHERE database = currentDatabase(); --{serverError INVALID_IDENTIFIER}). diff --git a/parser/testdata/02963_msan_agg_addBatchLookupTable8/explain.txt b/parser/testdata/02963_msan_agg_addBatchLookupTable8/explain.txt index 350c531e4f..a0d87d697b 100644 --- a/parser/testdata/02963_msan_agg_addBatchLookupTable8/explain.txt +++ b/parser/testdata/02963_msan_agg_addBatchLookupTable8/explain.txt @@ -17,4 +17,3 @@ SelectWithUnionQuery (children 1) Literal UInt64_10 ExpressionList (children 1) Identifier even -The query succeeded but the server error '503' was expected (query: EXPLAIN AST SELECT number % 2 AS even, aggThrow(number) FROM numbers(10) GROUP BY even; -- { serverError AGGREGATE_FUNCTION_THROW}). diff --git a/parser/testdata/02965_projection_with_partition_pruning/explain_3.txt b/parser/testdata/02965_projection_with_partition_pruning/explain_3.txt new file mode 100644 index 0000000000..b99677bd61 --- /dev/null +++ b/parser/testdata/02965_projection_with_partition_pruning/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier a diff --git a/parser/testdata/02966_float32_promotion/explain_3.txt b/parser/testdata/02966_float32_promotion/explain_3.txt new file mode 100644 index 0000000000..922e704e18 --- /dev/null +++ b/parser/testdata/02966_float32_promotion/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier f32_table diff --git a/parser/testdata/02966_topk_counts_approx_count_sum/explain.txt b/parser/testdata/02966_topk_counts_approx_count_sum/explain.txt new file mode 100644 index 0000000000..a6df50d507 --- /dev/null +++ b/parser/testdata/02966_topk_counts_approx_count_sum/explain.txt @@ -0,0 +1,141 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Function arraySlice (alias topKExact) (children 1) + ExpressionList (children 3) + Function arrayReverseSort (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function tuple (children 1) + ExpressionList (children 2) + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_2 + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_1 + Function arrayZip (children 1) + ExpressionList (children 1) + Function untuple (children 1) + ExpressionList (children 1) + Function sumMap (children 1) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList (children 1) + Identifier k + Literal Array_[UInt64_1] + Literal UInt64_1 + Literal UInt64_5 + Function arraySlice (alias topKWeightedExact) (children 1) + ExpressionList (children 3) + Function arrayReverseSort (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function tuple (children 1) + ExpressionList (children 2) + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_2 + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_1 + Function arrayZip (children 1) + ExpressionList (children 1) + Function untuple (children 1) + ExpressionList (children 1) + Function sumMap (children 1) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList (children 1) + Identifier k + Function array (children 1) + ExpressionList (children 1) + Identifier w + Literal UInt64_1 + Literal UInt64_5 + ExpressionList (children 7) + Identifier topKExact + Identifier topKWeightedExact + Function topK (alias topK_counts) (children 2) + ExpressionList (children 1) + Identifier k + ExpressionList (children 3) + Literal UInt64_3 + Literal UInt64_1 + Literal \'counts\' + Function topKWeighted (alias topKWeighted_counts) (children 2) + ExpressionList (children 2) + Identifier k + Identifier w + ExpressionList (children 3) + Literal UInt64_3 + Literal UInt64_1 + Literal \'counts\' + Function approx_top_count (alias approx_top_count) (children 2) + ExpressionList (children 1) + Identifier k + ExpressionList (children 2) + Literal UInt64_3 + Literal UInt64_6 + Function approx_top_k (alias approx_top_k) (children 2) + ExpressionList (children 1) + Identifier k + ExpressionList (children 2) + Literal UInt64_3 + Literal UInt64_4 + Function approx_top_sum (alias approx_top_sum) (children 2) + ExpressionList (children 2) + Identifier k + Identifier w + ExpressionList (children 2) + Literal UInt64_3 + Literal UInt64_4 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function concat (alias k) (children 1) + ExpressionList (children 3) + Function countDigits (children 1) + ExpressionList (children 1) + Function multiply (children 1) + ExpressionList (children 2) + Identifier number + Identifier number + Literal \'_\' + Function intDiv (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 + Literal UInt64_7 + Identifier number (alias w) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1000 + Identifier Vertical diff --git a/parser/testdata/02967_analyzer_fuzz/explain.txt b/parser/testdata/02967_analyzer_fuzz/explain.txt new file mode 100644 index 0000000000..6137be91f6 --- /dev/null +++ b/parser/testdata/02967_analyzer_fuzz/explain.txt @@ -0,0 +1,57 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 2) + Literal UInt64_2147483647 + Function count (children 1) + ExpressionList (children 1) + Function pow (children 1) + ExpressionList (children 2) + Literal NULL + Literal Float64_1.0001 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 3) + Identifier test_cluster_two_shards + Identifier system + Identifier one + ExpressionList (children 2) + Function makeDateTime64 (children 1) + ExpressionList (children 5) + Literal NULL + Literal NULL + Function minus (children 1) + ExpressionList (children 2) + Function pow (children 1) + ExpressionList (children 2) + Literal NULL + Literal \'257\' + Literal \'-1\' + Literal \'0.2147483647\' + Literal UInt64_257 + Function makeDateTime64 (children 1) + ExpressionList (children 6) + Function pow (children 1) + ExpressionList (children 2) + Function minus (children 1) + ExpressionList (children 2) + Function pow (children 1) + ExpressionList (children 2) + Literal NULL + Literal \'21474836.46\' + Literal \'0.0000065535\' + Literal UInt64_1048577 + Literal \'922337203685477580.6\' + Literal NULL + Literal NULL + Function minus (children 1) + ExpressionList (children 2) + Function pow (children 1) + ExpressionList (children 2) + Literal NULL + Literal Float64_1.0001 + Literal UInt64_65536 + Literal NULL + Set diff --git a/parser/testdata/02968_adaptive_async_insert_timeout/explain_4.txt b/parser/testdata/02968_adaptive_async_insert_timeout/explain_4.txt new file mode 100644 index 0000000000..eec551663e --- /dev/null +++ b/parser/testdata/02968_adaptive_async_insert_timeout/explain_4.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier async_insert_mt_test + Set diff --git a/parser/testdata/02968_adaptive_async_insert_timeout/explain_5.txt b/parser/testdata/02968_adaptive_async_insert_timeout/explain_5.txt new file mode 100644 index 0000000000..eec551663e --- /dev/null +++ b/parser/testdata/02968_adaptive_async_insert_timeout/explain_5.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier async_insert_mt_test + Set diff --git a/parser/testdata/02968_adaptive_async_insert_timeout/explain_6.txt b/parser/testdata/02968_adaptive_async_insert_timeout/explain_6.txt new file mode 100644 index 0000000000..eec551663e --- /dev/null +++ b/parser/testdata/02968_adaptive_async_insert_timeout/explain_6.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier async_insert_mt_test + Set diff --git a/parser/testdata/02968_adaptive_async_insert_timeout/explain_7.txt b/parser/testdata/02968_adaptive_async_insert_timeout/explain_7.txt new file mode 100644 index 0000000000..eec551663e --- /dev/null +++ b/parser/testdata/02968_adaptive_async_insert_timeout/explain_7.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier async_insert_mt_test + Set diff --git a/parser/testdata/02968_adaptive_async_insert_timeout/explain_8.txt b/parser/testdata/02968_adaptive_async_insert_timeout/explain_8.txt new file mode 100644 index 0000000000..eec551663e --- /dev/null +++ b/parser/testdata/02968_adaptive_async_insert_timeout/explain_8.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier async_insert_mt_test + Set diff --git a/parser/testdata/02968_analyzer_join_column_not_found/explain_3.txt b/parser/testdata/02968_analyzer_join_column_not_found/explain_3.txt new file mode 100644 index 0000000000..ffbb436848 --- /dev/null +++ b/parser/testdata/02968_analyzer_join_column_not_found/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier im diff --git a/parser/testdata/02968_analyzer_join_column_not_found/explain_6.txt b/parser/testdata/02968_analyzer_join_column_not_found/explain_6.txt new file mode 100644 index 0000000000..4686526e7f --- /dev/null +++ b/parser/testdata/02968_analyzer_join_column_not_found/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ts diff --git a/parser/testdata/02968_sumMap_with_nan/explain.txt b/parser/testdata/02968_sumMap_with_nan/explain.txt index 6977f48787..e2a18e635a 100644 --- a/parser/testdata/02968_sumMap_with_nan/explain.txt +++ b/parser/testdata/02968_sumMap_with_nan/explain.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) - SelectQuery (children 1) + SelectQuery (children 2) ExpressionList (children 1) Function sumMapFiltered (children 2) ExpressionList (children 2) @@ -12,3 +12,15 @@ SelectWithUnionQuery (children 1) Identifier y ExpressionList (children 1) Literal Array_[Float64_6.7] + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function values (children 1) + ExpressionList (children 7) + Literal \'x Float64, y Float64\' + Literal Tuple_(UInt64_0, UInt64_1) + Literal Tuple_(UInt64_1, Float64_2.3) + Literal Tuple_(Float64_nan, Float64_inf) + Literal Tuple_(Float64_6.7, UInt64_3) + Literal Tuple_(UInt64_4, UInt64_4) + Literal Tuple_(UInt64_5, UInt64_1) diff --git a/parser/testdata/02971_functions_to_subcolumns_column_names/explain_3.txt b/parser/testdata/02971_functions_to_subcolumns_column_names/explain_3.txt new file mode 100644 index 0000000000..d9ea281dc2 --- /dev/null +++ b/parser/testdata/02971_functions_to_subcolumns_column_names/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_column_names diff --git a/parser/testdata/02971_functions_to_subcolumns_map/explain_3.txt b/parser/testdata/02971_functions_to_subcolumns_map/explain_3.txt new file mode 100644 index 0000000000..4c1e453f27 --- /dev/null +++ b/parser/testdata/02971_functions_to_subcolumns_map/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_func_to_subcolumns_map diff --git a/parser/testdata/02971_functions_to_subcolumns_variant/explain_4.txt b/parser/testdata/02971_functions_to_subcolumns_variant/explain_4.txt new file mode 100644 index 0000000000..8cbfa25e41 --- /dev/null +++ b/parser/testdata/02971_functions_to_subcolumns_variant/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_func_to_subcolumns_variant diff --git a/parser/testdata/02972_insert_deduplication_token_hierarchical_inserts/explain_35.txt b/parser/testdata/02972_insert_deduplication_token_hierarchical_inserts/explain_35.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02972_insert_deduplication_token_hierarchical_inserts/explain_35.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02972_insert_deduplication_token_hierarchical_inserts_views/explain_16.txt b/parser/testdata/02972_insert_deduplication_token_hierarchical_inserts_views/explain_16.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02972_insert_deduplication_token_hierarchical_inserts_views/explain_16.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02972_parallel_replicas_cte/explain_10.txt b/parser/testdata/02972_parallel_replicas_cte/explain_10.txt new file mode 100644 index 0000000000..d294617fa2 --- /dev/null +++ b/parser/testdata/02972_parallel_replicas_cte/explain_10.txt @@ -0,0 +1,21 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier pr_2 + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Function numbers (alias pr_1) (children 1) + ExpressionList (children 1) + Literal UInt64_10 + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier pr_2.a + Identifier pr_1.number + Set diff --git a/parser/testdata/02972_parallel_replicas_cte/explain_11.txt b/parser/testdata/02972_parallel_replicas_cte/explain_11.txt new file mode 100644 index 0000000000..8a9cb908e2 --- /dev/null +++ b/parser/testdata/02972_parallel_replicas_cte/explain_11.txt @@ -0,0 +1,44 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + WithElement (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier a + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier pr_1 + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Identifier a + Literal UInt64_100 + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier pr_2 + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier filtered_groups + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier pr_2.a + Identifier filtered_groups.a + Set diff --git a/parser/testdata/02972_parallel_replicas_cte/explain_12.txt b/parser/testdata/02972_parallel_replicas_cte/explain_12.txt new file mode 100644 index 0000000000..1edcf89c18 --- /dev/null +++ b/parser/testdata/02972_parallel_replicas_cte/explain_12.txt @@ -0,0 +1,57 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function plus (children 1) + ExpressionList (children 2) + Identifier c + Literal UInt64_1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + WithElement (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier a + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier pr_1 + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Identifier a + Literal UInt64_100 + ExpressionList (children 1) + Function count (alias c) (children 1) + ExpressionList + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier pr_2 + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier filtered_groups + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier pr_2.a + Identifier filtered_groups.a + Set diff --git a/parser/testdata/02972_parallel_replicas_cte/explain_14.txt b/parser/testdata/02972_parallel_replicas_cte/explain_14.txt new file mode 100644 index 0000000000..66bb5d4fc5 --- /dev/null +++ b/parser/testdata/02972_parallel_replicas_cte/explain_14.txt @@ -0,0 +1,38 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 2) + WithElement (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier n + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier numbers_1e3 + WithElement (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier n + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier numbers_1e3 + Function in (children 1) + ExpressionList (children 2) + Identifier n + Identifier cte1 + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier cte2 + Set diff --git a/parser/testdata/02972_parallel_replicas_cte/explain_7.txt b/parser/testdata/02972_parallel_replicas_cte/explain_7.txt new file mode 100644 index 0000000000..9aaaba5505 --- /dev/null +++ b/parser/testdata/02972_parallel_replicas_cte/explain_7.txt @@ -0,0 +1,35 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + WithElement (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier a + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier pr_1 + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Identifier a + Literal UInt64_100 + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier pr_2 + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier filtered_groups + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier pr_2.a + Identifier filtered_groups.a + Set diff --git a/parser/testdata/02972_parallel_replicas_cte/explain_8.txt b/parser/testdata/02972_parallel_replicas_cte/explain_8.txt new file mode 100644 index 0000000000..9aaaba5505 --- /dev/null +++ b/parser/testdata/02972_parallel_replicas_cte/explain_8.txt @@ -0,0 +1,35 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + WithElement (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier a + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier pr_1 + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Identifier a + Literal UInt64_100 + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier pr_2 + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier filtered_groups + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier pr_2.a + Identifier filtered_groups.a + Set diff --git a/parser/testdata/02972_parallel_replicas_cte/explain_9.txt b/parser/testdata/02972_parallel_replicas_cte/explain_9.txt new file mode 100644 index 0000000000..9aaaba5505 --- /dev/null +++ b/parser/testdata/02972_parallel_replicas_cte/explain_9.txt @@ -0,0 +1,35 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + WithElement (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier a + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier pr_1 + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Identifier a + Literal UInt64_100 + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier pr_2 + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier filtered_groups + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier pr_2.a + Identifier filtered_groups.a + Set diff --git a/parser/testdata/02974_analyzer_array_join_subcolumn/explain_4.txt b/parser/testdata/02974_analyzer_array_join_subcolumn/explain_4.txt new file mode 100644 index 0000000000..df4a687bc0 --- /dev/null +++ b/parser/testdata/02974_analyzer_array_join_subcolumn/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2 diff --git a/parser/testdata/02974_analyzer_array_join_subcolumn/explain_6.txt b/parser/testdata/02974_analyzer_array_join_subcolumn/explain_6.txt new file mode 100644 index 0000000000..ffa366159a --- /dev/null +++ b/parser/testdata/02974_analyzer_array_join_subcolumn/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t3 diff --git a/parser/testdata/02975_system_zookeeper_retries/explain_2.txt b/parser/testdata/02975_system_zookeeper_retries/explain_2.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02975_system_zookeeper_retries/explain_2.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02981_variant_type_function/explain_3.txt b/parser/testdata/02981_variant_type_function/explain_3.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02981_variant_type_function/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02981_vertical_merges_memory_usage/explain_6.txt b/parser/testdata/02981_vertical_merges_memory_usage/explain_6.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02981_vertical_merges_memory_usage/explain_6.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02983_const_sharding_key/explain_10.txt b/parser/testdata/02983_const_sharding_key/explain_10.txt new file mode 100644 index 0000000000..f6423419f0 --- /dev/null +++ b/parser/testdata/02983_const_sharding_key/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_distr diff --git a/parser/testdata/02983_const_sharding_key/explain_12.txt b/parser/testdata/02983_const_sharding_key/explain_12.txt new file mode 100644 index 0000000000..f6423419f0 --- /dev/null +++ b/parser/testdata/02983_const_sharding_key/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_distr diff --git a/parser/testdata/02983_empty_map_hasToken/explain_2.txt b/parser/testdata/02983_empty_map_hasToken/explain_2.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02983_empty_map_hasToken/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02983_empty_map_hasToken/explain_3.txt b/parser/testdata/02983_empty_map_hasToken/explain_3.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02983_empty_map_hasToken/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02985_dialects_with_distributed_tables/explain_7.txt b/parser/testdata/02985_dialects_with_distributed_tables/explain_7.txt new file mode 100644 index 0000000000..ea53d4e557 --- /dev/null +++ b/parser/testdata/02985_dialects_with_distributed_tables/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier shared_test_table diff --git a/parser/testdata/02985_shard_query_start_time/explain_4.txt b/parser/testdata/02985_shard_query_start_time/explain_4.txt index 2a34460c9d..6ee6459753 100644 --- a/parser/testdata/02985_shard_query_start_time/explain_4.txt +++ b/parser/testdata/02985_shard_query_start_time/explain_4.txt @@ -1,12 +1,11 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) TableIdentifier sharded_table - Set Identifier Null Set diff --git a/parser/testdata/02985_shard_query_start_time/explain_5.txt b/parser/testdata/02985_shard_query_start_time/explain_5.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/02985_shard_query_start_time/explain_5.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02987_group_array_intersect/explain_11.txt b/parser/testdata/02987_group_array_intersect/explain_11.txt new file mode 100644 index 0000000000..280503e668 --- /dev/null +++ b/parser/testdata/02987_group_array_intersect/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_null diff --git a/parser/testdata/02987_group_array_intersect/explain_13.txt b/parser/testdata/02987_group_array_intersect/explain_13.txt new file mode 100644 index 0000000000..280503e668 --- /dev/null +++ b/parser/testdata/02987_group_array_intersect/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_null diff --git a/parser/testdata/02987_group_array_intersect/explain_15.txt b/parser/testdata/02987_group_array_intersect/explain_15.txt new file mode 100644 index 0000000000..280503e668 --- /dev/null +++ b/parser/testdata/02987_group_array_intersect/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_null diff --git a/parser/testdata/02987_group_array_intersect/explain_20.txt b/parser/testdata/02987_group_array_intersect/explain_20.txt new file mode 100644 index 0000000000..fac9a4b8a1 --- /dev/null +++ b/parser/testdata/02987_group_array_intersect/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_nested_arrays diff --git a/parser/testdata/02987_group_array_intersect/explain_21.txt b/parser/testdata/02987_group_array_intersect/explain_21.txt new file mode 100644 index 0000000000..fac9a4b8a1 --- /dev/null +++ b/parser/testdata/02987_group_array_intersect/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_nested_arrays diff --git a/parser/testdata/02987_group_array_intersect/explain_23.txt b/parser/testdata/02987_group_array_intersect/explain_23.txt new file mode 100644 index 0000000000..fac9a4b8a1 --- /dev/null +++ b/parser/testdata/02987_group_array_intersect/explain_23.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_nested_arrays diff --git a/parser/testdata/02987_group_array_intersect/explain_28.txt b/parser/testdata/02987_group_array_intersect/explain_28.txt new file mode 100644 index 0000000000..8353d30e6a --- /dev/null +++ b/parser/testdata/02987_group_array_intersect/explain_28.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_numbers diff --git a/parser/testdata/02987_group_array_intersect/explain_29.txt b/parser/testdata/02987_group_array_intersect/explain_29.txt new file mode 100644 index 0000000000..8353d30e6a --- /dev/null +++ b/parser/testdata/02987_group_array_intersect/explain_29.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_numbers diff --git a/parser/testdata/02987_group_array_intersect/explain_30.txt b/parser/testdata/02987_group_array_intersect/explain_30.txt new file mode 100644 index 0000000000..8353d30e6a --- /dev/null +++ b/parser/testdata/02987_group_array_intersect/explain_30.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_numbers diff --git a/parser/testdata/02987_group_array_intersect/explain_32.txt b/parser/testdata/02987_group_array_intersect/explain_32.txt new file mode 100644 index 0000000000..8353d30e6a --- /dev/null +++ b/parser/testdata/02987_group_array_intersect/explain_32.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_numbers diff --git a/parser/testdata/02987_group_array_intersect/explain_4.txt b/parser/testdata/02987_group_array_intersect/explain_4.txt new file mode 100644 index 0000000000..1082dc8860 --- /dev/null +++ b/parser/testdata/02987_group_array_intersect/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_empty diff --git a/parser/testdata/02987_group_array_intersect/explain_46.txt b/parser/testdata/02987_group_array_intersect/explain_46.txt new file mode 100644 index 0000000000..360b154bfb --- /dev/null +++ b/parser/testdata/02987_group_array_intersect/explain_46.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_big_numbers diff --git a/parser/testdata/02987_group_array_intersect/explain_51.txt b/parser/testdata/02987_group_array_intersect/explain_51.txt new file mode 100644 index 0000000000..bb0bef1da4 --- /dev/null +++ b/parser/testdata/02987_group_array_intersect/explain_51.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_string diff --git a/parser/testdata/02987_group_array_intersect/explain_52.txt b/parser/testdata/02987_group_array_intersect/explain_52.txt new file mode 100644 index 0000000000..bb0bef1da4 --- /dev/null +++ b/parser/testdata/02987_group_array_intersect/explain_52.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_string diff --git a/parser/testdata/02987_group_array_intersect/explain_53.txt b/parser/testdata/02987_group_array_intersect/explain_53.txt new file mode 100644 index 0000000000..bb0bef1da4 --- /dev/null +++ b/parser/testdata/02987_group_array_intersect/explain_53.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_string diff --git a/parser/testdata/02987_group_array_intersect/explain_6.txt b/parser/testdata/02987_group_array_intersect/explain_6.txt new file mode 100644 index 0000000000..1082dc8860 --- /dev/null +++ b/parser/testdata/02987_group_array_intersect/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_empty diff --git a/parser/testdata/02987_group_array_intersect/explain_62.txt b/parser/testdata/02987_group_array_intersect/explain_62.txt new file mode 100644 index 0000000000..fc7bfb9a2e --- /dev/null +++ b/parser/testdata/02987_group_array_intersect/explain_62.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_big_string diff --git a/parser/testdata/02987_group_array_intersect/explain_64.txt b/parser/testdata/02987_group_array_intersect/explain_64.txt new file mode 100644 index 0000000000..fc7bfb9a2e --- /dev/null +++ b/parser/testdata/02987_group_array_intersect/explain_64.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_big_string diff --git a/parser/testdata/02987_group_array_intersect/explain_69.txt b/parser/testdata/02987_group_array_intersect/explain_69.txt new file mode 100644 index 0000000000..a541a8ee2d --- /dev/null +++ b/parser/testdata/02987_group_array_intersect/explain_69.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_datetime diff --git a/parser/testdata/02987_group_array_intersect/explain_70.txt b/parser/testdata/02987_group_array_intersect/explain_70.txt new file mode 100644 index 0000000000..a541a8ee2d --- /dev/null +++ b/parser/testdata/02987_group_array_intersect/explain_70.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_datetime diff --git a/parser/testdata/02987_group_array_intersect/explain_75.txt b/parser/testdata/02987_group_array_intersect/explain_75.txt new file mode 100644 index 0000000000..5c0095b159 --- /dev/null +++ b/parser/testdata/02987_group_array_intersect/explain_75.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_date32 diff --git a/parser/testdata/02987_group_array_intersect/explain_80.txt b/parser/testdata/02987_group_array_intersect/explain_80.txt new file mode 100644 index 0000000000..11b74d3448 --- /dev/null +++ b/parser/testdata/02987_group_array_intersect/explain_80.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_date diff --git a/parser/testdata/02988_join_using_prewhere_pushdown/explain_4.txt b/parser/testdata/02988_join_using_prewhere_pushdown/explain_4.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/02988_join_using_prewhere_pushdown/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/02989_join_using_parent_scope/explain_37.txt b/parser/testdata/02989_join_using_parent_scope/explain_37.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/02989_join_using_parent_scope/explain_37.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/02989_join_using_parent_scope/explain_38.txt b/parser/testdata/02989_join_using_parent_scope/explain_38.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/02989_join_using_parent_scope/explain_38.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/02989_join_using_parent_scope/explain_39.txt b/parser/testdata/02989_join_using_parent_scope/explain_39.txt index 4ee00c09b7..2307e266df 100644 --- a/parser/testdata/02989_join_using_parent_scope/explain_39.txt +++ b/parser/testdata/02989_join_using_parent_scope/explain_39.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 4) + SelectQuery (children 3) ExpressionList (children 4) Identifier u1.uid Identifier u1.spouse_name (alias name) @@ -19,6 +19,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) OrderByElement (children 1) Identifier u1.uid - Set Identifier TSVWithNamesAndTypes Set diff --git a/parser/testdata/02989_join_using_parent_scope/explain_40.txt b/parser/testdata/02989_join_using_parent_scope/explain_40.txt index 4ee00c09b7..2307e266df 100644 --- a/parser/testdata/02989_join_using_parent_scope/explain_40.txt +++ b/parser/testdata/02989_join_using_parent_scope/explain_40.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 4) + SelectQuery (children 3) ExpressionList (children 4) Identifier u1.uid Identifier u1.spouse_name (alias name) @@ -19,6 +19,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) OrderByElement (children 1) Identifier u1.uid - Set Identifier TSVWithNamesAndTypes Set diff --git a/parser/testdata/02989_join_using_parent_scope/explain_41.txt b/parser/testdata/02989_join_using_parent_scope/explain_41.txt index 4ee00c09b7..2307e266df 100644 --- a/parser/testdata/02989_join_using_parent_scope/explain_41.txt +++ b/parser/testdata/02989_join_using_parent_scope/explain_41.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 4) + SelectQuery (children 3) ExpressionList (children 4) Identifier u1.uid Identifier u1.spouse_name (alias name) @@ -19,6 +19,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) OrderByElement (children 1) Identifier u1.uid - Set Identifier TSVWithNamesAndTypes Set diff --git a/parser/testdata/02989_variant_comparison/explain_10.txt b/parser/testdata/02989_variant_comparison/explain_10.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02989_variant_comparison/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02989_variant_comparison/explain_11.txt b/parser/testdata/02989_variant_comparison/explain_11.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02989_variant_comparison/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02989_variant_comparison/explain_12.txt b/parser/testdata/02989_variant_comparison/explain_12.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02989_variant_comparison/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02989_variant_comparison/explain_13.txt b/parser/testdata/02989_variant_comparison/explain_13.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02989_variant_comparison/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02989_variant_comparison/explain_14.txt b/parser/testdata/02989_variant_comparison/explain_14.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02989_variant_comparison/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02989_variant_comparison/explain_15.txt b/parser/testdata/02989_variant_comparison/explain_15.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02989_variant_comparison/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02989_variant_comparison/explain_16.txt b/parser/testdata/02989_variant_comparison/explain_16.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02989_variant_comparison/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02989_variant_comparison/explain_17.txt b/parser/testdata/02989_variant_comparison/explain_17.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02989_variant_comparison/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02989_variant_comparison/explain_18.txt b/parser/testdata/02989_variant_comparison/explain_18.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02989_variant_comparison/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02989_variant_comparison/explain_19.txt b/parser/testdata/02989_variant_comparison/explain_19.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02989_variant_comparison/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02989_variant_comparison/explain_20.txt b/parser/testdata/02989_variant_comparison/explain_20.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02989_variant_comparison/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02989_variant_comparison/explain_21.txt b/parser/testdata/02989_variant_comparison/explain_21.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02989_variant_comparison/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02989_variant_comparison/explain_22.txt b/parser/testdata/02989_variant_comparison/explain_22.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02989_variant_comparison/explain_22.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02989_variant_comparison/explain_23.txt b/parser/testdata/02989_variant_comparison/explain_23.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02989_variant_comparison/explain_23.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02989_variant_comparison/explain_24.txt b/parser/testdata/02989_variant_comparison/explain_24.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02989_variant_comparison/explain_24.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02989_variant_comparison/explain_25.txt b/parser/testdata/02989_variant_comparison/explain_25.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02989_variant_comparison/explain_25.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02989_variant_comparison/explain_4.txt b/parser/testdata/02989_variant_comparison/explain_4.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02989_variant_comparison/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02989_variant_comparison/explain_5.txt b/parser/testdata/02989_variant_comparison/explain_5.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02989_variant_comparison/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02989_variant_comparison/explain_6.txt b/parser/testdata/02989_variant_comparison/explain_6.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02989_variant_comparison/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02989_variant_comparison/explain_7.txt b/parser/testdata/02989_variant_comparison/explain_7.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02989_variant_comparison/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02989_variant_comparison/explain_8.txt b/parser/testdata/02989_variant_comparison/explain_8.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02989_variant_comparison/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02989_variant_comparison/explain_9.txt b/parser/testdata/02989_variant_comparison/explain_9.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02989_variant_comparison/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02990_optimize_uniq_to_count_alias/explain_7.txt b/parser/testdata/02990_optimize_uniq_to_count_alias/explain_7.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/02990_optimize_uniq_to_count_alias/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/02990_parts_splitter_invalid_ranges/explain_4.txt b/parser/testdata/02990_parts_splitter_invalid_ranges/explain_4.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02990_parts_splitter_invalid_ranges/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02990_parts_splitter_invalid_ranges/explain_5.txt b/parser/testdata/02990_parts_splitter_invalid_ranges/explain_5.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02990_parts_splitter_invalid_ranges/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02990_parts_splitter_invalid_ranges/explain_6.txt b/parser/testdata/02990_parts_splitter_invalid_ranges/explain_6.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/02990_parts_splitter_invalid_ranges/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/02990_variant_where_cond/explain_3.txt b/parser/testdata/02990_variant_where_cond/explain_3.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/02990_variant_where_cond/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/02992_settings_overflow/explain.txt b/parser/testdata/02992_settings_overflow/explain.txt index dc6bf3d4f1..cb1142253f 100644 --- a/parser/testdata/02992_settings_overflow/explain.txt +++ b/parser/testdata/02992_settings_overflow/explain.txt @@ -1,2 +1 @@ Set -The query succeeded but the server error '70' was expected (query: EXPLAIN AST SET max_threads = -1; -- { serverError CANNOT_CONVERT_TYPE }). diff --git a/parser/testdata/02994_inconsistent_formatting/explain_2.txt b/parser/testdata/02994_inconsistent_formatting/explain_2.txt new file mode 100644 index 0000000000..2575577b80 --- /dev/null +++ b/parser/testdata/02994_inconsistent_formatting/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table diff --git a/parser/testdata/02994_inconsistent_formatting/explain_3.txt b/parser/testdata/02994_inconsistent_formatting/explain_3.txt new file mode 100644 index 0000000000..2575577b80 --- /dev/null +++ b/parser/testdata/02994_inconsistent_formatting/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table diff --git a/parser/testdata/02994_inconsistent_formatting/explain_4.txt b/parser/testdata/02994_inconsistent_formatting/explain_4.txt new file mode 100644 index 0000000000..2575577b80 --- /dev/null +++ b/parser/testdata/02994_inconsistent_formatting/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table diff --git a/parser/testdata/02994_inconsistent_formatting/explain_8.txt b/parser/testdata/02994_inconsistent_formatting/explain_8.txt new file mode 100644 index 0000000000..58910effa0 --- /dev/null +++ b/parser/testdata/02994_inconsistent_formatting/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier FORMAT diff --git a/parser/testdata/02995_preliminary_filters_duplicated_columns/explain_4.txt b/parser/testdata/02995_preliminary_filters_duplicated_columns/explain_4.txt new file mode 100644 index 0000000000..36337a4d9e --- /dev/null +++ b/parser/testdata/02995_preliminary_filters_duplicated_columns/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data diff --git a/parser/testdata/02995_preliminary_filters_duplicated_columns_SimpleAggregateFunction/explain_4.txt b/parser/testdata/02995_preliminary_filters_duplicated_columns_SimpleAggregateFunction/explain_4.txt new file mode 100644 index 0000000000..36337a4d9e --- /dev/null +++ b/parser/testdata/02995_preliminary_filters_duplicated_columns_SimpleAggregateFunction/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data diff --git a/parser/testdata/02996_index_compaction_counterexample/explain_3.txt b/parser/testdata/02996_index_compaction_counterexample/explain_3.txt new file mode 100644 index 0000000000..8c7c316521 --- /dev/null +++ b/parser/testdata/02996_index_compaction_counterexample/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier b diff --git a/parser/testdata/02996_nullable_arrayReduce/explain.txt b/parser/testdata/02996_nullable_arrayReduce/explain.txt index bb15b22d11..1fff32d4d3 100644 --- a/parser/testdata/02996_nullable_arrayReduce/explain.txt +++ b/parser/testdata/02996_nullable_arrayReduce/explain.txt @@ -8,4 +8,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) Literal \'stddevSampOrNull\' Literal Array_[UInt64_1] -The query succeeded but the server error '43' was expected (query: EXPLAIN AST SELECT arrayReduce(toNullable('stddevSampOrNull'), [1]); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }). diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_10.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_10.txt new file mode 100644 index 0000000000..4ee115f0cf --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_0 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_100.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_100.txt new file mode 100644 index 0000000000..1796425e0a --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_100.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_9 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_101.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_101.txt new file mode 100644 index 0000000000..1796425e0a --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_101.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_9 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_102.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_102.txt new file mode 100644 index 0000000000..1796425e0a --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_102.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_9 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_103.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_103.txt new file mode 100644 index 0000000000..1796425e0a --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_103.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_9 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_104.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_104.txt new file mode 100644 index 0000000000..1796425e0a --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_104.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_9 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_105.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_105.txt new file mode 100644 index 0000000000..1796425e0a --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_105.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_9 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_106.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_106.txt new file mode 100644 index 0000000000..1796425e0a --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_106.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_9 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_107.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_107.txt new file mode 100644 index 0000000000..1796425e0a --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_107.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_9 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_108.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_108.txt new file mode 100644 index 0000000000..1796425e0a --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_108.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_9 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_109.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_109.txt new file mode 100644 index 0000000000..1796425e0a --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_109.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_9 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_11.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_11.txt new file mode 100644 index 0000000000..4ee115f0cf --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_0 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_110.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_110.txt new file mode 100644 index 0000000000..1796425e0a --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_110.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_9 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_111.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_111.txt new file mode 100644 index 0000000000..1796425e0a --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_111.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_9 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_112.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_112.txt new file mode 100644 index 0000000000..1796425e0a --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_112.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_9 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_113.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_113.txt new file mode 100644 index 0000000000..1796425e0a --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_113.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_9 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_114.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_114.txt new file mode 100644 index 0000000000..1796425e0a --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_114.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_9 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_115.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_115.txt new file mode 100644 index 0000000000..1796425e0a --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_115.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_9 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_116.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_116.txt new file mode 100644 index 0000000000..1796425e0a --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_116.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_9 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_117.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_117.txt new file mode 100644 index 0000000000..1796425e0a --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_117.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_9 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_118.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_118.txt new file mode 100644 index 0000000000..1796425e0a --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_118.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_9 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_12.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_12.txt new file mode 100644 index 0000000000..4ee115f0cf --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_0 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_13.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_13.txt new file mode 100644 index 0000000000..4ee115f0cf --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_0 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_14.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_14.txt new file mode 100644 index 0000000000..4ee115f0cf --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_0 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_15.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_15.txt new file mode 100644 index 0000000000..4ee115f0cf --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_0 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_16.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_16.txt new file mode 100644 index 0000000000..4ee115f0cf --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_0 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_17.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_17.txt new file mode 100644 index 0000000000..4ee115f0cf --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_0 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_18.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_18.txt new file mode 100644 index 0000000000..4ee115f0cf --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_0 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_19.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_19.txt new file mode 100644 index 0000000000..4ee115f0cf --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_0 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_20.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_20.txt new file mode 100644 index 0000000000..4ee115f0cf --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_0 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_21.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_21.txt new file mode 100644 index 0000000000..4ee115f0cf --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_0 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_22.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_22.txt new file mode 100644 index 0000000000..4ee115f0cf --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_22.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_0 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_27.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_27.txt new file mode 100644 index 0000000000..edd230d8e4 --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_27.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_2 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_28.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_28.txt new file mode 100644 index 0000000000..edd230d8e4 --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_28.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_2 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_29.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_29.txt new file mode 100644 index 0000000000..edd230d8e4 --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_29.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_2 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_3.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_3.txt new file mode 100644 index 0000000000..4ee115f0cf --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_0 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_30.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_30.txt new file mode 100644 index 0000000000..edd230d8e4 --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_30.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_2 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_31.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_31.txt new file mode 100644 index 0000000000..edd230d8e4 --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_31.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_2 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_32.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_32.txt new file mode 100644 index 0000000000..edd230d8e4 --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_32.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_2 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_33.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_33.txt new file mode 100644 index 0000000000..edd230d8e4 --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_33.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_2 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_34.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_34.txt new file mode 100644 index 0000000000..edd230d8e4 --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_34.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_2 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_35.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_35.txt new file mode 100644 index 0000000000..edd230d8e4 --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_35.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_2 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_36.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_36.txt new file mode 100644 index 0000000000..edd230d8e4 --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_36.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_2 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_37.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_37.txt new file mode 100644 index 0000000000..edd230d8e4 --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_37.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_2 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_38.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_38.txt new file mode 100644 index 0000000000..edd230d8e4 --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_38.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_2 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_39.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_39.txt new file mode 100644 index 0000000000..edd230d8e4 --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_39.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_2 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_4.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_4.txt new file mode 100644 index 0000000000..4ee115f0cf --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_0 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_40.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_40.txt new file mode 100644 index 0000000000..edd230d8e4 --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_40.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_2 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_41.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_41.txt new file mode 100644 index 0000000000..edd230d8e4 --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_41.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_2 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_42.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_42.txt new file mode 100644 index 0000000000..edd230d8e4 --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_42.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_2 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_43.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_43.txt new file mode 100644 index 0000000000..edd230d8e4 --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_43.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_2 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_44.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_44.txt new file mode 100644 index 0000000000..edd230d8e4 --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_44.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_2 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_45.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_45.txt new file mode 100644 index 0000000000..edd230d8e4 --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_45.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_2 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_46.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_46.txt new file mode 100644 index 0000000000..edd230d8e4 --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_46.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_2 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_5.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_5.txt new file mode 100644 index 0000000000..4ee115f0cf --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_0 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_51.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_51.txt new file mode 100644 index 0000000000..a24d5707cf --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_51.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_3 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_52.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_52.txt new file mode 100644 index 0000000000..a24d5707cf --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_52.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_3 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_53.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_53.txt new file mode 100644 index 0000000000..a24d5707cf --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_53.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_3 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_54.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_54.txt new file mode 100644 index 0000000000..a24d5707cf --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_54.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_3 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_55.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_55.txt new file mode 100644 index 0000000000..a24d5707cf --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_55.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_3 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_56.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_56.txt new file mode 100644 index 0000000000..a24d5707cf --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_56.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_3 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_57.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_57.txt new file mode 100644 index 0000000000..a24d5707cf --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_57.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_3 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_58.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_58.txt new file mode 100644 index 0000000000..a24d5707cf --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_58.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_3 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_59.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_59.txt new file mode 100644 index 0000000000..a24d5707cf --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_59.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_3 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_6.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_6.txt new file mode 100644 index 0000000000..4ee115f0cf --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_0 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_60.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_60.txt new file mode 100644 index 0000000000..a24d5707cf --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_60.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_3 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_61.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_61.txt new file mode 100644 index 0000000000..a24d5707cf --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_61.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_3 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_62.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_62.txt new file mode 100644 index 0000000000..a24d5707cf --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_62.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_3 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_63.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_63.txt new file mode 100644 index 0000000000..a24d5707cf --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_63.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_3 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_64.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_64.txt new file mode 100644 index 0000000000..a24d5707cf --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_64.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_3 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_65.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_65.txt new file mode 100644 index 0000000000..a24d5707cf --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_65.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_3 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_66.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_66.txt new file mode 100644 index 0000000000..a24d5707cf --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_66.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_3 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_67.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_67.txt new file mode 100644 index 0000000000..a24d5707cf --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_67.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_3 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_68.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_68.txt new file mode 100644 index 0000000000..a24d5707cf --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_68.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_3 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_69.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_69.txt new file mode 100644 index 0000000000..a24d5707cf --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_69.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_3 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_7.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_7.txt new file mode 100644 index 0000000000..4ee115f0cf --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_0 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_70.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_70.txt new file mode 100644 index 0000000000..a24d5707cf --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_70.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_3 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_75.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_75.txt new file mode 100644 index 0000000000..0bd27b6d2a --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_75.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_6 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_76.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_76.txt new file mode 100644 index 0000000000..0bd27b6d2a --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_76.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_6 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_77.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_77.txt new file mode 100644 index 0000000000..0bd27b6d2a --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_77.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_6 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_78.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_78.txt new file mode 100644 index 0000000000..0bd27b6d2a --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_78.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_6 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_79.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_79.txt new file mode 100644 index 0000000000..0bd27b6d2a --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_79.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_6 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_8.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_8.txt new file mode 100644 index 0000000000..4ee115f0cf --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_0 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_80.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_80.txt new file mode 100644 index 0000000000..0bd27b6d2a --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_80.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_6 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_81.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_81.txt new file mode 100644 index 0000000000..0bd27b6d2a --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_81.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_6 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_82.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_82.txt new file mode 100644 index 0000000000..0bd27b6d2a --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_82.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_6 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_83.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_83.txt new file mode 100644 index 0000000000..0bd27b6d2a --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_83.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_6 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_84.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_84.txt new file mode 100644 index 0000000000..0bd27b6d2a --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_84.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_6 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_85.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_85.txt new file mode 100644 index 0000000000..0bd27b6d2a --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_85.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_6 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_86.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_86.txt new file mode 100644 index 0000000000..0bd27b6d2a --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_86.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_6 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_87.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_87.txt new file mode 100644 index 0000000000..0bd27b6d2a --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_87.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_6 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_88.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_88.txt new file mode 100644 index 0000000000..0bd27b6d2a --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_88.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_6 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_89.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_89.txt new file mode 100644 index 0000000000..0bd27b6d2a --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_89.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_6 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_9.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_9.txt new file mode 100644 index 0000000000..4ee115f0cf --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_0 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_90.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_90.txt new file mode 100644 index 0000000000..0bd27b6d2a --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_90.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_6 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_91.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_91.txt new file mode 100644 index 0000000000..0bd27b6d2a --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_91.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_6 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_92.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_92.txt new file mode 100644 index 0000000000..0bd27b6d2a --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_92.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_6 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_93.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_93.txt new file mode 100644 index 0000000000..0bd27b6d2a --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_93.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_6 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_94.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_94.txt new file mode 100644 index 0000000000..0bd27b6d2a --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_94.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_6 diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain_99.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_99.txt new file mode 100644 index 0000000000..1796425e0a --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain_99.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_9 diff --git a/parser/testdata/02998_analyzer_prewhere_report/explain_2.txt b/parser/testdata/02998_analyzer_prewhere_report/explain_2.txt new file mode 100644 index 0000000000..a9f806a4c9 --- /dev/null +++ b/parser/testdata/02998_analyzer_prewhere_report/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier hits diff --git a/parser/testdata/02998_attach_partition_not_allowed_if_structure_differs_due_to_materialized_column/explain.txt b/parser/testdata/02998_attach_partition_not_allowed_if_structure_differs_due_to_materialized_column/explain.txt new file mode 100644 index 0000000000..8c3a11a681 --- /dev/null +++ b/parser/testdata/02998_attach_partition_not_allowed_if_structure_differs_due_to_materialized_column/explain.txt @@ -0,0 +1,12 @@ +CreateQuery attach_partition_t7 (children 3) + Identifier attach_partition_t7 + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration a (children 1) + DataType UInt32 + ColumnDeclaration b (children 1) + DataType UInt32 + Storage definition (children 3) + Function MergeTree + Identifier a + Identifier a diff --git a/parser/testdata/02998_attach_partition_not_allowed_if_structure_differs_due_to_materialized_column/explain_3.txt b/parser/testdata/02998_attach_partition_not_allowed_if_structure_differs_due_to_materialized_column/explain_3.txt new file mode 100644 index 0000000000..5b46139340 --- /dev/null +++ b/parser/testdata/02998_attach_partition_not_allowed_if_structure_differs_due_to_materialized_column/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier attach_partition_t7 diff --git a/parser/testdata/02998_operator_respect_nulls/explain.txt b/parser/testdata/02998_operator_respect_nulls/explain.txt index 314ceeba54..56adadbdde 100644 --- a/parser/testdata/02998_operator_respect_nulls/explain.txt +++ b/parser/testdata/02998_operator_respect_nulls/explain.txt @@ -6,4 +6,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Literal UInt64_1 Literal UInt64_1 -The query succeeded but the server error '62' was expected (query: EXPLAIN AST SELECT plus(1, 1) RESPECT NULLS; -- { serverError SYNTAX_ERROR }). diff --git a/parser/testdata/02998_system_dns_cache_table/explain.txt b/parser/testdata/02998_system_dns_cache_table/explain.txt index 835c59a1c1..d6d38b3d7e 100644 --- a/parser/testdata/02998_system_dns_cache_table/explain.txt +++ b/parser/testdata/02998_system_dns_cache_table/explain.txt @@ -1,6 +1,6 @@ -SelectWithUnionQuery (children 1) +SelectWithUnionQuery (children 2) ExpressionList (children 1) - SelectQuery (children 2) + SelectQuery (children 3) ExpressionList (children 4) Identifier hostname Identifier ip_address @@ -10,3 +10,5 @@ SelectWithUnionQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) TableIdentifier system.dns_cache + Literal UInt64_0 + Identifier TSVWithNamesAndTypes diff --git a/parser/testdata/02998_to_milliseconds/explain.txt b/parser/testdata/02998_to_milliseconds/explain.txt index a43179e89b..8a6d2b6a35 100644 --- a/parser/testdata/02998_to_milliseconds/explain.txt +++ b/parser/testdata/02998_to_milliseconds/explain.txt @@ -4,4 +4,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) Function toMillisecond (children 1) ExpressionList -The query succeeded but the server error '42' was expected (query: EXPLAIN AST SELECT toMillisecond(); -- { serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH }). diff --git a/parser/testdata/03000_too_big_max_execution_time_setting/explain.txt b/parser/testdata/03000_too_big_max_execution_time_setting/explain.txt deleted file mode 100644 index f58e3fbdaf..0000000000 --- a/parser/testdata/03000_too_big_max_execution_time_setting/explain.txt +++ /dev/null @@ -1,6 +0,0 @@ -SelectWithUnionQuery (children 1) - ExpressionList (children 1) - SelectQuery (children 2) - ExpressionList (children 1) - Literal UInt64_1 - Set diff --git a/parser/testdata/03000_traverse_shadow_system_data_paths/explain_3.txt b/parser/testdata/03000_traverse_shadow_system_data_paths/explain_3.txt new file mode 100644 index 0000000000..e4842b8c2e --- /dev/null +++ b/parser/testdata/03000_traverse_shadow_system_data_paths/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 03000_traverse_shadow_system_data_path_table diff --git a/parser/testdata/03001_analyzer_nullable_nothing/explain.txt b/parser/testdata/03001_analyzer_nullable_nothing/explain.txt new file mode 100644 index 0000000000..a0c97235d8 --- /dev/null +++ b/parser/testdata/03001_analyzer_nullable_nothing/explain.txt @@ -0,0 +1,25 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Function count (children 1) + ExpressionList (children 1) + Function _CAST (children 1) + ExpressionList (children 2) + Literal NULL + Literal \'Nullable(Nothing)\' + Function round (alias k) (children 1) + ExpressionList (children 1) + Function avg (children 1) + ExpressionList (children 1) + Function _CAST (children 1) + ExpressionList (children 2) + Literal NULL + Literal \'Nullable(Nothing)\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_256 + Set diff --git a/parser/testdata/03001_data_version_column/explain_3.txt b/parser/testdata/03001_data_version_column/explain_3.txt new file mode 100644 index 0000000000..981c9b5970 --- /dev/null +++ b/parser/testdata/03001_data_version_column/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_data_version diff --git a/parser/testdata/03001_data_version_column/explain_4.txt b/parser/testdata/03001_data_version_column/explain_4.txt new file mode 100644 index 0000000000..981c9b5970 --- /dev/null +++ b/parser/testdata/03001_data_version_column/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_data_version diff --git a/parser/testdata/03001_data_version_column/explain_8.txt b/parser/testdata/03001_data_version_column/explain_8.txt new file mode 100644 index 0000000000..981c9b5970 --- /dev/null +++ b/parser/testdata/03001_data_version_column/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_data_version diff --git a/parser/testdata/01559_misplaced_codec_diagnostics/explain.txt b/parser/testdata/03001_max_parallel_replicas_zero_value/explain_3.txt similarity index 100% rename from parser/testdata/01559_misplaced_codec_diagnostics/explain.txt rename to parser/testdata/03001_max_parallel_replicas_zero_value/explain_3.txt diff --git a/parser/testdata/03002_int_div_decimal_with_date_bug/explain.txt b/parser/testdata/03002_int_div_decimal_with_date_bug/explain.txt index 87d14f9005..6784d9612e 100644 --- a/parser/testdata/03002_int_div_decimal_with_date_bug/explain.txt +++ b/parser/testdata/03002_int_div_decimal_with_date_bug/explain.txt @@ -10,4 +10,3 @@ SelectWithUnionQuery (children 1) Literal \'Decimal256(3)\' Function today (children 1) ExpressionList -The query succeeded but the server error '43' was expected (query: EXPLAIN AST SELECT intDiv(CAST('1.0', 'Decimal256(3)'), today()); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }). diff --git a/parser/testdata/03002_sample_factor_where/explain_3.txt b/parser/testdata/03002_sample_factor_where/explain_3.txt new file mode 100644 index 0000000000..8ea8bfdb98 --- /dev/null +++ b/parser/testdata/03002_sample_factor_where/explain_3.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t_sample_factor + ExpressionList (children 2) + Identifier a + Identifier b diff --git a/parser/testdata/03003_arrayEnumerate_crash/explain.txt b/parser/testdata/03003_arrayEnumerate_crash/explain.txt index 8cc15b835d..c91b1cc445 100644 --- a/parser/testdata/03003_arrayEnumerate_crash/explain.txt +++ b/parser/testdata/03003_arrayEnumerate_crash/explain.txt @@ -15,4 +15,3 @@ SelectWithUnionQuery (children 1) Function toLowCardinality (children 1) ExpressionList (children 1) Literal Int64_-9223372036854775808 -The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT arrayEnumerateUniqRanked(arrayEnumerateUniqRanked([[1, 2, 3], [2, 2, 1], [3]]), materialize(1 AS x) OR toLowCardinality(-9223372036854775808)); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/03003_compatibility_setting_bad_value/explain.txt b/parser/testdata/03003_compatibility_setting_bad_value/explain.txt deleted file mode 100644 index e75d70910c..0000000000 --- a/parser/testdata/03003_compatibility_setting_bad_value/explain.txt +++ /dev/null @@ -1,6 +0,0 @@ -SelectWithUnionQuery (children 1) - ExpressionList (children 1) - SelectQuery (children 2) - ExpressionList (children 1) - Literal UInt64_42 - Set diff --git a/parser/testdata/03003_count_asterisk_filter/explain_2.txt b/parser/testdata/03003_count_asterisk_filter/explain_2.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03003_count_asterisk_filter/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03003_count_asterisk_filter/explain_3.txt b/parser/testdata/03003_count_asterisk_filter/explain_3.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03003_count_asterisk_filter/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03003_count_asterisk_filter/explain_4.txt b/parser/testdata/03003_count_asterisk_filter/explain_4.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03003_count_asterisk_filter/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03003_functions_to_subcolumns_final/explain_8.txt b/parser/testdata/03003_functions_to_subcolumns_final/explain_8.txt new file mode 100644 index 0000000000..5223fcbaaa --- /dev/null +++ b/parser/testdata/03003_functions_to_subcolumns_final/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_length_1 diff --git a/parser/testdata/03003_functions_to_subcolumns_final/explain_9.txt b/parser/testdata/03003_functions_to_subcolumns_final/explain_9.txt new file mode 100644 index 0000000000..c048404f56 --- /dev/null +++ b/parser/testdata/03003_functions_to_subcolumns_final/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_length_2 diff --git a/parser/testdata/03005_input_function_in_join/explain_3.txt b/parser/testdata/03005_input_function_in_join/explain_3.txt new file mode 100644 index 0000000000..6f2df5dae4 --- /dev/null +++ b/parser/testdata/03005_input_function_in_join/explain_3.txt @@ -0,0 +1,31 @@ +InsertQuery (children 2) + Identifier test + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier x.number + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias x) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_10 + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Function input (alias y) (children 1) + ExpressionList (children 1) + Literal \'a UInt64\' + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier x.number + Identifier y.a diff --git a/parser/testdata/03006_analyzer_executable_table_function/explain.txt b/parser/testdata/03006_analyzer_executable_table_function/explain.txt new file mode 100644 index 0000000000..ae57a298f5 --- /dev/null +++ b/parser/testdata/03006_analyzer_executable_table_function/explain.txt @@ -0,0 +1,28 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function toFixedString (children 1) + ExpressionList (children 2) + Function toFixedString (children 1) + ExpressionList (children 2) + Function toLowCardinality (children 1) + ExpressionList (children 1) + Function toFixedString (children 1) + ExpressionList (children 2) + Literal \'--------------------\' + Function toNullable (children 1) + ExpressionList (children 1) + Literal UInt64_20 + Function toLowCardinality (children 1) + ExpressionList (children 1) + Literal UInt64_20 + Literal UInt64_20 + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function executable (children 1) + ExpressionList (children 2) + Literal \'data String\' + Set diff --git a/parser/testdata/03006_mv_deduplication_throw_if_async_insert/explain_5.txt b/parser/testdata/03006_mv_deduplication_throw_if_async_insert/explain_5.txt new file mode 100644 index 0000000000..b364f94673 --- /dev/null +++ b/parser/testdata/03006_mv_deduplication_throw_if_async_insert/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 03006_test diff --git a/parser/testdata/03006_mv_deduplication_throw_if_async_insert/explain_6.txt b/parser/testdata/03006_mv_deduplication_throw_if_async_insert/explain_6.txt new file mode 100644 index 0000000000..1469f8d92e --- /dev/null +++ b/parser/testdata/03006_mv_deduplication_throw_if_async_insert/explain_6.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 03006_test + Set diff --git a/parser/testdata/03006_mv_deduplication_throw_if_async_insert/explain_7.txt b/parser/testdata/03006_mv_deduplication_throw_if_async_insert/explain_7.txt new file mode 100644 index 0000000000..1469f8d92e --- /dev/null +++ b/parser/testdata/03006_mv_deduplication_throw_if_async_insert/explain_7.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 03006_test + Set diff --git a/parser/testdata/03006_mv_deduplication_throw_if_async_insert/explain_8.txt b/parser/testdata/03006_mv_deduplication_throw_if_async_insert/explain_8.txt new file mode 100644 index 0000000000..1469f8d92e --- /dev/null +++ b/parser/testdata/03006_mv_deduplication_throw_if_async_insert/explain_8.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 03006_test + Set diff --git a/parser/testdata/03006_mv_deduplication_throw_if_async_insert/explain_9.txt b/parser/testdata/03006_mv_deduplication_throw_if_async_insert/explain_9.txt new file mode 100644 index 0000000000..1469f8d92e --- /dev/null +++ b/parser/testdata/03006_mv_deduplication_throw_if_async_insert/explain_9.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 03006_test + Set diff --git a/parser/testdata/03006_parallel_replicas_prewhere/explain_8.txt b/parser/testdata/03006_parallel_replicas_prewhere/explain_8.txt new file mode 100644 index 0000000000..005d1755bb --- /dev/null +++ b/parser/testdata/03006_parallel_replicas_prewhere/explain_8.txt @@ -0,0 +1,25 @@ +Explain EXPLAIN ESTIMATE (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier url_na_log + Function and (children 1) + ExpressionList (children 2) + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Identifier DateVisit + Function toFixedString (children 1) + ExpressionList (children 2) + Literal \'2022-08-10\' + Literal UInt64_10 + Function lessOrEquals (children 1) + ExpressionList (children 2) + Identifier DateVisit + Literal \'2022-08-20\' + Set diff --git a/parser/testdata/03006_parallel_replicas_prewhere/explain_9.txt b/parser/testdata/03006_parallel_replicas_prewhere/explain_9.txt new file mode 100644 index 0000000000..005d1755bb --- /dev/null +++ b/parser/testdata/03006_parallel_replicas_prewhere/explain_9.txt @@ -0,0 +1,25 @@ +Explain EXPLAIN ESTIMATE (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier url_na_log + Function and (children 1) + ExpressionList (children 2) + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Identifier DateVisit + Function toFixedString (children 1) + ExpressionList (children 2) + Literal \'2022-08-10\' + Literal UInt64_10 + Function lessOrEquals (children 1) + ExpressionList (children 2) + Identifier DateVisit + Literal \'2022-08-20\' + Set diff --git a/parser/testdata/03008_deduplication_cases_from_docs/explain_12.txt b/parser/testdata/03008_deduplication_cases_from_docs/explain_12.txt new file mode 100644 index 0000000000..7e276cbfc4 --- /dev/null +++ b/parser/testdata/03008_deduplication_cases_from_docs/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dst diff --git a/parser/testdata/03008_deduplication_cases_from_docs/explain_16.txt b/parser/testdata/03008_deduplication_cases_from_docs/explain_16.txt new file mode 100644 index 0000000000..7e276cbfc4 --- /dev/null +++ b/parser/testdata/03008_deduplication_cases_from_docs/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dst diff --git a/parser/testdata/03008_deduplication_cases_from_docs/explain_30.txt b/parser/testdata/03008_deduplication_cases_from_docs/explain_30.txt new file mode 100644 index 0000000000..7e276cbfc4 --- /dev/null +++ b/parser/testdata/03008_deduplication_cases_from_docs/explain_30.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dst diff --git a/parser/testdata/03008_deduplication_cases_from_docs/explain_34.txt b/parser/testdata/03008_deduplication_cases_from_docs/explain_34.txt new file mode 100644 index 0000000000..7e276cbfc4 --- /dev/null +++ b/parser/testdata/03008_deduplication_cases_from_docs/explain_34.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dst diff --git a/parser/testdata/03008_deduplication_insert_into_partitioned_table/explain_19.txt b/parser/testdata/03008_deduplication_insert_into_partitioned_table/explain_19.txt new file mode 100644 index 0000000000..86f523ae3a --- /dev/null +++ b/parser/testdata/03008_deduplication_insert_into_partitioned_table/explain_19.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier partitioned_table + Set diff --git a/parser/testdata/03008_deduplication_insert_into_partitioned_table/explain_20.txt b/parser/testdata/03008_deduplication_insert_into_partitioned_table/explain_20.txt new file mode 100644 index 0000000000..86f523ae3a --- /dev/null +++ b/parser/testdata/03008_deduplication_insert_into_partitioned_table/explain_20.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier partitioned_table + Set diff --git a/parser/testdata/03008_deduplication_insert_into_partitioned_table/explain_21.txt b/parser/testdata/03008_deduplication_insert_into_partitioned_table/explain_21.txt new file mode 100644 index 0000000000..86f523ae3a --- /dev/null +++ b/parser/testdata/03008_deduplication_insert_into_partitioned_table/explain_21.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier partitioned_table + Set diff --git a/parser/testdata/03008_deduplication_insert_into_partitioned_table/explain_31.txt b/parser/testdata/03008_deduplication_insert_into_partitioned_table/explain_31.txt new file mode 100644 index 0000000000..86f523ae3a --- /dev/null +++ b/parser/testdata/03008_deduplication_insert_into_partitioned_table/explain_31.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier partitioned_table + Set diff --git a/parser/testdata/03008_deduplication_insert_into_partitioned_table/explain_32.txt b/parser/testdata/03008_deduplication_insert_into_partitioned_table/explain_32.txt new file mode 100644 index 0000000000..86f523ae3a --- /dev/null +++ b/parser/testdata/03008_deduplication_insert_into_partitioned_table/explain_32.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier partitioned_table + Set diff --git a/parser/testdata/03008_deduplication_insert_into_partitioned_table/explain_33.txt b/parser/testdata/03008_deduplication_insert_into_partitioned_table/explain_33.txt new file mode 100644 index 0000000000..86f523ae3a --- /dev/null +++ b/parser/testdata/03008_deduplication_insert_into_partitioned_table/explain_33.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier partitioned_table + Set diff --git a/parser/testdata/03008_deduplication_insert_into_partitioned_table/explain_7.txt b/parser/testdata/03008_deduplication_insert_into_partitioned_table/explain_7.txt new file mode 100644 index 0000000000..f5c10c4fa5 --- /dev/null +++ b/parser/testdata/03008_deduplication_insert_into_partitioned_table/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier partitioned_table diff --git a/parser/testdata/03008_deduplication_insert_into_partitioned_table/explain_8.txt b/parser/testdata/03008_deduplication_insert_into_partitioned_table/explain_8.txt new file mode 100644 index 0000000000..f5c10c4fa5 --- /dev/null +++ b/parser/testdata/03008_deduplication_insert_into_partitioned_table/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier partitioned_table diff --git a/parser/testdata/03008_deduplication_insert_into_partitioned_table/explain_9.txt b/parser/testdata/03008_deduplication_insert_into_partitioned_table/explain_9.txt new file mode 100644 index 0000000000..f5c10c4fa5 --- /dev/null +++ b/parser/testdata/03008_deduplication_insert_into_partitioned_table/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier partitioned_table diff --git a/parser/testdata/03008_deduplication_wrong_mv/explain_12.txt b/parser/testdata/03008_deduplication_wrong_mv/explain_12.txt new file mode 100644 index 0000000000..37b584e2c2 --- /dev/null +++ b/parser/testdata/03008_deduplication_wrong_mv/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier src diff --git a/parser/testdata/03008_deduplication_wrong_mv/explain_7.txt b/parser/testdata/03008_deduplication_wrong_mv/explain_7.txt new file mode 100644 index 0000000000..37b584e2c2 --- /dev/null +++ b/parser/testdata/03008_deduplication_wrong_mv/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier src diff --git a/parser/testdata/03008_groupSortedArray_field/explain.txt b/parser/testdata/03008_groupSortedArray_field/explain.txt new file mode 100644 index 0000000000..7113306c8f --- /dev/null +++ b/parser/testdata/03008_groupSortedArray_field/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function hex (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Function unhex (children 1) + ExpressionList (children 1) + Literal \'0A01003C79A557B3C43400C4865AA84C3B4B01000650BC18F7DE0B00FAAF43E708213401008ED706EA0A9F13007228F915F5602C0100C692CA8FB81405003A6D357047EB1A01008416B7C3239EE3FF7BE9483CDC61DC01003E133A7C081AF5FFC1ECC583F7E5EA01000000000000000000000000000000000100C4865AA84C3BCBFF3B79A557B3C4B4010024C46EF500F1ECFFDB3B910AFF0ED301005E2FC14EBAEAE5FFA1D03EB14515DA\' + Literal \'AggregateFunction(groupArraySorted(10), Decimal(38, 38))\' diff --git a/parser/testdata/03008_optimize_equal_ranges/explain_15.txt b/parser/testdata/03008_optimize_equal_ranges/explain_15.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03008_optimize_equal_ranges/explain_15.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03009_consecutive_keys_nullable/explain_13.txt b/parser/testdata/03009_consecutive_keys_nullable/explain_13.txt new file mode 100644 index 0000000000..01aea58483 --- /dev/null +++ b/parser/testdata/03009_consecutive_keys_nullable/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_nullable_keys_3 diff --git a/parser/testdata/03009_consecutive_keys_nullable/explain_18.txt b/parser/testdata/03009_consecutive_keys_nullable/explain_18.txt new file mode 100644 index 0000000000..9636810f07 --- /dev/null +++ b/parser/testdata/03009_consecutive_keys_nullable/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_nullable_keys_4 diff --git a/parser/testdata/03009_consecutive_keys_nullable/explain_23.txt b/parser/testdata/03009_consecutive_keys_nullable/explain_23.txt new file mode 100644 index 0000000000..10a834736b --- /dev/null +++ b/parser/testdata/03009_consecutive_keys_nullable/explain_23.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_nullable_keys_5 diff --git a/parser/testdata/03009_consecutive_keys_nullable/explain_28.txt b/parser/testdata/03009_consecutive_keys_nullable/explain_28.txt new file mode 100644 index 0000000000..b28a60520c --- /dev/null +++ b/parser/testdata/03009_consecutive_keys_nullable/explain_28.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_nullable_keys_6 diff --git a/parser/testdata/03009_consecutive_keys_nullable/explain_3.txt b/parser/testdata/03009_consecutive_keys_nullable/explain_3.txt new file mode 100644 index 0000000000..31e1f175fd --- /dev/null +++ b/parser/testdata/03009_consecutive_keys_nullable/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_nullable_keys_1 diff --git a/parser/testdata/03009_consecutive_keys_nullable/explain_31.txt b/parser/testdata/03009_consecutive_keys_nullable/explain_31.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03009_consecutive_keys_nullable/explain_31.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03009_consecutive_keys_nullable/explain_8.txt b/parser/testdata/03009_consecutive_keys_nullable/explain_8.txt new file mode 100644 index 0000000000..226d704218 --- /dev/null +++ b/parser/testdata/03009_consecutive_keys_nullable/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_nullable_keys_2 diff --git a/parser/testdata/03009_range_dict_get_or_default/explain_4.txt b/parser/testdata/03009_range_dict_get_or_default/explain_4.txt new file mode 100644 index 0000000000..3f4f26faef --- /dev/null +++ b/parser/testdata/03009_range_dict_get_or_default/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier range_dictionary_nullable_source_table diff --git a/parser/testdata/03010_file_log_large_poll_batch_size/explain.txt b/parser/testdata/03010_file_log_large_poll_batch_size/explain.txt index 16e1f3999e..0a9dc8534f 100644 --- a/parser/testdata/03010_file_log_large_poll_batch_size/explain.txt +++ b/parser/testdata/03010_file_log_large_poll_batch_size/explain.txt @@ -10,4 +10,3 @@ CreateQuery test (children 3) Literal \'./user_files/data.jsonl\' Literal \'JSONEachRow\' Set -The query succeeded but the server error '471' was expected (query: EXPLAIN AST create table test (number UInt64) engine=FileLog('./user_files/data.jsonl', 'JSONEachRow') settings poll_max_batch_size=18446744073709; -- {serverError INVALID_SETTING_VALUE}). diff --git a/parser/testdata/03010_read_system_parts_table_test/explain_3.txt b/parser/testdata/03010_read_system_parts_table_test/explain_3.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03010_read_system_parts_table_test/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03010_read_system_parts_table_test/explain_4.txt b/parser/testdata/03010_read_system_parts_table_test/explain_4.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03010_read_system_parts_table_test/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03012_prewhere_merge_distributed/explain_18.txt b/parser/testdata/03012_prewhere_merge_distributed/explain_18.txt new file mode 100644 index 0000000000..a315f5acae --- /dev/null +++ b/parser/testdata/03012_prewhere_merge_distributed/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_log diff --git a/parser/testdata/03012_prewhere_merge_distributed/explain_6.txt b/parser/testdata/03012_prewhere_merge_distributed/explain_6.txt new file mode 100644 index 0000000000..8732760e6f --- /dev/null +++ b/parser/testdata/03012_prewhere_merge_distributed/explain_6.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier test_distributed + ExpressionList (children 3) + Identifier name + Identifier date + Identifier sign diff --git a/parser/testdata/03013_test_part_level_is_reset_attach_from_disk_mt/explain_12.txt b/parser/testdata/03013_test_part_level_is_reset_attach_from_disk_mt/explain_12.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03013_test_part_level_is_reset_attach_from_disk_mt/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03013_test_part_level_is_reset_attach_from_disk_mt/explain_4.txt b/parser/testdata/03013_test_part_level_is_reset_attach_from_disk_mt/explain_4.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03013_test_part_level_is_reset_attach_from_disk_mt/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03014_analyzer_groupby_fuzz_60317/explain.txt b/parser/testdata/03014_analyzer_groupby_fuzz_60317/explain.txt new file mode 100644 index 0000000000..94de525a6a --- /dev/null +++ b/parser/testdata/03014_analyzer_groupby_fuzz_60317/explain.txt @@ -0,0 +1,39 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 3) + Function toNullable (alias a) (children 1) + ExpressionList (children 1) + Function materialize (children 1) + ExpressionList (children 1) + Function _CAST (children 1) + ExpressionList (children 2) + Literal UInt64_30 + Literal \'LowCardinality(UInt8)\' + Function _CAST (alias b) (children 1) + ExpressionList (children 2) + Literal UInt64_30 + Literal \'LowCardinality(UInt8)\' + Function makeDate (alias c) (children 1) + ExpressionList (children 3) + Function materialize (children 1) + ExpressionList (children 1) + Function _CAST (children 1) + ExpressionList (children 2) + Literal UInt64_30 + Literal \'LowCardinality(UInt8)\' + Literal UInt64_10 + Function _CAST (children 1) + ExpressionList (children 2) + Literal UInt64_30 + Literal \'Nullable(UInt8)\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.one + ExpressionList (children 1) + Function _CAST (children 1) + ExpressionList (children 2) + Literal UInt64_30 + Literal \'Nullable(UInt8)\' + Set diff --git a/parser/testdata/03014_async_with_dedup_part_log_rmt/explain.txt b/parser/testdata/03014_async_with_dedup_part_log_rmt/explain.txt index 2235be4b6c..84fdf1c99f 100644 --- a/parser/testdata/03014_async_with_dedup_part_log_rmt/explain.txt +++ b/parser/testdata/03014_async_with_dedup_part_log_rmt/explain.txt @@ -1,6 +1,13 @@ -CreateQuery 03014_async_with_dedup_part_log (children 2) +CreateQuery 03014_async_with_dedup_part_log (children 3) Identifier 03014_async_with_dedup_part_log Columns definition (children 1) ExpressionList (children 1) ColumnDeclaration x (children 1) DataType UInt64 + Storage definition (children 2) + Function ReplicatedMergeTree (children 1) + ExpressionList (children 2) + Literal \'/clickhouse/table/{database}/03014_async_with_dedup_part_log\' + Literal \'r1\' + Function tuple (children 1) + ExpressionList diff --git a/parser/testdata/03014_async_with_dedup_part_log_rmt/explain_10.txt b/parser/testdata/03014_async_with_dedup_part_log_rmt/explain_10.txt new file mode 100644 index 0000000000..9c52544852 --- /dev/null +++ b/parser/testdata/03014_async_with_dedup_part_log_rmt/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 03014_async_with_dedup_part_log diff --git a/parser/testdata/03014_async_with_dedup_part_log_rmt/explain_11.txt b/parser/testdata/03014_async_with_dedup_part_log_rmt/explain_11.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03014_async_with_dedup_part_log_rmt/explain_11.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03014_async_with_dedup_part_log_rmt/explain_6.txt b/parser/testdata/03014_async_with_dedup_part_log_rmt/explain_6.txt new file mode 100644 index 0000000000..9c52544852 --- /dev/null +++ b/parser/testdata/03014_async_with_dedup_part_log_rmt/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 03014_async_with_dedup_part_log diff --git a/parser/testdata/03014_async_with_dedup_part_log_rmt/explain_7.txt b/parser/testdata/03014_async_with_dedup_part_log_rmt/explain_7.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03014_async_with_dedup_part_log_rmt/explain_7.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03014_msan_parse_date_time/explain.txt b/parser/testdata/03014_msan_parse_date_time/explain.txt index f4d8f00056..a356c38230 100644 --- a/parser/testdata/03014_msan_parse_date_time/explain.txt +++ b/parser/testdata/03014_msan_parse_date_time/explain.txt @@ -8,4 +8,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Literal \'01/12/2017,\' Literal UInt64_11 -The query succeeded but the server error '41' was expected (query: EXPLAIN AST SELECT parseDateTimeBestEffort(toFixedString('01/12/2017,', 11)); -- { serverError CANNOT_PARSE_DATETIME }). diff --git a/parser/testdata/03015_analyzer_groupby_fuzz_60772/explain.txt b/parser/testdata/03015_analyzer_groupby_fuzz_60772/explain.txt index fc4fe57b79..e3b9aa2c62 100644 --- a/parser/testdata/03015_analyzer_groupby_fuzz_60772/explain.txt +++ b/parser/testdata/03015_analyzer_groupby_fuzz_60772/explain.txt @@ -1,7 +1,7 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) - SelectQuery (children 1) - ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 3) Function toFixedString (children 1) ExpressionList (children 2) Function toFixedString (children 1) @@ -27,3 +27,32 @@ SelectWithUnionQuery (children 1) Literal UInt64_2 Literal UInt64_2 Literal UInt64_2 + Function toFixedString (children 1) + ExpressionList (children 2) + Function toFixedString (children 1) + ExpressionList (children 2) + Literal \'2018-01-02 22:33:44\' + Literal UInt64_19 + Literal UInt64_19 + Function hasSubsequence (children 1) + ExpressionList (children 2) + Function toNullable (children 1) + ExpressionList (children 1) + Function materialize (children 1) + ExpressionList (children 1) + Function toLowCardinality (children 1) + ExpressionList (children 1) + Literal \'garbage\' + Literal \'gr\' + ExpressionList (children 4) + Literal \'2018-01-02 22:33:44\' + Function toFixedString (children 1) + ExpressionList (children 2) + Function toFixedString (children 1) + ExpressionList (children 2) + Literal \'2018-01-02 22:33:44\' + Literal UInt64_19 + Literal UInt64_19 + Literal \'gr\' + Literal \'2018-01-02 22:33:44\' + Set diff --git a/parser/testdata/03015_peder1001/explain_3.txt b/parser/testdata/03015_peder1001/explain_3.txt new file mode 100644 index 0000000000..f25bd63fa6 --- /dev/null +++ b/parser/testdata/03015_peder1001/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test_data + ExpressionList (children 1) + Identifier ShipmentDate diff --git a/parser/testdata/03015_with_fill_invalid_expression/explain.txt b/parser/testdata/03015_with_fill_invalid_expression/explain.txt index 097e9da6ba..ab22d951c3 100644 --- a/parser/testdata/03015_with_fill_invalid_expression/explain.txt +++ b/parser/testdata/03015_with_fill_invalid_expression/explain.txt @@ -31,4 +31,3 @@ SelectWithUnionQuery (children 1) Identifier y Literal UInt64_2 Literal UInt64_5 -The query succeeded but the server error '475' was expected (query: EXPLAIN AST select number as x, number + 1 as y from numbers(5) where number % 3 == 1 order by y, x with fill from 1 to 4, y with fill from 2 to 5; -- {serverError INVALID_WITH_FILL_EXPRESSION}). diff --git a/parser/testdata/03016_analyzer_groupby_fuzz_59796/explain.txt b/parser/testdata/03016_analyzer_groupby_fuzz_59796/explain.txt new file mode 100644 index 0000000000..d24c8b6319 --- /dev/null +++ b/parser/testdata/03016_analyzer_groupby_fuzz_59796/explain.txt @@ -0,0 +1,98 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function concat (alias haystack) (children 1) + ExpressionList (children 3) + Function concat (children 1) + ExpressionList (children 3) + Function unhex (children 1) + ExpressionList (children 1) + Literal \'00\' + Function concat (children 1) + ExpressionList (children 3) + Function unhex (children 1) + ExpressionList (children 1) + Literal \'00\' + Function concat (children 1) + ExpressionList (children 4) + Function unhex (children 1) + ExpressionList (children 1) + Function toFixedString (children 1) + ExpressionList (children 2) + Literal \'00\' + Literal UInt64_2 + Function toFixedString (children 1) + ExpressionList (children 2) + Function toFixedString (children 1) + ExpressionList (children 2) + Literal \' key="v" \' + Literal UInt64_9 + Literal UInt64_9 + Function concat (children 1) + ExpressionList (children 2) + Function unhex (children 1) + ExpressionList (children 1) + Literal \'00\' + Function toFixedString (children 1) + ExpressionList (children 2) + Literal \' key="v" \' + Literal UInt64_9 + Function toFixedString (children 1) + ExpressionList (children 2) + Function materialize (children 1) + ExpressionList (children 1) + Function toLowCardinality (children 1) + ExpressionList (children 1) + Literal \' key="v" \' + Literal UInt64_9 + Function toFixedString (children 1) + ExpressionList (children 2) + Literal \' key="v" \' + Literal UInt64_9 + Function toFixedString (children 1) + ExpressionList (children 2) + Literal \' key="v" \' + Literal UInt64_9 + Function unhex (children 1) + ExpressionList (children 1) + Literal \'00\' + Literal \' key="v" \' + ExpressionList (children 2) + Function concat (children 1) + ExpressionList (children 4) + Function unhex (children 1) + ExpressionList (children 1) + Literal \'00\' + Function toFixedString (children 1) + ExpressionList (children 2) + Function materialize (children 1) + ExpressionList (children 1) + Function toFixedString (children 1) + ExpressionList (children 2) + Literal \' key="v" \' + Literal UInt64_9 + Literal UInt64_9 + Function toFixedString (children 1) + ExpressionList (children 2) + Function toFixedString (children 1) + ExpressionList (children 2) + Literal \'00\' + Literal UInt64_2 + Function toNullable (children 1) + ExpressionList (children 1) + Literal UInt64_2 + Function toFixedString (children 1) + ExpressionList (children 2) + Function toFixedString (children 1) + ExpressionList (children 2) + Function toFixedString (children 1) + ExpressionList (children 2) + Literal \' key="v" \' + Literal UInt64_9 + Literal UInt64_9 + Literal UInt64_9 + Function concat (children 1) + ExpressionList (children 1) + Literal \' key="v" \' + Set diff --git a/parser/testdata/03017_analyzer_groupby_fuzz_61600/explain.txt b/parser/testdata/03017_analyzer_groupby_fuzz_61600/explain.txt index eebe736a88..fc51879d59 100644 --- a/parser/testdata/03017_analyzer_groupby_fuzz_61600/explain.txt +++ b/parser/testdata/03017_analyzer_groupby_fuzz_61600/explain.txt @@ -1,4 +1,4 @@ -CreateQuery set_index_not__fuzz_0 (children 2) +CreateQuery set_index_not__fuzz_0 (children 3) Identifier set_index_not__fuzz_0 Columns definition (children 2) ExpressionList (children 2) @@ -21,3 +21,7 @@ CreateQuery set_index_not__fuzz_0 (children 2) Function set (children 1) ExpressionList (children 1) Literal UInt64_2 + Storage definition (children 3) + Function MergeTree + Identifier name + Set diff --git a/parser/testdata/03018_analyzer_greater_null/explain.txt b/parser/testdata/03018_analyzer_greater_null/explain.txt new file mode 100644 index 0000000000..88691ecd84 --- /dev/null +++ b/parser/testdata/03018_analyzer_greater_null/explain.txt @@ -0,0 +1,28 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function greater (alias a) (children 1) + ExpressionList (children 2) + Function max (children 1) + ExpressionList (children 1) + Function greater (children 1) + ExpressionList (children 2) + Literal NULL + Literal UInt64_255 + Literal NULL + Function greater (children 1) + ExpressionList (children 2) + Function count (children 1) + ExpressionList (children 1) + Function greater (children 1) + ExpressionList (children 2) + Literal NULL + Literal Float64_1 + Literal UInt64_1048577 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 diff --git a/parser/testdata/03022_alter_materialized_view_query_has_inner_table/explain_5.txt b/parser/testdata/03022_alter_materialized_view_query_has_inner_table/explain_5.txt new file mode 100644 index 0000000000..d7e3644a23 --- /dev/null +++ b/parser/testdata/03022_alter_materialized_view_query_has_inner_table/explain_5.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier src_table + ExpressionList (children 2) + Identifier a + Identifier b diff --git a/parser/testdata/03022_highlight_digit_groups/explain_3.txt b/parser/testdata/03022_highlight_digit_groups/explain_3.txt index dd2fd0acc7..1d67dc8138 100644 --- a/parser/testdata/03022_highlight_digit_groups/explain_3.txt +++ b/parser/testdata/03022_highlight_digit_groups/explain_3.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 1) Function multiply (children 1) ExpressionList (children 2) @@ -21,6 +21,5 @@ SelectWithUnionQuery (children 3) Function numbers (children 1) ExpressionList (children 1) Literal UInt64_30 - Set Identifier PrettySpace Set diff --git a/parser/testdata/03022_highlight_digit_groups/explain_4.txt b/parser/testdata/03022_highlight_digit_groups/explain_4.txt index 97b15e5243..fd4cd7d21a 100644 --- a/parser/testdata/03022_highlight_digit_groups/explain_4.txt +++ b/parser/testdata/03022_highlight_digit_groups/explain_4.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 1) Function exp10 (children 1) ExpressionList (children 1) @@ -11,6 +11,5 @@ SelectWithUnionQuery (children 3) Function numbers (children 1) ExpressionList (children 1) Literal UInt64_10 - Set Identifier PrettySpace Set diff --git a/parser/testdata/03022_highlight_digit_groups/explain_6.txt b/parser/testdata/03022_highlight_digit_groups/explain_6.txt index a48d46eb8c..4c66deea58 100644 --- a/parser/testdata/03022_highlight_digit_groups/explain_6.txt +++ b/parser/testdata/03022_highlight_digit_groups/explain_6.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 1) Function plus (children 1) ExpressionList (children 2) @@ -18,6 +18,5 @@ SelectWithUnionQuery (children 3) Function numbers (children 1) ExpressionList (children 1) Literal UInt64_10 - Set Identifier PrettySpace Set diff --git a/parser/testdata/03023_group_by_use_nulls_analyzer_crashes/explain_5.txt b/parser/testdata/03023_group_by_use_nulls_analyzer_crashes/explain_5.txt index e4dd5ee79e..30cea52d48 100644 --- a/parser/testdata/03023_group_by_use_nulls_analyzer_crashes/explain_5.txt +++ b/parser/testdata/03023_group_by_use_nulls_analyzer_crashes/explain_5.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 5) + SelectQuery (children 4) ExpressionList (children 2) Function ignore (children 1) ExpressionList (children 3) @@ -29,6 +29,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) ExpressionList (children 1) Literal UInt64_2 - Set Identifier Null Set diff --git a/parser/testdata/03031_filter_float64_logical_error/explain_6.txt b/parser/testdata/03031_filter_float64_logical_error/explain_6.txt new file mode 100644 index 0000000000..7a8c4ae1c1 --- /dev/null +++ b/parser/testdata/03031_filter_float64_logical_error/explain_6.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 2) + Function count (children 1) + ExpressionList (children 1) + Literal \'9223372036854775806\' + Literal UInt64_7 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier 03031_test + Function and (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier id + Literal NULL + Literal UInt64_1024 + Literal Float64_0.0001 + ExpressionList (children 1) + Literal \'0.03\' + Set diff --git a/parser/testdata/03031_low_cardinality_logical_error/explain.txt b/parser/testdata/03031_low_cardinality_logical_error/explain.txt index 1ab57409e3..e2af940694 100644 --- a/parser/testdata/03031_low_cardinality_logical_error/explain.txt +++ b/parser/testdata/03031_low_cardinality_logical_error/explain.txt @@ -11,9 +11,16 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 3) ExpressionList (children 2) - Function CAST (children 1) + Function CAST (alias item_id) (children 1) ExpressionList (children 2) - Literal \'[toString(number % 2)]\' + Function array (children 1) + ExpressionList (children 1) + Function toString (children 1) + ExpressionList (children 1) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 Literal \'Array(LowCardinality(String))\' Function count (children 1) ExpressionList @@ -32,9 +39,19 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 2) ExpressionList (children 1) - Function CAST (children 1) + Function CAST (alias item_id) (children 1) ExpressionList (children 2) - Literal \'[toString(number % 2 * 2)]\' + Function array (children 1) + ExpressionList (children 1) + Function toString (children 1) + ExpressionList (children 1) + Function multiply (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + Literal UInt64_2 Literal \'Array(String)\' TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) @@ -54,4 +71,3 @@ SelectWithUnionQuery (children 1) Literal UInt64_2 OrderByElement (children 1) Literal UInt64_3 - diff --git a/parser/testdata/03031_read_in_order_optimization_with_virtual_row/explain_13.txt b/parser/testdata/03031_read_in_order_optimization_with_virtual_row/explain_13.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03031_read_in_order_optimization_with_virtual_row/explain_13.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03031_read_in_order_optimization_with_virtual_row/explain_17.txt b/parser/testdata/03031_read_in_order_optimization_with_virtual_row/explain_17.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03031_read_in_order_optimization_with_virtual_row/explain_17.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03031_read_in_order_optimization_with_virtual_row/explain_21.txt b/parser/testdata/03031_read_in_order_optimization_with_virtual_row/explain_21.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03031_read_in_order_optimization_with_virtual_row/explain_21.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03031_read_in_order_optimization_with_virtual_row/explain_28.txt b/parser/testdata/03031_read_in_order_optimization_with_virtual_row/explain_28.txt new file mode 100644 index 0000000000..f95191b0ee --- /dev/null +++ b/parser/testdata/03031_read_in_order_optimization_with_virtual_row/explain_28.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier fixed_prefix diff --git a/parser/testdata/03031_read_in_order_optimization_with_virtual_row/explain_29.txt b/parser/testdata/03031_read_in_order_optimization_with_virtual_row/explain_29.txt new file mode 100644 index 0000000000..f95191b0ee --- /dev/null +++ b/parser/testdata/03031_read_in_order_optimization_with_virtual_row/explain_29.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier fixed_prefix diff --git a/parser/testdata/03031_read_in_order_optimization_with_virtual_row/explain_35.txt b/parser/testdata/03031_read_in_order_optimization_with_virtual_row/explain_35.txt new file mode 100644 index 0000000000..b1d486b584 --- /dev/null +++ b/parser/testdata/03031_read_in_order_optimization_with_virtual_row/explain_35.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier function_pk diff --git a/parser/testdata/03031_read_in_order_optimization_with_virtual_row/explain_36.txt b/parser/testdata/03031_read_in_order_optimization_with_virtual_row/explain_36.txt new file mode 100644 index 0000000000..b1d486b584 --- /dev/null +++ b/parser/testdata/03031_read_in_order_optimization_with_virtual_row/explain_36.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier function_pk diff --git a/parser/testdata/03031_read_in_order_optimization_with_virtual_row/explain_37.txt b/parser/testdata/03031_read_in_order_optimization_with_virtual_row/explain_37.txt new file mode 100644 index 0000000000..b1d486b584 --- /dev/null +++ b/parser/testdata/03031_read_in_order_optimization_with_virtual_row/explain_37.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier function_pk diff --git a/parser/testdata/03031_read_in_order_optimization_with_virtual_row/explain_9.txt b/parser/testdata/03031_read_in_order_optimization_with_virtual_row/explain_9.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03031_read_in_order_optimization_with_virtual_row/explain_9.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03031_read_in_order_optimization_with_virtual_row_special/explain_6.txt b/parser/testdata/03031_read_in_order_optimization_with_virtual_row_special/explain_6.txt new file mode 100644 index 0000000000..6a92ce6957 --- /dev/null +++ b/parser/testdata/03031_read_in_order_optimization_with_virtual_row_special/explain_6.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier src + ExpressionList (children 1) + Identifier s diff --git a/parser/testdata/03033_analyzer_merge_engine_filter_push_down/explain_4.txt b/parser/testdata/03033_analyzer_merge_engine_filter_push_down/explain_4.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03033_analyzer_merge_engine_filter_push_down/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03033_analyzer_resolve_from_parent_scope/explain_4.txt b/parser/testdata/03033_analyzer_resolve_from_parent_scope/explain_4.txt index c42f53725f..e25c94a201 100644 --- a/parser/testdata/03033_analyzer_resolve_from_parent_scope/explain_4.txt +++ b/parser/testdata/03033_analyzer_resolve_from_parent_scope/explain_4.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 2) - SelectQuery (children 4) + SelectQuery (children 3) ExpressionList (children 1) WithElement (children 1) Subquery (children 1) @@ -25,8 +25,7 @@ SelectWithUnionQuery (children 3) TablesInSelectQueryElement (children 1) TableExpression (children 1) TableIdentifier t - Set - SelectQuery (children 5) + SelectQuery (children 4) ExpressionList (children 2) Literal UInt64_5 (alias a) Identifier x @@ -39,7 +38,6 @@ SelectWithUnionQuery (children 3) Identifier a OrderByElement (children 1) Identifier x - Set ExpressionList (children 1) WithElement (children 1) Subquery (children 1) diff --git a/parser/testdata/03033_dist_settings.optimize_skip_unused_shards_rewrite_in_composite_sharding_key/explain_5.txt b/parser/testdata/03033_dist_settings.optimize_skip_unused_shards_rewrite_in_composite_sharding_key/explain_5.txt new file mode 100644 index 0000000000..54031c7f31 --- /dev/null +++ b/parser/testdata/03033_dist_settings.optimize_skip_unused_shards_rewrite_in_composite_sharding_key/explain_5.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier dt + Set diff --git a/parser/testdata/03033_dist_settings.optimize_skip_unused_shards_rewrite_in_composite_sharding_key/explain_6.txt b/parser/testdata/03033_dist_settings.optimize_skip_unused_shards_rewrite_in_composite_sharding_key/explain_6.txt new file mode 100644 index 0000000000..54031c7f31 --- /dev/null +++ b/parser/testdata/03033_dist_settings.optimize_skip_unused_shards_rewrite_in_composite_sharding_key/explain_6.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier dt + Set diff --git a/parser/testdata/03033_dynamic_text_serialization/explain_16.txt b/parser/testdata/03033_dynamic_text_serialization/explain_16.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03033_dynamic_text_serialization/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03033_final_undefined_last_mark/explain_4.txt b/parser/testdata/03033_final_undefined_last_mark/explain_4.txt new file mode 100644 index 0000000000..89b7095982 --- /dev/null +++ b/parser/testdata/03033_final_undefined_last_mark/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier account_test diff --git a/parser/testdata/03033_final_undefined_last_mark/explain_5.txt b/parser/testdata/03033_final_undefined_last_mark/explain_5.txt new file mode 100644 index 0000000000..89b7095982 --- /dev/null +++ b/parser/testdata/03033_final_undefined_last_mark/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier account_test diff --git a/parser/testdata/03033_lightweight_deletes_sync/explain_3.txt b/parser/testdata/03033_lightweight_deletes_sync/explain_3.txt new file mode 100644 index 0000000000..3f9a67ed15 --- /dev/null +++ b/parser/testdata/03033_lightweight_deletes_sync/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_lightweight_deletes diff --git a/parser/testdata/03033_recursive_cte_basic/explain_16.txt b/parser/testdata/03033_recursive_cte_basic/explain_16.txt index 4da1953616..10d69dbbbb 100644 --- a/parser/testdata/03033_recursive_cte_basic/explain_16.txt +++ b/parser/testdata/03033_recursive_cte_basic/explain_16.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 4) + SelectQuery (children 3) ExpressionList (children 1) WithElement (children 1) Subquery (children 1) @@ -37,6 +37,5 @@ SelectWithUnionQuery (children 3) TablesInSelectQueryElement (children 1) TableExpression (children 1) TableIdentifier recursive_cte - Set Identifier Null Set diff --git a/parser/testdata/03033_tupleIntXYZ_and_tupleModulo/explain.txt b/parser/testdata/03033_tupleIntXYZ_and_tupleModulo/explain.txt index b62065dc6c..cd246a66a1 100644 --- a/parser/testdata/03033_tupleIntXYZ_and_tupleModulo/explain.txt +++ b/parser/testdata/03033_tupleIntXYZ_and_tupleModulo/explain.txt @@ -6,4 +6,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Literal Tuple_(UInt64_15, UInt64_10, UInt64_5) Literal Tuple_(UInt64_0, UInt64_0, UInt64_0) -The query succeeded but the server error '153' was expected (query: EXPLAIN AST SELECT tupleIntDiv((15, 10, 5), (0, 0, 0)); -- { serverError ILLEGAL_DIVISION }). diff --git a/parser/testdata/03034_ddls_and_merges_with_unusual_maps/explain_10.txt b/parser/testdata/03034_ddls_and_merges_with_unusual_maps/explain_10.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/03034_ddls_and_merges_with_unusual_maps/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/03034_ddls_and_merges_with_unusual_maps/explain_11.txt b/parser/testdata/03034_ddls_and_merges_with_unusual_maps/explain_11.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/03034_ddls_and_merges_with_unusual_maps/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/03034_ddls_and_merges_with_unusual_maps/explain_17.txt b/parser/testdata/03034_ddls_and_merges_with_unusual_maps/explain_17.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/03034_ddls_and_merges_with_unusual_maps/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/03034_dynamic_conversions/explain_21.txt b/parser/testdata/03034_dynamic_conversions/explain_21.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03034_dynamic_conversions/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03034_recursive_cte_tree/explain_4.txt b/parser/testdata/03034_recursive_cte_tree/explain_4.txt new file mode 100644 index 0000000000..4028b669b4 --- /dev/null +++ b/parser/testdata/03034_recursive_cte_tree/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tree diff --git a/parser/testdata/03034_recursive_cte_tree_fuzz_crash_fix/explain_10.txt b/parser/testdata/03034_recursive_cte_tree_fuzz_crash_fix/explain_10.txt new file mode 100644 index 0000000000..b560d353e5 --- /dev/null +++ b/parser/testdata/03034_recursive_cte_tree_fuzz_crash_fix/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier department__fuzz_1 diff --git a/parser/testdata/03034_recursive_cte_tree_fuzz_crash_fix/explain_11.txt b/parser/testdata/03034_recursive_cte_tree_fuzz_crash_fix/explain_11.txt new file mode 100644 index 0000000000..b560d353e5 --- /dev/null +++ b/parser/testdata/03034_recursive_cte_tree_fuzz_crash_fix/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier department__fuzz_1 diff --git a/parser/testdata/03034_recursive_cte_tree_fuzz_crash_fix/explain_12.txt b/parser/testdata/03034_recursive_cte_tree_fuzz_crash_fix/explain_12.txt new file mode 100644 index 0000000000..b560d353e5 --- /dev/null +++ b/parser/testdata/03034_recursive_cte_tree_fuzz_crash_fix/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier department__fuzz_1 diff --git a/parser/testdata/03034_recursive_cte_tree_fuzz_crash_fix/explain_13.txt b/parser/testdata/03034_recursive_cte_tree_fuzz_crash_fix/explain_13.txt new file mode 100644 index 0000000000..b560d353e5 --- /dev/null +++ b/parser/testdata/03034_recursive_cte_tree_fuzz_crash_fix/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier department__fuzz_1 diff --git a/parser/testdata/03034_recursive_cte_tree_fuzz_crash_fix/explain_16.txt b/parser/testdata/03034_recursive_cte_tree_fuzz_crash_fix/explain_16.txt new file mode 100644 index 0000000000..46a4ad8262 --- /dev/null +++ b/parser/testdata/03034_recursive_cte_tree_fuzz_crash_fix/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier department__fuzz_3 diff --git a/parser/testdata/03034_recursive_cte_tree_fuzz_crash_fix/explain_17.txt b/parser/testdata/03034_recursive_cte_tree_fuzz_crash_fix/explain_17.txt new file mode 100644 index 0000000000..46a4ad8262 --- /dev/null +++ b/parser/testdata/03034_recursive_cte_tree_fuzz_crash_fix/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier department__fuzz_3 diff --git a/parser/testdata/03034_recursive_cte_tree_fuzz_crash_fix/explain_18.txt b/parser/testdata/03034_recursive_cte_tree_fuzz_crash_fix/explain_18.txt new file mode 100644 index 0000000000..46a4ad8262 --- /dev/null +++ b/parser/testdata/03034_recursive_cte_tree_fuzz_crash_fix/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier department__fuzz_3 diff --git a/parser/testdata/03034_recursive_cte_tree_fuzz_crash_fix/explain_19.txt b/parser/testdata/03034_recursive_cte_tree_fuzz_crash_fix/explain_19.txt new file mode 100644 index 0000000000..46a4ad8262 --- /dev/null +++ b/parser/testdata/03034_recursive_cte_tree_fuzz_crash_fix/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier department__fuzz_3 diff --git a/parser/testdata/03034_recursive_cte_tree_fuzz_crash_fix/explain_20.txt b/parser/testdata/03034_recursive_cte_tree_fuzz_crash_fix/explain_20.txt new file mode 100644 index 0000000000..46a4ad8262 --- /dev/null +++ b/parser/testdata/03034_recursive_cte_tree_fuzz_crash_fix/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier department__fuzz_3 diff --git a/parser/testdata/03034_recursive_cte_tree_fuzz_crash_fix/explain_21.txt b/parser/testdata/03034_recursive_cte_tree_fuzz_crash_fix/explain_21.txt new file mode 100644 index 0000000000..46a4ad8262 --- /dev/null +++ b/parser/testdata/03034_recursive_cte_tree_fuzz_crash_fix/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier department__fuzz_3 diff --git a/parser/testdata/03034_recursive_cte_tree_fuzz_crash_fix/explain_22.txt b/parser/testdata/03034_recursive_cte_tree_fuzz_crash_fix/explain_22.txt new file mode 100644 index 0000000000..46a4ad8262 --- /dev/null +++ b/parser/testdata/03034_recursive_cte_tree_fuzz_crash_fix/explain_22.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier department__fuzz_3 diff --git a/parser/testdata/03034_recursive_cte_tree_fuzz_crash_fix/explain_23.txt b/parser/testdata/03034_recursive_cte_tree_fuzz_crash_fix/explain_23.txt new file mode 100644 index 0000000000..46a4ad8262 --- /dev/null +++ b/parser/testdata/03034_recursive_cte_tree_fuzz_crash_fix/explain_23.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier department__fuzz_3 diff --git a/parser/testdata/03034_recursive_cte_tree_fuzz_crash_fix/explain_6.txt b/parser/testdata/03034_recursive_cte_tree_fuzz_crash_fix/explain_6.txt new file mode 100644 index 0000000000..b560d353e5 --- /dev/null +++ b/parser/testdata/03034_recursive_cte_tree_fuzz_crash_fix/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier department__fuzz_1 diff --git a/parser/testdata/03034_recursive_cte_tree_fuzz_crash_fix/explain_7.txt b/parser/testdata/03034_recursive_cte_tree_fuzz_crash_fix/explain_7.txt new file mode 100644 index 0000000000..b560d353e5 --- /dev/null +++ b/parser/testdata/03034_recursive_cte_tree_fuzz_crash_fix/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier department__fuzz_1 diff --git a/parser/testdata/03034_recursive_cte_tree_fuzz_crash_fix/explain_8.txt b/parser/testdata/03034_recursive_cte_tree_fuzz_crash_fix/explain_8.txt new file mode 100644 index 0000000000..b560d353e5 --- /dev/null +++ b/parser/testdata/03034_recursive_cte_tree_fuzz_crash_fix/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier department__fuzz_1 diff --git a/parser/testdata/03034_recursive_cte_tree_fuzz_crash_fix/explain_9.txt b/parser/testdata/03034_recursive_cte_tree_fuzz_crash_fix/explain_9.txt new file mode 100644 index 0000000000..b560d353e5 --- /dev/null +++ b/parser/testdata/03034_recursive_cte_tree_fuzz_crash_fix/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier department__fuzz_1 diff --git a/parser/testdata/03034_recursive_cte_tree_merge_tree/explain_11.txt b/parser/testdata/03034_recursive_cte_tree_merge_tree/explain_11.txt new file mode 100644 index 0000000000..4137eded66 --- /dev/null +++ b/parser/testdata/03034_recursive_cte_tree_merge_tree/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier department diff --git a/parser/testdata/03034_recursive_cte_tree_merge_tree/explain_12.txt b/parser/testdata/03034_recursive_cte_tree_merge_tree/explain_12.txt new file mode 100644 index 0000000000..4137eded66 --- /dev/null +++ b/parser/testdata/03034_recursive_cte_tree_merge_tree/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier department diff --git a/parser/testdata/03034_recursive_cte_tree_merge_tree/explain_13.txt b/parser/testdata/03034_recursive_cte_tree_merge_tree/explain_13.txt new file mode 100644 index 0000000000..4137eded66 --- /dev/null +++ b/parser/testdata/03034_recursive_cte_tree_merge_tree/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier department diff --git a/parser/testdata/03034_recursive_cte_tree_merge_tree/explain_14.txt b/parser/testdata/03034_recursive_cte_tree_merge_tree/explain_14.txt new file mode 100644 index 0000000000..4137eded66 --- /dev/null +++ b/parser/testdata/03034_recursive_cte_tree_merge_tree/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier department diff --git a/parser/testdata/03034_recursive_cte_tree_merge_tree/explain_15.txt b/parser/testdata/03034_recursive_cte_tree_merge_tree/explain_15.txt new file mode 100644 index 0000000000..4137eded66 --- /dev/null +++ b/parser/testdata/03034_recursive_cte_tree_merge_tree/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier department diff --git a/parser/testdata/03034_recursive_cte_tree_merge_tree/explain_16.txt b/parser/testdata/03034_recursive_cte_tree_merge_tree/explain_16.txt new file mode 100644 index 0000000000..4137eded66 --- /dev/null +++ b/parser/testdata/03034_recursive_cte_tree_merge_tree/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier department diff --git a/parser/testdata/03034_recursive_cte_tree_merge_tree/explain_17.txt b/parser/testdata/03034_recursive_cte_tree_merge_tree/explain_17.txt new file mode 100644 index 0000000000..4137eded66 --- /dev/null +++ b/parser/testdata/03034_recursive_cte_tree_merge_tree/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier department diff --git a/parser/testdata/03034_recursive_cte_tree_merge_tree/explain_18.txt b/parser/testdata/03034_recursive_cte_tree_merge_tree/explain_18.txt new file mode 100644 index 0000000000..4137eded66 --- /dev/null +++ b/parser/testdata/03034_recursive_cte_tree_merge_tree/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier department diff --git a/parser/testdata/03034_recursive_cte_tree_merge_tree/explain_4.txt b/parser/testdata/03034_recursive_cte_tree_merge_tree/explain_4.txt new file mode 100644 index 0000000000..4028b669b4 --- /dev/null +++ b/parser/testdata/03034_recursive_cte_tree_merge_tree/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tree diff --git a/parser/testdata/03035_alias_column_bug_distributed/explain_6.txt b/parser/testdata/03035_alias_column_bug_distributed/explain_6.txt new file mode 100644 index 0000000000..5b0ab7c722 --- /dev/null +++ b/parser/testdata/03035_alias_column_bug_distributed/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier alias_bug diff --git a/parser/testdata/03035_argMinMax_numeric_non_extreme_bug/explain.txt b/parser/testdata/03035_argMinMax_numeric_non_extreme_bug/explain.txt index 40ff831419..145db881e4 100644 --- a/parser/testdata/03035_argMinMax_numeric_non_extreme_bug/explain.txt +++ b/parser/testdata/03035_argMinMax_numeric_non_extreme_bug/explain.txt @@ -2,17 +2,25 @@ CreateQuery test (children 3) Identifier test Columns definition (children 1) ExpressionList (children 3) - ColumnDeclaration value (children 1) + ColumnDeclaration value (children 2) DataType Float64 + Function CODEC (children 1) + ExpressionList (children 2) + Function Delta + Function LZ4 ColumnDeclaration uuid (children 1) DataType LowCardinality (children 1) ExpressionList (children 1) DataType String - ColumnDeclaration time (children 1) + ColumnDeclaration time (children 2) DataType DateTime64 (children 1) ExpressionList (children 2) Literal UInt64_3 Literal \'UTC\' + Function CODEC (children 1) + ExpressionList (children 2) + Function DoubleDelta + Function LZ4 Storage definition (children 2) Function MergeTree (children 1) ExpressionList diff --git a/parser/testdata/03035_argMinMax_numeric_non_extreme_bug/explain_2.txt b/parser/testdata/03035_argMinMax_numeric_non_extreme_bug/explain_2.txt new file mode 100644 index 0000000000..ea803829d2 --- /dev/null +++ b/parser/testdata/03035_argMinMax_numeric_non_extreme_bug/explain_2.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 3) + Identifier uuid + Identifier time + Identifier value diff --git a/parser/testdata/03035_dynamic_sorting/explain_5.txt b/parser/testdata/03035_dynamic_sorting/explain_5.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03035_dynamic_sorting/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03035_internal_functions_direct_call/explain.txt b/parser/testdata/03035_internal_functions_direct_call/explain.txt index 6f02c788fb..10ed53bc19 100644 --- a/parser/testdata/03035_internal_functions_direct_call/explain.txt +++ b/parser/testdata/03035_internal_functions_direct_call/explain.txt @@ -4,4 +4,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) Function __actionName (children 1) ExpressionList -The query succeeded but the server error '42' was expected (query: EXPLAIN AST SELECT __actionName(); -- { serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH }). diff --git a/parser/testdata/03035_materialized_primary_key/explain_3.txt b/parser/testdata/03035_materialized_primary_key/explain_3.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03035_materialized_primary_key/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03035_recursive_cte_postgres_1/explain.txt b/parser/testdata/03035_recursive_cte_postgres_1/explain.txt new file mode 100644 index 0000000000..cb1142253f --- /dev/null +++ b/parser/testdata/03035_recursive_cte_postgres_1/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03036_join_filter_push_down_equivalent_sets/explain_10.txt b/parser/testdata/03036_join_filter_push_down_equivalent_sets/explain_10.txt new file mode 100644 index 0000000000..dfff739dbe --- /dev/null +++ b/parser/testdata/03036_join_filter_push_down_equivalent_sets/explain_10.txt @@ -0,0 +1,27 @@ +Explain EXPLAIN (children 2) + Set + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 4) + Identifier lhs.id + Identifier rhs.id + Identifier lhs.value + Identifier rhs.value + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test_table_1 (alias lhs) + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier test_table_2 (alias rhs) + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier lhs.id + Identifier rhs.id + Function equals (children 1) + ExpressionList (children 2) + Identifier lhs.id + Literal UInt64_5 + Set diff --git a/parser/testdata/03036_join_filter_push_down_equivalent_sets/explain_14.txt b/parser/testdata/03036_join_filter_push_down_equivalent_sets/explain_14.txt new file mode 100644 index 0000000000..47493e023c --- /dev/null +++ b/parser/testdata/03036_join_filter_push_down_equivalent_sets/explain_14.txt @@ -0,0 +1,27 @@ +Explain EXPLAIN (children 2) + Set + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 4) + Identifier lhs.id + Identifier rhs.id + Identifier lhs.value + Identifier rhs.value + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test_table_1 (alias lhs) + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier test_table_2 (alias rhs) + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier lhs.id + Identifier rhs.id + Function equals (children 1) + ExpressionList (children 2) + Identifier rhs.id + Literal UInt64_5 + Set diff --git a/parser/testdata/03036_join_filter_push_down_equivalent_sets/explain_18.txt b/parser/testdata/03036_join_filter_push_down_equivalent_sets/explain_18.txt new file mode 100644 index 0000000000..c3999f088e --- /dev/null +++ b/parser/testdata/03036_join_filter_push_down_equivalent_sets/explain_18.txt @@ -0,0 +1,33 @@ +Explain EXPLAIN (children 2) + Set + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 4) + Identifier lhs.id + Identifier rhs.id + Identifier lhs.value + Identifier rhs.value + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test_table_1 (alias lhs) + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier test_table_2 (alias rhs) + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier lhs.id + Identifier rhs.id + Function and (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier lhs.id + Literal UInt64_5 + Function equals (children 1) + ExpressionList (children 2) + Identifier rhs.id + Literal UInt64_6 + Set diff --git a/parser/testdata/03036_join_filter_push_down_equivalent_sets/explain_21.txt b/parser/testdata/03036_join_filter_push_down_equivalent_sets/explain_21.txt new file mode 100644 index 0000000000..dfff739dbe --- /dev/null +++ b/parser/testdata/03036_join_filter_push_down_equivalent_sets/explain_21.txt @@ -0,0 +1,27 @@ +Explain EXPLAIN (children 2) + Set + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 4) + Identifier lhs.id + Identifier rhs.id + Identifier lhs.value + Identifier rhs.value + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test_table_1 (alias lhs) + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier test_table_2 (alias rhs) + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier lhs.id + Identifier rhs.id + Function equals (children 1) + ExpressionList (children 2) + Identifier lhs.id + Literal UInt64_5 + Set diff --git a/parser/testdata/03036_join_filter_push_down_equivalent_sets/explain_25.txt b/parser/testdata/03036_join_filter_push_down_equivalent_sets/explain_25.txt new file mode 100644 index 0000000000..47493e023c --- /dev/null +++ b/parser/testdata/03036_join_filter_push_down_equivalent_sets/explain_25.txt @@ -0,0 +1,27 @@ +Explain EXPLAIN (children 2) + Set + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 4) + Identifier lhs.id + Identifier rhs.id + Identifier lhs.value + Identifier rhs.value + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test_table_1 (alias lhs) + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier test_table_2 (alias rhs) + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier lhs.id + Identifier rhs.id + Function equals (children 1) + ExpressionList (children 2) + Identifier rhs.id + Literal UInt64_5 + Set diff --git a/parser/testdata/03036_join_filter_push_down_equivalent_sets/explain_29.txt b/parser/testdata/03036_join_filter_push_down_equivalent_sets/explain_29.txt new file mode 100644 index 0000000000..dfff739dbe --- /dev/null +++ b/parser/testdata/03036_join_filter_push_down_equivalent_sets/explain_29.txt @@ -0,0 +1,27 @@ +Explain EXPLAIN (children 2) + Set + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 4) + Identifier lhs.id + Identifier rhs.id + Identifier lhs.value + Identifier rhs.value + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test_table_1 (alias lhs) + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier test_table_2 (alias rhs) + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier lhs.id + Identifier rhs.id + Function equals (children 1) + ExpressionList (children 2) + Identifier lhs.id + Literal UInt64_5 + Set diff --git a/parser/testdata/03036_join_filter_push_down_equivalent_sets/explain_33.txt b/parser/testdata/03036_join_filter_push_down_equivalent_sets/explain_33.txt new file mode 100644 index 0000000000..47493e023c --- /dev/null +++ b/parser/testdata/03036_join_filter_push_down_equivalent_sets/explain_33.txt @@ -0,0 +1,27 @@ +Explain EXPLAIN (children 2) + Set + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 4) + Identifier lhs.id + Identifier rhs.id + Identifier lhs.value + Identifier rhs.value + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test_table_1 (alias lhs) + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier test_table_2 (alias rhs) + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier lhs.id + Identifier rhs.id + Function equals (children 1) + ExpressionList (children 2) + Identifier rhs.id + Literal UInt64_5 + Set diff --git a/parser/testdata/03036_join_filter_push_down_equivalent_sets/explain_37.txt b/parser/testdata/03036_join_filter_push_down_equivalent_sets/explain_37.txt new file mode 100644 index 0000000000..dfff739dbe --- /dev/null +++ b/parser/testdata/03036_join_filter_push_down_equivalent_sets/explain_37.txt @@ -0,0 +1,27 @@ +Explain EXPLAIN (children 2) + Set + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 4) + Identifier lhs.id + Identifier rhs.id + Identifier lhs.value + Identifier rhs.value + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test_table_1 (alias lhs) + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier test_table_2 (alias rhs) + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier lhs.id + Identifier rhs.id + Function equals (children 1) + ExpressionList (children 2) + Identifier lhs.id + Literal UInt64_5 + Set diff --git a/parser/testdata/03036_join_filter_push_down_equivalent_sets/explain_41.txt b/parser/testdata/03036_join_filter_push_down_equivalent_sets/explain_41.txt new file mode 100644 index 0000000000..47493e023c --- /dev/null +++ b/parser/testdata/03036_join_filter_push_down_equivalent_sets/explain_41.txt @@ -0,0 +1,27 @@ +Explain EXPLAIN (children 2) + Set + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 4) + Identifier lhs.id + Identifier rhs.id + Identifier lhs.value + Identifier rhs.value + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test_table_1 (alias lhs) + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier test_table_2 (alias rhs) + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier lhs.id + Identifier rhs.id + Function equals (children 1) + ExpressionList (children 2) + Identifier rhs.id + Literal UInt64_5 + Set diff --git a/parser/testdata/03036_join_filter_push_down_equivalent_sets/explain_45.txt b/parser/testdata/03036_join_filter_push_down_equivalent_sets/explain_45.txt new file mode 100644 index 0000000000..c3999f088e --- /dev/null +++ b/parser/testdata/03036_join_filter_push_down_equivalent_sets/explain_45.txt @@ -0,0 +1,33 @@ +Explain EXPLAIN (children 2) + Set + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 4) + Identifier lhs.id + Identifier rhs.id + Identifier lhs.value + Identifier rhs.value + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test_table_1 (alias lhs) + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier test_table_2 (alias rhs) + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier lhs.id + Identifier rhs.id + Function and (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier lhs.id + Literal UInt64_5 + Function equals (children 1) + ExpressionList (children 2) + Identifier rhs.id + Literal UInt64_6 + Set diff --git a/parser/testdata/03036_prewhere_lambda_function/explain_3.txt b/parser/testdata/03036_prewhere_lambda_function/explain_3.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03036_prewhere_lambda_function/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03036_recursive_cte_postgres_2/explain.txt b/parser/testdata/03036_recursive_cte_postgres_2/explain.txt new file mode 100644 index 0000000000..cb1142253f --- /dev/null +++ b/parser/testdata/03036_recursive_cte_postgres_2/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03036_recursive_cte_postgres_2/explain_10.txt b/parser/testdata/03036_recursive_cte_postgres_2/explain_10.txt new file mode 100644 index 0000000000..4137eded66 --- /dev/null +++ b/parser/testdata/03036_recursive_cte_postgres_2/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier department diff --git a/parser/testdata/03036_recursive_cte_postgres_2/explain_11.txt b/parser/testdata/03036_recursive_cte_postgres_2/explain_11.txt new file mode 100644 index 0000000000..4137eded66 --- /dev/null +++ b/parser/testdata/03036_recursive_cte_postgres_2/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier department diff --git a/parser/testdata/03036_recursive_cte_postgres_2/explain_4.txt b/parser/testdata/03036_recursive_cte_postgres_2/explain_4.txt new file mode 100644 index 0000000000..4137eded66 --- /dev/null +++ b/parser/testdata/03036_recursive_cte_postgres_2/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier department diff --git a/parser/testdata/03036_recursive_cte_postgres_2/explain_5.txt b/parser/testdata/03036_recursive_cte_postgres_2/explain_5.txt new file mode 100644 index 0000000000..4137eded66 --- /dev/null +++ b/parser/testdata/03036_recursive_cte_postgres_2/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier department diff --git a/parser/testdata/03036_recursive_cte_postgres_2/explain_6.txt b/parser/testdata/03036_recursive_cte_postgres_2/explain_6.txt new file mode 100644 index 0000000000..4137eded66 --- /dev/null +++ b/parser/testdata/03036_recursive_cte_postgres_2/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier department diff --git a/parser/testdata/03036_recursive_cte_postgres_2/explain_7.txt b/parser/testdata/03036_recursive_cte_postgres_2/explain_7.txt new file mode 100644 index 0000000000..4137eded66 --- /dev/null +++ b/parser/testdata/03036_recursive_cte_postgres_2/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier department diff --git a/parser/testdata/03036_recursive_cte_postgres_2/explain_8.txt b/parser/testdata/03036_recursive_cte_postgres_2/explain_8.txt new file mode 100644 index 0000000000..4137eded66 --- /dev/null +++ b/parser/testdata/03036_recursive_cte_postgres_2/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier department diff --git a/parser/testdata/03036_recursive_cte_postgres_2/explain_9.txt b/parser/testdata/03036_recursive_cte_postgres_2/explain_9.txt new file mode 100644 index 0000000000..4137eded66 --- /dev/null +++ b/parser/testdata/03036_recursive_cte_postgres_2/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier department diff --git a/parser/testdata/03037_precent_rank/explain_5.txt b/parser/testdata/03037_precent_rank/explain_5.txt new file mode 100644 index 0000000000..8822fb97b1 --- /dev/null +++ b/parser/testdata/03037_precent_rank/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier product_groups diff --git a/parser/testdata/03037_precent_rank/explain_6.txt b/parser/testdata/03037_precent_rank/explain_6.txt new file mode 100644 index 0000000000..3bb305668a --- /dev/null +++ b/parser/testdata/03037_precent_rank/explain_6.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier products + ExpressionList (children 4) + Identifier product_id + Identifier product_name + Identifier group_id + Identifier price diff --git a/parser/testdata/03037_precent_rank/explain_7.txt b/parser/testdata/03037_precent_rank/explain_7.txt new file mode 100644 index 0000000000..8822fb97b1 --- /dev/null +++ b/parser/testdata/03037_precent_rank/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier product_groups diff --git a/parser/testdata/03037_precent_rank/explain_8.txt b/parser/testdata/03037_precent_rank/explain_8.txt new file mode 100644 index 0000000000..3bb305668a --- /dev/null +++ b/parser/testdata/03037_precent_rank/explain_8.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier products + ExpressionList (children 4) + Identifier product_id + Identifier product_name + Identifier group_id + Identifier price diff --git a/parser/testdata/03037_recursive_cte_postgres_3/explain.txt b/parser/testdata/03037_recursive_cte_postgres_3/explain.txt new file mode 100644 index 0000000000..cb1142253f --- /dev/null +++ b/parser/testdata/03037_recursive_cte_postgres_3/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03037_recursive_cte_postgres_3/explain_5.txt b/parser/testdata/03037_recursive_cte_postgres_3/explain_5.txt new file mode 100644 index 0000000000..4028b669b4 --- /dev/null +++ b/parser/testdata/03037_recursive_cte_postgres_3/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tree diff --git a/parser/testdata/03037_s3_write_to_globbed_partitioned_path/explain.txt b/parser/testdata/03037_s3_write_to_globbed_partitioned_path/explain.txt index 000ba62fb8..fbeb01e6da 100644 --- a/parser/testdata/03037_s3_write_to_globbed_partitioned_path/explain.txt +++ b/parser/testdata/03037_s3_write_to_globbed_partitioned_path/explain.txt @@ -17,4 +17,3 @@ InsertQuery (children 3) Function numbers (children 1) ExpressionList (children 1) Literal UInt64_10 -The query succeeded but the server error '291' was expected (query: EXPLAIN AST insert into function s3('http://localhost:11111/test/data_*_{_partition_id}.csv') partition by number % 3 select * from numbers(10); -- {serverError DATABASE_ACCESS_DENIED}). diff --git a/parser/testdata/03037_zero_step_in_numbers_table_function/explain.txt b/parser/testdata/03037_zero_step_in_numbers_table_function/explain.txt index 38dc04fdaf..1e7d4ea907 100644 --- a/parser/testdata/03037_zero_step_in_numbers_table_function/explain.txt +++ b/parser/testdata/03037_zero_step_in_numbers_table_function/explain.txt @@ -11,4 +11,3 @@ SelectWithUnionQuery (children 1) Literal UInt64_1 Literal UInt64_10 Literal UInt64_0 -The query succeeded but the server error '36' was expected (query: EXPLAIN AST select * from numbers(1, 10, 0); -- {serverError BAD_ARGUMENTS}). diff --git a/parser/testdata/03038_recursive_cte_postgres_4/explain.txt b/parser/testdata/03038_recursive_cte_postgres_4/explain.txt new file mode 100644 index 0000000000..cb1142253f --- /dev/null +++ b/parser/testdata/03038_recursive_cte_postgres_4/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03038_recursive_cte_postgres_4/explain_5.txt b/parser/testdata/03038_recursive_cte_postgres_4/explain_5.txt new file mode 100644 index 0000000000..2dd80f0540 --- /dev/null +++ b/parser/testdata/03038_recursive_cte_postgres_4/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier graph diff --git a/parser/testdata/03038_recursive_cte_postgres_4/explain_6.txt b/parser/testdata/03038_recursive_cte_postgres_4/explain_6.txt new file mode 100644 index 0000000000..3bc503f861 --- /dev/null +++ b/parser/testdata/03038_recursive_cte_postgres_4/explain_6.txt @@ -0,0 +1,66 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + WithElement (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 2) + SelectQuery (children 2) + ExpressionList (children 3) + Asterisk + Literal Bool_0 (alias is_cycle) + Function array (alias path) (children 1) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList (children 2) + Identifier g.f + Identifier g.t + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier graph (alias g) + SelectQuery (children 3) + ExpressionList (children 3) + QualifiedAsterisk (children 1) + Identifier g + Function has (children 1) + ExpressionList (children 2) + Identifier path + Function tuple (children 1) + ExpressionList (children 2) + Identifier g.f + Identifier g.t + Function arrayConcat (children 1) + ExpressionList (children 2) + Identifier sg.path + Function array (children 1) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList (children 2) + Identifier g.f + Identifier g.t + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier graph (alias g) + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier search_graph (alias sg) + TableJoin + Function and (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier g.f + Identifier sg.t + Function not (children 1) + ExpressionList (children 1) + Identifier is_cycle + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier search_graph + Set diff --git a/parser/testdata/03039_recursive_cte_postgres_5/explain.txt b/parser/testdata/03039_recursive_cte_postgres_5/explain.txt new file mode 100644 index 0000000000..cb1142253f --- /dev/null +++ b/parser/testdata/03039_recursive_cte_postgres_5/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03040_recursive_cte_postgres_6/explain.txt b/parser/testdata/03040_recursive_cte_postgres_6/explain.txt new file mode 100644 index 0000000000..cb1142253f --- /dev/null +++ b/parser/testdata/03040_recursive_cte_postgres_6/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03040_recursive_cte_postgres_6/explain_11.txt b/parser/testdata/03040_recursive_cte_postgres_6/explain_11.txt index e8bbc6d154..dde1dd7704 100644 --- a/parser/testdata/03040_recursive_cte_postgres_6/explain_11.txt +++ b/parser/testdata/03040_recursive_cte_postgres_6/explain_11.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 4) + SelectQuery (children 3) ExpressionList (children 1) WithElement (children 1) Subquery (children 1) @@ -45,6 +45,5 @@ SelectWithUnionQuery (children 3) TablesInSelectQueryElement (children 1) TableExpression (children 1) TableIdentifier x - Set Identifier NULL Set diff --git a/parser/testdata/03040_recursive_cte_postgres_6/explain_12.txt b/parser/testdata/03040_recursive_cte_postgres_6/explain_12.txt index 0543f71c5c..f1361cf503 100644 --- a/parser/testdata/03040_recursive_cte_postgres_6/explain_12.txt +++ b/parser/testdata/03040_recursive_cte_postgres_6/explain_12.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 4) + SelectQuery (children 3) ExpressionList (children 1) WithElement (children 1) Subquery (children 1) @@ -45,6 +45,5 @@ SelectWithUnionQuery (children 3) TablesInSelectQueryElement (children 1) TableExpression (children 1) TableIdentifier x - Set Identifier NULL Set diff --git a/parser/testdata/03040_recursive_cte_postgres_6/explain_13.txt b/parser/testdata/03040_recursive_cte_postgres_6/explain_13.txt index 0543f71c5c..f1361cf503 100644 --- a/parser/testdata/03040_recursive_cte_postgres_6/explain_13.txt +++ b/parser/testdata/03040_recursive_cte_postgres_6/explain_13.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 4) + SelectQuery (children 3) ExpressionList (children 1) WithElement (children 1) Subquery (children 1) @@ -45,6 +45,5 @@ SelectWithUnionQuery (children 3) TablesInSelectQueryElement (children 1) TableExpression (children 1) TableIdentifier x - Set Identifier NULL Set diff --git a/parser/testdata/03040_recursive_cte_postgres_6/explain_14.txt b/parser/testdata/03040_recursive_cte_postgres_6/explain_14.txt index fb9a98aa30..3b63622217 100644 --- a/parser/testdata/03040_recursive_cte_postgres_6/explain_14.txt +++ b/parser/testdata/03040_recursive_cte_postgres_6/explain_14.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 4) + SelectQuery (children 3) ExpressionList (children 1) WithElement (children 1) Subquery (children 1) @@ -38,6 +38,5 @@ SelectWithUnionQuery (children 3) TablesInSelectQueryElement (children 1) TableExpression (children 1) TableIdentifier x - Set Identifier NULL Set diff --git a/parser/testdata/03040_recursive_cte_postgres_6/explain_15.txt b/parser/testdata/03040_recursive_cte_postgres_6/explain_15.txt index a7252ee53f..4fae28f64b 100644 --- a/parser/testdata/03040_recursive_cte_postgres_6/explain_15.txt +++ b/parser/testdata/03040_recursive_cte_postgres_6/explain_15.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 4) + SelectQuery (children 3) ExpressionList (children 1) WithElement (children 1) Subquery (children 1) @@ -24,6 +24,5 @@ SelectWithUnionQuery (children 3) TablesInSelectQueryElement (children 1) TableExpression (children 1) TableIdentifier x - Set Identifier NULL Set diff --git a/parser/testdata/03040_recursive_cte_postgres_6/explain_16.txt b/parser/testdata/03040_recursive_cte_postgres_6/explain_16.txt index b394492e46..4578edea31 100644 --- a/parser/testdata/03040_recursive_cte_postgres_6/explain_16.txt +++ b/parser/testdata/03040_recursive_cte_postgres_6/explain_16.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 4) + SelectQuery (children 3) ExpressionList (children 1) WithElement (children 1) Subquery (children 1) @@ -24,6 +24,5 @@ SelectWithUnionQuery (children 3) TablesInSelectQueryElement (children 1) TableExpression (children 1) TableIdentifier x - Set Identifier NULL Set diff --git a/parser/testdata/03040_recursive_cte_postgres_6/explain_17.txt b/parser/testdata/03040_recursive_cte_postgres_6/explain_17.txt index 9fe4bfa2a3..3a751876f2 100644 --- a/parser/testdata/03040_recursive_cte_postgres_6/explain_17.txt +++ b/parser/testdata/03040_recursive_cte_postgres_6/explain_17.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 4) + SelectQuery (children 3) ExpressionList (children 1) WithElement (children 1) Subquery (children 1) @@ -28,6 +28,5 @@ SelectWithUnionQuery (children 3) TablesInSelectQueryElement (children 1) TableExpression (children 1) TableIdentifier x - Set Identifier NULL Set diff --git a/parser/testdata/03040_recursive_cte_postgres_6/explain_18.txt b/parser/testdata/03040_recursive_cte_postgres_6/explain_18.txt index ae299eb435..bfb264f519 100644 --- a/parser/testdata/03040_recursive_cte_postgres_6/explain_18.txt +++ b/parser/testdata/03040_recursive_cte_postgres_6/explain_18.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 4) + SelectQuery (children 3) ExpressionList (children 2) WithElement (children 1) Subquery (children 1) @@ -50,6 +50,5 @@ SelectWithUnionQuery (children 3) TablesInSelectQueryElement (children 1) TableExpression (children 1) TableIdentifier x - Set Identifier NULL Set diff --git a/parser/testdata/03041_recursive_cte_postgres_7/explain.txt b/parser/testdata/03041_recursive_cte_postgres_7/explain.txt new file mode 100644 index 0000000000..cb1142253f --- /dev/null +++ b/parser/testdata/03041_recursive_cte_postgres_7/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03043_group_array_result_is_expected/explain_4.txt b/parser/testdata/03043_group_array_result_is_expected/explain_4.txt new file mode 100644 index 0000000000..e7e4db11cc --- /dev/null +++ b/parser/testdata/03043_group_array_result_is_expected/explain_4.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier fill_ex + ExpressionList (children 2) + Identifier eventDate + Identifier storeId diff --git a/parser/testdata/03046_column_in_block_array_join/explain_6.txt b/parser/testdata/03046_column_in_block_array_join/explain_6.txt new file mode 100644 index 0000000000..3271bfd8b8 --- /dev/null +++ b/parser/testdata/03046_column_in_block_array_join/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nested_test diff --git a/parser/testdata/03046_column_in_block_array_join/explain_7.txt b/parser/testdata/03046_column_in_block_array_join/explain_7.txt new file mode 100644 index 0000000000..d0134c8fcc --- /dev/null +++ b/parser/testdata/03046_column_in_block_array_join/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier join_test diff --git a/parser/testdata/03047_on_fly_mutations_events/explain_21.txt b/parser/testdata/03047_on_fly_mutations_events/explain_21.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03047_on_fly_mutations_events/explain_21.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03047_on_fly_mutations_materialized/explain_5.txt b/parser/testdata/03047_on_fly_mutations_materialized/explain_5.txt new file mode 100644 index 0000000000..c47be21895 --- /dev/null +++ b/parser/testdata/03047_on_fly_mutations_materialized/explain_5.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t_update_materialized + ExpressionList (children 2) + Identifier id + Identifier c1 diff --git a/parser/testdata/03047_on_fly_mutations_multiple_updates/explain_13.txt b/parser/testdata/03047_on_fly_mutations_multiple_updates/explain_13.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03047_on_fly_mutations_multiple_updates/explain_13.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03047_on_fly_mutations_multiple_updates/explain_5.txt b/parser/testdata/03047_on_fly_mutations_multiple_updates/explain_5.txt new file mode 100644 index 0000000000..352a6241e7 --- /dev/null +++ b/parser/testdata/03047_on_fly_mutations_multiple_updates/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_lightweight_mut_5 diff --git a/parser/testdata/03047_on_fly_mutations_multiple_updates_rmt/explain_16.txt b/parser/testdata/03047_on_fly_mutations_multiple_updates_rmt/explain_16.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03047_on_fly_mutations_multiple_updates_rmt/explain_16.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03047_on_fly_mutations_multiple_updates_rmt/explain_7.txt b/parser/testdata/03047_on_fly_mutations_multiple_updates_rmt/explain_7.txt new file mode 100644 index 0000000000..352a6241e7 --- /dev/null +++ b/parser/testdata/03047_on_fly_mutations_multiple_updates_rmt/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_lightweight_mut_5 diff --git a/parser/testdata/03047_on_fly_mutations_non_deterministic/explain_5.txt b/parser/testdata/03047_on_fly_mutations_non_deterministic/explain_5.txt new file mode 100644 index 0000000000..a2501ef05e --- /dev/null +++ b/parser/testdata/03047_on_fly_mutations_non_deterministic/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_lightweight_mut_2 diff --git a/parser/testdata/03047_on_fly_mutations_non_deterministic_replace/explain_14.txt b/parser/testdata/03047_on_fly_mutations_non_deterministic_replace/explain_14.txt new file mode 100644 index 0000000000..352a6241e7 --- /dev/null +++ b/parser/testdata/03047_on_fly_mutations_non_deterministic_replace/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_lightweight_mut_5 diff --git a/parser/testdata/03047_on_fly_mutations_non_deterministic_replace/explain_26.txt b/parser/testdata/03047_on_fly_mutations_non_deterministic_replace/explain_26.txt new file mode 100644 index 0000000000..352a6241e7 --- /dev/null +++ b/parser/testdata/03047_on_fly_mutations_non_deterministic_replace/explain_26.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_lightweight_mut_5 diff --git a/parser/testdata/03047_on_fly_mutations_non_deterministic_replace/explain_33.txt b/parser/testdata/03047_on_fly_mutations_non_deterministic_replace/explain_33.txt new file mode 100644 index 0000000000..352a6241e7 --- /dev/null +++ b/parser/testdata/03047_on_fly_mutations_non_deterministic_replace/explain_33.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_lightweight_mut_5 diff --git a/parser/testdata/03047_on_fly_mutations_non_deterministic_replace/explain_40.txt b/parser/testdata/03047_on_fly_mutations_non_deterministic_replace/explain_40.txt new file mode 100644 index 0000000000..352a6241e7 --- /dev/null +++ b/parser/testdata/03047_on_fly_mutations_non_deterministic_replace/explain_40.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_lightweight_mut_5 diff --git a/parser/testdata/03047_on_fly_mutations_non_deterministic_replace/explain_48.txt b/parser/testdata/03047_on_fly_mutations_non_deterministic_replace/explain_48.txt new file mode 100644 index 0000000000..352a6241e7 --- /dev/null +++ b/parser/testdata/03047_on_fly_mutations_non_deterministic_replace/explain_48.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_lightweight_mut_5 diff --git a/parser/testdata/03047_on_fly_mutations_non_deterministic_replace/explain_54.txt b/parser/testdata/03047_on_fly_mutations_non_deterministic_replace/explain_54.txt new file mode 100644 index 0000000000..352a6241e7 --- /dev/null +++ b/parser/testdata/03047_on_fly_mutations_non_deterministic_replace/explain_54.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_lightweight_mut_5 diff --git a/parser/testdata/03047_on_fly_mutations_non_deterministic_replace/explain_7.txt b/parser/testdata/03047_on_fly_mutations_non_deterministic_replace/explain_7.txt new file mode 100644 index 0000000000..352a6241e7 --- /dev/null +++ b/parser/testdata/03047_on_fly_mutations_non_deterministic_replace/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_lightweight_mut_5 diff --git a/parser/testdata/03047_on_fly_mutations_skip_index/explain_12.txt b/parser/testdata/03047_on_fly_mutations_skip_index/explain_12.txt new file mode 100644 index 0000000000..9d54871160 --- /dev/null +++ b/parser/testdata/03047_on_fly_mutations_skip_index/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_lightweight_mut_3 diff --git a/parser/testdata/03047_on_fly_mutations_skip_index/explain_7.txt b/parser/testdata/03047_on_fly_mutations_skip_index/explain_7.txt new file mode 100644 index 0000000000..9d54871160 --- /dev/null +++ b/parser/testdata/03047_on_fly_mutations_skip_index/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_lightweight_mut_3 diff --git a/parser/testdata/03047_on_fly_mutations_skip_index/explain_8.txt b/parser/testdata/03047_on_fly_mutations_skip_index/explain_8.txt new file mode 100644 index 0000000000..9d54871160 --- /dev/null +++ b/parser/testdata/03047_on_fly_mutations_skip_index/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_lightweight_mut_3 diff --git a/parser/testdata/03049_analyzer_group_by_alias/explain_3.txt b/parser/testdata/03049_analyzer_group_by_alias/explain_3.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03049_analyzer_group_by_alias/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03058_analyzer_ambiguous_columns/explain_10.txt b/parser/testdata/03058_analyzer_ambiguous_columns/explain_10.txt new file mode 100644 index 0000000000..2f0c01d0e2 --- /dev/null +++ b/parser/testdata/03058_analyzer_ambiguous_columns/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier colors diff --git a/parser/testdata/03058_analyzer_ambiguous_columns/explain_6.txt b/parser/testdata/03058_analyzer_ambiguous_columns/explain_6.txt new file mode 100644 index 0000000000..e0dce82915 --- /dev/null +++ b/parser/testdata/03058_analyzer_ambiguous_columns/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier fact diff --git a/parser/testdata/03058_analyzer_ambiguous_columns/explain_8.txt b/parser/testdata/03058_analyzer_ambiguous_columns/explain_8.txt new file mode 100644 index 0000000000..3298657996 --- /dev/null +++ b/parser/testdata/03058_analyzer_ambiguous_columns/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier animals diff --git a/parser/testdata/03062_analyzer_join_engine_missing_column/explain_4.txt b/parser/testdata/03062_analyzer_join_engine_missing_column/explain_4.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03062_analyzer_join_engine_missing_column/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03062_analyzer_join_engine_missing_column/explain_5.txt b/parser/testdata/03062_analyzer_join_engine_missing_column/explain_5.txt new file mode 100644 index 0000000000..16e6395fb0 --- /dev/null +++ b/parser/testdata/03062_analyzer_join_engine_missing_column/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_join diff --git a/parser/testdata/03073_analyzer_alias_as_column_name/explain_3.txt b/parser/testdata/03073_analyzer_alias_as_column_name/explain_3.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03073_analyzer_alias_as_column_name/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03073_analyzer_alias_as_column_name/explain_4.txt b/parser/testdata/03073_analyzer_alias_as_column_name/explain_4.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03073_analyzer_alias_as_column_name/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03073_analyzer_alias_as_column_name/explain_5.txt b/parser/testdata/03073_analyzer_alias_as_column_name/explain_5.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03073_analyzer_alias_as_column_name/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03079_analyzer_numeric_literals_as_column_names/explain_3.txt b/parser/testdata/03079_analyzer_numeric_literals_as_column_names/explain_3.txt new file mode 100644 index 0000000000..341ecb7d4b --- /dev/null +++ b/parser/testdata/03079_analyzer_numeric_literals_as_column_names/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier testdata diff --git a/parser/testdata/03080_incorrect_join_with_merge/explain_11.txt b/parser/testdata/03080_incorrect_join_with_merge/explain_11.txt new file mode 100644 index 0000000000..c55f35a34f --- /dev/null +++ b/parser/testdata/03080_incorrect_join_with_merge/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier first_table diff --git a/parser/testdata/03080_incorrect_join_with_merge/explain_12.txt b/parser/testdata/03080_incorrect_join_with_merge/explain_12.txt new file mode 100644 index 0000000000..98d4a3a742 --- /dev/null +++ b/parser/testdata/03080_incorrect_join_with_merge/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier second_table diff --git a/parser/testdata/03081_analyzer_agg_func_CTE/explain_3.txt b/parser/testdata/03081_analyzer_agg_func_CTE/explain_3.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03081_analyzer_agg_func_CTE/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03093_analyzer_miel_test/explain_3.txt b/parser/testdata/03093_analyzer_miel_test/explain_3.txt new file mode 100644 index 0000000000..a5f436328a --- /dev/null +++ b/parser/testdata/03093_analyzer_miel_test/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_03093 diff --git a/parser/testdata/03093_analyzer_miel_test/explain_4.txt b/parser/testdata/03093_analyzer_miel_test/explain_4.txt new file mode 100644 index 0000000000..a5f436328a --- /dev/null +++ b/parser/testdata/03093_analyzer_miel_test/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_03093 diff --git a/parser/testdata/03093_analyzer_miel_test/explain_5.txt b/parser/testdata/03093_analyzer_miel_test/explain_5.txt new file mode 100644 index 0000000000..a5f436328a --- /dev/null +++ b/parser/testdata/03093_analyzer_miel_test/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_03093 diff --git a/parser/testdata/03093_bug37909_query_does_not_finish/explain.txt b/parser/testdata/03093_bug37909_query_does_not_finish/explain.txt new file mode 100644 index 0000000000..6bd05194ec --- /dev/null +++ b/parser/testdata/03093_bug37909_query_does_not_finish/explain.txt @@ -0,0 +1,191 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 2) + Identifier v_date (alias vDate) + Function round (alias v_sum) (children 1) + ExpressionList (children 1) + Function sum (children 1) + ExpressionList (children 1) + Identifier v_share + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 6) + Subquery (alias dummy_1) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function modulo (children 1) + ExpressionList (children 2) + Function rand (children 1) + ExpressionList + Literal UInt64_10000 + Subquery (alias dummy_2) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function modulo (children 1) + ExpressionList (children 2) + Function rand (children 1) + ExpressionList + Literal UInt64_10000 + Subquery (alias dummy_3) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function modulo (children 1) + ExpressionList (children 2) + Function rand (children 1) + ExpressionList + Literal UInt64_10000 + WithElement (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Function modulo (alias d_id) (children 1) + ExpressionList (children 2) + Function xxHash64 (children 1) + ExpressionList (children 1) + Function rand (children 1) + ExpressionList + Literal UInt64_100000 + Function toDate (alias v_date) (children 1) + ExpressionList (children 1) + Function plus (children 1) + ExpressionList (children 2) + Function parseDateTimeBestEffort (children 1) + ExpressionList (children 1) + Literal \'2022-01-01\' + Function modulo (children 1) + ExpressionList (children 2) + Function rand (children 1) + ExpressionList + Literal UInt64_2600000 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1000000 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier d_id + WithElement (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function modulo (alias d_id) (children 1) + ExpressionList (children 2) + Function xxHash64 (children 1) + ExpressionList (children 1) + Function rand (children 1) + ExpressionList + Literal UInt64_40000 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1000000 + WithElement (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 3) + Literal NULL (alias v_date) + Identifier d_id + Literal UInt64_0 (alias v_share) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier _i + Literal UInt64_100 + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 2) + SelectQuery (children 2) + ExpressionList (children 3) + Identifier d_id + Identifier v_date + Identifier v_share + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier not_i + SelectQuery (children 2) + ExpressionList (children 3) + Identifier d_id + Identifier v_date + Literal UInt64_1 (alias v_share) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Identifier d_id + Function arrayJoin (alias v_date) (children 1) + ExpressionList (children 1) + Function groupArray (children 1) + ExpressionList (children 1) + Identifier v_date + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 2) + SelectQuery (children 2) + ExpressionList (children 2) + Identifier v_date + Identifier d_id + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier _v + SelectQuery (children 2) + ExpressionList (children 2) + Literal NULL (alias v_date) + Identifier d_id + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier _i + ExpressionList (children 1) + Identifier d_id + Function and (children 1) + ExpressionList (children 2) + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Identifier v_date + Literal \'2022-05-08\' + Function lessOrEquals (children 1) + ExpressionList (children 2) + Identifier v_date + Literal \'2022-06-07\' + ExpressionList (children 1) + Identifier vDate + ExpressionList (children 1) + OrderByElement (children 1) + Identifier vDate + Set diff --git a/parser/testdata/03093_bug_gcd_codec/explain.txt b/parser/testdata/03093_bug_gcd_codec/explain.txt index a59ad1be76..e84144af3d 100644 --- a/parser/testdata/03093_bug_gcd_codec/explain.txt +++ b/parser/testdata/03093_bug_gcd_codec/explain.txt @@ -1,4 +1,4 @@ -CreateQuery test_gcd (children 2) +CreateQuery test_gcd (children 3) Identifier test_gcd Columns definition (children 1) ExpressionList (children 1) @@ -8,3 +8,8 @@ CreateQuery test_gcd (children 2) ExpressionList (children 2) Function GCD Function LZ4 + Storage definition (children 3) + Function MergeTree + Function tuple (children 1) + ExpressionList + Set diff --git a/parser/testdata/03093_special_column_errors/explain.txt b/parser/testdata/03093_special_column_errors/explain.txt index ad21ea9afc..5debabc402 100644 --- a/parser/testdata/03093_special_column_errors/explain.txt +++ b/parser/testdata/03093_special_column_errors/explain.txt @@ -14,4 +14,3 @@ CreateQuery replacing_wrong (children 3) Identifier ver Identifier is_deleted Identifier key -The query succeeded but the server error '169' was expected (query: EXPLAIN AST CREATE TABLE replacing_wrong (key Int64, ver Int64, is_deleted UInt16) ENGINE = ReplacingMergeTree(ver, is_deleted) ORDER BY key; -- { serverError BAD_TYPE_OF_FIELD }). diff --git a/parser/testdata/03094_analyzer_fiddle_multiif/explain_3.txt b/parser/testdata/03094_analyzer_fiddle_multiif/explain_3.txt new file mode 100644 index 0000000000..9b4b72d081 --- /dev/null +++ b/parser/testdata/03094_analyzer_fiddle_multiif/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users_03094 diff --git a/parser/testdata/03094_analyzer_fiddle_multiif/explain_4.txt b/parser/testdata/03094_analyzer_fiddle_multiif/explain_4.txt new file mode 100644 index 0000000000..9b4b72d081 --- /dev/null +++ b/parser/testdata/03094_analyzer_fiddle_multiif/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users_03094 diff --git a/parser/testdata/03094_analyzer_fiddle_multiif/explain_5.txt b/parser/testdata/03094_analyzer_fiddle_multiif/explain_5.txt new file mode 100644 index 0000000000..9b4b72d081 --- /dev/null +++ b/parser/testdata/03094_analyzer_fiddle_multiif/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users_03094 diff --git a/parser/testdata/03094_grouparraysorted_memory/explain.txt b/parser/testdata/03094_grouparraysorted_memory/explain.txt index 44f32caa7e..6e8aa58f83 100644 --- a/parser/testdata/03094_grouparraysorted_memory/explain.txt +++ b/parser/testdata/03094_grouparraysorted_memory/explain.txt @@ -2,11 +2,16 @@ CreateQuery 03094_grouparrysorted_dest (children 3) Identifier 03094_grouparrysorted_dest Columns definition (children 1) ExpressionList (children 2) - ColumnDeclaration ServiceName (children 1) + ColumnDeclaration ServiceName (children 2) DataType LowCardinality (children 1) ExpressionList (children 1) DataType String - ColumnDeclaration SlowSpans (children 1) + Function CODEC (children 1) + ExpressionList (children 1) + Function ZSTD (children 1) + ExpressionList (children 1) + Literal UInt64_1 + ColumnDeclaration SlowSpans (children 2) DataType AggregateFunction (children 1) ExpressionList (children 2) Function groupArraySorted (children 1) @@ -24,6 +29,11 @@ CreateQuery 03094_grouparrysorted_dest (children 3) DataType String NameTypePair SpanId (children 1) DataType String + Function CODEC (children 1) + ExpressionList (children 1) + Function ZSTD (children 1) + ExpressionList (children 1) + Literal UInt64_1 Storage definition (children 2) Function AggregatingMergeTree (children 1) ExpressionList diff --git a/parser/testdata/03094_named_tuple_bug24607/explain.txt b/parser/testdata/03094_named_tuple_bug24607/explain.txt new file mode 100644 index 0000000000..0b08197fd3 --- /dev/null +++ b/parser/testdata/03094_named_tuple_bug24607/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function JSONExtract (alias x) (children 1) + ExpressionList (children 2) + Literal \'{"a":1, "b":"test"}\' + Literal \'Tuple(a UInt8, b String)\' + Identifier x.a + Set diff --git a/parser/testdata/03094_virtual_column_table_name/explain_35.txt b/parser/testdata/03094_virtual_column_table_name/explain_35.txt new file mode 100644 index 0000000000..9fb90d4731 --- /dev/null +++ b/parser/testdata/03094_virtual_column_table_name/explain_35.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier d1 diff --git a/parser/testdata/03094_virtual_column_table_name/explain_36.txt b/parser/testdata/03094_virtual_column_table_name/explain_36.txt new file mode 100644 index 0000000000..9fb90d4731 --- /dev/null +++ b/parser/testdata/03094_virtual_column_table_name/explain_36.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier d1 diff --git a/parser/testdata/03094_virtual_column_table_name/explain_37.txt b/parser/testdata/03094_virtual_column_table_name/explain_37.txt new file mode 100644 index 0000000000..583e693a73 --- /dev/null +++ b/parser/testdata/03094_virtual_column_table_name/explain_37.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier d2 diff --git a/parser/testdata/03094_virtual_column_table_name/explain_38.txt b/parser/testdata/03094_virtual_column_table_name/explain_38.txt new file mode 100644 index 0000000000..583e693a73 --- /dev/null +++ b/parser/testdata/03094_virtual_column_table_name/explain_38.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier d2 diff --git a/parser/testdata/03094_virtual_column_table_name/explain_39.txt b/parser/testdata/03094_virtual_column_table_name/explain_39.txt new file mode 100644 index 0000000000..1c836fceb7 --- /dev/null +++ b/parser/testdata/03094_virtual_column_table_name/explain_39.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier d3 diff --git a/parser/testdata/03094_virtual_column_table_name/explain_40.txt b/parser/testdata/03094_virtual_column_table_name/explain_40.txt new file mode 100644 index 0000000000..1c836fceb7 --- /dev/null +++ b/parser/testdata/03094_virtual_column_table_name/explain_40.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier d3 diff --git a/parser/testdata/03094_virtual_column_table_name/explain_41.txt b/parser/testdata/03094_virtual_column_table_name/explain_41.txt new file mode 100644 index 0000000000..88d738b652 --- /dev/null +++ b/parser/testdata/03094_virtual_column_table_name/explain_41.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier d8 diff --git a/parser/testdata/03094_virtual_column_table_name/explain_42.txt b/parser/testdata/03094_virtual_column_table_name/explain_42.txt new file mode 100644 index 0000000000..88d738b652 --- /dev/null +++ b/parser/testdata/03094_virtual_column_table_name/explain_42.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier d8 diff --git a/parser/testdata/03094_virtual_column_table_name/explain_43.txt b/parser/testdata/03094_virtual_column_table_name/explain_43.txt new file mode 100644 index 0000000000..7f832e780f --- /dev/null +++ b/parser/testdata/03094_virtual_column_table_name/explain_43.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier temp1 diff --git a/parser/testdata/03094_virtual_column_table_name/explain_44.txt b/parser/testdata/03094_virtual_column_table_name/explain_44.txt new file mode 100644 index 0000000000..ecb7e40bf3 --- /dev/null +++ b/parser/testdata/03094_virtual_column_table_name/explain_44.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier temp2 diff --git a/parser/testdata/03094_virtual_column_table_name/explain_53.txt b/parser/testdata/03094_virtual_column_table_name/explain_53.txt new file mode 100644 index 0000000000..0afc0ba4f0 --- /dev/null +++ b/parser/testdata/03094_virtual_column_table_name/explain_53.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier d5 diff --git a/parser/testdata/03094_virtual_column_table_name/explain_54.txt b/parser/testdata/03094_virtual_column_table_name/explain_54.txt new file mode 100644 index 0000000000..0afc0ba4f0 --- /dev/null +++ b/parser/testdata/03094_virtual_column_table_name/explain_54.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier d5 diff --git a/parser/testdata/03094_virtual_column_table_name/explain_56.txt b/parser/testdata/03094_virtual_column_table_name/explain_56.txt new file mode 100644 index 0000000000..c72eb42ba1 --- /dev/null +++ b/parser/testdata/03094_virtual_column_table_name/explain_56.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier buffer1 diff --git a/parser/testdata/03094_virtual_column_table_name/explain_61.txt b/parser/testdata/03094_virtual_column_table_name/explain_61.txt new file mode 100644 index 0000000000..42502227ee --- /dev/null +++ b/parser/testdata/03094_virtual_column_table_name/explain_61.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier d6 diff --git a/parser/testdata/03095_merge_and_buffer_tables/explain_8.txt b/parser/testdata/03095_merge_and_buffer_tables/explain_8.txt new file mode 100644 index 0000000000..78291d567a --- /dev/null +++ b/parser/testdata/03095_merge_and_buffer_tables/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mt1 diff --git a/parser/testdata/03095_merge_and_buffer_tables/explain_9.txt b/parser/testdata/03095_merge_and_buffer_tables/explain_9.txt new file mode 100644 index 0000000000..8c7c316521 --- /dev/null +++ b/parser/testdata/03095_merge_and_buffer_tables/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier b diff --git a/parser/testdata/03098_prefer_column_to_alias_subquery/explain_6.txt b/parser/testdata/03098_prefer_column_to_alias_subquery/explain_6.txt new file mode 100644 index 0000000000..73fbef380b --- /dev/null +++ b/parser/testdata/03098_prefer_column_to_alias_subquery/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier clickhouse_alias_issue_1 diff --git a/parser/testdata/03098_prefer_column_to_alias_subquery/explain_7.txt b/parser/testdata/03098_prefer_column_to_alias_subquery/explain_7.txt new file mode 100644 index 0000000000..8b8adfa6bb --- /dev/null +++ b/parser/testdata/03098_prefer_column_to_alias_subquery/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier clickhouse_alias_issue_2 diff --git a/parser/testdata/03100_analyzer_constants_in_multiif/explain_3.txt b/parser/testdata/03100_analyzer_constants_in_multiif/explain_3.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03100_analyzer_constants_in_multiif/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03100_analyzer_constants_in_multiif/explain_4.txt b/parser/testdata/03100_analyzer_constants_in_multiif/explain_4.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03100_analyzer_constants_in_multiif/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03100_analyzer_constants_in_multiif/explain_5.txt b/parser/testdata/03100_analyzer_constants_in_multiif/explain_5.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03100_analyzer_constants_in_multiif/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03100_lwu_01_basics/explain_16.txt b/parser/testdata/03100_lwu_01_basics/explain_16.txt new file mode 100644 index 0000000000..41c328b283 --- /dev/null +++ b/parser/testdata/03100_lwu_01_basics/explain_16.txt @@ -0,0 +1,5 @@ +AlterQuery t_shared (children 3) + ExpressionList (children 1) + AlterCommand APPLY_PATCHES + Identifier t_shared + Set diff --git a/parser/testdata/03100_lwu_01_basics/explain_19.txt b/parser/testdata/03100_lwu_01_basics/explain_19.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03100_lwu_01_basics/explain_19.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03100_lwu_01_basics/explain_9.txt b/parser/testdata/03100_lwu_01_basics/explain_9.txt new file mode 100644 index 0000000000..52a75d3f85 --- /dev/null +++ b/parser/testdata/03100_lwu_01_basics/explain_9.txt @@ -0,0 +1,15 @@ +UpdateQuery t_shared (children 3) + Identifier t_shared + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier id + Literal UInt64_2 + Literal UInt64_0 + ExpressionList (children 1) + Assignment c2 (children 1) + Function multiply (children 1) + ExpressionList (children 2) + Identifier c1 + Identifier c1 diff --git a/parser/testdata/03100_lwu_02_basics/explain_7.txt b/parser/testdata/03100_lwu_02_basics/explain_7.txt new file mode 100644 index 0000000000..96473afb03 --- /dev/null +++ b/parser/testdata/03100_lwu_02_basics/explain_7.txt @@ -0,0 +1,12 @@ +UpdateQuery t_shared (children 3) + Identifier t_shared + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier id + Literal UInt64_2 + Literal UInt64_1 + ExpressionList (children 1) + Assignment c1 (children 1) + Literal UInt64_111 diff --git a/parser/testdata/03100_lwu_02_basics/explain_9.txt b/parser/testdata/03100_lwu_02_basics/explain_9.txt new file mode 100644 index 0000000000..73781ebf95 --- /dev/null +++ b/parser/testdata/03100_lwu_02_basics/explain_9.txt @@ -0,0 +1,12 @@ +UpdateQuery t_shared (children 3) + Identifier t_shared + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier id + Literal UInt64_2 + Literal UInt64_0 + ExpressionList (children 1) + Assignment c1 (children 1) + Literal UInt64_222 diff --git a/parser/testdata/03100_lwu_03_join/explain_10.txt b/parser/testdata/03100_lwu_03_join/explain_10.txt new file mode 100644 index 0000000000..f5d7d876ba --- /dev/null +++ b/parser/testdata/03100_lwu_03_join/explain_10.txt @@ -0,0 +1,9 @@ +UpdateQuery t_shared (children 3) + Identifier t_shared + Function equals (children 1) + ExpressionList (children 2) + Identifier id + Literal UInt64_5 + ExpressionList (children 1) + Assignment c1 (children 1) + Literal UInt64_200 diff --git a/parser/testdata/03100_lwu_03_join/explain_17.txt b/parser/testdata/03100_lwu_03_join/explain_17.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03100_lwu_03_join/explain_17.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03100_lwu_03_join/explain_5.txt b/parser/testdata/03100_lwu_03_join/explain_5.txt new file mode 100644 index 0000000000..fb329bca56 --- /dev/null +++ b/parser/testdata/03100_lwu_03_join/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_shared diff --git a/parser/testdata/03100_lwu_03_join/explain_6.txt b/parser/testdata/03100_lwu_03_join/explain_6.txt new file mode 100644 index 0000000000..96febe6ff7 --- /dev/null +++ b/parser/testdata/03100_lwu_03_join/explain_6.txt @@ -0,0 +1,9 @@ +UpdateQuery t_shared (children 3) + Identifier t_shared + Function equals (children 1) + ExpressionList (children 2) + Identifier id + Literal UInt64_1 + ExpressionList (children 1) + Assignment c1 (children 1) + Literal UInt64_100 diff --git a/parser/testdata/03100_lwu_03_join/explain_9.txt b/parser/testdata/03100_lwu_03_join/explain_9.txt new file mode 100644 index 0000000000..fb329bca56 --- /dev/null +++ b/parser/testdata/03100_lwu_03_join/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_shared diff --git a/parser/testdata/03100_lwu_04_prewhere/explain_4.txt b/parser/testdata/03100_lwu_04_prewhere/explain_4.txt new file mode 100644 index 0000000000..fb329bca56 --- /dev/null +++ b/parser/testdata/03100_lwu_04_prewhere/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_shared diff --git a/parser/testdata/03100_lwu_04_prewhere/explain_5.txt b/parser/testdata/03100_lwu_04_prewhere/explain_5.txt new file mode 100644 index 0000000000..115d36be0a --- /dev/null +++ b/parser/testdata/03100_lwu_04_prewhere/explain_5.txt @@ -0,0 +1,11 @@ +UpdateQuery t_shared (children 3) + Identifier t_shared + Function equals (children 1) + ExpressionList (children 2) + Identifier id + Literal UInt64_1 + ExpressionList (children 2) + Assignment c1 (children 1) + Literal UInt64_111 + Assignment c2 (children 1) + Literal \'aaa\' diff --git a/parser/testdata/03100_lwu_04_prewhere/explain_6.txt b/parser/testdata/03100_lwu_04_prewhere/explain_6.txt new file mode 100644 index 0000000000..cc61a8b158 --- /dev/null +++ b/parser/testdata/03100_lwu_04_prewhere/explain_6.txt @@ -0,0 +1,9 @@ +UpdateQuery t_shared (children 3) + Identifier t_shared + Function equals (children 1) + ExpressionList (children 2) + Identifier id + Literal UInt64_3 + ExpressionList (children 1) + Assignment c2 (children 1) + Literal \'aaa\' diff --git a/parser/testdata/03100_lwu_04_prewhere/explain_7.txt b/parser/testdata/03100_lwu_04_prewhere/explain_7.txt new file mode 100644 index 0000000000..8376a5969e --- /dev/null +++ b/parser/testdata/03100_lwu_04_prewhere/explain_7.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t_shared + ExpressionList (children 1) + OrderByElement (children 1) + Identifier id + Set diff --git a/parser/testdata/03100_lwu_04_prewhere/explain_8.txt b/parser/testdata/03100_lwu_04_prewhere/explain_8.txt new file mode 100644 index 0000000000..8376a5969e --- /dev/null +++ b/parser/testdata/03100_lwu_04_prewhere/explain_8.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t_shared + ExpressionList (children 1) + OrderByElement (children 1) + Identifier id + Set diff --git a/parser/testdata/03100_lwu_05_basics/explain_4.txt b/parser/testdata/03100_lwu_05_basics/explain_4.txt new file mode 100644 index 0000000000..07e8477230 --- /dev/null +++ b/parser/testdata/03100_lwu_05_basics/explain_4.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t_lightweight + ExpressionList (children 2) + Identifier d + Identifier e diff --git a/parser/testdata/03100_lwu_05_basics/explain_5.txt b/parser/testdata/03100_lwu_05_basics/explain_5.txt new file mode 100644 index 0000000000..07e8477230 --- /dev/null +++ b/parser/testdata/03100_lwu_05_basics/explain_5.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t_lightweight + ExpressionList (children 2) + Identifier d + Identifier e diff --git a/parser/testdata/03100_lwu_05_basics/explain_6.txt b/parser/testdata/03100_lwu_05_basics/explain_6.txt new file mode 100644 index 0000000000..e88a0923f7 --- /dev/null +++ b/parser/testdata/03100_lwu_05_basics/explain_6.txt @@ -0,0 +1,12 @@ +UpdateQuery t_lightweight (children 3) + Identifier t_lightweight + Function equals (children 1) + ExpressionList (children 2) + Identifier d + Literal \'2018-01-02\' + ExpressionList (children 1) + Assignment e (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Literal \'foo\' + Literal \'Enum8(\\\'foo\\\' = 1, \\\'bar\\\' = 2)\' diff --git a/parser/testdata/03100_lwu_06_apply_patches/explain_10.txt b/parser/testdata/03100_lwu_06_apply_patches/explain_10.txt new file mode 100644 index 0000000000..fd53527dcb --- /dev/null +++ b/parser/testdata/03100_lwu_06_apply_patches/explain_10.txt @@ -0,0 +1,15 @@ +UpdateQuery t_shared (children 3) + Identifier t_shared + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier id + Literal UInt64_3 + Literal UInt64_0 + ExpressionList (children 1) + Assignment c1 (children 1) + Function plus (children 1) + ExpressionList (children 2) + Identifier id + Literal UInt64_1000 diff --git a/parser/testdata/03100_lwu_06_apply_patches/explain_12.txt b/parser/testdata/03100_lwu_06_apply_patches/explain_12.txt new file mode 100644 index 0000000000..8376a5969e --- /dev/null +++ b/parser/testdata/03100_lwu_06_apply_patches/explain_12.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t_shared + ExpressionList (children 1) + OrderByElement (children 1) + Identifier id + Set diff --git a/parser/testdata/03100_lwu_06_apply_patches/explain_14.txt b/parser/testdata/03100_lwu_06_apply_patches/explain_14.txt new file mode 100644 index 0000000000..8376a5969e --- /dev/null +++ b/parser/testdata/03100_lwu_06_apply_patches/explain_14.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t_shared + ExpressionList (children 1) + OrderByElement (children 1) + Identifier id + Set diff --git a/parser/testdata/03100_lwu_06_apply_patches/explain_16.txt b/parser/testdata/03100_lwu_06_apply_patches/explain_16.txt new file mode 100644 index 0000000000..8376a5969e --- /dev/null +++ b/parser/testdata/03100_lwu_06_apply_patches/explain_16.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t_shared + ExpressionList (children 1) + OrderByElement (children 1) + Identifier id + Set diff --git a/parser/testdata/03100_lwu_06_apply_patches/explain_19.txt b/parser/testdata/03100_lwu_06_apply_patches/explain_19.txt new file mode 100644 index 0000000000..8376a5969e --- /dev/null +++ b/parser/testdata/03100_lwu_06_apply_patches/explain_19.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t_shared + ExpressionList (children 1) + OrderByElement (children 1) + Identifier id + Set diff --git a/parser/testdata/03100_lwu_06_apply_patches/explain_7.txt b/parser/testdata/03100_lwu_06_apply_patches/explain_7.txt new file mode 100644 index 0000000000..7b411ae03a --- /dev/null +++ b/parser/testdata/03100_lwu_06_apply_patches/explain_7.txt @@ -0,0 +1,15 @@ +UpdateQuery t_shared (children 3) + Identifier t_shared + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier id + Literal UInt64_2 + Literal UInt64_0 + ExpressionList (children 1) + Assignment c1 (children 1) + Function plus (children 1) + ExpressionList (children 2) + Identifier id + Literal UInt64_100 diff --git a/parser/testdata/03100_lwu_06_apply_patches/explain_9.txt b/parser/testdata/03100_lwu_06_apply_patches/explain_9.txt new file mode 100644 index 0000000000..c096f64ffe --- /dev/null +++ b/parser/testdata/03100_lwu_06_apply_patches/explain_9.txt @@ -0,0 +1,15 @@ +AlterQuery t_shared (children 2) + ExpressionList (children 2) + AlterCommand APPLY_PATCHES + AlterCommand UPDATE (children 2) + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier id + Literal UInt64_10 + Literal UInt64_0 + ExpressionList (children 1) + Assignment c1 (children 1) + Literal UInt64_2000 + Identifier t_shared diff --git a/parser/testdata/03100_lwu_07_merge_patches/explain_10.txt b/parser/testdata/03100_lwu_07_merge_patches/explain_10.txt new file mode 100644 index 0000000000..62f4010464 --- /dev/null +++ b/parser/testdata/03100_lwu_07_merge_patches/explain_10.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t_lightweight + ExpressionList (children 1) + OrderByElement (children 1) + Identifier id + Set diff --git a/parser/testdata/03100_lwu_07_merge_patches/explain_13.txt b/parser/testdata/03100_lwu_07_merge_patches/explain_13.txt new file mode 100644 index 0000000000..62f4010464 --- /dev/null +++ b/parser/testdata/03100_lwu_07_merge_patches/explain_13.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t_lightweight + ExpressionList (children 1) + OrderByElement (children 1) + Identifier id + Set diff --git a/parser/testdata/03100_lwu_07_merge_patches/explain_5.txt b/parser/testdata/03100_lwu_07_merge_patches/explain_5.txt new file mode 100644 index 0000000000..ad1a5b078e --- /dev/null +++ b/parser/testdata/03100_lwu_07_merge_patches/explain_5.txt @@ -0,0 +1,15 @@ +UpdateQuery t_lightweight (children 3) + Identifier t_lightweight + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier id + Literal UInt64_2 + Literal UInt64_0 + ExpressionList (children 1) + Assignment c1 (children 1) + Function plus (children 1) + ExpressionList (children 2) + Identifier c1 + Literal UInt64_100 diff --git a/parser/testdata/03100_lwu_07_merge_patches/explain_6.txt b/parser/testdata/03100_lwu_07_merge_patches/explain_6.txt new file mode 100644 index 0000000000..2078837865 --- /dev/null +++ b/parser/testdata/03100_lwu_07_merge_patches/explain_6.txt @@ -0,0 +1,15 @@ +UpdateQuery t_lightweight (children 3) + Identifier t_lightweight + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier id + Literal UInt64_3 + Literal UInt64_0 + ExpressionList (children 1) + Assignment c1 (children 1) + Function plus (children 1) + ExpressionList (children 2) + Identifier c1 + Literal UInt64_1000 diff --git a/parser/testdata/03100_lwu_07_merge_patches/explain_7.txt b/parser/testdata/03100_lwu_07_merge_patches/explain_7.txt new file mode 100644 index 0000000000..9e94a83077 --- /dev/null +++ b/parser/testdata/03100_lwu_07_merge_patches/explain_7.txt @@ -0,0 +1,9 @@ +UpdateQuery t_lightweight (children 3) + Identifier t_lightweight + Function equals (children 1) + ExpressionList (children 2) + Identifier id + Literal UInt64_10 + ExpressionList (children 1) + Assignment c1 (children 1) + Literal UInt64_10000 diff --git a/parser/testdata/03100_lwu_07_merge_patches/explain_8.txt b/parser/testdata/03100_lwu_07_merge_patches/explain_8.txt new file mode 100644 index 0000000000..bfe063f21c --- /dev/null +++ b/parser/testdata/03100_lwu_07_merge_patches/explain_8.txt @@ -0,0 +1,9 @@ +UpdateQuery t_lightweight (children 3) + Identifier t_lightweight + Function equals (children 1) + ExpressionList (children 2) + Identifier id + Literal UInt64_10 + ExpressionList (children 1) + Assignment c1 (children 1) + Literal UInt64_13000 diff --git a/parser/testdata/03100_lwu_07_merge_patches/explain_9.txt b/parser/testdata/03100_lwu_07_merge_patches/explain_9.txt new file mode 100644 index 0000000000..c4e79d7ad1 --- /dev/null +++ b/parser/testdata/03100_lwu_07_merge_patches/explain_9.txt @@ -0,0 +1,9 @@ +UpdateQuery t_lightweight (children 3) + Identifier t_lightweight + Function equals (children 1) + ExpressionList (children 2) + Identifier id + Literal UInt64_15 + ExpressionList (children 1) + Assignment c1 (children 1) + Literal UInt64_15000 diff --git a/parser/testdata/03100_lwu_08_multiple_blocks/explain_5.txt b/parser/testdata/03100_lwu_08_multiple_blocks/explain_5.txt new file mode 100644 index 0000000000..498166f3e9 --- /dev/null +++ b/parser/testdata/03100_lwu_08_multiple_blocks/explain_5.txt @@ -0,0 +1,12 @@ +UpdateQuery t_lightweight_8 (children 3) + Identifier t_lightweight_8 + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier id + Literal UInt64_20000 + Literal UInt64_0 + ExpressionList (children 1) + Assignment v (children 1) + Literal UInt64_1 diff --git a/parser/testdata/03100_lwu_09_different_structure/explain_6.txt b/parser/testdata/03100_lwu_09_different_structure/explain_6.txt new file mode 100644 index 0000000000..e034f87c6e --- /dev/null +++ b/parser/testdata/03100_lwu_09_different_structure/explain_6.txt @@ -0,0 +1,15 @@ +UpdateQuery t_shared (children 3) + Identifier t_shared + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier id + Literal UInt64_2 + Literal UInt64_0 + ExpressionList (children 1) + Assignment c1 (children 1) + Function multiply (children 1) + ExpressionList (children 2) + Identifier c1 + Literal UInt64_10 diff --git a/parser/testdata/03100_lwu_09_different_structure/explain_7.txt b/parser/testdata/03100_lwu_09_different_structure/explain_7.txt new file mode 100644 index 0000000000..d543e3ee24 --- /dev/null +++ b/parser/testdata/03100_lwu_09_different_structure/explain_7.txt @@ -0,0 +1,15 @@ +UpdateQuery t_shared (children 3) + Identifier t_shared + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier id + Literal UInt64_2 + Literal UInt64_1 + ExpressionList (children 1) + Assignment s (children 1) + Function concat (children 1) + ExpressionList (children 2) + Identifier s + Literal \'_foo\' diff --git a/parser/testdata/03100_lwu_09_different_structure/explain_8.txt b/parser/testdata/03100_lwu_09_different_structure/explain_8.txt new file mode 100644 index 0000000000..1610cead88 --- /dev/null +++ b/parser/testdata/03100_lwu_09_different_structure/explain_8.txt @@ -0,0 +1,15 @@ +UpdateQuery t_shared (children 3) + Identifier t_shared + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier id + Literal UInt64_3 + Literal UInt64_0 + ExpressionList (children 1) + Assignment c1 (children 1) + Function plus (children 1) + ExpressionList (children 2) + Identifier c1 + Literal UInt64_1000 diff --git a/parser/testdata/03100_lwu_10_apply_on_merges/explain_10.txt b/parser/testdata/03100_lwu_10_apply_on_merges/explain_10.txt new file mode 100644 index 0000000000..12e03a52f8 --- /dev/null +++ b/parser/testdata/03100_lwu_10_apply_on_merges/explain_10.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Function sum (children 1) + ExpressionList (children 1) + Identifier u + Function countIf (children 1) + ExpressionList (children 1) + Function endsWith (children 1) + ExpressionList (children 2) + Identifier s + Literal \'_foo\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t_lwu_merges + Set diff --git a/parser/testdata/03100_lwu_10_apply_on_merges/explain_12.txt b/parser/testdata/03100_lwu_10_apply_on_merges/explain_12.txt new file mode 100644 index 0000000000..12e03a52f8 --- /dev/null +++ b/parser/testdata/03100_lwu_10_apply_on_merges/explain_12.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Function sum (children 1) + ExpressionList (children 1) + Identifier u + Function countIf (children 1) + ExpressionList (children 1) + Function endsWith (children 1) + ExpressionList (children 2) + Identifier s + Literal \'_foo\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t_lwu_merges + Set diff --git a/parser/testdata/03100_lwu_10_apply_on_merges/explain_13.txt b/parser/testdata/03100_lwu_10_apply_on_merges/explain_13.txt new file mode 100644 index 0000000000..12e03a52f8 --- /dev/null +++ b/parser/testdata/03100_lwu_10_apply_on_merges/explain_13.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Function sum (children 1) + ExpressionList (children 1) + Identifier u + Function countIf (children 1) + ExpressionList (children 1) + Function endsWith (children 1) + ExpressionList (children 2) + Identifier s + Literal \'_foo\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t_lwu_merges + Set diff --git a/parser/testdata/03100_lwu_10_apply_on_merges/explain_14.txt b/parser/testdata/03100_lwu_10_apply_on_merges/explain_14.txt new file mode 100644 index 0000000000..a205d6a0cc --- /dev/null +++ b/parser/testdata/03100_lwu_10_apply_on_merges/explain_14.txt @@ -0,0 +1,12 @@ +UpdateQuery t_lwu_merges (children 3) + Identifier t_lwu_merges + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier id + Literal UInt64_3 + Literal UInt64_1 + ExpressionList (children 1) + Assignment u (children 1) + Literal UInt64_0 diff --git a/parser/testdata/03100_lwu_10_apply_on_merges/explain_16.txt b/parser/testdata/03100_lwu_10_apply_on_merges/explain_16.txt new file mode 100644 index 0000000000..abec7465e6 --- /dev/null +++ b/parser/testdata/03100_lwu_10_apply_on_merges/explain_16.txt @@ -0,0 +1,12 @@ +UpdateQuery t_lwu_merges (children 3) + Identifier t_lwu_merges + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier id + Literal UInt64_3 + Literal UInt64_2 + ExpressionList (children 1) + Assignment u (children 1) + Literal UInt64_0 diff --git a/parser/testdata/03100_lwu_10_apply_on_merges/explain_20.txt b/parser/testdata/03100_lwu_10_apply_on_merges/explain_20.txt new file mode 100644 index 0000000000..12e03a52f8 --- /dev/null +++ b/parser/testdata/03100_lwu_10_apply_on_merges/explain_20.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Function sum (children 1) + ExpressionList (children 1) + Identifier u + Function countIf (children 1) + ExpressionList (children 1) + Function endsWith (children 1) + ExpressionList (children 2) + Identifier s + Literal \'_foo\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t_lwu_merges + Set diff --git a/parser/testdata/03100_lwu_10_apply_on_merges/explain_21.txt b/parser/testdata/03100_lwu_10_apply_on_merges/explain_21.txt new file mode 100644 index 0000000000..12e03a52f8 --- /dev/null +++ b/parser/testdata/03100_lwu_10_apply_on_merges/explain_21.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Function sum (children 1) + ExpressionList (children 1) + Identifier u + Function countIf (children 1) + ExpressionList (children 1) + Function endsWith (children 1) + ExpressionList (children 2) + Identifier s + Literal \'_foo\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t_lwu_merges + Set diff --git a/parser/testdata/03100_lwu_10_apply_on_merges/explain_5.txt b/parser/testdata/03100_lwu_10_apply_on_merges/explain_5.txt new file mode 100644 index 0000000000..31989d50dd --- /dev/null +++ b/parser/testdata/03100_lwu_10_apply_on_merges/explain_5.txt @@ -0,0 +1,15 @@ +UpdateQuery t_lwu_merges (children 3) + Identifier t_lwu_merges + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier id + Literal UInt64_3 + Literal UInt64_0 + ExpressionList (children 1) + Assignment s (children 1) + Function concat (children 1) + ExpressionList (children 2) + Identifier s + Literal \'_foo\' diff --git a/parser/testdata/03100_lwu_10_apply_on_merges/explain_6.txt b/parser/testdata/03100_lwu_10_apply_on_merges/explain_6.txt new file mode 100644 index 0000000000..3eb6a00be6 --- /dev/null +++ b/parser/testdata/03100_lwu_10_apply_on_merges/explain_6.txt @@ -0,0 +1,15 @@ +UpdateQuery t_lwu_merges (children 3) + Identifier t_lwu_merges + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier id + Literal UInt64_3 + Literal UInt64_1 + ExpressionList (children 1) + Assignment u (children 1) + Function multiply (children 1) + ExpressionList (children 2) + Identifier id + Literal UInt64_10 diff --git a/parser/testdata/03100_lwu_10_apply_on_merges/explain_9.txt b/parser/testdata/03100_lwu_10_apply_on_merges/explain_9.txt new file mode 100644 index 0000000000..12e03a52f8 --- /dev/null +++ b/parser/testdata/03100_lwu_10_apply_on_merges/explain_9.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Function sum (children 1) + ExpressionList (children 1) + Identifier u + Function countIf (children 1) + ExpressionList (children 1) + Function endsWith (children 1) + ExpressionList (children 2) + Identifier s + Literal \'_foo\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t_lwu_merges + Set diff --git a/parser/testdata/03100_lwu_12_sequential_consistency/explain_12.txt b/parser/testdata/03100_lwu_12_sequential_consistency/explain_12.txt new file mode 100644 index 0000000000..322e52504b --- /dev/null +++ b/parser/testdata/03100_lwu_12_sequential_consistency/explain_12.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t_lwu_sequential_1 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier id + Set diff --git a/parser/testdata/03100_lwu_12_sequential_consistency/explain_13.txt b/parser/testdata/03100_lwu_12_sequential_consistency/explain_13.txt new file mode 100644 index 0000000000..322e52504b --- /dev/null +++ b/parser/testdata/03100_lwu_12_sequential_consistency/explain_13.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t_lwu_sequential_1 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier id + Set diff --git a/parser/testdata/03100_lwu_12_sequential_consistency/explain_8.txt b/parser/testdata/03100_lwu_12_sequential_consistency/explain_8.txt new file mode 100644 index 0000000000..094c560d0d --- /dev/null +++ b/parser/testdata/03100_lwu_12_sequential_consistency/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_lwu_sequential_1 diff --git a/parser/testdata/03100_lwu_12_sequential_consistency/explain_9.txt b/parser/testdata/03100_lwu_12_sequential_consistency/explain_9.txt new file mode 100644 index 0000000000..d7cf532314 --- /dev/null +++ b/parser/testdata/03100_lwu_12_sequential_consistency/explain_9.txt @@ -0,0 +1,9 @@ +UpdateQuery t_lwu_sequential_2 (children 3) + Identifier t_lwu_sequential_2 + Function equals (children 1) + ExpressionList (children 2) + Identifier id + Literal UInt64_1 + ExpressionList (children 1) + Assignment s (children 1) + Literal \'foo\' diff --git a/parser/testdata/03100_lwu_18_sequence/explain_10.txt b/parser/testdata/03100_lwu_18_sequence/explain_10.txt new file mode 100644 index 0000000000..d657f7fec0 --- /dev/null +++ b/parser/testdata/03100_lwu_18_sequence/explain_10.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Identifier b + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t_lwu_sequence + Function equals (children 1) + ExpressionList (children 2) + Identifier a + Literal UInt64_5 + Set diff --git a/parser/testdata/03100_lwu_18_sequence/explain_13.txt b/parser/testdata/03100_lwu_18_sequence/explain_13.txt new file mode 100644 index 0000000000..d657f7fec0 --- /dev/null +++ b/parser/testdata/03100_lwu_18_sequence/explain_13.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Identifier b + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t_lwu_sequence + Function equals (children 1) + ExpressionList (children 2) + Identifier a + Literal UInt64_5 + Set diff --git a/parser/testdata/03100_lwu_18_sequence/explain_14.txt b/parser/testdata/03100_lwu_18_sequence/explain_14.txt new file mode 100644 index 0000000000..d657f7fec0 --- /dev/null +++ b/parser/testdata/03100_lwu_18_sequence/explain_14.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Identifier b + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t_lwu_sequence + Function equals (children 1) + ExpressionList (children 2) + Identifier a + Literal UInt64_5 + Set diff --git a/parser/testdata/03100_lwu_18_sequence/explain_17.txt b/parser/testdata/03100_lwu_18_sequence/explain_17.txt new file mode 100644 index 0000000000..d657f7fec0 --- /dev/null +++ b/parser/testdata/03100_lwu_18_sequence/explain_17.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Identifier b + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t_lwu_sequence + Function equals (children 1) + ExpressionList (children 2) + Identifier a + Literal UInt64_5 + Set diff --git a/parser/testdata/03100_lwu_18_sequence/explain_18.txt b/parser/testdata/03100_lwu_18_sequence/explain_18.txt new file mode 100644 index 0000000000..d657f7fec0 --- /dev/null +++ b/parser/testdata/03100_lwu_18_sequence/explain_18.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Identifier b + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t_lwu_sequence + Function equals (children 1) + ExpressionList (children 2) + Identifier a + Literal UInt64_5 + Set diff --git a/parser/testdata/03100_lwu_18_sequence/explain_5.txt b/parser/testdata/03100_lwu_18_sequence/explain_5.txt new file mode 100644 index 0000000000..2f95046cc0 --- /dev/null +++ b/parser/testdata/03100_lwu_18_sequence/explain_5.txt @@ -0,0 +1,9 @@ +UpdateQuery t_lwu_sequence (children 3) + Identifier t_lwu_sequence + Function equals (children 1) + ExpressionList (children 2) + Identifier a + Literal UInt64_5 + ExpressionList (children 1) + Assignment b (children 1) + Literal UInt64_500 diff --git a/parser/testdata/03100_lwu_18_sequence/explain_6.txt b/parser/testdata/03100_lwu_18_sequence/explain_6.txt new file mode 100644 index 0000000000..9792d62c92 --- /dev/null +++ b/parser/testdata/03100_lwu_18_sequence/explain_6.txt @@ -0,0 +1,9 @@ +UpdateQuery t_lwu_sequence (children 3) + Identifier t_lwu_sequence + Function equals (children 1) + ExpressionList (children 2) + Identifier a + Literal UInt64_5 + ExpressionList (children 1) + Assignment b (children 1) + Literal UInt64_501 diff --git a/parser/testdata/03100_lwu_18_sequence/explain_7.txt b/parser/testdata/03100_lwu_18_sequence/explain_7.txt new file mode 100644 index 0000000000..4bb1bea23b --- /dev/null +++ b/parser/testdata/03100_lwu_18_sequence/explain_7.txt @@ -0,0 +1,9 @@ +UpdateQuery t_lwu_sequence (children 3) + Identifier t_lwu_sequence + Function equals (children 1) + ExpressionList (children 2) + Identifier a + Literal UInt64_5 + ExpressionList (children 1) + Assignment b (children 1) + Literal UInt64_502 diff --git a/parser/testdata/03100_lwu_18_sequence/explain_8.txt b/parser/testdata/03100_lwu_18_sequence/explain_8.txt new file mode 100644 index 0000000000..635edc5e3c --- /dev/null +++ b/parser/testdata/03100_lwu_18_sequence/explain_8.txt @@ -0,0 +1,9 @@ +UpdateQuery t_lwu_sequence (children 3) + Identifier t_lwu_sequence + Function equals (children 1) + ExpressionList (children 2) + Identifier a + Literal UInt64_5 + ExpressionList (children 1) + Assignment b (children 1) + Literal UInt64_503 diff --git a/parser/testdata/03100_lwu_18_sequence/explain_9.txt b/parser/testdata/03100_lwu_18_sequence/explain_9.txt new file mode 100644 index 0000000000..d657f7fec0 --- /dev/null +++ b/parser/testdata/03100_lwu_18_sequence/explain_9.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Identifier b + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t_lwu_sequence + Function equals (children 1) + ExpressionList (children 2) + Identifier a + Literal UInt64_5 + Set diff --git a/parser/testdata/03100_lwu_19_nullable/explain_10.txt b/parser/testdata/03100_lwu_19_nullable/explain_10.txt new file mode 100644 index 0000000000..3567276391 --- /dev/null +++ b/parser/testdata/03100_lwu_19_nullable/explain_10.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier mutation_table + ExpressionList (children 2) + Identifier name + Identifier dt diff --git a/parser/testdata/03100_lwu_19_nullable/explain_12.txt b/parser/testdata/03100_lwu_19_nullable/explain_12.txt new file mode 100644 index 0000000000..2de7ca8e02 --- /dev/null +++ b/parser/testdata/03100_lwu_19_nullable/explain_12.txt @@ -0,0 +1,11 @@ +UpdateQuery mutation_table (children 3) + Identifier mutation_table + Function equals (children 1) + ExpressionList (children 2) + Identifier name + Literal \'car\' + ExpressionList (children 1) + Assignment dt (children 1) + Function toDateOrNull (children 1) + ExpressionList (children 1) + Literal \'2020-08-02\' diff --git a/parser/testdata/03100_lwu_19_nullable/explain_14.txt b/parser/testdata/03100_lwu_19_nullable/explain_14.txt new file mode 100644 index 0000000000..3567276391 --- /dev/null +++ b/parser/testdata/03100_lwu_19_nullable/explain_14.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier mutation_table + ExpressionList (children 2) + Identifier name + Identifier dt diff --git a/parser/testdata/03100_lwu_19_nullable/explain_15.txt b/parser/testdata/03100_lwu_19_nullable/explain_15.txt new file mode 100644 index 0000000000..3567276391 --- /dev/null +++ b/parser/testdata/03100_lwu_19_nullable/explain_15.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier mutation_table + ExpressionList (children 2) + Identifier name + Identifier dt diff --git a/parser/testdata/03100_lwu_19_nullable/explain_16.txt b/parser/testdata/03100_lwu_19_nullable/explain_16.txt new file mode 100644 index 0000000000..a3e98e1190 --- /dev/null +++ b/parser/testdata/03100_lwu_19_nullable/explain_16.txt @@ -0,0 +1,16 @@ +UpdateQuery mutation_table (children 3) + Identifier mutation_table + Function and (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier name + Literal \'car\' + Function isNull (children 1) + ExpressionList (children 1) + Identifier dt + ExpressionList (children 1) + Assignment dt (children 1) + Function toDateOrNull (children 1) + ExpressionList (children 1) + Literal \'2020-08-03\' diff --git a/parser/testdata/03100_lwu_19_nullable/explain_18.txt b/parser/testdata/03100_lwu_19_nullable/explain_18.txt new file mode 100644 index 0000000000..f6dd1d5072 --- /dev/null +++ b/parser/testdata/03100_lwu_19_nullable/explain_18.txt @@ -0,0 +1,16 @@ +UpdateQuery mutation_table (children 3) + Identifier mutation_table + Function or (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier name + Literal \'car\' + Function isNull (children 1) + ExpressionList (children 1) + Identifier dt + ExpressionList (children 1) + Assignment dt (children 1) + Function toDateOrNull (children 1) + ExpressionList (children 1) + Literal \'2020-08-04\' diff --git a/parser/testdata/03100_lwu_19_nullable/explain_20.txt b/parser/testdata/03100_lwu_19_nullable/explain_20.txt new file mode 100644 index 0000000000..3567276391 --- /dev/null +++ b/parser/testdata/03100_lwu_19_nullable/explain_20.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier mutation_table + ExpressionList (children 2) + Identifier name + Identifier dt diff --git a/parser/testdata/03100_lwu_19_nullable/explain_21.txt b/parser/testdata/03100_lwu_19_nullable/explain_21.txt new file mode 100644 index 0000000000..e5d993bda1 --- /dev/null +++ b/parser/testdata/03100_lwu_19_nullable/explain_21.txt @@ -0,0 +1,8 @@ +UpdateQuery mutation_table (children 3) + Identifier mutation_table + Function isNotNull (children 1) + ExpressionList (children 1) + Identifier name + ExpressionList (children 1) + Assignment dt (children 1) + Literal NULL diff --git a/parser/testdata/03100_lwu_19_nullable/explain_4.txt b/parser/testdata/03100_lwu_19_nullable/explain_4.txt new file mode 100644 index 0000000000..72112ab862 --- /dev/null +++ b/parser/testdata/03100_lwu_19_nullable/explain_4.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier mutation_table + ExpressionList (children 2) + Identifier id + Identifier price diff --git a/parser/testdata/03100_lwu_19_nullable/explain_5.txt b/parser/testdata/03100_lwu_19_nullable/explain_5.txt new file mode 100644 index 0000000000..c6f95289d7 --- /dev/null +++ b/parser/testdata/03100_lwu_19_nullable/explain_5.txt @@ -0,0 +1,9 @@ +UpdateQuery mutation_table (children 3) + Identifier mutation_table + Function equals (children 1) + ExpressionList (children 2) + Identifier id + Literal UInt64_1 + ExpressionList (children 1) + Assignment price (children 1) + Literal UInt64_150 diff --git a/parser/testdata/03100_lwu_19_nullable/explain_9.txt b/parser/testdata/03100_lwu_19_nullable/explain_9.txt new file mode 100644 index 0000000000..3567276391 --- /dev/null +++ b/parser/testdata/03100_lwu_19_nullable/explain_9.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier mutation_table + ExpressionList (children 2) + Identifier name + Identifier dt diff --git a/parser/testdata/03100_lwu_20_different_structure/explain_12.txt b/parser/testdata/03100_lwu_20_different_structure/explain_12.txt new file mode 100644 index 0000000000..22bee0de39 --- /dev/null +++ b/parser/testdata/03100_lwu_20_different_structure/explain_12.txt @@ -0,0 +1,9 @@ +UpdateQuery testing (children 3) + Identifier testing + Literal UInt64_1 + ExpressionList (children 1) + Assignment d (children 1) + Function minus (children 1) + ExpressionList (children 2) + Identifier d + Literal UInt64_1 diff --git a/parser/testdata/03100_lwu_20_different_structure/explain_16.txt b/parser/testdata/03100_lwu_20_different_structure/explain_16.txt new file mode 100644 index 0000000000..b483566ee5 --- /dev/null +++ b/parser/testdata/03100_lwu_20_different_structure/explain_16.txt @@ -0,0 +1,9 @@ +UpdateQuery testing (children 3) + Identifier testing + Literal UInt64_1 + ExpressionList (children 1) + Assignment c (children 1) + Function minus (children 1) + ExpressionList (children 2) + Identifier c + Literal UInt64_1 diff --git a/parser/testdata/03100_lwu_20_different_structure/explain_8.txt b/parser/testdata/03100_lwu_20_different_structure/explain_8.txt new file mode 100644 index 0000000000..9fb237f7c2 --- /dev/null +++ b/parser/testdata/03100_lwu_20_different_structure/explain_8.txt @@ -0,0 +1,14 @@ +UpdateQuery testing (children 3) + Identifier testing + Literal UInt64_1 + ExpressionList (children 2) + Assignment c (children 1) + Function plus (children 1) + ExpressionList (children 2) + Identifier c + Literal UInt64_1 + Assignment d (children 1) + Function plus (children 1) + ExpressionList (children 2) + Identifier d + Literal UInt64_2 diff --git a/parser/testdata/03100_lwu_22_detach_attach_patches/explain_10.txt b/parser/testdata/03100_lwu_22_detach_attach_patches/explain_10.txt new file mode 100644 index 0000000000..00db7c70ff --- /dev/null +++ b/parser/testdata/03100_lwu_22_detach_attach_patches/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_detach_attach_patches diff --git a/parser/testdata/03100_lwu_22_detach_attach_patches/explain_11.txt b/parser/testdata/03100_lwu_22_detach_attach_patches/explain_11.txt new file mode 100644 index 0000000000..00db7c70ff --- /dev/null +++ b/parser/testdata/03100_lwu_22_detach_attach_patches/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_detach_attach_patches diff --git a/parser/testdata/03100_lwu_22_detach_attach_patches/explain_12.txt b/parser/testdata/03100_lwu_22_detach_attach_patches/explain_12.txt new file mode 100644 index 0000000000..00db7c70ff --- /dev/null +++ b/parser/testdata/03100_lwu_22_detach_attach_patches/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_detach_attach_patches diff --git a/parser/testdata/03100_lwu_22_detach_attach_patches/explain_13.txt b/parser/testdata/03100_lwu_22_detach_attach_patches/explain_13.txt new file mode 100644 index 0000000000..00db7c70ff --- /dev/null +++ b/parser/testdata/03100_lwu_22_detach_attach_patches/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_detach_attach_patches diff --git a/parser/testdata/03100_lwu_22_detach_attach_patches/explain_14.txt b/parser/testdata/03100_lwu_22_detach_attach_patches/explain_14.txt new file mode 100644 index 0000000000..00db7c70ff --- /dev/null +++ b/parser/testdata/03100_lwu_22_detach_attach_patches/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_detach_attach_patches diff --git a/parser/testdata/03100_lwu_22_detach_attach_patches/explain_15.txt b/parser/testdata/03100_lwu_22_detach_attach_patches/explain_15.txt new file mode 100644 index 0000000000..981de44a38 --- /dev/null +++ b/parser/testdata/03100_lwu_22_detach_attach_patches/explain_15.txt @@ -0,0 +1,12 @@ +UpdateQuery t_detach_attach_patches (children 3) + Identifier t_detach_attach_patches + Function equals (children 1) + ExpressionList (children 2) + Identifier a + Literal UInt64_1 + ExpressionList (children 1) + Assignment b (children 1) + Function plus (children 1) + ExpressionList (children 2) + Identifier b + Literal UInt64_1 diff --git a/parser/testdata/03100_lwu_22_detach_attach_patches/explain_16.txt b/parser/testdata/03100_lwu_22_detach_attach_patches/explain_16.txt new file mode 100644 index 0000000000..5c280fdcfb --- /dev/null +++ b/parser/testdata/03100_lwu_22_detach_attach_patches/explain_16.txt @@ -0,0 +1,12 @@ +UpdateQuery t_detach_attach_patches (children 3) + Identifier t_detach_attach_patches + Function equals (children 1) + ExpressionList (children 2) + Identifier a + Literal UInt64_2 + ExpressionList (children 1) + Assignment c (children 1) + Function plus (children 1) + ExpressionList (children 2) + Identifier c + Literal UInt64_2 diff --git a/parser/testdata/03100_lwu_22_detach_attach_patches/explain_17.txt b/parser/testdata/03100_lwu_22_detach_attach_patches/explain_17.txt new file mode 100644 index 0000000000..5edd733a49 --- /dev/null +++ b/parser/testdata/03100_lwu_22_detach_attach_patches/explain_17.txt @@ -0,0 +1,14 @@ +UpdateQuery t_detach_attach_patches (children 3) + Identifier t_detach_attach_patches + Literal UInt64_1 + ExpressionList (children 2) + Assignment b (children 1) + Function plus (children 1) + ExpressionList (children 2) + Identifier b + Literal UInt64_3 + Assignment c (children 1) + Function plus (children 1) + ExpressionList (children 2) + Identifier c + Literal UInt64_3 diff --git a/parser/testdata/03100_lwu_22_detach_attach_patches/explain_21.txt b/parser/testdata/03100_lwu_22_detach_attach_patches/explain_21.txt new file mode 100644 index 0000000000..94d0be20b5 --- /dev/null +++ b/parser/testdata/03100_lwu_22_detach_attach_patches/explain_21.txt @@ -0,0 +1,6 @@ +AlterQuery t_detach_attach_patches (children 2) + ExpressionList (children 1) + AlterCommand APPLY_PATCHES (children 1) + Partition (children 1) + Literal UInt64_0 + Identifier t_detach_attach_patches diff --git a/parser/testdata/03100_lwu_22_detach_attach_patches/explain_24.txt b/parser/testdata/03100_lwu_22_detach_attach_patches/explain_24.txt new file mode 100644 index 0000000000..3943133962 --- /dev/null +++ b/parser/testdata/03100_lwu_22_detach_attach_patches/explain_24.txt @@ -0,0 +1,6 @@ +AlterQuery t_detach_attach_patches (children 2) + ExpressionList (children 1) + AlterCommand APPLY_PATCHES (children 1) + Partition (children 1) + Literal UInt64_1 + Identifier t_detach_attach_patches diff --git a/parser/testdata/03100_lwu_22_detach_attach_patches/explain_27.txt b/parser/testdata/03100_lwu_22_detach_attach_patches/explain_27.txt new file mode 100644 index 0000000000..acd9111818 --- /dev/null +++ b/parser/testdata/03100_lwu_22_detach_attach_patches/explain_27.txt @@ -0,0 +1,6 @@ +AlterQuery t_detach_attach_patches (children 2) + ExpressionList (children 1) + AlterCommand APPLY_PATCHES (children 1) + Partition (children 1) + Literal UInt64_2 + Identifier t_detach_attach_patches diff --git a/parser/testdata/03100_lwu_22_detach_attach_patches/explain_30.txt b/parser/testdata/03100_lwu_22_detach_attach_patches/explain_30.txt new file mode 100644 index 0000000000..17521c23d2 --- /dev/null +++ b/parser/testdata/03100_lwu_22_detach_attach_patches/explain_30.txt @@ -0,0 +1,6 @@ +AlterQuery t_detach_attach_patches (children 2) + ExpressionList (children 1) + AlterCommand APPLY_PATCHES (children 1) + Partition (children 1) + Literal UInt64_3 + Identifier t_detach_attach_patches diff --git a/parser/testdata/03100_lwu_22_detach_attach_patches/explain_9.txt b/parser/testdata/03100_lwu_22_detach_attach_patches/explain_9.txt new file mode 100644 index 0000000000..00db7c70ff --- /dev/null +++ b/parser/testdata/03100_lwu_22_detach_attach_patches/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_detach_attach_patches diff --git a/parser/testdata/03100_lwu_23_apply_patches/explain_11.txt b/parser/testdata/03100_lwu_23_apply_patches/explain_11.txt new file mode 100644 index 0000000000..aa4b2d9a7e --- /dev/null +++ b/parser/testdata/03100_lwu_23_apply_patches/explain_11.txt @@ -0,0 +1,4 @@ +AlterQuery t_apply_patches (children 2) + ExpressionList (children 1) + AlterCommand APPLY_PATCHES + Identifier t_apply_patches diff --git a/parser/testdata/03100_lwu_23_apply_patches/explain_12.txt b/parser/testdata/03100_lwu_23_apply_patches/explain_12.txt new file mode 100644 index 0000000000..0730f894fc --- /dev/null +++ b/parser/testdata/03100_lwu_23_apply_patches/explain_12.txt @@ -0,0 +1,21 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 3) + Identifier b + Identifier c + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t_apply_patches + ExpressionList (children 2) + Identifier b + Identifier c + ExpressionList (children 2) + OrderByElement (children 1) + Identifier b + OrderByElement (children 1) + Identifier c + Set diff --git a/parser/testdata/03100_lwu_23_apply_patches/explain_13.txt b/parser/testdata/03100_lwu_23_apply_patches/explain_13.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03100_lwu_23_apply_patches/explain_13.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03100_lwu_23_apply_patches/explain_18.txt b/parser/testdata/03100_lwu_23_apply_patches/explain_18.txt new file mode 100644 index 0000000000..7d5d9de4e4 --- /dev/null +++ b/parser/testdata/03100_lwu_23_apply_patches/explain_18.txt @@ -0,0 +1,12 @@ +UpdateQuery t_apply_patches_smt (children 3) + Identifier t_apply_patches_smt + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier a + Literal UInt64_4 + Literal UInt64_0 + ExpressionList (children 1) + Assignment b (children 1) + Literal UInt64_1 diff --git a/parser/testdata/03100_lwu_23_apply_patches/explain_19.txt b/parser/testdata/03100_lwu_23_apply_patches/explain_19.txt new file mode 100644 index 0000000000..96ab1e2b6f --- /dev/null +++ b/parser/testdata/03100_lwu_23_apply_patches/explain_19.txt @@ -0,0 +1,12 @@ +UpdateQuery t_apply_patches_smt (children 3) + Identifier t_apply_patches_smt + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier a + Literal UInt64_4 + Literal UInt64_0 + ExpressionList (children 1) + Assignment c (children 1) + Literal UInt64_2 diff --git a/parser/testdata/03100_lwu_23_apply_patches/explain_20.txt b/parser/testdata/03100_lwu_23_apply_patches/explain_20.txt new file mode 100644 index 0000000000..0cebdd4efa --- /dev/null +++ b/parser/testdata/03100_lwu_23_apply_patches/explain_20.txt @@ -0,0 +1,14 @@ +UpdateQuery t_apply_patches_smt (children 3) + Identifier t_apply_patches_smt + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier a + Literal UInt64_4 + Literal UInt64_1 + ExpressionList (children 2) + Assignment b (children 1) + Literal UInt64_3 + Assignment c (children 1) + Literal UInt64_4 diff --git a/parser/testdata/03100_lwu_23_apply_patches/explain_22.txt b/parser/testdata/03100_lwu_23_apply_patches/explain_22.txt new file mode 100644 index 0000000000..fd550a1666 --- /dev/null +++ b/parser/testdata/03100_lwu_23_apply_patches/explain_22.txt @@ -0,0 +1,4 @@ +AlterQuery t_apply_patches_smt (children 2) + ExpressionList (children 1) + AlterCommand APPLY_PATCHES + Identifier t_apply_patches_smt diff --git a/parser/testdata/03100_lwu_23_apply_patches/explain_23.txt b/parser/testdata/03100_lwu_23_apply_patches/explain_23.txt new file mode 100644 index 0000000000..0730f894fc --- /dev/null +++ b/parser/testdata/03100_lwu_23_apply_patches/explain_23.txt @@ -0,0 +1,21 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 3) + Identifier b + Identifier c + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t_apply_patches + ExpressionList (children 2) + Identifier b + Identifier c + ExpressionList (children 2) + OrderByElement (children 1) + Identifier b + OrderByElement (children 1) + Identifier c + Set diff --git a/parser/testdata/03100_lwu_23_apply_patches/explain_24.txt b/parser/testdata/03100_lwu_23_apply_patches/explain_24.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03100_lwu_23_apply_patches/explain_24.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03100_lwu_23_apply_patches/explain_7.txt b/parser/testdata/03100_lwu_23_apply_patches/explain_7.txt new file mode 100644 index 0000000000..a7ecd15cdc --- /dev/null +++ b/parser/testdata/03100_lwu_23_apply_patches/explain_7.txt @@ -0,0 +1,12 @@ +UpdateQuery t_apply_patches (children 3) + Identifier t_apply_patches + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier a + Literal UInt64_4 + Literal UInt64_0 + ExpressionList (children 1) + Assignment b (children 1) + Literal UInt64_1 diff --git a/parser/testdata/03100_lwu_23_apply_patches/explain_8.txt b/parser/testdata/03100_lwu_23_apply_patches/explain_8.txt new file mode 100644 index 0000000000..2550c4fd33 --- /dev/null +++ b/parser/testdata/03100_lwu_23_apply_patches/explain_8.txt @@ -0,0 +1,12 @@ +UpdateQuery t_apply_patches (children 3) + Identifier t_apply_patches + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier a + Literal UInt64_4 + Literal UInt64_0 + ExpressionList (children 1) + Assignment c (children 1) + Literal UInt64_2 diff --git a/parser/testdata/03100_lwu_23_apply_patches/explain_9.txt b/parser/testdata/03100_lwu_23_apply_patches/explain_9.txt new file mode 100644 index 0000000000..c0dad7403f --- /dev/null +++ b/parser/testdata/03100_lwu_23_apply_patches/explain_9.txt @@ -0,0 +1,14 @@ +UpdateQuery t_apply_patches (children 3) + Identifier t_apply_patches + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier a + Literal UInt64_4 + Literal UInt64_1 + ExpressionList (children 2) + Assignment b (children 1) + Literal UInt64_3 + Assignment c (children 1) + Literal UInt64_4 diff --git a/parser/testdata/03100_lwu_26_subcolumns/explain_5.txt b/parser/testdata/03100_lwu_26_subcolumns/explain_5.txt new file mode 100644 index 0000000000..d025686398 --- /dev/null +++ b/parser/testdata/03100_lwu_26_subcolumns/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_lwu_subcolumns diff --git a/parser/testdata/03100_lwu_26_subcolumns/explain_6.txt b/parser/testdata/03100_lwu_26_subcolumns/explain_6.txt new file mode 100644 index 0000000000..6d1cbabbb9 --- /dev/null +++ b/parser/testdata/03100_lwu_26_subcolumns/explain_6.txt @@ -0,0 +1,6 @@ +UpdateQuery t_lwu_subcolumns (children 3) + Identifier t_lwu_subcolumns + Literal UInt64_1 + ExpressionList (children 1) + Assignment data (children 1) + Literal \'{"a": "qqww", "c": 2}\' diff --git a/parser/testdata/03100_lwu_26_subcolumns/explain_7.txt b/parser/testdata/03100_lwu_26_subcolumns/explain_7.txt new file mode 100644 index 0000000000..ec737763a4 --- /dev/null +++ b/parser/testdata/03100_lwu_26_subcolumns/explain_7.txt @@ -0,0 +1,8 @@ +UpdateQuery t_lwu_subcolumns (children 3) + Identifier t_lwu_subcolumns + Literal UInt64_1 + ExpressionList (children 2) + Assignment arr (children 1) + Literal Array_[UInt64_100, UInt64_200] + Assignment n (children 1) + Literal \'aaa\' diff --git a/parser/testdata/03100_lwu_27_update_after_on_fly_mutations/explain_10.txt b/parser/testdata/03100_lwu_27_update_after_on_fly_mutations/explain_10.txt new file mode 100644 index 0000000000..d3545b7569 --- /dev/null +++ b/parser/testdata/03100_lwu_27_update_after_on_fly_mutations/explain_10.txt @@ -0,0 +1,9 @@ +UpdateQuery t_lwu_on_fly (children 3) + Identifier t_lwu_on_fly + Function equals (children 1) + ExpressionList (children 2) + Identifier b + Literal UInt64_20 + ExpressionList (children 1) + Assignment c (children 1) + Literal UInt64_200 diff --git a/parser/testdata/03100_lwu_27_update_after_on_fly_mutations/explain_5.txt b/parser/testdata/03100_lwu_27_update_after_on_fly_mutations/explain_5.txt new file mode 100644 index 0000000000..f48172b894 --- /dev/null +++ b/parser/testdata/03100_lwu_27_update_after_on_fly_mutations/explain_5.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t_lwu_on_fly + ExpressionList (children 1) + Identifier id diff --git a/parser/testdata/03100_lwu_27_update_after_on_fly_mutations/explain_8.txt b/parser/testdata/03100_lwu_27_update_after_on_fly_mutations/explain_8.txt new file mode 100644 index 0000000000..6cd394db3d --- /dev/null +++ b/parser/testdata/03100_lwu_27_update_after_on_fly_mutations/explain_8.txt @@ -0,0 +1,9 @@ +UpdateQuery t_lwu_on_fly (children 3) + Identifier t_lwu_on_fly + Function equals (children 1) + ExpressionList (children 2) + Identifier id + Literal UInt64_2 + ExpressionList (children 1) + Assignment a (children 1) + Literal UInt64_2 diff --git a/parser/testdata/03100_lwu_30_join_cache/explain_5.txt b/parser/testdata/03100_lwu_30_join_cache/explain_5.txt new file mode 100644 index 0000000000..14697168a6 --- /dev/null +++ b/parser/testdata/03100_lwu_30_join_cache/explain_5.txt @@ -0,0 +1,6 @@ +UpdateQuery t_patch_join_cache (children 3) + Identifier t_patch_join_cache + Literal UInt64_1 + ExpressionList (children 1) + Assignment s (children 1) + Literal \'foo\' diff --git a/parser/testdata/03100_lwu_31_merge_memory_usage/explain_6.txt b/parser/testdata/03100_lwu_31_merge_memory_usage/explain_6.txt new file mode 100644 index 0000000000..3f269dc9fb --- /dev/null +++ b/parser/testdata/03100_lwu_31_merge_memory_usage/explain_6.txt @@ -0,0 +1,8 @@ +UpdateQuery t_lwu_memory (children 3) + Identifier t_lwu_memory + Literal UInt64_1 + ExpressionList (children 1) + Assignment value (children 1) + Function toString (children 1) + ExpressionList (children 1) + Identifier id diff --git a/parser/testdata/03100_lwu_32_on_fly_filter/explain_11.txt b/parser/testdata/03100_lwu_32_on_fly_filter/explain_11.txt new file mode 100644 index 0000000000..4412ddb2fe --- /dev/null +++ b/parser/testdata/03100_lwu_32_on_fly_filter/explain_11.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier lwu_on_fly + Function not (children 1) + ExpressionList (children 1) + Function ignore (children 1) + ExpressionList (children 1) + Asterisk + Set diff --git a/parser/testdata/03100_lwu_32_on_fly_filter/explain_6.txt b/parser/testdata/03100_lwu_32_on_fly_filter/explain_6.txt new file mode 100644 index 0000000000..a4bd2c1ca0 --- /dev/null +++ b/parser/testdata/03100_lwu_32_on_fly_filter/explain_6.txt @@ -0,0 +1,12 @@ +UpdateQuery lwu_on_fly (children 3) + Identifier lwu_on_fly + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier id + Literal UInt64_3 + Literal UInt64_2 + ExpressionList (children 1) + Assignment u (children 1) + Literal UInt64_0 diff --git a/parser/testdata/03100_lwu_32_on_fly_filter/explain_8.txt b/parser/testdata/03100_lwu_32_on_fly_filter/explain_8.txt new file mode 100644 index 0000000000..9c94642851 --- /dev/null +++ b/parser/testdata/03100_lwu_32_on_fly_filter/explain_8.txt @@ -0,0 +1,12 @@ +UpdateQuery lwu_on_fly (children 3) + Identifier lwu_on_fly + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier id + Literal UInt64_3 + Literal UInt64_1 + ExpressionList (children 1) + Assignment u (children 1) + Literal UInt64_0 diff --git a/parser/testdata/03100_lwu_32_on_fly_filter/explain_9.txt b/parser/testdata/03100_lwu_32_on_fly_filter/explain_9.txt new file mode 100644 index 0000000000..2dabe3106a --- /dev/null +++ b/parser/testdata/03100_lwu_32_on_fly_filter/explain_9.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier lwu_on_fly + ExpressionList (children 1) + OrderByElement (children 1) + Identifier id + Set diff --git a/parser/testdata/03100_lwu_33_add_column/explain_6.txt b/parser/testdata/03100_lwu_33_add_column/explain_6.txt new file mode 100644 index 0000000000..9590ee4122 --- /dev/null +++ b/parser/testdata/03100_lwu_33_add_column/explain_6.txt @@ -0,0 +1,12 @@ +UpdateQuery t_lwu_add_column (children 3) + Identifier t_lwu_add_column + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier a + Literal UInt64_2 + Literal UInt64_0 + ExpressionList (children 1) + Assignment b (children 1) + Literal UInt64_1 diff --git a/parser/testdata/03100_lwu_33_add_column/explain_8.txt b/parser/testdata/03100_lwu_33_add_column/explain_8.txt new file mode 100644 index 0000000000..09e4af4e0f --- /dev/null +++ b/parser/testdata/03100_lwu_33_add_column/explain_8.txt @@ -0,0 +1,14 @@ +UpdateQuery t_lwu_add_column (children 3) + Identifier t_lwu_add_column + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier a + Literal UInt64_3 + Literal UInt64_0 + ExpressionList (children 2) + Assignment b (children 1) + Literal UInt64_2 + Assignment c (children 1) + Literal Array_[\'a\', \'b\', \'c\'] diff --git a/parser/testdata/03100_lwu_34_multistep_prewhere/explain_7.txt b/parser/testdata/03100_lwu_34_multistep_prewhere/explain_7.txt new file mode 100644 index 0000000000..b6350304ea --- /dev/null +++ b/parser/testdata/03100_lwu_34_multistep_prewhere/explain_7.txt @@ -0,0 +1,9 @@ +UpdateQuery t_lwu_multistep (children 3) + Identifier t_lwu_multistep + Literal UInt64_1 + ExpressionList (children 1) + Assignment a (children 1) + Function plus (children 1) + ExpressionList (children 2) + Identifier a + Literal UInt64_1 diff --git a/parser/testdata/03100_lwu_34_multistep_prewhere/explain_8.txt b/parser/testdata/03100_lwu_34_multistep_prewhere/explain_8.txt new file mode 100644 index 0000000000..9eedb56922 --- /dev/null +++ b/parser/testdata/03100_lwu_34_multistep_prewhere/explain_8.txt @@ -0,0 +1,12 @@ +UpdateQuery t_lwu_multistep (children 3) + Identifier t_lwu_multistep + Function less (children 1) + ExpressionList (children 2) + Identifier b + Literal UInt64_50000 + ExpressionList (children 1) + Assignment b (children 1) + Function plus (children 1) + ExpressionList (children 2) + Identifier b + Literal UInt64_1 diff --git a/parser/testdata/03100_lwu_34_multistep_prewhere/explain_9.txt b/parser/testdata/03100_lwu_34_multistep_prewhere/explain_9.txt new file mode 100644 index 0000000000..bd038c332f --- /dev/null +++ b/parser/testdata/03100_lwu_34_multistep_prewhere/explain_9.txt @@ -0,0 +1,12 @@ +UpdateQuery t_lwu_multistep (children 3) + Identifier t_lwu_multistep + Function less (children 1) + ExpressionList (children 2) + Identifier c + Literal UInt64_50000 + ExpressionList (children 1) + Assignment c (children 1) + Function plus (children 1) + ExpressionList (children 2) + Identifier c + Literal UInt64_1000000 diff --git a/parser/testdata/03100_lwu_35_lock_profile_events/explain_8.txt b/parser/testdata/03100_lwu_35_lock_profile_events/explain_8.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03100_lwu_35_lock_profile_events/explain_8.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03100_lwu_36_json_skip_indexes/explain_11.txt b/parser/testdata/03100_lwu_36_json_skip_indexes/explain_11.txt new file mode 100644 index 0000000000..906d97efb8 --- /dev/null +++ b/parser/testdata/03100_lwu_36_json_skip_indexes/explain_11.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test + Function or (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier document.name + Literal \'aaa\' + Function equals (children 1) + ExpressionList (children 2) + Identifier document.name + Literal \'boo\' + ExpressionList (children 1) + OrderByElement (children 1) + Identifier id + Set diff --git a/parser/testdata/03100_lwu_36_json_skip_indexes/explain_13.txt b/parser/testdata/03100_lwu_36_json_skip_indexes/explain_13.txt new file mode 100644 index 0000000000..d8ead063f7 --- /dev/null +++ b/parser/testdata/03100_lwu_36_json_skip_indexes/explain_13.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test + Function equals (children 1) + ExpressionList (children 2) + Function CAST (children 1) + ExpressionList (children 2) + Identifier document.country + Literal \'String\' + Literal \'USA\' + Set diff --git a/parser/testdata/03100_lwu_36_json_skip_indexes/explain_15.txt b/parser/testdata/03100_lwu_36_json_skip_indexes/explain_15.txt new file mode 100644 index 0000000000..d8ead063f7 --- /dev/null +++ b/parser/testdata/03100_lwu_36_json_skip_indexes/explain_15.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test + Function equals (children 1) + ExpressionList (children 2) + Function CAST (children 1) + ExpressionList (children 2) + Identifier document.country + Literal \'String\' + Literal \'USA\' + Set diff --git a/parser/testdata/03100_lwu_36_json_skip_indexes/explain_4.txt b/parser/testdata/03100_lwu_36_json_skip_indexes/explain_4.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03100_lwu_36_json_skip_indexes/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03100_lwu_36_json_skip_indexes/explain_5.txt b/parser/testdata/03100_lwu_36_json_skip_indexes/explain_5.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03100_lwu_36_json_skip_indexes/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03100_lwu_36_json_skip_indexes/explain_6.txt b/parser/testdata/03100_lwu_36_json_skip_indexes/explain_6.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03100_lwu_36_json_skip_indexes/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03100_lwu_36_json_skip_indexes/explain_8.txt b/parser/testdata/03100_lwu_36_json_skip_indexes/explain_8.txt new file mode 100644 index 0000000000..9c127f92be --- /dev/null +++ b/parser/testdata/03100_lwu_36_json_skip_indexes/explain_8.txt @@ -0,0 +1,9 @@ +UpdateQuery test (children 3) + Identifier test + Function equals (children 1) + ExpressionList (children 2) + Identifier id + Literal UInt64_1 + ExpressionList (children 1) + Assignment document (children 1) + Literal \'{"name":"aaa", "age":15, "country": "USA"}\' diff --git a/parser/testdata/03100_lwu_36_json_skip_indexes/explain_9.txt b/parser/testdata/03100_lwu_36_json_skip_indexes/explain_9.txt new file mode 100644 index 0000000000..906d97efb8 --- /dev/null +++ b/parser/testdata/03100_lwu_36_json_skip_indexes/explain_9.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test + Function or (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier document.name + Literal \'aaa\' + Function equals (children 1) + ExpressionList (children 2) + Identifier document.name + Literal \'boo\' + ExpressionList (children 1) + OrderByElement (children 1) + Identifier id + Set diff --git a/parser/testdata/03100_lwu_37_update_all_columns/explain_3.txt b/parser/testdata/03100_lwu_37_update_all_columns/explain_3.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/03100_lwu_37_update_all_columns/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03100_lwu_37_update_all_columns/explain_5.txt b/parser/testdata/03100_lwu_37_update_all_columns/explain_5.txt new file mode 100644 index 0000000000..ac106df13c --- /dev/null +++ b/parser/testdata/03100_lwu_37_update_all_columns/explain_5.txt @@ -0,0 +1,6 @@ +UpdateQuery t0 (children 3) + Identifier t0 + Literal UInt64_1 + ExpressionList (children 1) + Assignment c0 (children 1) + Literal UInt64_1 diff --git a/parser/testdata/03100_lwu_39_after_replace_partition/explain_10.txt b/parser/testdata/03100_lwu_39_after_replace_partition/explain_10.txt new file mode 100644 index 0000000000..a7c0276be4 --- /dev/null +++ b/parser/testdata/03100_lwu_39_after_replace_partition/explain_10.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t_lwu_replace + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03100_lwu_39_after_replace_partition/explain_12.txt b/parser/testdata/03100_lwu_39_after_replace_partition/explain_12.txt new file mode 100644 index 0000000000..58d2d6a9d5 --- /dev/null +++ b/parser/testdata/03100_lwu_39_after_replace_partition/explain_12.txt @@ -0,0 +1,6 @@ +UpdateQuery t_lwu_replace (children 3) + Identifier t_lwu_replace + Literal Bool_1 + ExpressionList (children 1) + Assignment c0 (children 1) + Literal UInt64_2 diff --git a/parser/testdata/03100_lwu_39_after_replace_partition/explain_4.txt b/parser/testdata/03100_lwu_39_after_replace_partition/explain_4.txt new file mode 100644 index 0000000000..a7c0276be4 --- /dev/null +++ b/parser/testdata/03100_lwu_39_after_replace_partition/explain_4.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t_lwu_replace + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03100_lwu_39_after_replace_partition/explain_6.txt b/parser/testdata/03100_lwu_39_after_replace_partition/explain_6.txt new file mode 100644 index 0000000000..58d2d6a9d5 --- /dev/null +++ b/parser/testdata/03100_lwu_39_after_replace_partition/explain_6.txt @@ -0,0 +1,6 @@ +UpdateQuery t_lwu_replace (children 3) + Identifier t_lwu_replace + Literal Bool_1 + ExpressionList (children 1) + Assignment c0 (children 1) + Literal UInt64_2 diff --git a/parser/testdata/03100_lwu_41_bytes_limits/explain_13.txt b/parser/testdata/03100_lwu_41_bytes_limits/explain_13.txt new file mode 100644 index 0000000000..8cc67da68d --- /dev/null +++ b/parser/testdata/03100_lwu_41_bytes_limits/explain_13.txt @@ -0,0 +1,9 @@ +UpdateQuery t_lwu_bytes_limits (children 3) + Identifier t_lwu_bytes_limits + Function equals (children 1) + ExpressionList (children 2) + Identifier id + Literal UInt64_1000 + ExpressionList (children 1) + Assignment s (children 1) + Literal \'foo\' diff --git a/parser/testdata/03100_lwu_41_bytes_limits/explain_14.txt b/parser/testdata/03100_lwu_41_bytes_limits/explain_14.txt new file mode 100644 index 0000000000..4587c185b8 --- /dev/null +++ b/parser/testdata/03100_lwu_41_bytes_limits/explain_14.txt @@ -0,0 +1,9 @@ +UpdateQuery t_lwu_bytes_limits (children 3) + Identifier t_lwu_bytes_limits + Function equals (children 1) + ExpressionList (children 2) + Identifier id + Literal UInt64_101000 + ExpressionList (children 1) + Assignment s (children 1) + Literal \'foo\' diff --git a/parser/testdata/03100_lwu_41_bytes_limits/explain_15.txt b/parser/testdata/03100_lwu_41_bytes_limits/explain_15.txt new file mode 100644 index 0000000000..ef5e5aa049 --- /dev/null +++ b/parser/testdata/03100_lwu_41_bytes_limits/explain_15.txt @@ -0,0 +1,8 @@ +UpdateQuery t_lwu_bytes_limits (children 3) + Identifier t_lwu_bytes_limits + Literal UInt64_1 + ExpressionList (children 1) + Assignment s (children 1) + Function randomPrintableASCII (children 1) + ExpressionList (children 1) + Literal UInt64_100 diff --git a/parser/testdata/03100_lwu_41_bytes_limits/explain_5.txt b/parser/testdata/03100_lwu_41_bytes_limits/explain_5.txt new file mode 100644 index 0000000000..8cc67da68d --- /dev/null +++ b/parser/testdata/03100_lwu_41_bytes_limits/explain_5.txt @@ -0,0 +1,9 @@ +UpdateQuery t_lwu_bytes_limits (children 3) + Identifier t_lwu_bytes_limits + Function equals (children 1) + ExpressionList (children 2) + Identifier id + Literal UInt64_1000 + ExpressionList (children 1) + Assignment s (children 1) + Literal \'foo\' diff --git a/parser/testdata/03100_lwu_41_bytes_limits/explain_6.txt b/parser/testdata/03100_lwu_41_bytes_limits/explain_6.txt new file mode 100644 index 0000000000..4587c185b8 --- /dev/null +++ b/parser/testdata/03100_lwu_41_bytes_limits/explain_6.txt @@ -0,0 +1,9 @@ +UpdateQuery t_lwu_bytes_limits (children 3) + Identifier t_lwu_bytes_limits + Function equals (children 1) + ExpressionList (children 2) + Identifier id + Literal UInt64_101000 + ExpressionList (children 1) + Assignment s (children 1) + Literal \'foo\' diff --git a/parser/testdata/03100_lwu_41_bytes_limits/explain_7.txt b/parser/testdata/03100_lwu_41_bytes_limits/explain_7.txt new file mode 100644 index 0000000000..ef5e5aa049 --- /dev/null +++ b/parser/testdata/03100_lwu_41_bytes_limits/explain_7.txt @@ -0,0 +1,8 @@ +UpdateQuery t_lwu_bytes_limits (children 3) + Identifier t_lwu_bytes_limits + Literal UInt64_1 + ExpressionList (children 1) + Assignment s (children 1) + Function randomPrintableASCII (children 1) + ExpressionList (children 1) + Literal UInt64_100 diff --git a/parser/testdata/03100_lwu_43_subquery_from_rmt/explain_5.txt b/parser/testdata/03100_lwu_43_subquery_from_rmt/explain_5.txt new file mode 100644 index 0000000000..aa2fb54678 --- /dev/null +++ b/parser/testdata/03100_lwu_43_subquery_from_rmt/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier lightweight_test diff --git a/parser/testdata/03100_lwu_43_subquery_from_rmt/explain_6.txt b/parser/testdata/03100_lwu_43_subquery_from_rmt/explain_6.txt new file mode 100644 index 0000000000..4cbfce1cfa --- /dev/null +++ b/parser/testdata/03100_lwu_43_subquery_from_rmt/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier keys diff --git a/parser/testdata/03100_lwu_43_subquery_from_rmt/explain_8.txt b/parser/testdata/03100_lwu_43_subquery_from_rmt/explain_8.txt new file mode 100644 index 0000000000..5396181bb3 --- /dev/null +++ b/parser/testdata/03100_lwu_43_subquery_from_rmt/explain_8.txt @@ -0,0 +1,18 @@ +UpdateQuery lightweight_test (children 3) + Identifier lightweight_test + Function in (children 1) + ExpressionList (children 2) + Identifier key + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier key + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier keys + ExpressionList (children 1) + Assignment value (children 1) + Literal \'UPDATED-1\' diff --git a/parser/testdata/03100_lwu_44_missing_default/explain_21.txt b/parser/testdata/03100_lwu_44_missing_default/explain_21.txt new file mode 100644 index 0000000000..c244ebc02e --- /dev/null +++ b/parser/testdata/03100_lwu_44_missing_default/explain_21.txt @@ -0,0 +1,12 @@ +UpdateQuery t_lwu_defaults (children 3) + Identifier t_lwu_defaults + Function greater (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_0 + ExpressionList (children 1) + Assignment y (children 1) + Function plus (children 1) + ExpressionList (children 2) + Identifier y + Literal UInt64_10000 diff --git a/parser/testdata/03100_lwu_44_missing_default/explain_9.txt b/parser/testdata/03100_lwu_44_missing_default/explain_9.txt new file mode 100644 index 0000000000..e10a7b5313 --- /dev/null +++ b/parser/testdata/03100_lwu_44_missing_default/explain_9.txt @@ -0,0 +1,9 @@ +UpdateQuery t_lwu_defaults (children 3) + Identifier t_lwu_defaults + Function greater (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_0 + ExpressionList (children 1) + Assignment z (children 1) + Identifier y diff --git a/parser/testdata/03100_lwu_45_query_condition_cache/explain_8.txt b/parser/testdata/03100_lwu_45_query_condition_cache/explain_8.txt new file mode 100644 index 0000000000..acb3f9f1f2 --- /dev/null +++ b/parser/testdata/03100_lwu_45_query_condition_cache/explain_8.txt @@ -0,0 +1,6 @@ +UpdateQuery t_lwu_condition_cache (children 3) + Identifier t_lwu_condition_cache + Literal UInt64_1 + ExpressionList (children 1) + Assignment exists (children 1) + Literal UInt64_1 diff --git a/parser/testdata/03100_lwu_46_deletes_skip_indexes/explain_6.txt b/parser/testdata/03100_lwu_46_deletes_skip_indexes/explain_6.txt new file mode 100644 index 0000000000..82ec51f2f9 --- /dev/null +++ b/parser/testdata/03100_lwu_46_deletes_skip_indexes/explain_6.txt @@ -0,0 +1,7 @@ +DeleteQuery t_lwd_indexes (children 3) + Function less (children 1) + ExpressionList (children 2) + Identifier key + Literal UInt64_500 + Identifier t_lwd_indexes + Set diff --git a/parser/testdata/03100_lwu_46_deletes_skip_indexes/explain_7.txt b/parser/testdata/03100_lwu_46_deletes_skip_indexes/explain_7.txt new file mode 100644 index 0000000000..9fdb97efa5 --- /dev/null +++ b/parser/testdata/03100_lwu_46_deletes_skip_indexes/explain_7.txt @@ -0,0 +1,7 @@ +DeleteQuery t_lwd_indexes (children 3) + Function less (children 1) + ExpressionList (children 2) + Identifier key + Literal UInt64_5000 + Identifier t_lwd_indexes + Set diff --git a/parser/testdata/03100_lwu_deletes_1/explain_12.txt b/parser/testdata/03100_lwu_deletes_1/explain_12.txt new file mode 100644 index 0000000000..b5ddb6d33e --- /dev/null +++ b/parser/testdata/03100_lwu_deletes_1/explain_12.txt @@ -0,0 +1,15 @@ +UpdateQuery t_lwu_delete (children 3) + Identifier t_lwu_delete + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier id + Literal UInt64_10 + Literal UInt64_0 + ExpressionList (children 1) + Assignment v (children 1) + Function plus (children 1) + ExpressionList (children 2) + Identifier v + Literal UInt64_1000 diff --git a/parser/testdata/03100_lwu_deletes_3/explain_10.txt b/parser/testdata/03100_lwu_deletes_3/explain_10.txt new file mode 100644 index 0000000000..4b317ac801 --- /dev/null +++ b/parser/testdata/03100_lwu_deletes_3/explain_10.txt @@ -0,0 +1,9 @@ +UpdateQuery t_lwu_deletes_3 (children 3) + Identifier t_lwu_deletes_3 + Function equals (children 1) + ExpressionList (children 2) + Identifier id + Literal UInt64_100 + ExpressionList (children 1) + Assignment v1 (children 1) + Literal UInt64_42 diff --git a/parser/testdata/03100_lwu_deletes_3/explain_11.txt b/parser/testdata/03100_lwu_deletes_3/explain_11.txt new file mode 100644 index 0000000000..78ea683686 --- /dev/null +++ b/parser/testdata/03100_lwu_deletes_3/explain_11.txt @@ -0,0 +1,9 @@ +UpdateQuery t_lwu_deletes_3 (children 3) + Identifier t_lwu_deletes_3 + Function equals (children 1) + ExpressionList (children 2) + Identifier id + Literal UInt64_4000 + ExpressionList (children 1) + Assignment v1 (children 1) + Literal UInt64_42 diff --git a/parser/testdata/03100_lwu_deletes_3/explain_12.txt b/parser/testdata/03100_lwu_deletes_3/explain_12.txt new file mode 100644 index 0000000000..29b6ecb7d3 --- /dev/null +++ b/parser/testdata/03100_lwu_deletes_3/explain_12.txt @@ -0,0 +1,9 @@ +UpdateQuery t_lwu_deletes_3 (children 3) + Identifier t_lwu_deletes_3 + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Identifier id + Literal UInt64_9500 + ExpressionList (children 1) + Assignment v2 (children 1) + Literal \'foo\' diff --git a/parser/testdata/03100_lwu_deletes_3/explain_29.txt b/parser/testdata/03100_lwu_deletes_3/explain_29.txt new file mode 100644 index 0000000000..a0adc17d37 --- /dev/null +++ b/parser/testdata/03100_lwu_deletes_3/explain_29.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 3) + Function count (children 1) + ExpressionList + Function sum (children 1) + ExpressionList (children 1) + Identifier v1 + Function sum (children 1) + ExpressionList (children 1) + Function notEmpty (children 1) + ExpressionList (children 1) + Identifier v2 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t_lwu_deletes_3 + Set diff --git a/parser/testdata/03100_lwu_deletes_4_index/explain_8.txt b/parser/testdata/03100_lwu_deletes_4_index/explain_8.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03100_lwu_deletes_4_index/explain_8.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03100_lwu_deletes_5_vertical_merge/explain_16.txt b/parser/testdata/03100_lwu_deletes_5_vertical_merge/explain_16.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03100_lwu_deletes_5_vertical_merge/explain_16.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03101_analyzer_identifiers_4/explain_29.txt b/parser/testdata/03101_analyzer_identifiers_4/explain_29.txt new file mode 100644 index 0000000000..45959dbf88 --- /dev/null +++ b/parser/testdata/03101_analyzer_identifiers_4/explain_29.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier aliased diff --git a/parser/testdata/03101_analyzer_identifiers_4/explain_35.txt b/parser/testdata/03101_analyzer_identifiers_4/explain_35.txt new file mode 100644 index 0000000000..1365ffd8a4 --- /dev/null +++ b/parser/testdata/03101_analyzer_identifiers_4/explain_35.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier aliased3 diff --git a/parser/testdata/03101_analyzer_invalid_join_on/explain_6.txt b/parser/testdata/03101_analyzer_invalid_join_on/explain_6.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/03101_analyzer_invalid_join_on/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/03101_analyzer_invalid_join_on/explain_7.txt b/parser/testdata/03101_analyzer_invalid_join_on/explain_7.txt new file mode 100644 index 0000000000..df4a687bc0 --- /dev/null +++ b/parser/testdata/03101_analyzer_invalid_join_on/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2 diff --git a/parser/testdata/03102_prefer_column_name_to_alias/explain_10.txt b/parser/testdata/03102_prefer_column_name_to_alias/explain_10.txt new file mode 100644 index 0000000000..1af9215ec9 --- /dev/null +++ b/parser/testdata/03102_prefer_column_name_to_alias/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier loans diff --git a/parser/testdata/03102_prefer_column_name_to_alias/explain_11.txt b/parser/testdata/03102_prefer_column_name_to_alias/explain_11.txt new file mode 100644 index 0000000000..1af9215ec9 --- /dev/null +++ b/parser/testdata/03102_prefer_column_name_to_alias/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier loans diff --git a/parser/testdata/03102_prefer_column_name_to_alias/explain_12.txt b/parser/testdata/03102_prefer_column_name_to_alias/explain_12.txt new file mode 100644 index 0000000000..1af9215ec9 --- /dev/null +++ b/parser/testdata/03102_prefer_column_name_to_alias/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier loans diff --git a/parser/testdata/03102_prefer_column_name_to_alias/explain_13.txt b/parser/testdata/03102_prefer_column_name_to_alias/explain_13.txt new file mode 100644 index 0000000000..1af9215ec9 --- /dev/null +++ b/parser/testdata/03102_prefer_column_name_to_alias/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier loans diff --git a/parser/testdata/03102_prefer_column_name_to_alias/explain_14.txt b/parser/testdata/03102_prefer_column_name_to_alias/explain_14.txt new file mode 100644 index 0000000000..1af9215ec9 --- /dev/null +++ b/parser/testdata/03102_prefer_column_name_to_alias/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier loans diff --git a/parser/testdata/03102_prefer_column_name_to_alias/explain_4.txt b/parser/testdata/03102_prefer_column_name_to_alias/explain_4.txt new file mode 100644 index 0000000000..1af9215ec9 --- /dev/null +++ b/parser/testdata/03102_prefer_column_name_to_alias/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier loans diff --git a/parser/testdata/03102_prefer_column_name_to_alias/explain_5.txt b/parser/testdata/03102_prefer_column_name_to_alias/explain_5.txt new file mode 100644 index 0000000000..1af9215ec9 --- /dev/null +++ b/parser/testdata/03102_prefer_column_name_to_alias/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier loans diff --git a/parser/testdata/03102_prefer_column_name_to_alias/explain_6.txt b/parser/testdata/03102_prefer_column_name_to_alias/explain_6.txt new file mode 100644 index 0000000000..1af9215ec9 --- /dev/null +++ b/parser/testdata/03102_prefer_column_name_to_alias/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier loans diff --git a/parser/testdata/03102_prefer_column_name_to_alias/explain_7.txt b/parser/testdata/03102_prefer_column_name_to_alias/explain_7.txt new file mode 100644 index 0000000000..1af9215ec9 --- /dev/null +++ b/parser/testdata/03102_prefer_column_name_to_alias/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier loans diff --git a/parser/testdata/03102_prefer_column_name_to_alias/explain_8.txt b/parser/testdata/03102_prefer_column_name_to_alias/explain_8.txt new file mode 100644 index 0000000000..1af9215ec9 --- /dev/null +++ b/parser/testdata/03102_prefer_column_name_to_alias/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier loans diff --git a/parser/testdata/03102_prefer_column_name_to_alias/explain_9.txt b/parser/testdata/03102_prefer_column_name_to_alias/explain_9.txt new file mode 100644 index 0000000000..1af9215ec9 --- /dev/null +++ b/parser/testdata/03102_prefer_column_name_to_alias/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier loans diff --git a/parser/testdata/03103_positional_arguments/explain_4.txt b/parser/testdata/03103_positional_arguments/explain_4.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03103_positional_arguments/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03103_positional_arguments/explain_5.txt b/parser/testdata/03103_positional_arguments/explain_5.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03103_positional_arguments/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03103_positional_arguments/explain_6.txt b/parser/testdata/03103_positional_arguments/explain_6.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03103_positional_arguments/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03105_table_aliases_in_mv/explain_6.txt b/parser/testdata/03105_table_aliases_in_mv/explain_6.txt new file mode 100644 index 0000000000..87ce41d6ee --- /dev/null +++ b/parser/testdata/03105_table_aliases_in_mv/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier event diff --git a/parser/testdata/03105_table_aliases_in_mv/explain_7.txt b/parser/testdata/03105_table_aliases_in_mv/explain_7.txt new file mode 100644 index 0000000000..645c980132 --- /dev/null +++ b/parser/testdata/03105_table_aliases_in_mv/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier user diff --git a/parser/testdata/03112_analyzer_not_found_column_in_block/explain_3.txt b/parser/testdata/03112_analyzer_not_found_column_in_block/explain_3.txt new file mode 100644 index 0000000000..8a4759389e --- /dev/null +++ b/parser/testdata/03112_analyzer_not_found_column_in_block/explain_3.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier my_first_table + ExpressionList (children 4) + Identifier user_id + Identifier message + Identifier timestamp + Identifier metric diff --git a/parser/testdata/03113_analyzer_not_found_column_in_block_2/explain_3.txt b/parser/testdata/03113_analyzer_not_found_column_in_block_2/explain_3.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03113_analyzer_not_found_column_in_block_2/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03114_analyzer_cte_with_join/explain_4.txt b/parser/testdata/03114_analyzer_cte_with_join/explain_4.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03114_analyzer_cte_with_join/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03118_analyzer_multi_join_prewhere/explain_3.txt b/parser/testdata/03118_analyzer_multi_join_prewhere/explain_3.txt new file mode 100644 index 0000000000..c88af903d3 --- /dev/null +++ b/parser/testdata/03118_analyzer_multi_join_prewhere/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier a1 diff --git a/parser/testdata/03119_analyzer_window_function_in_CTE_alias/explain_4.txt b/parser/testdata/03119_analyzer_window_function_in_CTE_alias/explain_4.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03119_analyzer_window_function_in_CTE_alias/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03120_analyzer_dist_join/explain_7.txt b/parser/testdata/03120_analyzer_dist_join/explain_7.txt new file mode 100644 index 0000000000..08dcd5109e --- /dev/null +++ b/parser/testdata/03120_analyzer_dist_join/explain_7.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier a1 + ExpressionList (children 2) + Identifier day + Identifier id diff --git a/parser/testdata/03120_analyzer_dist_join/explain_8.txt b/parser/testdata/03120_analyzer_dist_join/explain_8.txt new file mode 100644 index 0000000000..796d35aa6d --- /dev/null +++ b/parser/testdata/03120_analyzer_dist_join/explain_8.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier b1 + ExpressionList (children 2) + Identifier day + Identifier id diff --git a/parser/testdata/03122_analyzer_collate_in_window_function/explain_3.txt b/parser/testdata/03122_analyzer_collate_in_window_function/explain_3.txt new file mode 100644 index 0000000000..83c7e9da4e --- /dev/null +++ b/parser/testdata/03122_analyzer_collate_in_window_function/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_window_collate diff --git a/parser/testdata/03122_analyzer_collate_in_window_function/explain_4.txt b/parser/testdata/03122_analyzer_collate_in_window_function/explain_4.txt new file mode 100644 index 0000000000..83c7e9da4e --- /dev/null +++ b/parser/testdata/03122_analyzer_collate_in_window_function/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_window_collate diff --git a/parser/testdata/03122_analyzer_collate_in_window_function/explain_5.txt b/parser/testdata/03122_analyzer_collate_in_window_function/explain_5.txt new file mode 100644 index 0000000000..83c7e9da4e --- /dev/null +++ b/parser/testdata/03122_analyzer_collate_in_window_function/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_window_collate diff --git a/parser/testdata/03123_analyzer_dist_join_CTE/explain_5.txt b/parser/testdata/03123_analyzer_dist_join_CTE/explain_5.txt new file mode 100644 index 0000000000..fcb2d89148 --- /dev/null +++ b/parser/testdata/03123_analyzer_dist_join_CTE/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t0 diff --git a/parser/testdata/03125_analyzer_CTE_two_joins/explain_3.txt b/parser/testdata/03125_analyzer_CTE_two_joins/explain_3.txt new file mode 100644 index 0000000000..0a2535f0df --- /dev/null +++ b/parser/testdata/03125_analyzer_CTE_two_joins/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier events diff --git a/parser/testdata/03129_cte_with_final/explain_3.txt b/parser/testdata/03129_cte_with_final/explain_3.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03129_cte_with_final/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03129_cte_with_final/explain_4.txt b/parser/testdata/03129_cte_with_final/explain_4.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03129_cte_with_final/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03129_update_nested_materialized_column_check/explain_3.txt b/parser/testdata/03129_update_nested_materialized_column_check/explain_3.txt new file mode 100644 index 0000000000..e204f64c3e --- /dev/null +++ b/parser/testdata/03129_update_nested_materialized_column_check/explain_3.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier elements + ExpressionList (children 3) + Identifier id + Identifier nested.key + Identifier nested.value diff --git a/parser/testdata/03130_abs_in_key_condition_bug/explain_3.txt b/parser/testdata/03130_abs_in_key_condition_bug/explain_3.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03130_abs_in_key_condition_bug/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03130_analyzer_array_join_prefer_column/explain_3.txt b/parser/testdata/03130_analyzer_array_join_prefer_column/explain_3.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/03130_analyzer_array_join_prefer_column/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/03130_analyzer_self_join_group_by/explain_3.txt b/parser/testdata/03130_analyzer_self_join_group_by/explain_3.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/03130_analyzer_self_join_group_by/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/03130_convert_outer_join_to_inner_join/explain_13.txt b/parser/testdata/03130_convert_outer_join_to_inner_join/explain_13.txt new file mode 100644 index 0000000000..839a978bc7 --- /dev/null +++ b/parser/testdata/03130_convert_outer_join_to_inner_join/explain_13.txt @@ -0,0 +1,24 @@ +Explain EXPLAIN (children 2) + Set + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test_table_1 (alias lhs) + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier test_table_2 (alias rhs) + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier lhs.id + Identifier rhs.id + Function notEquals (children 1) + ExpressionList (children 2) + Identifier lhs.id + Literal UInt64_0 + Set diff --git a/parser/testdata/03130_convert_outer_join_to_inner_join/explain_17.txt b/parser/testdata/03130_convert_outer_join_to_inner_join/explain_17.txt new file mode 100644 index 0000000000..43810770ad --- /dev/null +++ b/parser/testdata/03130_convert_outer_join_to_inner_join/explain_17.txt @@ -0,0 +1,30 @@ +Explain EXPLAIN (children 2) + Set + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test_table_1 (alias lhs) + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier test_table_2 (alias rhs) + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier lhs.id + Identifier rhs.id + Function and (children 1) + ExpressionList (children 2) + Function notEquals (children 1) + ExpressionList (children 2) + Identifier lhs.id + Literal UInt64_0 + Function notEquals (children 1) + ExpressionList (children 2) + Identifier rhs.id + Literal UInt64_0 + Set diff --git a/parser/testdata/03130_convert_outer_join_to_inner_join/explain_7.txt b/parser/testdata/03130_convert_outer_join_to_inner_join/explain_7.txt new file mode 100644 index 0000000000..3334ffa5de --- /dev/null +++ b/parser/testdata/03130_convert_outer_join_to_inner_join/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_1 diff --git a/parser/testdata/03130_convert_outer_join_to_inner_join/explain_8.txt b/parser/testdata/03130_convert_outer_join_to_inner_join/explain_8.txt new file mode 100644 index 0000000000..324602be3f --- /dev/null +++ b/parser/testdata/03130_convert_outer_join_to_inner_join/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_2 diff --git a/parser/testdata/03130_convert_outer_join_to_inner_join/explain_9.txt b/parser/testdata/03130_convert_outer_join_to_inner_join/explain_9.txt new file mode 100644 index 0000000000..cdaf51e408 --- /dev/null +++ b/parser/testdata/03130_convert_outer_join_to_inner_join/explain_9.txt @@ -0,0 +1,24 @@ +Explain EXPLAIN (children 2) + Set + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test_table_1 (alias lhs) + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier test_table_2 (alias rhs) + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier lhs.id + Identifier rhs.id + Function notEquals (children 1) + ExpressionList (children 2) + Identifier rhs.id + Literal UInt64_0 + Set diff --git a/parser/testdata/03131_deprecated_functions/explain.txt b/parser/testdata/03131_deprecated_functions/explain.txt index 0bc6c9dbf2..c8f2d71ea1 100644 --- a/parser/testdata/03131_deprecated_functions/explain.txt +++ b/parser/testdata/03131_deprecated_functions/explain.txt @@ -12,4 +12,3 @@ SelectWithUnionQuery (children 1) TableExpression (children 1) TableIdentifier system.numbers Literal UInt64_10 -The query succeeded but the server error '721' was expected (query: EXPLAIN AST SELECT number, neighbor(number, 2) FROM system.numbers LIMIT 10; -- { serverError DEPRECATED_FUNCTION }). diff --git a/parser/testdata/03132_jit_sort_description_crash_fix/explain_10.txt b/parser/testdata/03132_jit_sort_description_crash_fix/explain_10.txt new file mode 100644 index 0000000000..eda68b9fb2 --- /dev/null +++ b/parser/testdata/03132_jit_sort_description_crash_fix/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test1_00395 diff --git a/parser/testdata/03132_jit_sort_description_crash_fix/explain_6.txt b/parser/testdata/03132_jit_sort_description_crash_fix/explain_6.txt new file mode 100644 index 0000000000..eda68b9fb2 --- /dev/null +++ b/parser/testdata/03132_jit_sort_description_crash_fix/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test1_00395 diff --git a/parser/testdata/03132_jit_sort_description_crash_fix/explain_7.txt b/parser/testdata/03132_jit_sort_description_crash_fix/explain_7.txt new file mode 100644 index 0000000000..eda68b9fb2 --- /dev/null +++ b/parser/testdata/03132_jit_sort_description_crash_fix/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test1_00395 diff --git a/parser/testdata/03132_jit_sort_description_crash_fix/explain_8.txt b/parser/testdata/03132_jit_sort_description_crash_fix/explain_8.txt new file mode 100644 index 0000000000..eda68b9fb2 --- /dev/null +++ b/parser/testdata/03132_jit_sort_description_crash_fix/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test1_00395 diff --git a/parser/testdata/03132_jit_sort_description_crash_fix/explain_9.txt b/parser/testdata/03132_jit_sort_description_crash_fix/explain_9.txt new file mode 100644 index 0000000000..eda68b9fb2 --- /dev/null +++ b/parser/testdata/03132_jit_sort_description_crash_fix/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test1_00395 diff --git a/parser/testdata/03132_sqlancer_union_all/explain_12.txt b/parser/testdata/03132_sqlancer_union_all/explain_12.txt new file mode 100644 index 0000000000..c1009052a3 --- /dev/null +++ b/parser/testdata/03132_sqlancer_union_all/explain_12.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t4 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03132_sqlancer_union_all/explain_13.txt b/parser/testdata/03132_sqlancer_union_all/explain_13.txt new file mode 100644 index 0000000000..037f8e5db5 --- /dev/null +++ b/parser/testdata/03132_sqlancer_union_all/explain_13.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 2) + Identifier c1 + Identifier c0 diff --git a/parser/testdata/03132_sqlancer_union_all/explain_14.txt b/parser/testdata/03132_sqlancer_union_all/explain_14.txt new file mode 100644 index 0000000000..c1009052a3 --- /dev/null +++ b/parser/testdata/03132_sqlancer_union_all/explain_14.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t4 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03132_sqlancer_union_all/explain_15.txt b/parser/testdata/03132_sqlancer_union_all/explain_15.txt new file mode 100644 index 0000000000..ef36a439e4 --- /dev/null +++ b/parser/testdata/03132_sqlancer_union_all/explain_15.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t3 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03132_sqlancer_union_all/explain_16.txt b/parser/testdata/03132_sqlancer_union_all/explain_16.txt new file mode 100644 index 0000000000..0c957b11c2 --- /dev/null +++ b/parser/testdata/03132_sqlancer_union_all/explain_16.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t2 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03141_fetches_errors_stress/explain_7.txt b/parser/testdata/03141_fetches_errors_stress/explain_7.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03141_fetches_errors_stress/explain_7.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01073_grant_and_revoke/explain_15.txt b/parser/testdata/03141_wildcard_grants/explain_13.txt similarity index 100% rename from parser/testdata/01073_grant_and_revoke/explain_15.txt rename to parser/testdata/03141_wildcard_grants/explain_13.txt diff --git a/parser/testdata/01073_grant_and_revoke/explain_16.txt b/parser/testdata/03141_wildcard_grants/explain_3.txt similarity index 100% rename from parser/testdata/01073_grant_and_revoke/explain_16.txt rename to parser/testdata/03141_wildcard_grants/explain_3.txt diff --git a/parser/testdata/01073_grant_and_revoke/explain_17.txt b/parser/testdata/03141_wildcard_grants/explain_4.txt similarity index 100% rename from parser/testdata/01073_grant_and_revoke/explain_17.txt rename to parser/testdata/03141_wildcard_grants/explain_4.txt diff --git a/parser/testdata/03141_wildcard_grants/explain_17.txt b/parser/testdata/03141_wildcard_grants/explain_5.txt similarity index 100% rename from parser/testdata/03141_wildcard_grants/explain_17.txt rename to parser/testdata/03141_wildcard_grants/explain_5.txt diff --git a/parser/testdata/03141_wildcard_grants/explain_18.txt b/parser/testdata/03141_wildcard_grants/explain_8.txt similarity index 100% rename from parser/testdata/03141_wildcard_grants/explain_18.txt rename to parser/testdata/03141_wildcard_grants/explain_8.txt diff --git a/parser/testdata/03141_wildcard_grants/explain_9.txt b/parser/testdata/03141_wildcard_grants/explain_9.txt new file mode 100644 index 0000000000..a567738d3d --- /dev/null +++ b/parser/testdata/03141_wildcard_grants/explain_9.txt @@ -0,0 +1 @@ +GrantQuery diff --git a/parser/testdata/03143_cte_scope/explain_5.txt b/parser/testdata/03143_cte_scope/explain_5.txt new file mode 100644 index 0000000000..8bdceeb712 --- /dev/null +++ b/parser/testdata/03143_cte_scope/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tmp_a diff --git a/parser/testdata/03143_cte_scope/explain_6.txt b/parser/testdata/03143_cte_scope/explain_6.txt new file mode 100644 index 0000000000..8bdceeb712 --- /dev/null +++ b/parser/testdata/03143_cte_scope/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tmp_a diff --git a/parser/testdata/03143_cte_scope/explain_8.txt b/parser/testdata/03143_cte_scope/explain_8.txt new file mode 100644 index 0000000000..8106bf31da --- /dev/null +++ b/parser/testdata/03143_cte_scope/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tmp_b diff --git a/parser/testdata/03143_cte_scope/explain_9.txt b/parser/testdata/03143_cte_scope/explain_9.txt new file mode 100644 index 0000000000..8106bf31da --- /dev/null +++ b/parser/testdata/03143_cte_scope/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tmp_b diff --git a/parser/testdata/03143_join_filter_push_down_filled_join_fix/explain_5.txt b/parser/testdata/03143_join_filter_push_down_filled_join_fix/explain_5.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/03143_join_filter_push_down_filled_join_fix/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/03143_join_filter_push_down_filled_join_fix/explain_6.txt b/parser/testdata/03143_join_filter_push_down_filled_join_fix/explain_6.txt new file mode 100644 index 0000000000..df4a687bc0 --- /dev/null +++ b/parser/testdata/03143_join_filter_push_down_filled_join_fix/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2 diff --git a/parser/testdata/03143_parallel_replicas_mat_view_bug/explain_7.txt b/parser/testdata/03143_parallel_replicas_mat_view_bug/explain_7.txt new file mode 100644 index 0000000000..272d5eecaa --- /dev/null +++ b/parser/testdata/03143_parallel_replicas_mat_view_bug/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier null_table diff --git a/parser/testdata/03143_ttl_in_system_parts_columns_table/explain_3.txt b/parser/testdata/03143_ttl_in_system_parts_columns_table/explain_3.txt new file mode 100644 index 0000000000..6e86abaf35 --- /dev/null +++ b/parser/testdata/03143_ttl_in_system_parts_columns_table/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_03143 diff --git a/parser/testdata/03144_asof_join_ddb_doubles/explain_12.txt b/parser/testdata/03144_asof_join_ddb_doubles/explain_12.txt new file mode 100644 index 0000000000..0a2535f0df --- /dev/null +++ b/parser/testdata/03144_asof_join_ddb_doubles/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier events diff --git a/parser/testdata/03144_asof_join_ddb_doubles/explain_5.txt b/parser/testdata/03144_asof_join_ddb_doubles/explain_5.txt new file mode 100644 index 0000000000..c337553985 --- /dev/null +++ b/parser/testdata/03144_asof_join_ddb_doubles/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier events0 diff --git a/parser/testdata/03144_fuzz_quoted_type_name/explain.txt b/parser/testdata/03144_fuzz_quoted_type_name/explain.txt deleted file mode 100644 index 8b13789179..0000000000 --- a/parser/testdata/03144_fuzz_quoted_type_name/explain.txt +++ /dev/null @@ -1 +0,0 @@ - diff --git a/parser/testdata/03145_asof_join_ddb_inequalities/explain_11.txt b/parser/testdata/03145_asof_join_ddb_inequalities/explain_11.txt new file mode 100644 index 0000000000..137648ad76 --- /dev/null +++ b/parser/testdata/03145_asof_join_ddb_inequalities/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier probe0 diff --git a/parser/testdata/03145_asof_join_ddb_inequalities/explain_8.txt b/parser/testdata/03145_asof_join_ddb_inequalities/explain_8.txt new file mode 100644 index 0000000000..c337553985 --- /dev/null +++ b/parser/testdata/03145_asof_join_ddb_inequalities/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier events0 diff --git a/parser/testdata/03146_bug47862/explain.txt b/parser/testdata/03146_bug47862/explain.txt index 88f0f04e21..139686edb1 100644 --- a/parser/testdata/03146_bug47862/explain.txt +++ b/parser/testdata/03146_bug47862/explain.txt @@ -17,7 +17,7 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Identifier field_id Literal UInt64_10 - Function arrayElement (children 1) + Function arrayElement (alias lookup_res) (children 1) ExpressionList (children 2) Literal Array_[\'110\'] Identifier val_idx @@ -31,10 +31,7 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) Function arrayJoin (alias field_id) (children 1) ExpressionList (children 1) - Function array (children 1) - ExpressionList (children 2) - Literal Array_[UInt64_10] - Literal Array_[UInt64_15] + Literal Array_[Array_[UInt64_10], Array_[UInt64_15]] Function notEquals (children 1) ExpressionList (children 2) Identifier val_idx diff --git a/parser/testdata/03146_parameterized_view_with_date/explain_3.txt b/parser/testdata/03146_parameterized_view_with_date/explain_3.txt new file mode 100644 index 0000000000..c8f41c0a11 --- /dev/null +++ b/parser/testdata/03146_parameterized_view_with_date/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_pv diff --git a/parser/testdata/03146_parameterized_view_with_date/explain_4.txt b/parser/testdata/03146_parameterized_view_with_date/explain_4.txt new file mode 100644 index 0000000000..c8f41c0a11 --- /dev/null +++ b/parser/testdata/03146_parameterized_view_with_date/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_pv diff --git a/parser/testdata/03147_rows_before_limit_fix/explain_10.txt b/parser/testdata/03147_rows_before_limit_fix/explain_10.txt index 63571c61f4..667693bdb2 100644 --- a/parser/testdata/03147_rows_before_limit_fix/explain_10.txt +++ b/parser/testdata/03147_rows_before_limit_fix/explain_10.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 7) + SelectQuery (children 6) ExpressionList (children 1) Identifier service_name TablesInSelectQuery (children 1) @@ -31,6 +31,5 @@ SelectWithUnionQuery (children 3) OrderByElement (children 1) Identifier service_name Literal UInt64_20 - Set Identifier JSON Set diff --git a/parser/testdata/03147_rows_before_limit_fix/explain_4.txt b/parser/testdata/03147_rows_before_limit_fix/explain_4.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03147_rows_before_limit_fix/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03147_rows_before_limit_fix/explain_5.txt b/parser/testdata/03147_rows_before_limit_fix/explain_5.txt index 820761f6a1..36383ccb6a 100644 --- a/parser/testdata/03147_rows_before_limit_fix/explain_5.txt +++ b/parser/testdata/03147_rows_before_limit_fix/explain_5.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 5) + SelectQuery (children 4) ExpressionList (children 1) Identifier age TablesInSelectQuery (children 1) @@ -15,6 +15,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) Identifier age Literal UInt64_20 - Set Identifier JSON Set diff --git a/parser/testdata/03147_rows_before_limit_fix/explain_9.txt b/parser/testdata/03147_rows_before_limit_fix/explain_9.txt new file mode 100644 index 0000000000..729afa0e10 --- /dev/null +++ b/parser/testdata/03147_rows_before_limit_fix/explain_9.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test_rows_count_bug_local + ExpressionList (children 2) + Identifier service_name + Identifier path diff --git a/parser/testdata/03148_asof_join_ddb_subquery/explain_3.txt b/parser/testdata/03148_asof_join_ddb_subquery/explain_3.txt new file mode 100644 index 0000000000..0a2535f0df --- /dev/null +++ b/parser/testdata/03148_asof_join_ddb_subquery/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier events diff --git a/parser/testdata/03148_mutations_virtual_columns/explain_3.txt b/parser/testdata/03148_mutations_virtual_columns/explain_3.txt new file mode 100644 index 0000000000..394d0fd29b --- /dev/null +++ b/parser/testdata/03148_mutations_virtual_columns/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_mut_virtuals diff --git a/parser/testdata/03148_mutations_virtual_columns/explain_4.txt b/parser/testdata/03148_mutations_virtual_columns/explain_4.txt new file mode 100644 index 0000000000..394d0fd29b --- /dev/null +++ b/parser/testdata/03148_mutations_virtual_columns/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_mut_virtuals diff --git a/parser/testdata/03148_query_log_used_dictionaries/explain_10.txt b/parser/testdata/03148_query_log_used_dictionaries/explain_10.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03148_query_log_used_dictionaries/explain_10.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03148_query_log_used_dictionaries/explain_13.txt b/parser/testdata/03148_query_log_used_dictionaries/explain_13.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03148_query_log_used_dictionaries/explain_13.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03148_query_log_used_dictionaries/explain_4.txt b/parser/testdata/03148_query_log_used_dictionaries/explain_4.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03148_query_log_used_dictionaries/explain_4.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03148_query_log_used_dictionaries/explain_7.txt b/parser/testdata/03148_query_log_used_dictionaries/explain_7.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03148_query_log_used_dictionaries/explain_7.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03148_setting_max_streams_to_max_threads_ratio_overflow/explain_3.txt b/parser/testdata/03148_setting_max_streams_to_max_threads_ratio_overflow/explain_3.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/03148_setting_max_streams_to_max_threads_ratio_overflow/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/03149_analyzer_join_projection_name/explain_7.txt b/parser/testdata/03149_analyzer_join_projection_name/explain_7.txt new file mode 100644 index 0000000000..b8114e8dcd --- /dev/null +++ b/parser/testdata/03149_analyzer_join_projection_name/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier groups diff --git a/parser/testdata/03149_analyzer_join_projection_name/explain_8.txt b/parser/testdata/03149_analyzer_join_projection_name/explain_8.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03149_analyzer_join_projection_name/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03149_analyzer_join_projection_name_2/explain_11.txt b/parser/testdata/03149_analyzer_join_projection_name_2/explain_11.txt new file mode 100644 index 0000000000..b8114e8dcd --- /dev/null +++ b/parser/testdata/03149_analyzer_join_projection_name_2/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier groups diff --git a/parser/testdata/03149_analyzer_join_projection_name_2/explain_12.txt b/parser/testdata/03149_analyzer_join_projection_name_2/explain_12.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03149_analyzer_join_projection_name_2/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03149_analyzer_join_projection_name_2/explain_13.txt b/parser/testdata/03149_analyzer_join_projection_name_2/explain_13.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03149_analyzer_join_projection_name_2/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03149_analyzer_join_projection_name_2/explain_14.txt b/parser/testdata/03149_analyzer_join_projection_name_2/explain_14.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03149_analyzer_join_projection_name_2/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03149_analyzer_join_projection_name_2/explain_15.txt b/parser/testdata/03149_analyzer_join_projection_name_2/explain_15.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03149_analyzer_join_projection_name_2/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03149_analyzer_window_redefinition/explain_2.txt b/parser/testdata/03149_analyzer_window_redefinition/explain_2.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03149_analyzer_window_redefinition/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03149_analyzer_window_redefinition/explain_3.txt b/parser/testdata/03149_analyzer_window_redefinition/explain_3.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03149_analyzer_window_redefinition/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03149_analyzer_window_redefinition/explain_4.txt b/parser/testdata/03149_analyzer_window_redefinition/explain_4.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03149_analyzer_window_redefinition/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03149_asof_join_ddb_timestamps/explain_10.txt b/parser/testdata/03149_asof_join_ddb_timestamps/explain_10.txt new file mode 100644 index 0000000000..137648ad76 --- /dev/null +++ b/parser/testdata/03149_asof_join_ddb_timestamps/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier probe0 diff --git a/parser/testdata/03149_asof_join_ddb_timestamps/explain_8.txt b/parser/testdata/03149_asof_join_ddb_timestamps/explain_8.txt new file mode 100644 index 0000000000..c337553985 --- /dev/null +++ b/parser/testdata/03149_asof_join_ddb_timestamps/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier events0 diff --git a/parser/testdata/03150_dynamic_type_mv_insert/explain_12.txt b/parser/testdata/03150_dynamic_type_mv_insert/explain_12.txt new file mode 100644 index 0000000000..8d1de0e137 --- /dev/null +++ b/parser/testdata/03150_dynamic_type_mv_insert/explain_12.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier null_table + ExpressionList (children 2) + Identifier n1 + Identifier n2 diff --git a/parser/testdata/03150_dynamic_type_mv_insert/explain_19.txt b/parser/testdata/03150_dynamic_type_mv_insert/explain_19.txt new file mode 100644 index 0000000000..8d1de0e137 --- /dev/null +++ b/parser/testdata/03150_dynamic_type_mv_insert/explain_19.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier null_table + ExpressionList (children 2) + Identifier n1 + Identifier n2 diff --git a/parser/testdata/03150_dynamic_type_mv_insert/explain_9.txt b/parser/testdata/03150_dynamic_type_mv_insert/explain_9.txt new file mode 100644 index 0000000000..8d1de0e137 --- /dev/null +++ b/parser/testdata/03150_dynamic_type_mv_insert/explain_9.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier null_table + ExpressionList (children 2) + Identifier n1 + Identifier n2 diff --git a/parser/testdata/03150_trace_log_add_build_id/explain_5.txt b/parser/testdata/03150_trace_log_add_build_id/explain_5.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03150_trace_log_add_build_id/explain_5.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03151_dynamic_type_scale_max_types/explain_10.txt b/parser/testdata/03151_dynamic_type_scale_max_types/explain_10.txt new file mode 100644 index 0000000000..59536dbf48 --- /dev/null +++ b/parser/testdata/03151_dynamic_type_scale_max_types/explain_10.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier to_table + ExpressionList (children 2) + Identifier n1 + Identifier n2 diff --git a/parser/testdata/03151_dynamic_type_scale_max_types/explain_14.txt b/parser/testdata/03151_dynamic_type_scale_max_types/explain_14.txt new file mode 100644 index 0000000000..59536dbf48 --- /dev/null +++ b/parser/testdata/03151_dynamic_type_scale_max_types/explain_14.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier to_table + ExpressionList (children 2) + Identifier n1 + Identifier n2 diff --git a/parser/testdata/03151_dynamic_type_scale_max_types/explain_6.txt b/parser/testdata/03151_dynamic_type_scale_max_types/explain_6.txt new file mode 100644 index 0000000000..59536dbf48 --- /dev/null +++ b/parser/testdata/03151_dynamic_type_scale_max_types/explain_6.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier to_table + ExpressionList (children 2) + Identifier n1 + Identifier n2 diff --git a/parser/testdata/03151_external_cross_join/explain_3.txt b/parser/testdata/03151_external_cross_join/explain_3.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/03151_external_cross_join/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/03151_external_cross_join/explain_4.txt b/parser/testdata/03151_external_cross_join/explain_4.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/03151_external_cross_join/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/03151_external_cross_join/explain_5.txt b/parser/testdata/03151_external_cross_join/explain_5.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/03151_external_cross_join/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/03151_external_cross_join/explain_6.txt b/parser/testdata/03151_external_cross_join/explain_6.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/03151_external_cross_join/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/03151_redundant_distinct_with_window/explain_4.txt b/parser/testdata/03151_redundant_distinct_with_window/explain_4.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/03151_redundant_distinct_with_window/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/03152_analyzer_columns_list/explain_2.txt b/parser/testdata/03152_analyzer_columns_list/explain_2.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03152_analyzer_columns_list/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03152_dynamic_type_simple/explain_13.txt b/parser/testdata/03152_dynamic_type_simple/explain_13.txt new file mode 100644 index 0000000000..2748d534c1 --- /dev/null +++ b/parser/testdata/03152_dynamic_type_simple/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_rapid_schema diff --git a/parser/testdata/03152_dynamic_type_simple/explain_4.txt b/parser/testdata/03152_dynamic_type_simple/explain_4.txt new file mode 100644 index 0000000000..09414f6779 --- /dev/null +++ b/parser/testdata/03152_dynamic_type_simple/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_max_types diff --git a/parser/testdata/03152_dynamic_type_simple/explain_9.txt b/parser/testdata/03152_dynamic_type_simple/explain_9.txt new file mode 100644 index 0000000000..6959f43897 --- /dev/null +++ b/parser/testdata/03152_dynamic_type_simple/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_nested_dynamic diff --git a/parser/testdata/03152_join_filter_push_down_equivalent_columns/explain_10.txt b/parser/testdata/03152_join_filter_push_down_equivalent_columns/explain_10.txt new file mode 100644 index 0000000000..befb91beed --- /dev/null +++ b/parser/testdata/03152_join_filter_push_down_equivalent_columns/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users2 diff --git a/parser/testdata/03152_join_filter_push_down_equivalent_columns/explain_11.txt b/parser/testdata/03152_join_filter_push_down_equivalent_columns/explain_11.txt new file mode 100644 index 0000000000..befb91beed --- /dev/null +++ b/parser/testdata/03152_join_filter_push_down_equivalent_columns/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users2 diff --git a/parser/testdata/03152_join_filter_push_down_equivalent_columns/explain_12.txt b/parser/testdata/03152_join_filter_push_down_equivalent_columns/explain_12.txt new file mode 100644 index 0000000000..befb91beed --- /dev/null +++ b/parser/testdata/03152_join_filter_push_down_equivalent_columns/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users2 diff --git a/parser/testdata/03152_join_filter_push_down_equivalent_columns/explain_5.txt b/parser/testdata/03152_join_filter_push_down_equivalent_columns/explain_5.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03152_join_filter_push_down_equivalent_columns/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03152_join_filter_push_down_equivalent_columns/explain_6.txt b/parser/testdata/03152_join_filter_push_down_equivalent_columns/explain_6.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03152_join_filter_push_down_equivalent_columns/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03152_join_filter_push_down_equivalent_columns/explain_7.txt b/parser/testdata/03152_join_filter_push_down_equivalent_columns/explain_7.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03152_join_filter_push_down_equivalent_columns/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03152_trailing_comma_in_columns_list_in_insert/explain_2.txt b/parser/testdata/03152_trailing_comma_in_columns_list_in_insert/explain_2.txt new file mode 100644 index 0000000000..2b0803c89d --- /dev/null +++ b/parser/testdata/03152_trailing_comma_in_columns_list_in_insert/explain_2.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 3) + Identifier a + Identifier b + Identifier c diff --git a/parser/testdata/03152_trailing_comma_in_columns_list_in_insert/explain_3.txt b/parser/testdata/03152_trailing_comma_in_columns_list_in_insert/explain_3.txt new file mode 100644 index 0000000000..2b0803c89d --- /dev/null +++ b/parser/testdata/03152_trailing_comma_in_columns_list_in_insert/explain_3.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 3) + Identifier a + Identifier b + Identifier c diff --git a/parser/testdata/03153_dynamic_type_empty/explain_4.txt b/parser/testdata/03153_dynamic_type_empty/explain_4.txt new file mode 100644 index 0000000000..6ac9b889c7 --- /dev/null +++ b/parser/testdata/03153_dynamic_type_empty/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_null_empty diff --git a/parser/testdata/03153_trailing_comma_in_values_list_in_insert/explain_2.txt b/parser/testdata/03153_trailing_comma_in_values_list_in_insert/explain_2.txt new file mode 100644 index 0000000000..2b0803c89d --- /dev/null +++ b/parser/testdata/03153_trailing_comma_in_values_list_in_insert/explain_2.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 3) + Identifier a + Identifier b + Identifier c diff --git a/parser/testdata/03153_trailing_comma_in_values_list_in_insert/explain_3.txt b/parser/testdata/03153_trailing_comma_in_values_list_in_insert/explain_3.txt new file mode 100644 index 0000000000..2b0803c89d --- /dev/null +++ b/parser/testdata/03153_trailing_comma_in_values_list_in_insert/explain_3.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 3) + Identifier a + Identifier b + Identifier c diff --git a/parser/testdata/03153_trailing_comma_in_values_list_in_insert/explain_4.txt b/parser/testdata/03153_trailing_comma_in_values_list_in_insert/explain_4.txt new file mode 100644 index 0000000000..2b0803c89d --- /dev/null +++ b/parser/testdata/03153_trailing_comma_in_values_list_in_insert/explain_4.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 3) + Identifier a + Identifier b + Identifier c diff --git a/parser/testdata/03154_recursive_cte_distributed/explain_4.txt b/parser/testdata/03154_recursive_cte_distributed/explain_4.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/03154_recursive_cte_distributed/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/03154_recursive_cte_distributed/explain_5.txt b/parser/testdata/03154_recursive_cte_distributed/explain_5.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/03154_recursive_cte_distributed/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/03154_recursive_cte_distributed/explain_6.txt b/parser/testdata/03154_recursive_cte_distributed/explain_6.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/03154_recursive_cte_distributed/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/03156_analyzer_array_join_distributed/explain_2.txt b/parser/testdata/03156_analyzer_array_join_distributed/explain_2.txt new file mode 100644 index 0000000000..dc57cfd43f --- /dev/null +++ b/parser/testdata/03156_analyzer_array_join_distributed/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier arrays_test diff --git a/parser/testdata/03156_group_concat/explain_17.txt b/parser/testdata/03156_group_concat/explain_17.txt new file mode 100644 index 0000000000..4673ba5a70 --- /dev/null +++ b/parser/testdata/03156_group_concat/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_groupConcat diff --git a/parser/testdata/03156_group_concat/explain_18.txt b/parser/testdata/03156_group_concat/explain_18.txt new file mode 100644 index 0000000000..4673ba5a70 --- /dev/null +++ b/parser/testdata/03156_group_concat/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_groupConcat diff --git a/parser/testdata/03156_group_concat/explain_30.txt b/parser/testdata/03156_group_concat/explain_30.txt new file mode 100644 index 0000000000..4673ba5a70 --- /dev/null +++ b/parser/testdata/03156_group_concat/explain_30.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_groupConcat diff --git a/parser/testdata/03156_group_concat/explain_4.txt b/parser/testdata/03156_group_concat/explain_4.txt new file mode 100644 index 0000000000..4673ba5a70 --- /dev/null +++ b/parser/testdata/03156_group_concat/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_groupConcat diff --git a/parser/testdata/03157_dynamic_type_json/explain_6.txt b/parser/testdata/03157_dynamic_type_json/explain_6.txt new file mode 100644 index 0000000000..897b2e55b5 --- /dev/null +++ b/parser/testdata/03157_dynamic_type_json/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_deep_nested_json diff --git a/parser/testdata/03157_dynamic_type_json/explain_7.txt b/parser/testdata/03157_dynamic_type_json/explain_7.txt new file mode 100644 index 0000000000..897b2e55b5 --- /dev/null +++ b/parser/testdata/03157_dynamic_type_json/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_deep_nested_json diff --git a/parser/testdata/03157_negative_positional_arguments_ubsan/explain.txt b/parser/testdata/03157_negative_positional_arguments_ubsan/explain.txt index c4c26af278..885255448e 100644 --- a/parser/testdata/03157_negative_positional_arguments_ubsan/explain.txt +++ b/parser/testdata/03157_negative_positional_arguments_ubsan/explain.txt @@ -5,4 +5,3 @@ SelectWithUnionQuery (children 1) Literal UInt64_1 ExpressionList (children 1) Literal Int64_-9223372036854775808 -The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT 1 GROUP BY -9223372036854775808; -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/03158_dynamic_type_from_variant/explain_6.txt b/parser/testdata/03158_dynamic_type_from_variant/explain_6.txt new file mode 100644 index 0000000000..b595aaf869 --- /dev/null +++ b/parser/testdata/03158_dynamic_type_from_variant/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_variable diff --git a/parser/testdata/03159_dynamic_type_all_types/explain_10.txt b/parser/testdata/03159_dynamic_type_all_types/explain_10.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03159_dynamic_type_all_types/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03159_dynamic_type_all_types/explain_11.txt b/parser/testdata/03159_dynamic_type_all_types/explain_11.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03159_dynamic_type_all_types/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03159_dynamic_type_all_types/explain_12.txt b/parser/testdata/03159_dynamic_type_all_types/explain_12.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03159_dynamic_type_all_types/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03159_dynamic_type_all_types/explain_13.txt b/parser/testdata/03159_dynamic_type_all_types/explain_13.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03159_dynamic_type_all_types/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03159_dynamic_type_all_types/explain_14.txt b/parser/testdata/03159_dynamic_type_all_types/explain_14.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03159_dynamic_type_all_types/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03159_dynamic_type_all_types/explain_15.txt b/parser/testdata/03159_dynamic_type_all_types/explain_15.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03159_dynamic_type_all_types/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03159_dynamic_type_all_types/explain_16.txt b/parser/testdata/03159_dynamic_type_all_types/explain_16.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03159_dynamic_type_all_types/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03159_dynamic_type_all_types/explain_17.txt b/parser/testdata/03159_dynamic_type_all_types/explain_17.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03159_dynamic_type_all_types/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03159_dynamic_type_all_types/explain_18.txt b/parser/testdata/03159_dynamic_type_all_types/explain_18.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03159_dynamic_type_all_types/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03159_dynamic_type_all_types/explain_19.txt b/parser/testdata/03159_dynamic_type_all_types/explain_19.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03159_dynamic_type_all_types/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03159_dynamic_type_all_types/explain_20.txt b/parser/testdata/03159_dynamic_type_all_types/explain_20.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03159_dynamic_type_all_types/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03159_dynamic_type_all_types/explain_21.txt b/parser/testdata/03159_dynamic_type_all_types/explain_21.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03159_dynamic_type_all_types/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03159_dynamic_type_all_types/explain_22.txt b/parser/testdata/03159_dynamic_type_all_types/explain_22.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03159_dynamic_type_all_types/explain_22.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03159_dynamic_type_all_types/explain_23.txt b/parser/testdata/03159_dynamic_type_all_types/explain_23.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03159_dynamic_type_all_types/explain_23.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03159_dynamic_type_all_types/explain_24.txt b/parser/testdata/03159_dynamic_type_all_types/explain_24.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03159_dynamic_type_all_types/explain_24.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03159_dynamic_type_all_types/explain_25.txt b/parser/testdata/03159_dynamic_type_all_types/explain_25.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03159_dynamic_type_all_types/explain_25.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03159_dynamic_type_all_types/explain_26.txt b/parser/testdata/03159_dynamic_type_all_types/explain_26.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03159_dynamic_type_all_types/explain_26.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03159_dynamic_type_all_types/explain_27.txt b/parser/testdata/03159_dynamic_type_all_types/explain_27.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03159_dynamic_type_all_types/explain_27.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03159_dynamic_type_all_types/explain_28.txt b/parser/testdata/03159_dynamic_type_all_types/explain_28.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03159_dynamic_type_all_types/explain_28.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03159_dynamic_type_all_types/explain_29.txt b/parser/testdata/03159_dynamic_type_all_types/explain_29.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03159_dynamic_type_all_types/explain_29.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03159_dynamic_type_all_types/explain_30.txt b/parser/testdata/03159_dynamic_type_all_types/explain_30.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03159_dynamic_type_all_types/explain_30.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03159_dynamic_type_all_types/explain_31.txt b/parser/testdata/03159_dynamic_type_all_types/explain_31.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03159_dynamic_type_all_types/explain_31.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03159_dynamic_type_all_types/explain_32.txt b/parser/testdata/03159_dynamic_type_all_types/explain_32.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03159_dynamic_type_all_types/explain_32.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03159_dynamic_type_all_types/explain_33.txt b/parser/testdata/03159_dynamic_type_all_types/explain_33.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03159_dynamic_type_all_types/explain_33.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03159_dynamic_type_all_types/explain_34.txt b/parser/testdata/03159_dynamic_type_all_types/explain_34.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03159_dynamic_type_all_types/explain_34.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03159_dynamic_type_all_types/explain_35.txt b/parser/testdata/03159_dynamic_type_all_types/explain_35.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03159_dynamic_type_all_types/explain_35.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03159_dynamic_type_all_types/explain_36.txt b/parser/testdata/03159_dynamic_type_all_types/explain_36.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03159_dynamic_type_all_types/explain_36.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03159_dynamic_type_all_types/explain_37.txt b/parser/testdata/03159_dynamic_type_all_types/explain_37.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03159_dynamic_type_all_types/explain_37.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03159_dynamic_type_all_types/explain_38.txt b/parser/testdata/03159_dynamic_type_all_types/explain_38.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03159_dynamic_type_all_types/explain_38.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03159_dynamic_type_all_types/explain_39.txt b/parser/testdata/03159_dynamic_type_all_types/explain_39.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03159_dynamic_type_all_types/explain_39.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03159_dynamic_type_all_types/explain_40.txt b/parser/testdata/03159_dynamic_type_all_types/explain_40.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03159_dynamic_type_all_types/explain_40.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03159_dynamic_type_all_types/explain_41.txt b/parser/testdata/03159_dynamic_type_all_types/explain_41.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03159_dynamic_type_all_types/explain_41.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03159_dynamic_type_all_types/explain_42.txt b/parser/testdata/03159_dynamic_type_all_types/explain_42.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03159_dynamic_type_all_types/explain_42.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03159_dynamic_type_all_types/explain_43.txt b/parser/testdata/03159_dynamic_type_all_types/explain_43.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03159_dynamic_type_all_types/explain_43.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03159_dynamic_type_all_types/explain_44.txt b/parser/testdata/03159_dynamic_type_all_types/explain_44.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03159_dynamic_type_all_types/explain_44.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03159_dynamic_type_all_types/explain_45.txt b/parser/testdata/03159_dynamic_type_all_types/explain_45.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03159_dynamic_type_all_types/explain_45.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03159_dynamic_type_all_types/explain_46.txt b/parser/testdata/03159_dynamic_type_all_types/explain_46.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03159_dynamic_type_all_types/explain_46.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03159_dynamic_type_all_types/explain_6.txt b/parser/testdata/03159_dynamic_type_all_types/explain_6.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03159_dynamic_type_all_types/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03159_dynamic_type_all_types/explain_7.txt b/parser/testdata/03159_dynamic_type_all_types/explain_7.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03159_dynamic_type_all_types/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03159_dynamic_type_all_types/explain_8.txt b/parser/testdata/03159_dynamic_type_all_types/explain_8.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03159_dynamic_type_all_types/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03159_dynamic_type_all_types/explain_9.txt b/parser/testdata/03159_dynamic_type_all_types/explain_9.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03159_dynamic_type_all_types/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03161_cnf_reduction/explain_18.txt b/parser/testdata/03161_cnf_reduction/explain_18.txt new file mode 100644 index 0000000000..adee56761b --- /dev/null +++ b/parser/testdata/03161_cnf_reduction/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 03161_reproducer diff --git a/parser/testdata/03161_cnf_reduction/explain_3.txt b/parser/testdata/03161_cnf_reduction/explain_3.txt new file mode 100644 index 0000000000..c514532cf8 --- /dev/null +++ b/parser/testdata/03161_cnf_reduction/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 03161_table diff --git a/parser/testdata/03161_lightweight_delete_projection/explain_16.txt b/parser/testdata/03161_lightweight_delete_projection/explain_16.txt new file mode 100644 index 0000000000..2b813da8de --- /dev/null +++ b/parser/testdata/03161_lightweight_delete_projection/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users_compact diff --git a/parser/testdata/03161_lightweight_delete_projection/explain_25.txt b/parser/testdata/03161_lightweight_delete_projection/explain_25.txt new file mode 100644 index 0000000000..a395c72b22 --- /dev/null +++ b/parser/testdata/03161_lightweight_delete_projection/explain_25.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users_wide diff --git a/parser/testdata/03161_lightweight_delete_projection/explain_36.txt b/parser/testdata/03161_lightweight_delete_projection/explain_36.txt new file mode 100644 index 0000000000..a395c72b22 --- /dev/null +++ b/parser/testdata/03161_lightweight_delete_projection/explain_36.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users_wide diff --git a/parser/testdata/03161_lightweight_delete_projection/explain_5.txt b/parser/testdata/03161_lightweight_delete_projection/explain_5.txt new file mode 100644 index 0000000000..2b813da8de --- /dev/null +++ b/parser/testdata/03161_lightweight_delete_projection/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users_compact diff --git a/parser/testdata/03162_dynamic_type_nested/explain_4.txt b/parser/testdata/03162_dynamic_type_nested/explain_4.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03162_dynamic_type_nested/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03162_dynamic_type_nested/explain_5.txt b/parser/testdata/03162_dynamic_type_nested/explain_5.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03162_dynamic_type_nested/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03163_dynamic_as_supertype/explain_5.txt b/parser/testdata/03163_dynamic_as_supertype/explain_5.txt new file mode 100644 index 0000000000..6b87151e88 --- /dev/null +++ b/parser/testdata/03163_dynamic_as_supertype/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dynamic_test_1 diff --git a/parser/testdata/03163_dynamic_as_supertype/explain_7.txt b/parser/testdata/03163_dynamic_as_supertype/explain_7.txt new file mode 100644 index 0000000000..c59ea3c958 --- /dev/null +++ b/parser/testdata/03163_dynamic_as_supertype/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dynamic_test_2 diff --git a/parser/testdata/03164_adapting_parquet_reader_output_size/explain_11.txt b/parser/testdata/03164_adapting_parquet_reader_output_size/explain_11.txt new file mode 100644 index 0000000000..2944072cbd --- /dev/null +++ b/parser/testdata/03164_adapting_parquet_reader_output_size/explain_11.txt @@ -0,0 +1,25 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function roundToExp2 (children 1) + ExpressionList (children 1) + Function plus (children 1) + ExpressionList (children 2) + Function max (children 1) + ExpressionList (children 1) + Function blockSize (children 1) + ExpressionList + Function sum (children 1) + ExpressionList (children 1) + Function ignore (children 1) + ExpressionList (children 2) + Identifier short + Identifier long_low_cardinality + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function file (children 1) + ExpressionList (children 1) + Literal \'03164_adapting_parquet_reader_output_size.parquet\' + Set diff --git a/parser/testdata/03164_analyzer_validate_tree_size/explain_2.txt b/parser/testdata/03164_analyzer_validate_tree_size/explain_2.txt new file mode 100644 index 0000000000..e7da6331eb --- /dev/null +++ b/parser/testdata/03164_analyzer_validate_tree_size/explain_2.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 1) + Identifier c1 diff --git a/parser/testdata/03164_create_as_default/explain_4.txt b/parser/testdata/03164_create_as_default/explain_4.txt new file mode 100644 index 0000000000..35714a3930 --- /dev/null +++ b/parser/testdata/03164_create_as_default/explain_4.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier src_table + ExpressionList (children 1) + Identifier sipTimestamp diff --git a/parser/testdata/03164_create_as_default/explain_9.txt b/parser/testdata/03164_create_as_default/explain_9.txt new file mode 100644 index 0000000000..35714a3930 --- /dev/null +++ b/parser/testdata/03164_create_as_default/explain_9.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier src_table + ExpressionList (children 1) + Identifier sipTimestamp diff --git a/parser/testdata/03164_early_constant_folding_analyzer/explain_3.txt b/parser/testdata/03164_early_constant_folding_analyzer/explain_3.txt new file mode 100644 index 0000000000..7a123efffd --- /dev/null +++ b/parser/testdata/03164_early_constant_folding_analyzer/explain_3.txt @@ -0,0 +1,43 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function trimLeft (children 1) + ExpressionList (children 1) + Identifier explain + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function viewExplain (children 1) + ExpressionList (children 3) + Literal \'EXPLAIN\' + Literal \'\' + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function count (children 1) + ExpressionList (children 1) + Literal UInt64_1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier checks + Function isNotNull (children 1) + ExpressionList (children 1) + Identifier test_name + Function like (children 1) + ExpressionList (children 2) + Identifier explain + Literal \'%ReadFromPreparedSource%\' + Set diff --git a/parser/testdata/03164_materialize_skip_index/explain_23.txt b/parser/testdata/03164_materialize_skip_index/explain_23.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03164_materialize_skip_index/explain_23.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03164_materialize_skip_index_on_merge/explain_20.txt b/parser/testdata/03164_materialize_skip_index_on_merge/explain_20.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03164_materialize_skip_index_on_merge/explain_20.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03164_optimize_read_in_order_nullable/explain_12.txt b/parser/testdata/03164_optimize_read_in_order_nullable/explain_12.txt new file mode 100644 index 0000000000..fe18a8e347 --- /dev/null +++ b/parser/testdata/03164_optimize_read_in_order_nullable/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 03164_multi_key diff --git a/parser/testdata/03164_optimize_read_in_order_nullable/explain_3.txt b/parser/testdata/03164_optimize_read_in_order_nullable/explain_3.txt new file mode 100644 index 0000000000..bc0cfcca33 --- /dev/null +++ b/parser/testdata/03164_optimize_read_in_order_nullable/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 03164_users diff --git a/parser/testdata/03164_optimize_read_in_order_nullable/explain_4.txt b/parser/testdata/03164_optimize_read_in_order_nullable/explain_4.txt new file mode 100644 index 0000000000..bc0cfcca33 --- /dev/null +++ b/parser/testdata/03164_optimize_read_in_order_nullable/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 03164_users diff --git a/parser/testdata/03164_optimize_read_in_order_nullable/explain_5.txt b/parser/testdata/03164_optimize_read_in_order_nullable/explain_5.txt new file mode 100644 index 0000000000..bc0cfcca33 --- /dev/null +++ b/parser/testdata/03164_optimize_read_in_order_nullable/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 03164_users diff --git a/parser/testdata/03164_s3_settings_for_queries_and_merges/explain_13.txt b/parser/testdata/03164_s3_settings_for_queries_and_merges/explain_13.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03164_s3_settings_for_queries_and_merges/explain_13.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03165_round_scale_as_column/explain_46.txt b/parser/testdata/03165_round_scale_as_column/explain_46.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/03165_round_scale_as_column/explain_46.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/03165_round_scale_as_column/explain_47.txt b/parser/testdata/03165_round_scale_as_column/explain_47.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/03165_round_scale_as_column/explain_47.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/03165_round_scale_as_column/explain_48.txt b/parser/testdata/03165_round_scale_as_column/explain_48.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/03165_round_scale_as_column/explain_48.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/03165_round_scale_as_column/explain_49.txt b/parser/testdata/03165_round_scale_as_column/explain_49.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/03165_round_scale_as_column/explain_49.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/03165_round_scale_as_column/explain_50.txt b/parser/testdata/03165_round_scale_as_column/explain_50.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/03165_round_scale_as_column/explain_50.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/03165_round_scale_as_column/explain_51.txt b/parser/testdata/03165_round_scale_as_column/explain_51.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/03165_round_scale_as_column/explain_51.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/03165_round_scale_as_column/explain_76.txt b/parser/testdata/03165_round_scale_as_column/explain_76.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/03165_round_scale_as_column/explain_76.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/03165_storage_merge_view_prewhere/explain_5.txt b/parser/testdata/03165_storage_merge_view_prewhere/explain_5.txt new file mode 100644 index 0000000000..b4bb2de256 --- /dev/null +++ b/parser/testdata/03165_storage_merge_view_prewhere/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ids diff --git a/parser/testdata/03165_storage_merge_view_prewhere/explain_7.txt b/parser/testdata/03165_storage_merge_view_prewhere/explain_7.txt new file mode 100644 index 0000000000..36337a4d9e --- /dev/null +++ b/parser/testdata/03165_storage_merge_view_prewhere/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data diff --git a/parser/testdata/03165_storage_merge_view_prewhere/explain_9.txt b/parser/testdata/03165_storage_merge_view_prewhere/explain_9.txt new file mode 100644 index 0000000000..962692116c --- /dev/null +++ b/parser/testdata/03165_storage_merge_view_prewhere/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data2 diff --git a/parser/testdata/03165_string_functions_with_token_text_indexes/explain_49.txt b/parser/testdata/03165_string_functions_with_token_text_indexes/explain_49.txt new file mode 100644 index 0000000000..7d78d2d9ef --- /dev/null +++ b/parser/testdata/03165_string_functions_with_token_text_indexes/explain_49.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 03165_token_ft diff --git a/parser/testdata/03165_string_functions_with_token_text_indexes/explain_6.txt b/parser/testdata/03165_string_functions_with_token_text_indexes/explain_6.txt new file mode 100644 index 0000000000..acdf56e29f --- /dev/null +++ b/parser/testdata/03165_string_functions_with_token_text_indexes/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 03165_token_bf diff --git a/parser/testdata/03166_mv_prewhere_duplicating_name_bug/explain_4.txt b/parser/testdata/03166_mv_prewhere_duplicating_name_bug/explain_4.txt new file mode 100644 index 0000000000..37b584e2c2 --- /dev/null +++ b/parser/testdata/03166_mv_prewhere_duplicating_name_bug/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier src diff --git a/parser/testdata/03166_optimize_row_order_during_insert/explain_11.txt b/parser/testdata/03166_optimize_row_order_during_insert/explain_11.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/03166_optimize_row_order_during_insert/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/03166_optimize_row_order_during_insert/explain_17.txt b/parser/testdata/03166_optimize_row_order_during_insert/explain_17.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/03166_optimize_row_order_during_insert/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/03166_optimize_row_order_during_insert/explain_23.txt b/parser/testdata/03166_optimize_row_order_during_insert/explain_23.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/03166_optimize_row_order_during_insert/explain_23.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/03166_optimize_row_order_during_insert/explain_5.txt b/parser/testdata/03166_optimize_row_order_during_insert/explain_5.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/03166_optimize_row_order_during_insert/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/03166_skip_indexes_vertical_merge_1/explain_11.txt b/parser/testdata/03166_skip_indexes_vertical_merge_1/explain_11.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03166_skip_indexes_vertical_merge_1/explain_11.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03166_skip_indexes_vertical_merge_2/explain_6.txt b/parser/testdata/03166_skip_indexes_vertical_merge_2/explain_6.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03166_skip_indexes_vertical_merge_2/explain_6.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03167_base64_url_functions/explain.txt b/parser/testdata/03167_base64_url_functions/explain.txt index 68029fb8fa..a4ec573f93 100644 --- a/parser/testdata/03167_base64_url_functions/explain.txt +++ b/parser/testdata/03167_base64_url_functions/explain.txt @@ -4,4 +4,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) Function base64URLEncode (children 1) ExpressionList -The query succeeded but the server error '42' was expected (query: EXPLAIN AST SELECT base64URLEncode(); -- { serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH }). diff --git a/parser/testdata/03167_transactions_are_really_disabled/explain_7.txt b/parser/testdata/03167_transactions_are_really_disabled/explain_7.txt new file mode 100644 index 0000000000..272d5eecaa --- /dev/null +++ b/parser/testdata/03167_transactions_are_really_disabled/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier null_table diff --git a/parser/testdata/03168_attach_as_replicated_materialized_view/explain_14.txt b/parser/testdata/03168_attach_as_replicated_materialized_view/explain_14.txt new file mode 100644 index 0000000000..bf54ff4356 --- /dev/null +++ b/parser/testdata/03168_attach_as_replicated_materialized_view/explain_14.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier hourly_data + ExpressionList (children 3) + Identifier domain_name + Identifier event_time + Identifier count_views diff --git a/parser/testdata/03168_attach_as_replicated_materialized_view/explain_4.txt b/parser/testdata/03168_attach_as_replicated_materialized_view/explain_4.txt new file mode 100644 index 0000000000..bf54ff4356 --- /dev/null +++ b/parser/testdata/03168_attach_as_replicated_materialized_view/explain_4.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier hourly_data + ExpressionList (children 3) + Identifier domain_name + Identifier event_time + Identifier count_views diff --git a/parser/testdata/03168_cld2_tsan/explain.txt b/parser/testdata/03168_cld2_tsan/explain.txt index c8922441eb..008a532812 100644 --- a/parser/testdata/03168_cld2_tsan/explain.txt +++ b/parser/testdata/03168_cld2_tsan/explain.txt @@ -8,19 +8,19 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) Literal \'二兎を追ã†è€…ã¯ä¸€å…Žã‚’ã‚‚å¾—ãšäºŒå…Žã‚’追ã†è€…ã¯ä¸€å…Žã‚’ã‚‚å¾—ãš A vaincre sans peril, on triomphe sans gloire.\' ExpressionList (children 2) - Function tuple (children 1) - ExpressionList (children 2) - Literal \'a\' - Function toUInt256 (children 1) - ExpressionList (children 1) - Literal UInt64_1 - Function stringToH3 (children 1) - ExpressionList (children 1) - Function toFixedString (children 1) - ExpressionList (children 2) - Function toFixedString (children 1) - ExpressionList (children 2) - Literal \'85283473ffffff\' - Literal UInt64_14 - Literal UInt64_14 + ExpressionList (children 2) + Literal \'a\' + Function toUInt256 (children 1) + ExpressionList (children 1) + Literal UInt64_1 + ExpressionList (children 1) + Function stringToH3 (children 1) + ExpressionList (children 1) + Function toFixedString (children 1) + ExpressionList (children 2) + Function toFixedString (children 1) + ExpressionList (children 2) + Literal \'85283473ffffff\' + Literal UInt64_14 + Literal UInt64_14 Set diff --git a/parser/testdata/03168_fuzz_multiIf_short_circuit/explain.txt b/parser/testdata/03168_fuzz_multiIf_short_circuit/explain.txt new file mode 100644 index 0000000000..7f86a4107b --- /dev/null +++ b/parser/testdata/03168_fuzz_multiIf_short_circuit/explain.txt @@ -0,0 +1,60 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function multiIf (children 1) + ExpressionList (children 5) + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Function toLowCardinality (children 1) + ExpressionList (children 1) + Function toNullable (children 1) + ExpressionList (children 1) + Function toUInt128 (children 1) + ExpressionList (children 1) + Literal UInt64_2 + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Function toNullable (children 1) + ExpressionList (children 1) + Literal UInt64_2 + Function toInt8 (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Function materialize (children 1) + ExpressionList (children 1) + Function toLowCardinality (children 1) + ExpressionList (children 1) + Literal UInt64_3 + Function toUInt128 (children 1) + ExpressionList (children 1) + Function toNullable (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function toInt8 (children 1) + ExpressionList (children 1) + Function materialize (children 1) + ExpressionList (children 1) + Function materialize (children 1) + ExpressionList (children 1) + Literal UInt64_2 + Function toInt64 (children 1) + ExpressionList (children 1) + Function toUInt128 (children 1) + ExpressionList (children 1) + Literal UInt64_3 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_44857 + Identifier Null diff --git a/parser/testdata/03168_inconsistent_ast_formatting/explain.txt b/parser/testdata/03168_inconsistent_ast_formatting/explain.txt deleted file mode 100644 index 8b13789179..0000000000 --- a/parser/testdata/03168_inconsistent_ast_formatting/explain.txt +++ /dev/null @@ -1 +0,0 @@ - diff --git a/parser/testdata/03169_cache_complex_dict_short_circuit_bug/explain_4.txt b/parser/testdata/03169_cache_complex_dict_short_circuit_bug/explain_4.txt new file mode 100644 index 0000000000..2fb411236b --- /dev/null +++ b/parser/testdata/03169_cache_complex_dict_short_circuit_bug/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier complex_key_simple_attributes_source_short_circuit_table diff --git a/parser/testdata/03169_display_column_names_in_footer/explain_14.txt b/parser/testdata/03169_display_column_names_in_footer/explain_14.txt index 6d2572ee04..bbff6991db 100644 --- a/parser/testdata/03169_display_column_names_in_footer/explain_14.txt +++ b/parser/testdata/03169_display_column_names_in_footer/explain_14.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 2) Asterisk Function toTypeName (children 1) @@ -20,6 +20,5 @@ SelectWithUnionQuery (children 3) TableExpression (children 1) TableIdentifier system.numbers Literal UInt64_100 - Set Identifier PrettySpace Set diff --git a/parser/testdata/03169_display_column_names_in_footer/explain_2.txt b/parser/testdata/03169_display_column_names_in_footer/explain_2.txt index 6311ec7f85..19a4a7aa46 100644 --- a/parser/testdata/03169_display_column_names_in_footer/explain_2.txt +++ b/parser/testdata/03169_display_column_names_in_footer/explain_2.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 2) Asterisk Function toTypeName (children 1) @@ -20,6 +20,5 @@ SelectWithUnionQuery (children 3) TableExpression (children 1) TableIdentifier system.numbers Literal UInt64_10 - Set Identifier Pretty Set diff --git a/parser/testdata/03169_display_column_names_in_footer/explain_3.txt b/parser/testdata/03169_display_column_names_in_footer/explain_3.txt index c4e58f17fd..0e10052adf 100644 --- a/parser/testdata/03169_display_column_names_in_footer/explain_3.txt +++ b/parser/testdata/03169_display_column_names_in_footer/explain_3.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 2) Asterisk Function toTypeName (children 1) @@ -20,6 +20,5 @@ SelectWithUnionQuery (children 3) TableExpression (children 1) TableIdentifier system.numbers Literal UInt64_100 - Set Identifier Pretty Set diff --git a/parser/testdata/03169_display_column_names_in_footer/explain_9.txt b/parser/testdata/03169_display_column_names_in_footer/explain_9.txt index e9efae1479..0537ee4a0f 100644 --- a/parser/testdata/03169_display_column_names_in_footer/explain_9.txt +++ b/parser/testdata/03169_display_column_names_in_footer/explain_9.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 2) Asterisk Function toTypeName (children 1) @@ -20,6 +20,5 @@ SelectWithUnionQuery (children 3) TableExpression (children 1) TableIdentifier system.numbers Literal UInt64_100 - Set Identifier PrettyCompact Set diff --git a/parser/testdata/03169_modify_column_data_loss/explain_3.txt b/parser/testdata/03169_modify_column_data_loss/explain_3.txt new file mode 100644 index 0000000000..2ff1795d0d --- /dev/null +++ b/parser/testdata/03169_modify_column_data_loss/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier column_modify_test diff --git a/parser/testdata/03169_modify_column_data_loss/explain_4.txt b/parser/testdata/03169_modify_column_data_loss/explain_4.txt new file mode 100644 index 0000000000..2ff1795d0d --- /dev/null +++ b/parser/testdata/03169_modify_column_data_loss/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier column_modify_test diff --git a/parser/testdata/03169_modify_column_data_loss/explain_6.txt b/parser/testdata/03169_modify_column_data_loss/explain_6.txt new file mode 100644 index 0000000000..2ff1795d0d --- /dev/null +++ b/parser/testdata/03169_modify_column_data_loss/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier column_modify_test diff --git a/parser/testdata/03171_direct_dict_short_circuit_bug/explain_5.txt b/parser/testdata/03171_direct_dict_short_circuit_bug/explain_5.txt new file mode 100644 index 0000000000..ba3aa7791a --- /dev/null +++ b/parser/testdata/03171_direct_dict_short_circuit_bug/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier simple_key_simple_attributes_source_table diff --git a/parser/testdata/03171_direct_dict_short_circuit_bug/explain_6.txt b/parser/testdata/03171_direct_dict_short_circuit_bug/explain_6.txt new file mode 100644 index 0000000000..ba3aa7791a --- /dev/null +++ b/parser/testdata/03171_direct_dict_short_circuit_bug/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier simple_key_simple_attributes_source_table diff --git a/parser/testdata/03171_direct_dict_short_circuit_bug/explain_7.txt b/parser/testdata/03171_direct_dict_short_circuit_bug/explain_7.txt new file mode 100644 index 0000000000..ba3aa7791a --- /dev/null +++ b/parser/testdata/03171_direct_dict_short_circuit_bug/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier simple_key_simple_attributes_source_table diff --git a/parser/testdata/03171_function_to_subcolumns_fuzzer/explain_10.txt b/parser/testdata/03171_function_to_subcolumns_fuzzer/explain_10.txt new file mode 100644 index 0000000000..faeafd6f79 --- /dev/null +++ b/parser/testdata/03171_function_to_subcolumns_fuzzer/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_func_to_subcolumns_join diff --git a/parser/testdata/03171_function_to_subcolumns_fuzzer/explain_5.txt b/parser/testdata/03171_function_to_subcolumns_fuzzer/explain_5.txt new file mode 100644 index 0000000000..d8b1e9dbf3 --- /dev/null +++ b/parser/testdata/03171_function_to_subcolumns_fuzzer/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_func_to_subcolumns_map_2 diff --git a/parser/testdata/03171_hashed_dictionary_short_circuit_bug_fix/explain_3.txt b/parser/testdata/03171_hashed_dictionary_short_circuit_bug_fix/explain_3.txt new file mode 100644 index 0000000000..cd76eec2c4 --- /dev/null +++ b/parser/testdata/03171_hashed_dictionary_short_circuit_bug_fix/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier x diff --git a/parser/testdata/03171_hashed_dictionary_short_circuit_bug_fix/explain_4.txt b/parser/testdata/03171_hashed_dictionary_short_circuit_bug_fix/explain_4.txt new file mode 100644 index 0000000000..5fd3381535 --- /dev/null +++ b/parser/testdata/03171_hashed_dictionary_short_circuit_bug_fix/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier y diff --git a/parser/testdata/03172_format_settings_clauses/explain_10.txt b/parser/testdata/03172_format_settings_clauses/explain_10.txt index 84a19ccdac..7ae4379f3a 100644 --- a/parser/testdata/03172_format_settings_clauses/explain_10.txt +++ b/parser/testdata/03172_format_settings_clauses/explain_10.txt @@ -1,4 +1,4 @@ -SelectWithUnionQuery (children 2) +SelectWithUnionQuery (children 3) ExpressionList (children 1) SelectQuery (children 2) ExpressionList (children 1) @@ -7,3 +7,4 @@ SelectWithUnionQuery (children 2) Literal \'max_block_size\' Set Set + Identifier TSV diff --git a/parser/testdata/03172_format_settings_clauses/explain_7.txt b/parser/testdata/03172_format_settings_clauses/explain_7.txt index 71735e96e0..748702624c 100644 --- a/parser/testdata/03172_format_settings_clauses/explain_7.txt +++ b/parser/testdata/03172_format_settings_clauses/explain_7.txt @@ -1,10 +1,9 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 2) + SelectQuery (children 1) ExpressionList (children 1) Function getSetting (children 1) ExpressionList (children 1) Literal \'max_block_size\' - Set Identifier TSV Set diff --git a/parser/testdata/03172_format_settings_clauses/explain_9.txt b/parser/testdata/03172_format_settings_clauses/explain_9.txt index 4e62d59dd6..fd5393a691 100644 --- a/parser/testdata/03172_format_settings_clauses/explain_9.txt +++ b/parser/testdata/03172_format_settings_clauses/explain_9.txt @@ -1,4 +1,4 @@ -SelectWithUnionQuery (children 2) +SelectWithUnionQuery (children 3) ExpressionList (children 2) SelectQuery (children 1) ExpressionList (children 1) @@ -11,3 +11,4 @@ SelectWithUnionQuery (children 2) ExpressionList (children 1) Literal \'max_block_size\' Set + Identifier TSV diff --git a/parser/testdata/03173_forbid_qualify/explain_7.txt b/parser/testdata/03173_forbid_qualify/explain_7.txt new file mode 100644 index 0000000000..2598cb9d64 --- /dev/null +++ b/parser/testdata/03173_forbid_qualify/explain_7.txt @@ -0,0 +1,21 @@ +DeleteQuery test_qualify (children 3) + Function in (children 1) + ExpressionList (children 2) + Identifier number + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test_qualify + Function equals (children 1) + ExpressionList (children 2) + Function row_number (children 1) + ExpressionList + Literal UInt64_50 + Identifier test_qualify + Set diff --git a/parser/testdata/03173_set_transformed_partition_pruning/explain_113.txt b/parser/testdata/03173_set_transformed_partition_pruning/explain_113.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03173_set_transformed_partition_pruning/explain_113.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03173_set_transformed_partition_pruning/explain_123.txt b/parser/testdata/03173_set_transformed_partition_pruning/explain_123.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03173_set_transformed_partition_pruning/explain_123.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03173_set_transformed_partition_pruning/explain_17.txt b/parser/testdata/03173_set_transformed_partition_pruning/explain_17.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03173_set_transformed_partition_pruning/explain_17.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03173_set_transformed_partition_pruning/explain_29.txt b/parser/testdata/03173_set_transformed_partition_pruning/explain_29.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03173_set_transformed_partition_pruning/explain_29.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03173_set_transformed_partition_pruning/explain_40.txt b/parser/testdata/03173_set_transformed_partition_pruning/explain_40.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03173_set_transformed_partition_pruning/explain_40.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03173_set_transformed_partition_pruning/explain_52.txt b/parser/testdata/03173_set_transformed_partition_pruning/explain_52.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03173_set_transformed_partition_pruning/explain_52.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03173_set_transformed_partition_pruning/explain_62.txt b/parser/testdata/03173_set_transformed_partition_pruning/explain_62.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03173_set_transformed_partition_pruning/explain_62.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03173_set_transformed_partition_pruning/explain_7.txt b/parser/testdata/03173_set_transformed_partition_pruning/explain_7.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03173_set_transformed_partition_pruning/explain_7.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03173_set_transformed_partition_pruning/explain_72.txt b/parser/testdata/03173_set_transformed_partition_pruning/explain_72.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03173_set_transformed_partition_pruning/explain_72.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03173_set_transformed_partition_pruning/explain_84.txt b/parser/testdata/03173_set_transformed_partition_pruning/explain_84.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03173_set_transformed_partition_pruning/explain_84.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03173_set_transformed_partition_pruning/explain_91.txt b/parser/testdata/03173_set_transformed_partition_pruning/explain_91.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03173_set_transformed_partition_pruning/explain_91.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03173_set_transformed_partition_pruning/explain_98.txt b/parser/testdata/03173_set_transformed_partition_pruning/explain_98.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03173_set_transformed_partition_pruning/explain_98.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03174_multiple_authentication_methods_show_create/explain_4.txt b/parser/testdata/03174_multiple_authentication_methods_show_create/explain_4.txt new file mode 100644 index 0000000000..4f327f0e0f --- /dev/null +++ b/parser/testdata/03174_multiple_authentication_methods_show_create/explain_4.txt @@ -0,0 +1,9 @@ +CreateUserQuery (children 4) + AuthenticationData (children 1) + Literal \'1\' + AuthenticationData (children 1) + Literal \'2\' + AuthenticationData (children 1) + Literal \'3\' + AuthenticationData (children 1) + Literal \'4\' diff --git a/parser/testdata/03174_projection_deduplicate/explain_3.txt b/parser/testdata/03174_projection_deduplicate/explain_3.txt new file mode 100644 index 0000000000..13b0de98e8 --- /dev/null +++ b/parser/testdata/03174_projection_deduplicate/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_projection_deduplicate diff --git a/parser/testdata/03174_projection_deduplicate/explain_4.txt b/parser/testdata/03174_projection_deduplicate/explain_4.txt new file mode 100644 index 0000000000..13b0de98e8 --- /dev/null +++ b/parser/testdata/03174_projection_deduplicate/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_projection_deduplicate diff --git a/parser/testdata/03176_check_timeout_in_index_analysis/explain_6.txt b/parser/testdata/03176_check_timeout_in_index_analysis/explain_6.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03176_check_timeout_in_index_analysis/explain_6.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03198_dictionary_validate_primary_key_type/explain.txt b/parser/testdata/03198_dictionary_validate_primary_key_type/explain.txt new file mode 100644 index 0000000000..d00f03a433 --- /dev/null +++ b/parser/testdata/03198_dictionary_validate_primary_key_type/explain.txt @@ -0,0 +1,25 @@ +CreateQuery test_dictionary0 (children 3) + Identifier test_dictionary0 + ExpressionList (children 2) + DictionaryAttributeDeclaration n1 (children 1) + DataType String + DictionaryAttributeDeclaration n2 (children 1) + DataType UInt32 + Dictionary definition (children 4) + ExpressionList (children 1) + Identifier n1 + FunctionWithKeyValueArguments clickhouse (children 1) + ExpressionList (children 5) + pair (children 1) + Literal \'localhost\' + pair (children 1) + Literal UInt64_9000 + pair (children 1) + Literal \'test_db\' + pair (children 1) + Literal \'table_01\' + pair (children 1) + Literal \'default\' + Dictionary lifetime + Dictionary layout (children 1) + ExpressionList diff --git a/parser/testdata/03198_dynamic_read_subcolumns/explain_10.txt b/parser/testdata/03198_dynamic_read_subcolumns/explain_10.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03198_dynamic_read_subcolumns/explain_10.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03198_dynamic_read_subcolumns/explain_4.txt b/parser/testdata/03198_dynamic_read_subcolumns/explain_4.txt new file mode 100644 index 0000000000..854728e248 --- /dev/null +++ b/parser/testdata/03198_dynamic_read_subcolumns/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_dynamic diff --git a/parser/testdata/03198_group_array_intersect/explain_4.txt b/parser/testdata/03198_group_array_intersect/explain_4.txt new file mode 100644 index 0000000000..bdd6ef5c65 --- /dev/null +++ b/parser/testdata/03198_group_array_intersect/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_numbers__fuzz_29 diff --git a/parser/testdata/03198_group_array_intersect/explain_5.txt b/parser/testdata/03198_group_array_intersect/explain_5.txt new file mode 100644 index 0000000000..bdd6ef5c65 --- /dev/null +++ b/parser/testdata/03198_group_array_intersect/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_numbers__fuzz_29 diff --git a/parser/testdata/03198_group_array_intersect/explain_6.txt b/parser/testdata/03198_group_array_intersect/explain_6.txt new file mode 100644 index 0000000000..bdd6ef5c65 --- /dev/null +++ b/parser/testdata/03198_group_array_intersect/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_numbers__fuzz_29 diff --git a/parser/testdata/03198_h3_polygon_to_cells/explain.txt b/parser/testdata/03198_h3_polygon_to_cells/explain.txt index 96366b13b1..4ac15eb643 100644 --- a/parser/testdata/03198_h3_polygon_to_cells/explain.txt +++ b/parser/testdata/03198_h3_polygon_to_cells/explain.txt @@ -2,23 +2,26 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 1) ExpressionList (children 1) - Function arraySort (children 1) - ExpressionList (children 1) - Function arrayMap (children 1) - ExpressionList (children 2) - Function lambda (children 1) + Function equals (children 1) + ExpressionList (children 2) + Function arraySort (children 1) + ExpressionList (children 1) + Function arrayMap (children 1) ExpressionList (children 2) - Function tuple (children 1) - ExpressionList (children 1) - Identifier x - Function h3ToString (children 1) - ExpressionList (children 1) - Identifier x - Function h3PolygonToCells (children 1) - ExpressionList (children 2) - Function array (children 1) - ExpressionList (children 3) - Literal Tuple_(Float64_-122.40898669999721, Float64_37.81331899998324) - Literal Tuple_(Float64_-122.35447369999936, Float64_37.71980619999785) - Literal Tuple_(Float64_-122.4798767000009, Float64_37.815157199999845) - Literal UInt64_7 + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function h3ToString (children 1) + ExpressionList (children 1) + Identifier x + Function h3PolygonToCells (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList (children 3) + Literal Tuple_(Float64_-122.40898669999721, Float64_37.81331899998324) + Literal Tuple_(Float64_-122.35447369999936, Float64_37.71980619999785) + Literal Tuple_(Float64_-122.4798767000009, Float64_37.815157199999845) + Literal UInt64_7 + Literal Array_[\'872830820ffffff\', \'872830828ffffff\', \'87283082affffff\', \'87283082bffffff\', \'87283082effffff\', \'872830870ffffff\', \'872830876ffffff\'] diff --git a/parser/testdata/03198_h3_polygon_to_cells/explain_10.txt b/parser/testdata/03198_h3_polygon_to_cells/explain_10.txt new file mode 100644 index 0000000000..43fe51b1fa --- /dev/null +++ b/parser/testdata/03198_h3_polygon_to_cells/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier multipolygons diff --git a/parser/testdata/03198_h3_polygon_to_cells/explain_8.txt b/parser/testdata/03198_h3_polygon_to_cells/explain_8.txt new file mode 100644 index 0000000000..d1336e51a0 --- /dev/null +++ b/parser/testdata/03198_h3_polygon_to_cells/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rings diff --git a/parser/testdata/03198_h3_polygon_to_cells/explain_9.txt b/parser/testdata/03198_h3_polygon_to_cells/explain_9.txt new file mode 100644 index 0000000000..8a14b44209 --- /dev/null +++ b/parser/testdata/03198_h3_polygon_to_cells/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier polygons diff --git a/parser/testdata/03199_fix_auc_tie_handling/explain_3.txt b/parser/testdata/03199_fix_auc_tie_handling/explain_3.txt new file mode 100644 index 0000000000..5d02722505 --- /dev/null +++ b/parser/testdata/03199_fix_auc_tie_handling/explain_3.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier labels_unordered + ExpressionList (children 3) + Identifier idx + Identifier score + Identifier label diff --git a/parser/testdata/03199_fix_auc_tie_handling/explain_6.txt b/parser/testdata/03199_fix_auc_tie_handling/explain_6.txt new file mode 100644 index 0000000000..28fa4d5b7a --- /dev/null +++ b/parser/testdata/03199_fix_auc_tie_handling/explain_6.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier labels_ordered + ExpressionList (children 3) + Identifier idx + Identifier score + Identifier label diff --git a/parser/testdata/03199_has_lc_fixed_string/explain_3.txt b/parser/testdata/03199_has_lc_fixed_string/explain_3.txt new file mode 100644 index 0000000000..b3156b15ef --- /dev/null +++ b/parser/testdata/03199_has_lc_fixed_string/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 03199_fixedstring_array diff --git a/parser/testdata/03199_queries_with_new_analyzer/explain_4.txt b/parser/testdata/03199_queries_with_new_analyzer/explain_4.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03199_queries_with_new_analyzer/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03199_queries_with_new_analyzer/explain_7.txt b/parser/testdata/03199_queries_with_new_analyzer/explain_7.txt new file mode 100644 index 0000000000..550509b2a7 --- /dev/null +++ b/parser/testdata/03199_queries_with_new_analyzer/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier seq diff --git a/parser/testdata/03202_enum_json_cast/explain_3.txt b/parser/testdata/03202_enum_json_cast/explain_3.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03202_enum_json_cast/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03202_enum_json_cast/explain_4.txt b/parser/testdata/03202_enum_json_cast/explain_4.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03202_enum_json_cast/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03202_enum_json_cast/explain_8.txt b/parser/testdata/03202_enum_json_cast/explain_8.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03202_enum_json_cast/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03202_enum_json_cast/explain_9.txt b/parser/testdata/03202_enum_json_cast/explain_9.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03202_enum_json_cast/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03202_system_load_primary_key/explain_17.txt b/parser/testdata/03202_system_load_primary_key/explain_17.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03202_system_load_primary_key/explain_17.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03202_system_load_primary_key/explain_27.txt b/parser/testdata/03202_system_load_primary_key/explain_27.txt new file mode 100644 index 0000000000..918fa1cc78 --- /dev/null +++ b/parser/testdata/03202_system_load_primary_key/explain_27.txt @@ -0,0 +1,3 @@ +SYSTEM query (children 2) + Identifier test + Identifier test diff --git a/parser/testdata/03203_drop_detached_partition_all/explain_3.txt b/parser/testdata/03203_drop_detached_partition_all/explain_3.txt new file mode 100644 index 0000000000..9acf41999a --- /dev/null +++ b/parser/testdata/03203_drop_detached_partition_all/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_03203 diff --git a/parser/testdata/03203_fill_missed_subcolumns/explain_10.txt b/parser/testdata/03203_fill_missed_subcolumns/explain_10.txt new file mode 100644 index 0000000000..05c74636c5 --- /dev/null +++ b/parser/testdata/03203_fill_missed_subcolumns/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_missed_subcolumns diff --git a/parser/testdata/03203_fill_missed_subcolumns/explain_12.txt b/parser/testdata/03203_fill_missed_subcolumns/explain_12.txt new file mode 100644 index 0000000000..05c74636c5 --- /dev/null +++ b/parser/testdata/03203_fill_missed_subcolumns/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_missed_subcolumns diff --git a/parser/testdata/03203_fill_missed_subcolumns/explain_20.txt b/parser/testdata/03203_fill_missed_subcolumns/explain_20.txt new file mode 100644 index 0000000000..05c74636c5 --- /dev/null +++ b/parser/testdata/03203_fill_missed_subcolumns/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_missed_subcolumns diff --git a/parser/testdata/03203_fill_missed_subcolumns/explain_22.txt b/parser/testdata/03203_fill_missed_subcolumns/explain_22.txt new file mode 100644 index 0000000000..05c74636c5 --- /dev/null +++ b/parser/testdata/03203_fill_missed_subcolumns/explain_22.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_missed_subcolumns diff --git a/parser/testdata/03203_fill_missed_subcolumns/explain_24.txt b/parser/testdata/03203_fill_missed_subcolumns/explain_24.txt new file mode 100644 index 0000000000..05c74636c5 --- /dev/null +++ b/parser/testdata/03203_fill_missed_subcolumns/explain_24.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_missed_subcolumns diff --git a/parser/testdata/03203_optimize_disjunctions_chain_to_in/explain_3.txt b/parser/testdata/03203_optimize_disjunctions_chain_to_in/explain_3.txt new file mode 100644 index 0000000000..2b33f6d05c --- /dev/null +++ b/parser/testdata/03203_optimize_disjunctions_chain_to_in/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier foo diff --git a/parser/testdata/03203_optimize_disjunctions_chain_to_in/explain_4.txt b/parser/testdata/03203_optimize_disjunctions_chain_to_in/explain_4.txt new file mode 100644 index 0000000000..2b33f6d05c --- /dev/null +++ b/parser/testdata/03203_optimize_disjunctions_chain_to_in/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier foo diff --git a/parser/testdata/03203_system_numbers_limit_and_offset_complex/explain.txt b/parser/testdata/03203_system_numbers_limit_and_offset_complex/explain.txt new file mode 100644 index 0000000000..79b9c7079c --- /dev/null +++ b/parser/testdata/03203_system_numbers_limit_and_offset_complex/explain.txt @@ -0,0 +1,165 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 8) + ExpressionList (children 1) + Function and (alias is_prime_slow) (children 1) + ExpressionList (children 2) + Function greater (children 1) + ExpressionList (children 2) + Identifier num + Literal UInt64_1 + Function equals (children 1) + ExpressionList (children 2) + Function arraySum (children 1) + ExpressionList (children 1) + Function arrayMap (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier y + Function and (children 1) + ExpressionList (children 3) + Function greater (children 1) + ExpressionList (children 2) + Identifier y + Literal UInt64_1 + Function less (children 1) + ExpressionList (children 2) + Identifier y + Identifier num + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier num + Identifier y + Literal UInt64_0 + Function range (children 1) + ExpressionList (children 1) + Function plus (children 1) + ExpressionList (children 2) + Function toUInt64 (children 1) + ExpressionList (children 1) + Function sqrt (children 1) + ExpressionList (children 1) + Identifier num + Literal UInt64_1 + Literal UInt64_0 + ExpressionList (children 2) + Identifier num + Identifier ds + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function arraySum (alias digits_sum) (children 1) + ExpressionList (children 1) + Function arrayMap (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier y + Function toUInt8 (children 1) + ExpressionList (children 1) + Identifier y + Function splitByString (children 1) + ExpressionList (children 2) + Literal \'\' + Function toString (children 1) + ExpressionList (children 1) + Identifier num + ExpressionList (children 2) + Function plus (alias num) (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Function multiply (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + Identifier digits_sum (alias ds) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers_mt (children 1) + ExpressionList (children 1) + Literal UInt64_10000 + Function in (children 1) + ExpressionList (children 2) + Identifier ds + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function and (alias is_prime_slow) (children 1) + ExpressionList (children 2) + Function greater (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_1 + Function equals (children 1) + ExpressionList (children 2) + Function arraySum (children 1) + ExpressionList (children 1) + Function arrayMap (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier y + Function and (children 1) + ExpressionList (children 3) + Function greater (children 1) + ExpressionList (children 2) + Identifier y + Literal UInt64_1 + Function less (children 1) + ExpressionList (children 2) + Identifier y + Identifier number + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Identifier y + Literal UInt64_0 + Function range (children 1) + ExpressionList (children 1) + Function plus (children 1) + ExpressionList (children 2) + Function toUInt64 (children 1) + ExpressionList (children 1) + Function sqrt (children 1) + ExpressionList (children 1) + Identifier number + Literal UInt64_1 + Literal UInt64_0 + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Function plus (children 1) + ExpressionList (children 2) + Literal UInt64_180 + Literal UInt64_1 + Identifier is_prime_slow + Identifier is_prime_slow + ExpressionList (children 1) + OrderByElement (children 1) + Identifier num + Literal UInt64_998 + Literal UInt64_1 + Set diff --git a/parser/testdata/03205_parallel_window_finctions_and_column_sparse_bug/explain_14.txt b/parser/testdata/03205_parallel_window_finctions_and_column_sparse_bug/explain_14.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03205_parallel_window_finctions_and_column_sparse_bug/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03205_parallel_window_finctions_and_column_sparse_bug/explain_15.txt b/parser/testdata/03205_parallel_window_finctions_and_column_sparse_bug/explain_15.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03205_parallel_window_finctions_and_column_sparse_bug/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03205_parallel_window_finctions_and_column_sparse_bug/explain_16.txt b/parser/testdata/03205_parallel_window_finctions_and_column_sparse_bug/explain_16.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03205_parallel_window_finctions_and_column_sparse_bug/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03205_parallel_window_finctions_and_column_sparse_bug/explain_17.txt b/parser/testdata/03205_parallel_window_finctions_and_column_sparse_bug/explain_17.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03205_parallel_window_finctions_and_column_sparse_bug/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03205_parallel_window_finctions_and_column_sparse_bug/explain_18.txt b/parser/testdata/03205_parallel_window_finctions_and_column_sparse_bug/explain_18.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03205_parallel_window_finctions_and_column_sparse_bug/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03205_parallel_window_finctions_and_column_sparse_bug/explain_3.txt b/parser/testdata/03205_parallel_window_finctions_and_column_sparse_bug/explain_3.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03205_parallel_window_finctions_and_column_sparse_bug/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03205_parallel_window_finctions_and_column_sparse_bug/explain_4.txt b/parser/testdata/03205_parallel_window_finctions_and_column_sparse_bug/explain_4.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03205_parallel_window_finctions_and_column_sparse_bug/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03205_parallel_window_finctions_and_column_sparse_bug/explain_5.txt b/parser/testdata/03205_parallel_window_finctions_and_column_sparse_bug/explain_5.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03205_parallel_window_finctions_and_column_sparse_bug/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03205_parallel_window_finctions_and_column_sparse_bug/explain_6.txt b/parser/testdata/03205_parallel_window_finctions_and_column_sparse_bug/explain_6.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03205_parallel_window_finctions_and_column_sparse_bug/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03208_buffer_over_distributed_type_mismatch/explain_11.txt b/parser/testdata/03208_buffer_over_distributed_type_mismatch/explain_11.txt new file mode 100644 index 0000000000..595f3c8b7c --- /dev/null +++ b/parser/testdata/03208_buffer_over_distributed_type_mismatch/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier realtimebuff__fuzz_20 diff --git a/parser/testdata/03208_buffer_over_distributed_type_mismatch/explain_3.txt b/parser/testdata/03208_buffer_over_distributed_type_mismatch/explain_3.txt new file mode 100644 index 0000000000..e91c534c4b --- /dev/null +++ b/parser/testdata/03208_buffer_over_distributed_type_mismatch/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier realtimedrep diff --git a/parser/testdata/03208_buffer_over_distributed_type_mismatch/explain_8.txt b/parser/testdata/03208_buffer_over_distributed_type_mismatch/explain_8.txt new file mode 100644 index 0000000000..f61cd8ff4e --- /dev/null +++ b/parser/testdata/03208_buffer_over_distributed_type_mismatch/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier realtimebuff__fuzz_19 diff --git a/parser/testdata/03208_datetime_cast_losing_precision/explain.txt b/parser/testdata/03208_datetime_cast_losing_precision/explain.txt new file mode 100644 index 0000000000..4bf8767599 --- /dev/null +++ b/parser/testdata/03208_datetime_cast_losing_precision/explain.txt @@ -0,0 +1,26 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function toDateTime (alias t) (children 1) + ExpressionList (children 1) + Literal \'2024-10-16 18:00:30\' + ExpressionList (children 1) + Function in (children 1) + ExpressionList (children 2) + Function plus (children 1) + ExpressionList (children 2) + Function toDateTime64 (children 1) + ExpressionList (children 2) + Identifier t + Literal UInt64_3 + Function toIntervalMillisecond (children 1) + ExpressionList (children 1) + Literal UInt64_100 + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Identifier t + Set diff --git a/parser/testdata/03208_multiple_joins_with_storage_join/explain_12.txt b/parser/testdata/03208_multiple_joins_with_storage_join/explain_12.txt new file mode 100644 index 0000000000..2b149673ab --- /dev/null +++ b/parser/testdata/03208_multiple_joins_with_storage_join/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mem3 diff --git a/parser/testdata/03208_multiple_joins_with_storage_join/explain_15.txt b/parser/testdata/03208_multiple_joins_with_storage_join/explain_15.txt new file mode 100644 index 0000000000..b8984cfce1 --- /dev/null +++ b/parser/testdata/03208_multiple_joins_with_storage_join/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mem4 diff --git a/parser/testdata/03208_multiple_joins_with_storage_join/explain_3.txt b/parser/testdata/03208_multiple_joins_with_storage_join/explain_3.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/03208_multiple_joins_with_storage_join/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/03208_multiple_joins_with_storage_join/explain_6.txt b/parser/testdata/03208_multiple_joins_with_storage_join/explain_6.txt new file mode 100644 index 0000000000..c08c8e4168 --- /dev/null +++ b/parser/testdata/03208_multiple_joins_with_storage_join/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mem diff --git a/parser/testdata/03208_multiple_joins_with_storage_join/explain_9.txt b/parser/testdata/03208_multiple_joins_with_storage_join/explain_9.txt new file mode 100644 index 0000000000..b59a32fb65 --- /dev/null +++ b/parser/testdata/03208_multiple_joins_with_storage_join/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mem2 diff --git a/parser/testdata/03209_parallel_replicas_lost_decimal_conversion/explain_3.txt b/parser/testdata/03209_parallel_replicas_lost_decimal_conversion/explain_3.txt new file mode 100644 index 0000000000..14c71a709d --- /dev/null +++ b/parser/testdata/03209_parallel_replicas_lost_decimal_conversion/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_03209 diff --git a/parser/testdata/03209_parallel_replicas_order_by_all/explain_3.txt b/parser/testdata/03209_parallel_replicas_order_by_all/explain_3.txt new file mode 100644 index 0000000000..b3f03bb73d --- /dev/null +++ b/parser/testdata/03209_parallel_replicas_order_by_all/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier order_by_all diff --git a/parser/testdata/03209_parameterized_view_with_non_literal_params/explain_21.txt b/parser/testdata/03209_parameterized_view_with_non_literal_params/explain_21.txt new file mode 100644 index 0000000000..8868cab3dc --- /dev/null +++ b/parser/testdata/03209_parameterized_view_with_non_literal_params/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier date32_table_pv diff --git a/parser/testdata/03209_parameterized_view_with_non_literal_params/explain_22.txt b/parser/testdata/03209_parameterized_view_with_non_literal_params/explain_22.txt new file mode 100644 index 0000000000..8868cab3dc --- /dev/null +++ b/parser/testdata/03209_parameterized_view_with_non_literal_params/explain_22.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier date32_table_pv diff --git a/parser/testdata/03209_parameterized_view_with_non_literal_params/explain_23.txt b/parser/testdata/03209_parameterized_view_with_non_literal_params/explain_23.txt new file mode 100644 index 0000000000..8868cab3dc --- /dev/null +++ b/parser/testdata/03209_parameterized_view_with_non_literal_params/explain_23.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier date32_table_pv diff --git a/parser/testdata/03209_parameterized_view_with_non_literal_params/explain_24.txt b/parser/testdata/03209_parameterized_view_with_non_literal_params/explain_24.txt new file mode 100644 index 0000000000..8868cab3dc --- /dev/null +++ b/parser/testdata/03209_parameterized_view_with_non_literal_params/explain_24.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier date32_table_pv diff --git a/parser/testdata/03209_parameterized_view_with_non_literal_params/explain_25.txt b/parser/testdata/03209_parameterized_view_with_non_literal_params/explain_25.txt new file mode 100644 index 0000000000..8868cab3dc --- /dev/null +++ b/parser/testdata/03209_parameterized_view_with_non_literal_params/explain_25.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier date32_table_pv diff --git a/parser/testdata/03209_parameterized_view_with_non_literal_params/explain_38.txt b/parser/testdata/03209_parameterized_view_with_non_literal_params/explain_38.txt new file mode 100644 index 0000000000..d46d5af7db --- /dev/null +++ b/parser/testdata/03209_parameterized_view_with_non_literal_params/explain_38.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier uuid_table_pv diff --git a/parser/testdata/03209_parameterized_view_with_non_literal_params/explain_39.txt b/parser/testdata/03209_parameterized_view_with_non_literal_params/explain_39.txt new file mode 100644 index 0000000000..d46d5af7db --- /dev/null +++ b/parser/testdata/03209_parameterized_view_with_non_literal_params/explain_39.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier uuid_table_pv diff --git a/parser/testdata/03209_parameterized_view_with_non_literal_params/explain_40.txt b/parser/testdata/03209_parameterized_view_with_non_literal_params/explain_40.txt new file mode 100644 index 0000000000..d46d5af7db --- /dev/null +++ b/parser/testdata/03209_parameterized_view_with_non_literal_params/explain_40.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier uuid_table_pv diff --git a/parser/testdata/03209_parameterized_view_with_non_literal_params/explain_5.txt b/parser/testdata/03209_parameterized_view_with_non_literal_params/explain_5.txt new file mode 100644 index 0000000000..035b11dd56 --- /dev/null +++ b/parser/testdata/03209_parameterized_view_with_non_literal_params/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier date_table_pv diff --git a/parser/testdata/03209_parameterized_view_with_non_literal_params/explain_6.txt b/parser/testdata/03209_parameterized_view_with_non_literal_params/explain_6.txt new file mode 100644 index 0000000000..035b11dd56 --- /dev/null +++ b/parser/testdata/03209_parameterized_view_with_non_literal_params/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier date_table_pv diff --git a/parser/testdata/03209_parameterized_view_with_non_literal_params/explain_61.txt b/parser/testdata/03209_parameterized_view_with_non_literal_params/explain_61.txt new file mode 100644 index 0000000000..8275c7fe9d --- /dev/null +++ b/parser/testdata/03209_parameterized_view_with_non_literal_params/explain_61.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ipv4_table_pv diff --git a/parser/testdata/03209_parameterized_view_with_non_literal_params/explain_62.txt b/parser/testdata/03209_parameterized_view_with_non_literal_params/explain_62.txt new file mode 100644 index 0000000000..8275c7fe9d --- /dev/null +++ b/parser/testdata/03209_parameterized_view_with_non_literal_params/explain_62.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ipv4_table_pv diff --git a/parser/testdata/03209_parameterized_view_with_non_literal_params/explain_63.txt b/parser/testdata/03209_parameterized_view_with_non_literal_params/explain_63.txt new file mode 100644 index 0000000000..8275c7fe9d --- /dev/null +++ b/parser/testdata/03209_parameterized_view_with_non_literal_params/explain_63.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ipv4_table_pv diff --git a/parser/testdata/03209_parameterized_view_with_non_literal_params/explain_7.txt b/parser/testdata/03209_parameterized_view_with_non_literal_params/explain_7.txt new file mode 100644 index 0000000000..035b11dd56 --- /dev/null +++ b/parser/testdata/03209_parameterized_view_with_non_literal_params/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier date_table_pv diff --git a/parser/testdata/03210_convert_outer_join_to_inner_join_any_join/explain_5.txt b/parser/testdata/03210_convert_outer_join_to_inner_join_any_join/explain_5.txt new file mode 100644 index 0000000000..209e58ed83 --- /dev/null +++ b/parser/testdata/03210_convert_outer_join_to_inner_join_any_join/explain_5.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier user_country + ExpressionList (children 2) + Identifier user_id + Identifier country diff --git a/parser/testdata/03210_convert_outer_join_to_inner_join_any_join/explain_6.txt b/parser/testdata/03210_convert_outer_join_to_inner_join_any_join/explain_6.txt new file mode 100644 index 0000000000..2860e15317 --- /dev/null +++ b/parser/testdata/03210_convert_outer_join_to_inner_join_any_join/explain_6.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier user_transactions + ExpressionList (children 2) + Identifier user_id + Identifier transaction_id diff --git a/parser/testdata/03210_empty_tuple_lhs_of_in/explain.txt b/parser/testdata/03210_empty_tuple_lhs_of_in/explain.txt index a3cd8be95f..5fab4566d0 100644 --- a/parser/testdata/03210_empty_tuple_lhs_of_in/explain.txt +++ b/parser/testdata/03210_empty_tuple_lhs_of_in/explain.txt @@ -10,4 +10,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) Literal UInt64_1 Set -The query succeeded but the server error '53' was expected (query: EXPLAIN AST SELECT tuple() IN tuple(1) SETTINGS allow_experimental_map_type = 1; -- { serverError TYPE_MISMATCH }). diff --git a/parser/testdata/03210_fix_single_value_data_assertion/explain.txt b/parser/testdata/03210_fix_single_value_data_assertion/explain.txt new file mode 100644 index 0000000000..9c736b996b --- /dev/null +++ b/parser/testdata/03210_fix_single_value_data_assertion/explain.txt @@ -0,0 +1,95 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 7) + Function intDiv (alias k) (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + Function sumArgMax (children 1) + ExpressionList (children 2) + Identifier number + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_20 + Function sumArgMax (children 1) + ExpressionList (children 2) + Identifier number + Function leftPad (children 1) + ExpressionList (children 3) + Function toString (children 1) + ExpressionList (children 1) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_20 + Literal UInt64_5 + Literal \'0\' + Function sumArgMax (children 1) + ExpressionList (children 2) + Identifier number + Function array (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_20 + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_20 + Function sumArgMin (children 1) + ExpressionList (children 2) + Identifier number + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_20 + Function sumArgMin (children 1) + ExpressionList (children 2) + Identifier number + Function leftPad (children 1) + ExpressionList (children 3) + Function toString (children 1) + ExpressionList (children 1) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_20 + Literal UInt64_5 + Literal \'0\' + Function sumArgMin (children 1) + ExpressionList (children 2) + Identifier number + Function array (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_20 + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_20 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_65537 + ExpressionList (children 1) + Identifier k + ExpressionList (children 1) + OrderByElement (children 1) + Identifier k + Literal UInt64_10 + Set diff --git a/parser/testdata/03211_convert_outer_join_to_inner_join_anti_join/explain_3.txt b/parser/testdata/03211_convert_outer_join_to_inner_join_anti_join/explain_3.txt new file mode 100644 index 0000000000..5b9785654b --- /dev/null +++ b/parser/testdata/03211_convert_outer_join_to_inner_join_anti_join/explain_3.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 3) + Identifier c0 + Identifier c1 + Identifier c2 diff --git a/parser/testdata/03212_variant_dynamic_cast_or_default/explain_12.txt b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_12.txt new file mode 100644 index 0000000000..93ddc1ab32 --- /dev/null +++ b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_12.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 1) + Identifier d diff --git a/parser/testdata/03212_variant_dynamic_cast_or_default/explain_13.txt b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_13.txt new file mode 100644 index 0000000000..93ddc1ab32 --- /dev/null +++ b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_13.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 1) + Identifier d diff --git a/parser/testdata/03212_variant_dynamic_cast_or_default/explain_14.txt b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_14.txt new file mode 100644 index 0000000000..93ddc1ab32 --- /dev/null +++ b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_14.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 1) + Identifier d diff --git a/parser/testdata/03212_variant_dynamic_cast_or_default/explain_15.txt b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_15.txt new file mode 100644 index 0000000000..93ddc1ab32 --- /dev/null +++ b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_15.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 1) + Identifier d diff --git a/parser/testdata/03212_variant_dynamic_cast_or_default/explain_16.txt b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_16.txt new file mode 100644 index 0000000000..93ddc1ab32 --- /dev/null +++ b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_16.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 1) + Identifier d diff --git a/parser/testdata/03212_variant_dynamic_cast_or_default/explain_17.txt b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_17.txt new file mode 100644 index 0000000000..93ddc1ab32 --- /dev/null +++ b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_17.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 1) + Identifier d diff --git a/parser/testdata/03212_variant_dynamic_cast_or_default/explain_18.txt b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_18.txt new file mode 100644 index 0000000000..93ddc1ab32 --- /dev/null +++ b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_18.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 1) + Identifier d diff --git a/parser/testdata/03212_variant_dynamic_cast_or_default/explain_19.txt b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_19.txt new file mode 100644 index 0000000000..93ddc1ab32 --- /dev/null +++ b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_19.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 1) + Identifier d diff --git a/parser/testdata/03212_variant_dynamic_cast_or_default/explain_20.txt b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_20.txt new file mode 100644 index 0000000000..93ddc1ab32 --- /dev/null +++ b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_20.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 1) + Identifier d diff --git a/parser/testdata/03212_variant_dynamic_cast_or_default/explain_21.txt b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_21.txt new file mode 100644 index 0000000000..93ddc1ab32 --- /dev/null +++ b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_21.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 1) + Identifier d diff --git a/parser/testdata/03212_variant_dynamic_cast_or_default/explain_22.txt b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_22.txt new file mode 100644 index 0000000000..93ddc1ab32 --- /dev/null +++ b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_22.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 1) + Identifier d diff --git a/parser/testdata/03212_variant_dynamic_cast_or_default/explain_23.txt b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_23.txt new file mode 100644 index 0000000000..93ddc1ab32 --- /dev/null +++ b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_23.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 1) + Identifier d diff --git a/parser/testdata/03212_variant_dynamic_cast_or_default/explain_24.txt b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_24.txt new file mode 100644 index 0000000000..93ddc1ab32 --- /dev/null +++ b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_24.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 1) + Identifier d diff --git a/parser/testdata/03212_variant_dynamic_cast_or_default/explain_25.txt b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_25.txt new file mode 100644 index 0000000000..93ddc1ab32 --- /dev/null +++ b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_25.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 1) + Identifier d diff --git a/parser/testdata/03212_variant_dynamic_cast_or_default/explain_26.txt b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_26.txt new file mode 100644 index 0000000000..93ddc1ab32 --- /dev/null +++ b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_26.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 1) + Identifier d diff --git a/parser/testdata/03212_variant_dynamic_cast_or_default/explain_27.txt b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_27.txt new file mode 100644 index 0000000000..93ddc1ab32 --- /dev/null +++ b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_27.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 1) + Identifier d diff --git a/parser/testdata/03212_variant_dynamic_cast_or_default/explain_28.txt b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_28.txt new file mode 100644 index 0000000000..93ddc1ab32 --- /dev/null +++ b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_28.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 1) + Identifier d diff --git a/parser/testdata/03212_variant_dynamic_cast_or_default/explain_29.txt b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_29.txt new file mode 100644 index 0000000000..93ddc1ab32 --- /dev/null +++ b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_29.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 1) + Identifier d diff --git a/parser/testdata/03212_variant_dynamic_cast_or_default/explain_30.txt b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_30.txt new file mode 100644 index 0000000000..93ddc1ab32 --- /dev/null +++ b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_30.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 1) + Identifier d diff --git a/parser/testdata/03212_variant_dynamic_cast_or_default/explain_31.txt b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_31.txt new file mode 100644 index 0000000000..93ddc1ab32 --- /dev/null +++ b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_31.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 1) + Identifier d diff --git a/parser/testdata/03212_variant_dynamic_cast_or_default/explain_32.txt b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_32.txt new file mode 100644 index 0000000000..93ddc1ab32 --- /dev/null +++ b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_32.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 1) + Identifier d diff --git a/parser/testdata/03212_variant_dynamic_cast_or_default/explain_33.txt b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_33.txt new file mode 100644 index 0000000000..93ddc1ab32 --- /dev/null +++ b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_33.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 1) + Identifier d diff --git a/parser/testdata/03212_variant_dynamic_cast_or_default/explain_34.txt b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_34.txt new file mode 100644 index 0000000000..93ddc1ab32 --- /dev/null +++ b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_34.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 1) + Identifier d diff --git a/parser/testdata/03212_variant_dynamic_cast_or_default/explain_35.txt b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_35.txt new file mode 100644 index 0000000000..93ddc1ab32 --- /dev/null +++ b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_35.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 1) + Identifier d diff --git a/parser/testdata/03212_variant_dynamic_cast_or_default/explain_36.txt b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_36.txt new file mode 100644 index 0000000000..93ddc1ab32 --- /dev/null +++ b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_36.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 1) + Identifier d diff --git a/parser/testdata/03212_variant_dynamic_cast_or_default/explain_37.txt b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_37.txt new file mode 100644 index 0000000000..93ddc1ab32 --- /dev/null +++ b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_37.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 1) + Identifier d diff --git a/parser/testdata/03212_variant_dynamic_cast_or_default/explain_38.txt b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_38.txt new file mode 100644 index 0000000000..93ddc1ab32 --- /dev/null +++ b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_38.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 1) + Identifier d diff --git a/parser/testdata/03212_variant_dynamic_cast_or_default/explain_39.txt b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_39.txt new file mode 100644 index 0000000000..93ddc1ab32 --- /dev/null +++ b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_39.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 1) + Identifier d diff --git a/parser/testdata/03212_variant_dynamic_cast_or_default/explain_40.txt b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_40.txt new file mode 100644 index 0000000000..93ddc1ab32 --- /dev/null +++ b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_40.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 1) + Identifier d diff --git a/parser/testdata/03212_variant_dynamic_cast_or_default/explain_41.txt b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_41.txt new file mode 100644 index 0000000000..93ddc1ab32 --- /dev/null +++ b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_41.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 1) + Identifier d diff --git a/parser/testdata/03212_variant_dynamic_cast_or_default/explain_42.txt b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_42.txt new file mode 100644 index 0000000000..93ddc1ab32 --- /dev/null +++ b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_42.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 1) + Identifier d diff --git a/parser/testdata/03212_variant_dynamic_cast_or_default/explain_43.txt b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_43.txt new file mode 100644 index 0000000000..93ddc1ab32 --- /dev/null +++ b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_43.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 1) + Identifier d diff --git a/parser/testdata/03212_variant_dynamic_cast_or_default/explain_44.txt b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_44.txt new file mode 100644 index 0000000000..93ddc1ab32 --- /dev/null +++ b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_44.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 1) + Identifier d diff --git a/parser/testdata/03212_variant_dynamic_cast_or_default/explain_45.txt b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_45.txt new file mode 100644 index 0000000000..93ddc1ab32 --- /dev/null +++ b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_45.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 1) + Identifier d diff --git a/parser/testdata/03212_variant_dynamic_cast_or_default/explain_46.txt b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_46.txt new file mode 100644 index 0000000000..93ddc1ab32 --- /dev/null +++ b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_46.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 1) + Identifier d diff --git a/parser/testdata/03212_variant_dynamic_cast_or_default/explain_47.txt b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_47.txt new file mode 100644 index 0000000000..93ddc1ab32 --- /dev/null +++ b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_47.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 1) + Identifier d diff --git a/parser/testdata/03212_variant_dynamic_cast_or_default/explain_48.txt b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_48.txt new file mode 100644 index 0000000000..93ddc1ab32 --- /dev/null +++ b/parser/testdata/03212_variant_dynamic_cast_or_default/explain_48.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 1) + Identifier d diff --git a/parser/testdata/03213_deep_json/explain.txt b/parser/testdata/03213_deep_json/explain.txt index bc66f9beda..ceeaacc315 100644 --- a/parser/testdata/03213_deep_json/explain.txt +++ b/parser/testdata/03213_deep_json/explain.txt @@ -15,4 +15,3 @@ SelectWithUnionQuery (children 1) Literal \'[1,1,\' Literal UInt64_100000 Set -The query succeeded but the server error '[306, 117]' was expected (query: EXPLAIN AST SELECT * FROM format("JSONCompactEachRow", 'x UInt32, y UInt32', REPEAT('[1,1,', 100000)) SETTINGS input_format_json_compact_allow_variable_number_of_columns = 1; -- { serverError TOO_DEEP_RECURSION, INCORRECT_DATA }). diff --git a/parser/testdata/03213_denseRank_percentRank_alias/explain_10.txt b/parser/testdata/03213_denseRank_percentRank_alias/explain_10.txt new file mode 100644 index 0000000000..8822fb97b1 --- /dev/null +++ b/parser/testdata/03213_denseRank_percentRank_alias/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier product_groups diff --git a/parser/testdata/03213_denseRank_percentRank_alias/explain_11.txt b/parser/testdata/03213_denseRank_percentRank_alias/explain_11.txt new file mode 100644 index 0000000000..3bb305668a --- /dev/null +++ b/parser/testdata/03213_denseRank_percentRank_alias/explain_11.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier products + ExpressionList (children 4) + Identifier product_id + Identifier product_name + Identifier group_id + Identifier price diff --git a/parser/testdata/03213_denseRank_percentRank_alias/explain_8.txt b/parser/testdata/03213_denseRank_percentRank_alias/explain_8.txt new file mode 100644 index 0000000000..8822fb97b1 --- /dev/null +++ b/parser/testdata/03213_denseRank_percentRank_alias/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier product_groups diff --git a/parser/testdata/03213_denseRank_percentRank_alias/explain_9.txt b/parser/testdata/03213_denseRank_percentRank_alias/explain_9.txt new file mode 100644 index 0000000000..3bb305668a --- /dev/null +++ b/parser/testdata/03213_denseRank_percentRank_alias/explain_9.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier products + ExpressionList (children 4) + Identifier product_id + Identifier product_name + Identifier group_id + Identifier price diff --git a/parser/testdata/03213_rand_dos/explain.txt b/parser/testdata/03213_rand_dos/explain.txt index 811e11bb40..a433e53303 100644 --- a/parser/testdata/03213_rand_dos/explain.txt +++ b/parser/testdata/03213_rand_dos/explain.txt @@ -5,4 +5,3 @@ SelectWithUnionQuery (children 1) Function randChiSquared (children 1) ExpressionList (children 1) Literal Float64_-1e-7 -The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT randChiSquared(-0.0000001); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/03214_bitslice_argument_evaluation/explain.txt b/parser/testdata/03214_bitslice_argument_evaluation/explain.txt index ae06302877..c2b704926e 100644 --- a/parser/testdata/03214_bitslice_argument_evaluation/explain.txt +++ b/parser/testdata/03214_bitslice_argument_evaluation/explain.txt @@ -4,4 +4,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) Function bitSlice (children 1) ExpressionList -The query succeeded but the server error '42' was expected (query: EXPLAIN AST SELECT bitSlice(); -- { serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH }). diff --git a/parser/testdata/03214_join_on_tuple_comparison_elimination_bug/explain_4.txt b/parser/testdata/03214_join_on_tuple_comparison_elimination_bug/explain_4.txt new file mode 100644 index 0000000000..b99677bd61 --- /dev/null +++ b/parser/testdata/03214_join_on_tuple_comparison_elimination_bug/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier a diff --git a/parser/testdata/03214_join_on_tuple_comparison_elimination_bug/explain_6.txt b/parser/testdata/03214_join_on_tuple_comparison_elimination_bug/explain_6.txt new file mode 100644 index 0000000000..8c7c316521 --- /dev/null +++ b/parser/testdata/03214_join_on_tuple_comparison_elimination_bug/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier b diff --git a/parser/testdata/03215_analyzer_materialized_constants_bug/explain_6.txt b/parser/testdata/03215_analyzer_materialized_constants_bug/explain_6.txt new file mode 100644 index 0000000000..74c686928d --- /dev/null +++ b/parser/testdata/03215_analyzer_materialized_constants_bug/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test__fuzz_21 diff --git a/parser/testdata/03215_fix_get_index_in_tuple/explain_2.txt b/parser/testdata/03215_fix_get_index_in_tuple/explain_2.txt new file mode 100644 index 0000000000..e8a718d3e4 --- /dev/null +++ b/parser/testdata/03215_fix_get_index_in_tuple/explain_2.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier dummy_table_03215 + ExpressionList (children 2) + Identifier id_col + Identifier date_col diff --git a/parser/testdata/03215_key_condition_bug/explain_2.txt b/parser/testdata/03215_key_condition_bug/explain_2.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03215_key_condition_bug/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03215_multilinestring_geometry/explain_10.txt b/parser/testdata/03215_multilinestring_geometry/explain_10.txt new file mode 100644 index 0000000000..0159ff1e86 --- /dev/null +++ b/parser/testdata/03215_multilinestring_geometry/explain_10.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 3) + Identifier ord + Identifier shape + Identifier wkt_string diff --git a/parser/testdata/03215_multilinestring_geometry/explain_11.txt b/parser/testdata/03215_multilinestring_geometry/explain_11.txt new file mode 100644 index 0000000000..0159ff1e86 --- /dev/null +++ b/parser/testdata/03215_multilinestring_geometry/explain_11.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 3) + Identifier ord + Identifier shape + Identifier wkt_string diff --git a/parser/testdata/03215_multilinestring_geometry/explain_12.txt b/parser/testdata/03215_multilinestring_geometry/explain_12.txt new file mode 100644 index 0000000000..0159ff1e86 --- /dev/null +++ b/parser/testdata/03215_multilinestring_geometry/explain_12.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 3) + Identifier ord + Identifier shape + Identifier wkt_string diff --git a/parser/testdata/03216_arrayWithConstant_limits/explain.txt b/parser/testdata/03216_arrayWithConstant_limits/explain.txt index 8fd26be2cf..202b950b34 100644 --- a/parser/testdata/03216_arrayWithConstant_limits/explain.txt +++ b/parser/testdata/03216_arrayWithConstant_limits/explain.txt @@ -6,4 +6,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Literal UInt64_96142475 Literal Array_[\'qMUF\'] -The query succeeded but the server error '128' was expected (query: EXPLAIN AST SELECT arrayWithConstant(96142475, ['qMUF']); -- { serverError TOO_LARGE_ARRAY_SIZE }). diff --git a/parser/testdata/03217_filtering_in_storage_merge/explain.txt b/parser/testdata/03217_filtering_in_storage_merge/explain.txt index 9712d62674..0123eb9c94 100644 --- a/parser/testdata/03217_filtering_in_storage_merge/explain.txt +++ b/parser/testdata/03217_filtering_in_storage_merge/explain.txt @@ -1,6 +1,12 @@ -CreateQuery test_03217_merge_replica_1 (children 2) +CreateQuery test_03217_merge_replica_1 (children 3) Identifier test_03217_merge_replica_1 Columns definition (children 1) ExpressionList (children 1) ColumnDeclaration x (children 1) DataType UInt32 + Storage definition (children 2) + Function ReplicatedMergeTree (children 1) + ExpressionList (children 2) + Literal \'/clickhouse/tables/{database}/test_03217_merge_replica\' + Literal \'r1\' + Identifier x diff --git a/parser/testdata/03217_filtering_in_system_tables/explain_6.txt b/parser/testdata/03217_filtering_in_system_tables/explain_6.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03217_filtering_in_system_tables/explain_6.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03217_json_merge_patch_stack_overflow/explain.txt b/parser/testdata/03217_json_merge_patch_stack_overflow/explain.txt index 64c7fe5b76..1d5ec5dc71 100644 --- a/parser/testdata/03217_json_merge_patch_stack_overflow/explain.txt +++ b/parser/testdata/03217_json_merge_patch_stack_overflow/explain.txt @@ -8,4 +8,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Literal \'{"c":\' Literal UInt64_1000000 -The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT JSONMergePatch(REPEAT('{"c":', 1000000)); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/03221_merge_profile_events/explain_14.txt b/parser/testdata/03221_merge_profile_events/explain_14.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03221_merge_profile_events/explain_14.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03221_merge_profile_events/explain_22.txt b/parser/testdata/03221_merge_profile_events/explain_22.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03221_merge_profile_events/explain_22.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03221_merge_profile_events/explain_6.txt b/parser/testdata/03221_merge_profile_events/explain_6.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03221_merge_profile_events/explain_6.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03221_refreshable_matview_progress/explain.txt b/parser/testdata/03221_refreshable_matview_progress/explain.txt new file mode 100644 index 0000000000..724a000f33 --- /dev/null +++ b/parser/testdata/03221_refreshable_matview_progress/explain.txt @@ -0,0 +1,26 @@ +CreateQuery 03221_rmv (children 5) + Identifier 03221_rmv + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration x (children 1) + DataType UInt64 + Refresh strategy definition (children 1) + TimeInterval + SelectWithUnionQuery (children 1) + ExpressionList (children 2) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier number (alias x) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_3 + SelectQuery (children 1) + ExpressionList (children 1) + Function rand64 (alias x) (children 1) + ExpressionList + ViewTargets (children 1) + Storage definition (children 1) + Function Memory diff --git a/parser/testdata/03221_variant_logical_error/explain_10.txt b/parser/testdata/03221_variant_logical_error/explain_10.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03221_variant_logical_error/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03221_variant_logical_error/explain_11.txt b/parser/testdata/03221_variant_logical_error/explain_11.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03221_variant_logical_error/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03221_variant_logical_error/explain_12.txt b/parser/testdata/03221_variant_logical_error/explain_12.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03221_variant_logical_error/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03221_variant_logical_error/explain_13.txt b/parser/testdata/03221_variant_logical_error/explain_13.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03221_variant_logical_error/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03221_variant_logical_error/explain_14.txt b/parser/testdata/03221_variant_logical_error/explain_14.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03221_variant_logical_error/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03221_variant_logical_error/explain_5.txt b/parser/testdata/03221_variant_logical_error/explain_5.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03221_variant_logical_error/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03221_variant_logical_error/explain_6.txt b/parser/testdata/03221_variant_logical_error/explain_6.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03221_variant_logical_error/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03221_variant_logical_error/explain_7.txt b/parser/testdata/03221_variant_logical_error/explain_7.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03221_variant_logical_error/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03221_variant_logical_error/explain_8.txt b/parser/testdata/03221_variant_logical_error/explain_8.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03221_variant_logical_error/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03221_variant_logical_error/explain_9.txt b/parser/testdata/03221_variant_logical_error/explain_9.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03221_variant_logical_error/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03222_datetime64_small_value_const/explain_16.txt b/parser/testdata/03222_datetime64_small_value_const/explain_16.txt new file mode 100644 index 0000000000..c7fd5bdbc3 --- /dev/null +++ b/parser/testdata/03222_datetime64_small_value_const/explain_16.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier shard_0 + Identifier dt64_03222 diff --git a/parser/testdata/03222_datetime64_small_value_const/explain_17.txt b/parser/testdata/03222_datetime64_small_value_const/explain_17.txt new file mode 100644 index 0000000000..c7fd5bdbc3 --- /dev/null +++ b/parser/testdata/03222_datetime64_small_value_const/explain_17.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier shard_0 + Identifier dt64_03222 diff --git a/parser/testdata/03222_datetime64_small_value_const/explain_18.txt b/parser/testdata/03222_datetime64_small_value_const/explain_18.txt new file mode 100644 index 0000000000..f73098ec23 --- /dev/null +++ b/parser/testdata/03222_datetime64_small_value_const/explain_18.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier shard_1 + Identifier dt64_03222 diff --git a/parser/testdata/03222_datetime64_small_value_const/explain_19.txt b/parser/testdata/03222_datetime64_small_value_const/explain_19.txt new file mode 100644 index 0000000000..f73098ec23 --- /dev/null +++ b/parser/testdata/03222_datetime64_small_value_const/explain_19.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier shard_1 + Identifier dt64_03222 diff --git a/parser/testdata/03222_datetime64_small_value_const/explain_20.txt b/parser/testdata/03222_datetime64_small_value_const/explain_20.txt new file mode 100644 index 0000000000..f73098ec23 --- /dev/null +++ b/parser/testdata/03222_datetime64_small_value_const/explain_20.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier shard_1 + Identifier dt64_03222 diff --git a/parser/testdata/03222_ignore_nulls_query_tree_elimination/explain_3.txt b/parser/testdata/03222_ignore_nulls_query_tree_elimination/explain_3.txt new file mode 100644 index 0000000000..2227c39486 --- /dev/null +++ b/parser/testdata/03222_ignore_nulls_query_tree_elimination/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier with_fill_date__fuzz_0 diff --git a/parser/testdata/03222_json_empty_as_default/explain_20.txt b/parser/testdata/03222_json_empty_as_default/explain_20.txt new file mode 100644 index 0000000000..05c1b71925 --- /dev/null +++ b/parser/testdata/03222_json_empty_as_default/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table1 diff --git a/parser/testdata/03222_json_empty_as_default/explain_22.txt b/parser/testdata/03222_json_empty_as_default/explain_22.txt new file mode 100644 index 0000000000..05c1b71925 --- /dev/null +++ b/parser/testdata/03222_json_empty_as_default/explain_22.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table1 diff --git a/parser/testdata/03222_parallel_replicas_final_in_subquery/explain_3.txt b/parser/testdata/03222_parallel_replicas_final_in_subquery/explain_3.txt new file mode 100644 index 0000000000..74e808a04f --- /dev/null +++ b/parser/testdata/03222_parallel_replicas_final_in_subquery/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_00808 diff --git a/parser/testdata/03222_parallel_replicas_final_in_subquery/explain_4.txt b/parser/testdata/03222_parallel_replicas_final_in_subquery/explain_4.txt new file mode 100644 index 0000000000..74e808a04f --- /dev/null +++ b/parser/testdata/03222_parallel_replicas_final_in_subquery/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_00808 diff --git a/parser/testdata/03223_analyzer_with_cube_fuzz/explain_8.txt b/parser/testdata/03223_analyzer_with_cube_fuzz/explain_8.txt index 814afb54e0..6e69df0ef2 100644 --- a/parser/testdata/03223_analyzer_with_cube_fuzz/explain_8.txt +++ b/parser/testdata/03223_analyzer_with_cube_fuzz/explain_8.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 4) + SelectQuery (children 3) ExpressionList (children 2) Function multiply (children 1) ExpressionList (children 2) @@ -84,6 +84,5 @@ SelectWithUnionQuery (children 3) Identifier t2.key ExpressionList (children 1) Literal \'65537\' - Set Identifier Null Set diff --git a/parser/testdata/03223_system_tables_set_not_ready/explain_21.txt b/parser/testdata/03223_system_tables_set_not_ready/explain_21.txt new file mode 100644 index 0000000000..66a9f39a7a --- /dev/null +++ b/parser/testdata/03223_system_tables_set_not_ready/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rep1 diff --git a/parser/testdata/03223_system_tables_set_not_ready/explain_5.txt b/parser/testdata/03223_system_tables_set_not_ready/explain_5.txt new file mode 100644 index 0000000000..14f78c7e9f --- /dev/null +++ b/parser/testdata/03223_system_tables_set_not_ready/explain_5.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier dist + Set diff --git a/parser/testdata/03223_system_tables_set_not_ready/explain_9.txt b/parser/testdata/03223_system_tables_set_not_ready/explain_9.txt new file mode 100644 index 0000000000..73c396e9cd --- /dev/null +++ b/parser/testdata/03223_system_tables_set_not_ready/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rocksdb diff --git a/parser/testdata/03224_arrayUnion/explain_3.txt b/parser/testdata/03224_arrayUnion/explain_3.txt new file mode 100644 index 0000000000..d84664ca6c --- /dev/null +++ b/parser/testdata/03224_arrayUnion/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier array_union diff --git a/parser/testdata/03224_arrayUnion/explain_4.txt b/parser/testdata/03224_arrayUnion/explain_4.txt new file mode 100644 index 0000000000..d84664ca6c --- /dev/null +++ b/parser/testdata/03224_arrayUnion/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier array_union diff --git a/parser/testdata/03224_arrayUnion/explain_47.txt b/parser/testdata/03224_arrayUnion/explain_47.txt new file mode 100644 index 0000000000..02b68bb579 --- /dev/null +++ b/parser/testdata/03224_arrayUnion/explain_47.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_array_union diff --git a/parser/testdata/03224_arrayUnion/explain_5.txt b/parser/testdata/03224_arrayUnion/explain_5.txt new file mode 100644 index 0000000000..d84664ca6c --- /dev/null +++ b/parser/testdata/03224_arrayUnion/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier array_union diff --git a/parser/testdata/03224_arrayUnion/explain_6.txt b/parser/testdata/03224_arrayUnion/explain_6.txt new file mode 100644 index 0000000000..d84664ca6c --- /dev/null +++ b/parser/testdata/03224_arrayUnion/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier array_union diff --git a/parser/testdata/03224_invalid_alter/explain.txt b/parser/testdata/03224_invalid_alter/explain.txt index 06014e17d0..aaaea3e1ee 100644 --- a/parser/testdata/03224_invalid_alter/explain.txt +++ b/parser/testdata/03224_invalid_alter/explain.txt @@ -4,8 +4,11 @@ CreateQuery test (children 3) ExpressionList (children 3) ColumnDeclaration str (children 1) DataType String - ColumnDeclaration column_with_codec (children 1) + ColumnDeclaration column_with_codec (children 2) DataType String + Function CODEC (children 1) + ExpressionList (children 1) + Function ZSTD ColumnDeclaration column_with_alias (children 2) DataType String Function concat (children 1) diff --git a/parser/testdata/03224_invalid_alter/explain_16.txt b/parser/testdata/03224_invalid_alter/explain_16.txt new file mode 100644 index 0000000000..7e69eec7da --- /dev/null +++ b/parser/testdata/03224_invalid_alter/explain_16.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test2 + ExpressionList (children 2) + Identifier str + Identifier column_with_codec diff --git a/parser/testdata/03224_invalid_alter/explain_26.txt b/parser/testdata/03224_invalid_alter/explain_26.txt new file mode 100644 index 0000000000..64c8b4b850 --- /dev/null +++ b/parser/testdata/03224_invalid_alter/explain_26.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test3 + ExpressionList (children 2) + Identifier str + Identifier column_with_codec diff --git a/parser/testdata/03224_invalid_alter/explain_36.txt b/parser/testdata/03224_invalid_alter/explain_36.txt new file mode 100644 index 0000000000..2a2795d942 --- /dev/null +++ b/parser/testdata/03224_invalid_alter/explain_36.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test4 + ExpressionList (children 2) + Identifier str + Identifier column_with_codec diff --git a/parser/testdata/03224_invalid_alter/explain_7.txt b/parser/testdata/03224_invalid_alter/explain_7.txt new file mode 100644 index 0000000000..c75ee4defd --- /dev/null +++ b/parser/testdata/03224_invalid_alter/explain_7.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 2) + Identifier str + Identifier column_with_codec diff --git a/parser/testdata/03224_trim_empty_string/explain_2.txt b/parser/testdata/03224_trim_empty_string/explain_2.txt index 9b97377a0b..d9b95b0b19 100644 --- a/parser/testdata/03224_trim_empty_string/explain_2.txt +++ b/parser/testdata/03224_trim_empty_string/explain_2.txt @@ -2,14 +2,4 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 1) ExpressionList (children 1) - Function replaceRegexpOne (children 1) - ExpressionList (children 3) - Literal \'foo\' - Function concat (children 1) - ExpressionList (children 3) - Literal \'[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \'\' - Literal \']+$\' - Literal \'\' + Literal \'foo\' diff --git a/parser/testdata/03224_trim_empty_string/explain_3.txt b/parser/testdata/03224_trim_empty_string/explain_3.txt index df2aa9a8b6..d9b95b0b19 100644 --- a/parser/testdata/03224_trim_empty_string/explain_3.txt +++ b/parser/testdata/03224_trim_empty_string/explain_3.txt @@ -2,18 +2,4 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 1) ExpressionList (children 1) - Function replaceRegexpAll (children 1) - ExpressionList (children 3) - Literal \'foo\' - Function concat (children 1) - ExpressionList (children 5) - Literal \'^[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \'\' - Literal \']+|[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \'\' - Literal \']+$\' - Literal \'\' + Literal \'foo\' diff --git a/parser/testdata/03224_trim_empty_string/explain_4.txt b/parser/testdata/03224_trim_empty_string/explain_4.txt index 43ba5b3619..94f85cb530 100644 --- a/parser/testdata/03224_trim_empty_string/explain_4.txt +++ b/parser/testdata/03224_trim_empty_string/explain_4.txt @@ -2,15 +2,5 @@ SelectWithUnionQuery (children 2) ExpressionList (children 1) SelectQuery (children 1) ExpressionList (children 1) - Function replaceRegexpOne (children 1) - ExpressionList (children 3) - Literal \' foo \' - Function concat (children 1) - ExpressionList (children 3) - Literal \'^[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \'\' - Literal \']+\' - Literal \'\' + Literal \' foo \' Identifier CSV diff --git a/parser/testdata/03224_trim_empty_string/explain_5.txt b/parser/testdata/03224_trim_empty_string/explain_5.txt index c09ffefdfc..94f85cb530 100644 --- a/parser/testdata/03224_trim_empty_string/explain_5.txt +++ b/parser/testdata/03224_trim_empty_string/explain_5.txt @@ -2,15 +2,5 @@ SelectWithUnionQuery (children 2) ExpressionList (children 1) SelectQuery (children 1) ExpressionList (children 1) - Function replaceRegexpOne (children 1) - ExpressionList (children 3) - Literal \' foo \' - Function concat (children 1) - ExpressionList (children 3) - Literal \'[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \'\' - Literal \']+$\' - Literal \'\' + Literal \' foo \' Identifier CSV diff --git a/parser/testdata/03224_trim_empty_string/explain_6.txt b/parser/testdata/03224_trim_empty_string/explain_6.txt index 6690ca9c3d..94f85cb530 100644 --- a/parser/testdata/03224_trim_empty_string/explain_6.txt +++ b/parser/testdata/03224_trim_empty_string/explain_6.txt @@ -2,19 +2,5 @@ SelectWithUnionQuery (children 2) ExpressionList (children 1) SelectQuery (children 1) ExpressionList (children 1) - Function replaceRegexpAll (children 1) - ExpressionList (children 3) - Literal \' foo \' - Function concat (children 1) - ExpressionList (children 5) - Literal \'^[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \'\' - Literal \']+|[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \'\' - Literal \']+$\' - Literal \'\' + Literal \' foo \' Identifier CSV diff --git a/parser/testdata/03224_tuple_element_identifier/explain_3.txt b/parser/testdata/03224_tuple_element_identifier/explain_3.txt index f8a85ba157..41800e212e 100644 --- a/parser/testdata/03224_tuple_element_identifier/explain_3.txt +++ b/parser/testdata/03224_tuple_element_identifier/explain_3.txt @@ -13,4 +13,4 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Identifier x.hello Literal UInt64_1 - Identifier world + Literal \'world\' diff --git a/parser/testdata/03224_tuple_element_identifier/explain_4.txt b/parser/testdata/03224_tuple_element_identifier/explain_4.txt index 30b7cd07e4..bc67819d7e 100644 --- a/parser/testdata/03224_tuple_element_identifier/explain_4.txt +++ b/parser/testdata/03224_tuple_element_identifier/explain_4.txt @@ -13,4 +13,4 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Identifier x.hello Literal UInt64_1 - Identifier wow + Literal \' wow \' diff --git a/parser/testdata/03224_tuple_element_identifier/explain_5.txt b/parser/testdata/03224_tuple_element_identifier/explain_5.txt index 3490eed5d2..10bbd6da30 100644 --- a/parser/testdata/03224_tuple_element_identifier/explain_5.txt +++ b/parser/testdata/03224_tuple_element_identifier/explain_5.txt @@ -13,4 +13,4 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Identifier x.hello Literal UInt64_1 - Identifier wow + Literal \'wow\' diff --git a/parser/testdata/03224_tuple_element_identifier/explain_6.txt b/parser/testdata/03224_tuple_element_identifier/explain_6.txt index ce9695bb07..95c984ff7f 100644 --- a/parser/testdata/03224_tuple_element_identifier/explain_6.txt +++ b/parser/testdata/03224_tuple_element_identifier/explain_6.txt @@ -7,4 +7,4 @@ SelectWithUnionQuery (children 1) Function tuple (children 1) ExpressionList (children 1) Literal \'Hello\' (alias world) - Identifier world + Literal \'world\' diff --git a/parser/testdata/03224_tuple_element_identifier/explain_7.txt b/parser/testdata/03224_tuple_element_identifier/explain_7.txt index 553988acaa..c76bb8690f 100644 --- a/parser/testdata/03224_tuple_element_identifier/explain_7.txt +++ b/parser/testdata/03224_tuple_element_identifier/explain_7.txt @@ -9,10 +9,10 @@ SelectWithUnionQuery (children 1) Function tupleElement (children 1) ExpressionList (children 2) Identifier t - Identifier world + Literal \'world\' Function tupleElement (children 1) ExpressionList (children 2) Function identity (children 1) ExpressionList (children 1) Identifier t - Identifier world + Literal \'world\' diff --git a/parser/testdata/03225_const_prewhere_non_ataptive/explain_3.txt b/parser/testdata/03225_const_prewhere_non_ataptive/explain_3.txt new file mode 100644 index 0000000000..ffcf728c34 --- /dev/null +++ b/parser/testdata/03225_const_prewhere_non_ataptive/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_const_prewhere diff --git a/parser/testdata/03225_const_prewhere_non_ataptive/explain_8.txt b/parser/testdata/03225_const_prewhere_non_ataptive/explain_8.txt new file mode 100644 index 0000000000..ffcf728c34 --- /dev/null +++ b/parser/testdata/03225_const_prewhere_non_ataptive/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_const_prewhere diff --git a/parser/testdata/03227_proper_parsing_of_cast_operator/explain_2.txt b/parser/testdata/03227_proper_parsing_of_cast_operator/explain_2.txt new file mode 100644 index 0000000000..efd9dc85d1 --- /dev/null +++ b/parser/testdata/03227_proper_parsing_of_cast_operator/explain_2.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Literal \'ABC\' + Literal \'String\' diff --git a/parser/testdata/03227_proper_parsing_of_cast_operator/explain_3.txt b/parser/testdata/03227_proper_parsing_of_cast_operator/explain_3.txt new file mode 100644 index 0000000000..2f7e5ed123 --- /dev/null +++ b/parser/testdata/03227_proper_parsing_of_cast_operator/explain_3.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Literal \'A\' + Literal \'String\' diff --git a/parser/testdata/03227_proper_parsing_of_cast_operator/explain_5.txt b/parser/testdata/03227_proper_parsing_of_cast_operator/explain_5.txt deleted file mode 100644 index 1b0c601cfb..0000000000 --- a/parser/testdata/03227_proper_parsing_of_cast_operator/explain_5.txt +++ /dev/null @@ -1,8 +0,0 @@ -SelectWithUnionQuery (children 1) - ExpressionList (children 1) - SelectQuery (children 1) - ExpressionList (children 1) - Function CAST (children 1) - ExpressionList (children 2) - Literal \'{"a": \\\'?\' - Literal \'String\' diff --git a/parser/testdata/03227_proper_parsing_of_cast_operator/explain_6.txt b/parser/testdata/03227_proper_parsing_of_cast_operator/explain_6.txt deleted file mode 100644 index 0217c23dd2..0000000000 --- a/parser/testdata/03227_proper_parsing_of_cast_operator/explain_6.txt +++ /dev/null @@ -1,8 +0,0 @@ -SelectWithUnionQuery (children 1) - ExpressionList (children 1) - SelectQuery (children 1) - ExpressionList (children 1) - Function CAST (children 1) - ExpressionList (children 2) - Literal \'{"a": \\\'a?\' - Literal \'String\' diff --git a/parser/testdata/03227_test_sample_n/explain.txt b/parser/testdata/03227_test_sample_n/explain.txt index af56b70f73..164d219f01 100644 --- a/parser/testdata/03227_test_sample_n/explain.txt +++ b/parser/testdata/03227_test_sample_n/explain.txt @@ -4,9 +4,12 @@ CreateQuery table_name (children 3) ExpressionList (children 1) ColumnDeclaration id (children 1) DataType UInt64 - Storage definition (children 2) + Storage definition (children 3) Function MergeTree (children 1) ExpressionList Function cityHash64 (children 1) ExpressionList (children 1) Identifier id + Function cityHash64 (children 1) + ExpressionList (children 1) + Identifier id diff --git a/parser/testdata/03228_async_insert_query_params_bad_type/explain_10.txt b/parser/testdata/03228_async_insert_query_params_bad_type/explain_10.txt new file mode 100644 index 0000000000..d975ec2fde --- /dev/null +++ b/parser/testdata/03228_async_insert_query_params_bad_type/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_async_insert_params diff --git a/parser/testdata/03228_async_insert_query_params_bad_type/explain_6.txt b/parser/testdata/03228_async_insert_query_params_bad_type/explain_6.txt new file mode 100644 index 0000000000..d975ec2fde --- /dev/null +++ b/parser/testdata/03228_async_insert_query_params_bad_type/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_async_insert_params diff --git a/parser/testdata/03228_async_insert_query_params_bad_type/explain_7.txt b/parser/testdata/03228_async_insert_query_params_bad_type/explain_7.txt new file mode 100644 index 0000000000..d975ec2fde --- /dev/null +++ b/parser/testdata/03228_async_insert_query_params_bad_type/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_async_insert_params diff --git a/parser/testdata/03228_async_insert_query_params_bad_type/explain_9.txt b/parser/testdata/03228_async_insert_query_params_bad_type/explain_9.txt new file mode 100644 index 0000000000..d975ec2fde --- /dev/null +++ b/parser/testdata/03228_async_insert_query_params_bad_type/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_async_insert_params diff --git a/parser/testdata/03228_pr_subquery_view_order_by/explain_6.txt b/parser/testdata/03228_pr_subquery_view_order_by/explain_6.txt new file mode 100644 index 0000000000..2a37f82231 --- /dev/null +++ b/parser/testdata/03228_pr_subquery_view_order_by/explain_6.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier view1 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier number + Literal UInt64_20 + Set diff --git a/parser/testdata/03228_url_engine_response_headers/explain.txt b/parser/testdata/03228_url_engine_response_headers/explain.txt index 8d3825dbc1..099e495e56 100644 --- a/parser/testdata/03228_url_engine_response_headers/explain.txt +++ b/parser/testdata/03228_url_engine_response_headers/explain.txt @@ -1,7 +1,15 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) - SelectQuery (children 1) + SelectQuery (children 2) ExpressionList (children 1) Function toTypeName (children 1) ExpressionList (children 1) Identifier _headers + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function url (children 1) + ExpressionList (children 3) + Literal \'http://127.0.0.1:8123/?query=select+1&user=default\' + Identifier LineAsString + Literal \'s String\' diff --git a/parser/testdata/03228_variant_permutation_issue/explain_10.txt b/parser/testdata/03228_variant_permutation_issue/explain_10.txt new file mode 100644 index 0000000000..e7484546e8 --- /dev/null +++ b/parser/testdata/03228_variant_permutation_issue/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_new_json_type diff --git a/parser/testdata/03228_variant_permutation_issue/explain_4.txt b/parser/testdata/03228_variant_permutation_issue/explain_4.txt new file mode 100644 index 0000000000..e7484546e8 --- /dev/null +++ b/parser/testdata/03228_variant_permutation_issue/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_new_json_type diff --git a/parser/testdata/03228_virtual_column_merge_dist/explain_8.txt b/parser/testdata/03228_virtual_column_merge_dist/explain_8.txt new file mode 100644 index 0000000000..3291be138d --- /dev/null +++ b/parser/testdata/03228_virtual_column_merge_dist/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_local_1 diff --git a/parser/testdata/03228_virtual_column_merge_dist/explain_9.txt b/parser/testdata/03228_virtual_column_merge_dist/explain_9.txt new file mode 100644 index 0000000000..4651e3bb99 --- /dev/null +++ b/parser/testdata/03228_virtual_column_merge_dist/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_local_2 diff --git a/parser/testdata/03229_async_insert_alter/explain_11.txt b/parser/testdata/03229_async_insert_alter/explain_11.txt new file mode 100644 index 0000000000..6ea9597f3a --- /dev/null +++ b/parser/testdata/03229_async_insert_alter/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_async_insert_alter diff --git a/parser/testdata/03229_async_insert_alter/explain_15.txt b/parser/testdata/03229_async_insert_alter/explain_15.txt new file mode 100644 index 0000000000..6ea9597f3a --- /dev/null +++ b/parser/testdata/03229_async_insert_alter/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_async_insert_alter diff --git a/parser/testdata/03229_async_insert_alter/explain_18.txt b/parser/testdata/03229_async_insert_alter/explain_18.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03229_async_insert_alter/explain_18.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03229_async_insert_alter/explain_7.txt b/parser/testdata/03229_async_insert_alter/explain_7.txt new file mode 100644 index 0000000000..6ea9597f3a --- /dev/null +++ b/parser/testdata/03229_async_insert_alter/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_async_insert_alter diff --git a/parser/testdata/03229_json_structure_comparison/explain_4.txt b/parser/testdata/03229_json_structure_comparison/explain_4.txt new file mode 100644 index 0000000000..e7484546e8 --- /dev/null +++ b/parser/testdata/03229_json_structure_comparison/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_new_json_type diff --git a/parser/testdata/03229_query_condition_cache_drop_cache/explain_2.txt b/parser/testdata/03229_query_condition_cache_drop_cache/explain_2.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03229_query_condition_cache_drop_cache/explain_2.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03229_query_condition_cache_drop_cache/explain_6.txt b/parser/testdata/03229_query_condition_cache_drop_cache/explain_6.txt new file mode 100644 index 0000000000..9ad9c6bc1c --- /dev/null +++ b/parser/testdata/03229_query_condition_cache_drop_cache/explain_6.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function count (children 1) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tab + Function equals (children 1) + ExpressionList (children 2) + Identifier b + Literal UInt64_10000 + Set + Identifier Null diff --git a/parser/testdata/03229_query_condition_cache_drop_cache/explain_9.txt b/parser/testdata/03229_query_condition_cache_drop_cache/explain_9.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03229_query_condition_cache_drop_cache/explain_9.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03229_query_condition_cache_final/explain_13.txt b/parser/testdata/03229_query_condition_cache_final/explain_13.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03229_query_condition_cache_final/explain_13.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03229_query_condition_cache_final/explain_15.txt b/parser/testdata/03229_query_condition_cache_final/explain_15.txt new file mode 100644 index 0000000000..9ad9c6bc1c --- /dev/null +++ b/parser/testdata/03229_query_condition_cache_final/explain_15.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function count (children 1) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tab + Function equals (children 1) + ExpressionList (children 2) + Identifier b + Literal UInt64_10000 + Set + Identifier Null diff --git a/parser/testdata/03229_query_condition_cache_final/explain_7.txt b/parser/testdata/03229_query_condition_cache_final/explain_7.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03229_query_condition_cache_final/explain_7.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03229_query_condition_cache_final/explain_9.txt b/parser/testdata/03229_query_condition_cache_final/explain_9.txt new file mode 100644 index 0000000000..9ad9c6bc1c --- /dev/null +++ b/parser/testdata/03229_query_condition_cache_final/explain_9.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function count (children 1) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tab + Function equals (children 1) + ExpressionList (children 2) + Identifier b + Literal UInt64_10000 + Set + Identifier Null diff --git a/parser/testdata/03229_query_condition_cache_in_operator/explain_10.txt b/parser/testdata/03229_query_condition_cache_in_operator/explain_10.txt new file mode 100644 index 0000000000..53b7a8ab4e --- /dev/null +++ b/parser/testdata/03229_query_condition_cache_in_operator/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab2 diff --git a/parser/testdata/03229_query_condition_cache_in_operator/explain_8.txt b/parser/testdata/03229_query_condition_cache_in_operator/explain_8.txt new file mode 100644 index 0000000000..53b7a8ab4e --- /dev/null +++ b/parser/testdata/03229_query_condition_cache_in_operator/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab2 diff --git a/parser/testdata/03229_query_condition_cache_nondeterministic_functions/explain_13.txt b/parser/testdata/03229_query_condition_cache_nondeterministic_functions/explain_13.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03229_query_condition_cache_nondeterministic_functions/explain_13.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03229_query_condition_cache_nondeterministic_functions/explain_15.txt b/parser/testdata/03229_query_condition_cache_nondeterministic_functions/explain_15.txt new file mode 100644 index 0000000000..5eceeeb120 --- /dev/null +++ b/parser/testdata/03229_query_condition_cache_nondeterministic_functions/explain_15.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function count (children 1) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tab + Function equals (children 1) + ExpressionList (children 2) + Identifier b + Function rand64 (children 1) + ExpressionList + Set + Identifier Null diff --git a/parser/testdata/03229_query_condition_cache_nondeterministic_functions/explain_7.txt b/parser/testdata/03229_query_condition_cache_nondeterministic_functions/explain_7.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03229_query_condition_cache_nondeterministic_functions/explain_7.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03229_query_condition_cache_nondeterministic_functions/explain_9.txt b/parser/testdata/03229_query_condition_cache_nondeterministic_functions/explain_9.txt new file mode 100644 index 0000000000..5eceeeb120 --- /dev/null +++ b/parser/testdata/03229_query_condition_cache_nondeterministic_functions/explain_9.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function count (children 1) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tab + Function equals (children 1) + ExpressionList (children 2) + Identifier b + Function rand64 (children 1) + ExpressionList + Set + Identifier Null diff --git a/parser/testdata/03229_query_condition_cache_plaintext_condition/explain_10.txt b/parser/testdata/03229_query_condition_cache_plaintext_condition/explain_10.txt new file mode 100644 index 0000000000..0d8f76350c --- /dev/null +++ b/parser/testdata/03229_query_condition_cache_plaintext_condition/explain_10.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function count (children 1) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tab + Function equals (children 1) + ExpressionList (children 2) + Identifier b + Literal UInt64_90000 + Set + Identifier Null diff --git a/parser/testdata/03229_query_condition_cache_plaintext_condition/explain_14.txt b/parser/testdata/03229_query_condition_cache_plaintext_condition/explain_14.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03229_query_condition_cache_plaintext_condition/explain_14.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03229_query_condition_cache_plaintext_condition/explain_16.txt b/parser/testdata/03229_query_condition_cache_plaintext_condition/explain_16.txt new file mode 100644 index 0000000000..9ad9c6bc1c --- /dev/null +++ b/parser/testdata/03229_query_condition_cache_plaintext_condition/explain_16.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function count (children 1) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tab + Function equals (children 1) + ExpressionList (children 2) + Identifier b + Literal UInt64_10000 + Set + Identifier Null diff --git a/parser/testdata/03229_query_condition_cache_plaintext_condition/explain_17.txt b/parser/testdata/03229_query_condition_cache_plaintext_condition/explain_17.txt new file mode 100644 index 0000000000..0d8f76350c --- /dev/null +++ b/parser/testdata/03229_query_condition_cache_plaintext_condition/explain_17.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function count (children 1) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tab + Function equals (children 1) + ExpressionList (children 2) + Identifier b + Literal UInt64_90000 + Set + Identifier Null diff --git a/parser/testdata/03229_query_condition_cache_plaintext_condition/explain_19.txt b/parser/testdata/03229_query_condition_cache_plaintext_condition/explain_19.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03229_query_condition_cache_plaintext_condition/explain_19.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03229_query_condition_cache_plaintext_condition/explain_7.txt b/parser/testdata/03229_query_condition_cache_plaintext_condition/explain_7.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03229_query_condition_cache_plaintext_condition/explain_7.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03229_query_condition_cache_plaintext_condition/explain_9.txt b/parser/testdata/03229_query_condition_cache_plaintext_condition/explain_9.txt new file mode 100644 index 0000000000..9ad9c6bc1c --- /dev/null +++ b/parser/testdata/03229_query_condition_cache_plaintext_condition/explain_9.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function count (children 1) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tab + Function equals (children 1) + ExpressionList (children 2) + Identifier b + Literal UInt64_10000 + Set + Identifier Null diff --git a/parser/testdata/03229_query_condition_cache_profile_events/explain_11.txt b/parser/testdata/03229_query_condition_cache_profile_events/explain_11.txt new file mode 100644 index 0000000000..73362e1677 --- /dev/null +++ b/parser/testdata/03229_query_condition_cache_profile_events/explain_11.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 3) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tab + Function equals (children 1) + ExpressionList (children 2) + Identifier b + Literal UInt64_10000 + Identifier Null + Set diff --git a/parser/testdata/03229_query_condition_cache_profile_events/explain_12.txt b/parser/testdata/03229_query_condition_cache_profile_events/explain_12.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03229_query_condition_cache_profile_events/explain_12.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03229_query_condition_cache_profile_events/explain_15.txt b/parser/testdata/03229_query_condition_cache_profile_events/explain_15.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03229_query_condition_cache_profile_events/explain_15.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03229_query_condition_cache_profile_events/explain_16.txt b/parser/testdata/03229_query_condition_cache_profile_events/explain_16.txt new file mode 100644 index 0000000000..de172776a3 --- /dev/null +++ b/parser/testdata/03229_query_condition_cache_profile_events/explain_16.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 3) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function count (children 1) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tab + Function equals (children 1) + ExpressionList (children 2) + Identifier b + Literal UInt64_10000 + Identifier Null + Set diff --git a/parser/testdata/03229_query_condition_cache_profile_events/explain_17.txt b/parser/testdata/03229_query_condition_cache_profile_events/explain_17.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03229_query_condition_cache_profile_events/explain_17.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03229_query_condition_cache_profile_events/explain_19.txt b/parser/testdata/03229_query_condition_cache_profile_events/explain_19.txt new file mode 100644 index 0000000000..73362e1677 --- /dev/null +++ b/parser/testdata/03229_query_condition_cache_profile_events/explain_19.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 3) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tab + Function equals (children 1) + ExpressionList (children 2) + Identifier b + Literal UInt64_10000 + Identifier Null + Set diff --git a/parser/testdata/03229_query_condition_cache_profile_events/explain_20.txt b/parser/testdata/03229_query_condition_cache_profile_events/explain_20.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03229_query_condition_cache_profile_events/explain_20.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03229_query_condition_cache_profile_events/explain_4.txt b/parser/testdata/03229_query_condition_cache_profile_events/explain_4.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03229_query_condition_cache_profile_events/explain_4.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03229_query_condition_cache_profile_events/explain_8.txt b/parser/testdata/03229_query_condition_cache_profile_events/explain_8.txt new file mode 100644 index 0000000000..de172776a3 --- /dev/null +++ b/parser/testdata/03229_query_condition_cache_profile_events/explain_8.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 3) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function count (children 1) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tab + Function equals (children 1) + ExpressionList (children 2) + Identifier b + Literal UInt64_10000 + Identifier Null + Set diff --git a/parser/testdata/03229_query_condition_cache_profile_events/explain_9.txt b/parser/testdata/03229_query_condition_cache_profile_events/explain_9.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03229_query_condition_cache_profile_events/explain_9.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03229_query_condition_cache_recursive_cte/explain_2.txt b/parser/testdata/03229_query_condition_cache_recursive_cte/explain_2.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03229_query_condition_cache_recursive_cte/explain_2.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03229_query_condition_cache_recursive_cte/explain_6.txt b/parser/testdata/03229_query_condition_cache_recursive_cte/explain_6.txt new file mode 100644 index 0000000000..e2f57b579b --- /dev/null +++ b/parser/testdata/03229_query_condition_cache_recursive_cte/explain_6.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier tab + ExpressionList (children 2) + Identifier id + Identifier parent diff --git a/parser/testdata/03229_query_condition_cache_system_table/explain_12.txt b/parser/testdata/03229_query_condition_cache_system_table/explain_12.txt new file mode 100644 index 0000000000..9ad9c6bc1c --- /dev/null +++ b/parser/testdata/03229_query_condition_cache_system_table/explain_12.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function count (children 1) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tab + Function equals (children 1) + ExpressionList (children 2) + Identifier b + Literal UInt64_10000 + Set + Identifier Null diff --git a/parser/testdata/03229_query_condition_cache_system_table/explain_16.txt b/parser/testdata/03229_query_condition_cache_system_table/explain_16.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03229_query_condition_cache_system_table/explain_16.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03229_query_condition_cache_system_table/explain_18.txt b/parser/testdata/03229_query_condition_cache_system_table/explain_18.txt new file mode 100644 index 0000000000..9ad9c6bc1c --- /dev/null +++ b/parser/testdata/03229_query_condition_cache_system_table/explain_18.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function count (children 1) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tab + Function equals (children 1) + ExpressionList (children 2) + Identifier b + Literal UInt64_10000 + Set + Identifier Null diff --git a/parser/testdata/03229_query_condition_cache_system_table/explain_21.txt b/parser/testdata/03229_query_condition_cache_system_table/explain_21.txt new file mode 100644 index 0000000000..9ad9c6bc1c --- /dev/null +++ b/parser/testdata/03229_query_condition_cache_system_table/explain_21.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function count (children 1) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tab + Function equals (children 1) + ExpressionList (children 2) + Identifier b + Literal UInt64_10000 + Set + Identifier Null diff --git a/parser/testdata/03229_query_condition_cache_system_table/explain_7.txt b/parser/testdata/03229_query_condition_cache_system_table/explain_7.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03229_query_condition_cache_system_table/explain_7.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03229_query_condition_cache_system_table/explain_9.txt b/parser/testdata/03229_query_condition_cache_system_table/explain_9.txt new file mode 100644 index 0000000000..9ad9c6bc1c --- /dev/null +++ b/parser/testdata/03229_query_condition_cache_system_table/explain_9.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function count (children 1) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tab + Function equals (children 1) + ExpressionList (children 2) + Identifier b + Literal UInt64_10000 + Set + Identifier Null diff --git a/parser/testdata/03230_anyHeavy_merge/explain_3.txt b/parser/testdata/03230_anyHeavy_merge/explain_3.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03230_anyHeavy_merge/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_14.txt b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_14.txt new file mode 100644 index 0000000000..a3c423ff6e --- /dev/null +++ b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier uk_mortgage_rates diff --git a/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_15.txt b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_15.txt new file mode 100644 index 0000000000..a3c423ff6e --- /dev/null +++ b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier uk_mortgage_rates diff --git a/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_24.txt b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_24.txt new file mode 100644 index 0000000000..e122f2fb52 --- /dev/null +++ b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_24.txt @@ -0,0 +1,3 @@ +ShowCreateTableQuery uk_price_paid (children 2) + Identifier uk_price_paid + Set diff --git a/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_25.txt b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_25.txt new file mode 100644 index 0000000000..96b0c85f51 --- /dev/null +++ b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_25.txt @@ -0,0 +1,3 @@ +ShowCreateViewQuery prices_by_year_view (children 2) + Identifier prices_by_year_view + Set diff --git a/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_26.txt b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_26.txt new file mode 100644 index 0000000000..eb22b0a35f --- /dev/null +++ b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_26.txt @@ -0,0 +1,3 @@ +ShowCreateTableQuery uk_prices_aggs_dest (children 2) + Identifier uk_prices_aggs_dest + Set diff --git a/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_27.txt b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_27.txt new file mode 100644 index 0000000000..5a5540ce18 --- /dev/null +++ b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_27.txt @@ -0,0 +1,3 @@ +ShowCreateViewQuery uk_prices_aggs_view (children 2) + Identifier uk_prices_aggs_view + Set diff --git a/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_28.txt b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_28.txt new file mode 100644 index 0000000000..2013c85293 --- /dev/null +++ b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_28.txt @@ -0,0 +1,3 @@ +ShowCreateDictionaryQuery uk_mortgage_rates_dict (children 2) + Identifier uk_mortgage_rates_dict + Set diff --git a/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_30.txt b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_30.txt new file mode 100644 index 0000000000..e122f2fb52 --- /dev/null +++ b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_30.txt @@ -0,0 +1,3 @@ +ShowCreateTableQuery uk_price_paid (children 2) + Identifier uk_price_paid + Set diff --git a/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_31.txt b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_31.txt new file mode 100644 index 0000000000..96b0c85f51 --- /dev/null +++ b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_31.txt @@ -0,0 +1,3 @@ +ShowCreateViewQuery prices_by_year_view (children 2) + Identifier prices_by_year_view + Set diff --git a/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_32.txt b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_32.txt new file mode 100644 index 0000000000..eb22b0a35f --- /dev/null +++ b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_32.txt @@ -0,0 +1,3 @@ +ShowCreateTableQuery uk_prices_aggs_dest (children 2) + Identifier uk_prices_aggs_dest + Set diff --git a/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_33.txt b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_33.txt new file mode 100644 index 0000000000..5a5540ce18 --- /dev/null +++ b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_33.txt @@ -0,0 +1,3 @@ +ShowCreateViewQuery uk_prices_aggs_view (children 2) + Identifier uk_prices_aggs_view + Set diff --git a/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_34.txt b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_34.txt new file mode 100644 index 0000000000..2013c85293 --- /dev/null +++ b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_34.txt @@ -0,0 +1,3 @@ +ShowCreateDictionaryQuery uk_mortgage_rates_dict (children 2) + Identifier uk_mortgage_rates_dict + Set diff --git a/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_36.txt b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_36.txt new file mode 100644 index 0000000000..e122f2fb52 --- /dev/null +++ b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_36.txt @@ -0,0 +1,3 @@ +ShowCreateTableQuery uk_price_paid (children 2) + Identifier uk_price_paid + Set diff --git a/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_37.txt b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_37.txt new file mode 100644 index 0000000000..96b0c85f51 --- /dev/null +++ b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_37.txt @@ -0,0 +1,3 @@ +ShowCreateViewQuery prices_by_year_view (children 2) + Identifier prices_by_year_view + Set diff --git a/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_38.txt b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_38.txt new file mode 100644 index 0000000000..eb22b0a35f --- /dev/null +++ b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_38.txt @@ -0,0 +1,3 @@ +ShowCreateTableQuery uk_prices_aggs_dest (children 2) + Identifier uk_prices_aggs_dest + Set diff --git a/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_39.txt b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_39.txt new file mode 100644 index 0000000000..5a5540ce18 --- /dev/null +++ b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_39.txt @@ -0,0 +1,3 @@ +ShowCreateViewQuery uk_prices_aggs_view (children 2) + Identifier uk_prices_aggs_view + Set diff --git a/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_40.txt b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_40.txt new file mode 100644 index 0000000000..2013c85293 --- /dev/null +++ b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_40.txt @@ -0,0 +1,3 @@ +ShowCreateDictionaryQuery uk_mortgage_rates_dict (children 2) + Identifier uk_mortgage_rates_dict + Set diff --git a/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_42.txt b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_42.txt new file mode 100644 index 0000000000..e122f2fb52 --- /dev/null +++ b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_42.txt @@ -0,0 +1,3 @@ +ShowCreateTableQuery uk_price_paid (children 2) + Identifier uk_price_paid + Set diff --git a/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_43.txt b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_43.txt new file mode 100644 index 0000000000..96b0c85f51 --- /dev/null +++ b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_43.txt @@ -0,0 +1,3 @@ +ShowCreateViewQuery prices_by_year_view (children 2) + Identifier prices_by_year_view + Set diff --git a/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_44.txt b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_44.txt new file mode 100644 index 0000000000..eb22b0a35f --- /dev/null +++ b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_44.txt @@ -0,0 +1,3 @@ +ShowCreateTableQuery uk_prices_aggs_dest (children 2) + Identifier uk_prices_aggs_dest + Set diff --git a/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_45.txt b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_45.txt new file mode 100644 index 0000000000..5a5540ce18 --- /dev/null +++ b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_45.txt @@ -0,0 +1,3 @@ +ShowCreateViewQuery uk_prices_aggs_view (children 2) + Identifier uk_prices_aggs_view + Set diff --git a/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_46.txt b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_46.txt new file mode 100644 index 0000000000..2013c85293 --- /dev/null +++ b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_46.txt @@ -0,0 +1,3 @@ +ShowCreateDictionaryQuery uk_mortgage_rates_dict (children 2) + Identifier uk_mortgage_rates_dict + Set diff --git a/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_48.txt b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_48.txt new file mode 100644 index 0000000000..e122f2fb52 --- /dev/null +++ b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_48.txt @@ -0,0 +1,3 @@ +ShowCreateTableQuery uk_price_paid (children 2) + Identifier uk_price_paid + Set diff --git a/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_49.txt b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_49.txt new file mode 100644 index 0000000000..96b0c85f51 --- /dev/null +++ b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_49.txt @@ -0,0 +1,3 @@ +ShowCreateViewQuery prices_by_year_view (children 2) + Identifier prices_by_year_view + Set diff --git a/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_50.txt b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_50.txt new file mode 100644 index 0000000000..eb22b0a35f --- /dev/null +++ b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_50.txt @@ -0,0 +1,3 @@ +ShowCreateTableQuery uk_prices_aggs_dest (children 2) + Identifier uk_prices_aggs_dest + Set diff --git a/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_51.txt b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_51.txt new file mode 100644 index 0000000000..5a5540ce18 --- /dev/null +++ b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_51.txt @@ -0,0 +1,3 @@ +ShowCreateViewQuery uk_prices_aggs_view (children 2) + Identifier uk_prices_aggs_view + Set diff --git a/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_52.txt b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_52.txt new file mode 100644 index 0000000000..2013c85293 --- /dev/null +++ b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_52.txt @@ -0,0 +1,3 @@ +ShowCreateDictionaryQuery uk_mortgage_rates_dict (children 2) + Identifier uk_mortgage_rates_dict + Set diff --git a/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_54.txt b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_54.txt new file mode 100644 index 0000000000..e122f2fb52 --- /dev/null +++ b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_54.txt @@ -0,0 +1,3 @@ +ShowCreateTableQuery uk_price_paid (children 2) + Identifier uk_price_paid + Set diff --git a/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_55.txt b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_55.txt new file mode 100644 index 0000000000..96b0c85f51 --- /dev/null +++ b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_55.txt @@ -0,0 +1,3 @@ +ShowCreateViewQuery prices_by_year_view (children 2) + Identifier prices_by_year_view + Set diff --git a/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_56.txt b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_56.txt new file mode 100644 index 0000000000..eb22b0a35f --- /dev/null +++ b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_56.txt @@ -0,0 +1,3 @@ +ShowCreateTableQuery uk_prices_aggs_dest (children 2) + Identifier uk_prices_aggs_dest + Set diff --git a/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_57.txt b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_57.txt new file mode 100644 index 0000000000..5a5540ce18 --- /dev/null +++ b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_57.txt @@ -0,0 +1,3 @@ +ShowCreateViewQuery uk_prices_aggs_view (children 2) + Identifier uk_prices_aggs_view + Set diff --git a/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_58.txt b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_58.txt new file mode 100644 index 0000000000..2013c85293 --- /dev/null +++ b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_58.txt @@ -0,0 +1,3 @@ +ShowCreateDictionaryQuery uk_mortgage_rates_dict (children 2) + Identifier uk_mortgage_rates_dict + Set diff --git a/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_60.txt b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_60.txt new file mode 100644 index 0000000000..e122f2fb52 --- /dev/null +++ b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_60.txt @@ -0,0 +1,3 @@ +ShowCreateTableQuery uk_price_paid (children 2) + Identifier uk_price_paid + Set diff --git a/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_61.txt b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_61.txt new file mode 100644 index 0000000000..96b0c85f51 --- /dev/null +++ b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_61.txt @@ -0,0 +1,3 @@ +ShowCreateViewQuery prices_by_year_view (children 2) + Identifier prices_by_year_view + Set diff --git a/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_62.txt b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_62.txt new file mode 100644 index 0000000000..eb22b0a35f --- /dev/null +++ b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_62.txt @@ -0,0 +1,3 @@ +ShowCreateTableQuery uk_prices_aggs_dest (children 2) + Identifier uk_prices_aggs_dest + Set diff --git a/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_63.txt b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_63.txt new file mode 100644 index 0000000000..5a5540ce18 --- /dev/null +++ b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_63.txt @@ -0,0 +1,3 @@ +ShowCreateViewQuery uk_prices_aggs_view (children 2) + Identifier uk_prices_aggs_view + Set diff --git a/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_64.txt b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_64.txt new file mode 100644 index 0000000000..2013c85293 --- /dev/null +++ b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_64.txt @@ -0,0 +1,3 @@ +ShowCreateDictionaryQuery uk_mortgage_rates_dict (children 2) + Identifier uk_mortgage_rates_dict + Set diff --git a/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_66.txt b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_66.txt new file mode 100644 index 0000000000..e122f2fb52 --- /dev/null +++ b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_66.txt @@ -0,0 +1,3 @@ +ShowCreateTableQuery uk_price_paid (children 2) + Identifier uk_price_paid + Set diff --git a/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_67.txt b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_67.txt new file mode 100644 index 0000000000..96b0c85f51 --- /dev/null +++ b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_67.txt @@ -0,0 +1,3 @@ +ShowCreateViewQuery prices_by_year_view (children 2) + Identifier prices_by_year_view + Set diff --git a/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_68.txt b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_68.txt new file mode 100644 index 0000000000..eb22b0a35f --- /dev/null +++ b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_68.txt @@ -0,0 +1,3 @@ +ShowCreateTableQuery uk_prices_aggs_dest (children 2) + Identifier uk_prices_aggs_dest + Set diff --git a/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_69.txt b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_69.txt new file mode 100644 index 0000000000..5a5540ce18 --- /dev/null +++ b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_69.txt @@ -0,0 +1,3 @@ +ShowCreateViewQuery uk_prices_aggs_view (children 2) + Identifier uk_prices_aggs_view + Set diff --git a/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_70.txt b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_70.txt new file mode 100644 index 0000000000..2013c85293 --- /dev/null +++ b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_70.txt @@ -0,0 +1,3 @@ +ShowCreateDictionaryQuery uk_mortgage_rates_dict (children 2) + Identifier uk_mortgage_rates_dict + Set diff --git a/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_72.txt b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_72.txt new file mode 100644 index 0000000000..e122f2fb52 --- /dev/null +++ b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_72.txt @@ -0,0 +1,3 @@ +ShowCreateTableQuery uk_price_paid (children 2) + Identifier uk_price_paid + Set diff --git a/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_73.txt b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_73.txt new file mode 100644 index 0000000000..96b0c85f51 --- /dev/null +++ b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_73.txt @@ -0,0 +1,3 @@ +ShowCreateViewQuery prices_by_year_view (children 2) + Identifier prices_by_year_view + Set diff --git a/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_74.txt b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_74.txt new file mode 100644 index 0000000000..eb22b0a35f --- /dev/null +++ b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_74.txt @@ -0,0 +1,3 @@ +ShowCreateTableQuery uk_prices_aggs_dest (children 2) + Identifier uk_prices_aggs_dest + Set diff --git a/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_75.txt b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_75.txt new file mode 100644 index 0000000000..5a5540ce18 --- /dev/null +++ b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_75.txt @@ -0,0 +1,3 @@ +ShowCreateViewQuery uk_prices_aggs_view (children 2) + Identifier uk_prices_aggs_view + Set diff --git a/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_76.txt b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_76.txt new file mode 100644 index 0000000000..2013c85293 --- /dev/null +++ b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain_76.txt @@ -0,0 +1,3 @@ +ShowCreateDictionaryQuery uk_mortgage_rates_dict (children 2) + Identifier uk_mortgage_rates_dict + Set diff --git a/parser/testdata/03230_subcolumns_mv/explain_9.txt b/parser/testdata/03230_subcolumns_mv/explain_9.txt new file mode 100644 index 0000000000..4cac55f0ee --- /dev/null +++ b/parser/testdata/03230_subcolumns_mv/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rawtable diff --git a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_10.txt b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_10.txt deleted file mode 100644 index 4ed94e2b82..0000000000 --- a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_10.txt +++ /dev/null @@ -1,8 +0,0 @@ -AlterQuery a (children 2) - ExpressionList (children 1) - AlterCommand MODIFY_COLUMN (children 1) - ColumnDeclaration y (children 1) - DataType STATISTICS (children 1) - ExpressionList (children 1) - DataType tdigest - Identifier a diff --git a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_11.txt b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_11.txt deleted file mode 100644 index 7a35e74b5a..0000000000 --- a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_11.txt +++ /dev/null @@ -1,5 +0,0 @@ -AlterQuery a (children 2) - ExpressionList (children 1) - AlterCommand MODIFY_COLUMN (children 1) - ColumnDeclaration y - Identifier a diff --git a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_13.txt b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_13.txt deleted file mode 100644 index 4800892940..0000000000 --- a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_13.txt +++ /dev/null @@ -1,7 +0,0 @@ -AlterQuery a (children 2) - ExpressionList (children 1) - AlterCommand MODIFY_COLUMN (children 1) - ColumnDeclaration y (children 2) - DataType Int64 - Literal UInt64_2 - Identifier a diff --git a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_14.txt b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_14.txt deleted file mode 100644 index e6248df791..0000000000 --- a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_14.txt +++ /dev/null @@ -1,7 +0,0 @@ -AlterQuery a (children 2) - ExpressionList (children 1) - AlterCommand MODIFY_COLUMN (children 1) - ColumnDeclaration y (children 2) - DataType Int64 - Literal UInt64_3 - Identifier a diff --git a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_15.txt b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_15.txt deleted file mode 100644 index b2db960e3c..0000000000 --- a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_15.txt +++ /dev/null @@ -1,7 +0,0 @@ -AlterQuery a (children 2) - ExpressionList (children 1) - AlterCommand MODIFY_COLUMN (children 1) - ColumnDeclaration y (children 2) - DataType Int64 - Literal UInt64_4 - Identifier a diff --git a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_16.txt b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_16.txt deleted file mode 100644 index 5be59bc0c8..0000000000 --- a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_16.txt +++ /dev/null @@ -1,7 +0,0 @@ -AlterQuery a (children 2) - ExpressionList (children 1) - AlterCommand MODIFY_COLUMN (children 1) - ColumnDeclaration y (children 2) - DataType Int64 - Literal \'5\' - Identifier a diff --git a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_17.txt b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_17.txt deleted file mode 100644 index 70553cfa01..0000000000 --- a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_17.txt +++ /dev/null @@ -1,9 +0,0 @@ -AlterQuery a (children 2) - ExpressionList (children 1) - AlterCommand MODIFY_COLUMN (children 1) - ColumnDeclaration y (children 2) - DataType Int64 - Function CODEC (children 1) - ExpressionList (children 1) - Function ZSTD - Identifier a diff --git a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_18.txt b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_18.txt deleted file mode 100644 index e8b3528687..0000000000 --- a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_18.txt +++ /dev/null @@ -1,9 +0,0 @@ -AlterQuery a (children 2) - ExpressionList (children 1) - AlterCommand MODIFY_COLUMN (children 1) - ColumnDeclaration y (children 2) - DataType Int64 - Function STATISTICS (children 1) - ExpressionList (children 1) - Function tdigest - Identifier a diff --git a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_19.txt b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_19.txt deleted file mode 100644 index 4d996727f6..0000000000 --- a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_19.txt +++ /dev/null @@ -1,14 +0,0 @@ -AlterQuery a (children 2) - ExpressionList (children 1) - AlterCommand MODIFY_COLUMN (children 1) - ColumnDeclaration y (children 2) - DataType Int64 - Function plus (children 1) - ExpressionList (children 2) - Function toDate (children 1) - ExpressionList (children 1) - Literal \'2025-01-01\' - Function toIntervalDay (children 1) - ExpressionList (children 1) - Identifier x - Identifier a diff --git a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_20.txt b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_20.txt deleted file mode 100644 index 4d445e7757..0000000000 --- a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_20.txt +++ /dev/null @@ -1,7 +0,0 @@ -AlterQuery a (children 2) - ExpressionList (children 1) - AlterCommand MODIFY_COLUMN (children 1) - ColumnDeclaration y (children 2) - DataType Int64 - Collation - Identifier a diff --git a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_21.txt b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_21.txt deleted file mode 100644 index 34bcd49388..0000000000 --- a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_21.txt +++ /dev/null @@ -1,7 +0,0 @@ -AlterQuery a (children 2) - ExpressionList (children 1) - AlterCommand MODIFY_COLUMN (children 1) - ColumnDeclaration y (children 2) - DataType Int64 - Set - Identifier a diff --git a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_22.txt b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_22.txt deleted file mode 100644 index 92ae9f2e10..0000000000 --- a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_22.txt +++ /dev/null @@ -1,6 +0,0 @@ -AlterQuery a (children 2) - ExpressionList (children 1) - AlterCommand MODIFY_COLUMN (children 1) - ColumnDeclaration y (children 1) - DataType Int64 - Identifier a diff --git a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_24.txt b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_24.txt deleted file mode 100644 index 6d7424d11a..0000000000 --- a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_24.txt +++ /dev/null @@ -1,7 +0,0 @@ -AlterQuery a (children 2) - ExpressionList (children 1) - AlterCommand MODIFY_COLUMN (children 2) - ColumnDeclaration y (children 1) - DataType Int64 - Set - Identifier a diff --git a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_25.txt b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_25.txt deleted file mode 100644 index 300b6f3585..0000000000 --- a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_25.txt +++ /dev/null @@ -1,7 +0,0 @@ -AlterQuery a (children 2) - ExpressionList (children 1) - AlterCommand MODIFY_COLUMN (children 2) - ColumnDeclaration y (children 1) - Literal UInt64_2 - Set - Identifier a diff --git a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_26.txt b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_26.txt deleted file mode 100644 index e3df0ce68f..0000000000 --- a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_26.txt +++ /dev/null @@ -1,7 +0,0 @@ -AlterQuery a (children 2) - ExpressionList (children 1) - AlterCommand MODIFY_COLUMN (children 2) - ColumnDeclaration y (children 1) - Literal UInt64_3 - Set - Identifier a diff --git a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_27.txt b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_27.txt deleted file mode 100644 index 672babcf8e..0000000000 --- a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_27.txt +++ /dev/null @@ -1,7 +0,0 @@ -AlterQuery a (children 2) - ExpressionList (children 1) - AlterCommand MODIFY_COLUMN (children 2) - ColumnDeclaration y (children 1) - Literal UInt64_4 - Set - Identifier a diff --git a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_28.txt b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_28.txt deleted file mode 100644 index 7eab6848d6..0000000000 --- a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_28.txt +++ /dev/null @@ -1,7 +0,0 @@ -AlterQuery a (children 2) - ExpressionList (children 1) - AlterCommand MODIFY_COLUMN (children 2) - ColumnDeclaration y (children 1) - Literal \'5\' - Set - Identifier a diff --git a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_29.txt b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_29.txt deleted file mode 100644 index 19f6f8c767..0000000000 --- a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_29.txt +++ /dev/null @@ -1,9 +0,0 @@ -AlterQuery a (children 2) - ExpressionList (children 1) - AlterCommand MODIFY_COLUMN (children 2) - ColumnDeclaration y (children 1) - Function CODEC (children 1) - ExpressionList (children 1) - Function ZSTD - Set - Identifier a diff --git a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_30.txt b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_30.txt deleted file mode 100644 index 0262f999c0..0000000000 --- a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_30.txt +++ /dev/null @@ -1,9 +0,0 @@ -AlterQuery a (children 2) - ExpressionList (children 1) - AlterCommand MODIFY_COLUMN (children 2) - ColumnDeclaration y (children 1) - DataType STATISTICS (children 1) - ExpressionList (children 1) - DataType tdigest - Set - Identifier a diff --git a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_31.txt b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_31.txt deleted file mode 100644 index b80b0ab217..0000000000 --- a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_31.txt +++ /dev/null @@ -1,6 +0,0 @@ -AlterQuery a (children 2) - ExpressionList (children 1) - AlterCommand MODIFY_COLUMN (children 2) - ColumnDeclaration y - Set - Identifier a diff --git a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_33.txt b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_33.txt deleted file mode 100644 index 58c862cc0a..0000000000 --- a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_33.txt +++ /dev/null @@ -1,8 +0,0 @@ -AlterQuery a (children 2) - ExpressionList (children 1) - AlterCommand MODIFY_COLUMN (children 2) - ColumnDeclaration y (children 2) - DataType Int64 - Literal UInt64_2 - Set - Identifier a diff --git a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_34.txt b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_34.txt deleted file mode 100644 index 890816dd90..0000000000 --- a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_34.txt +++ /dev/null @@ -1,8 +0,0 @@ -AlterQuery a (children 2) - ExpressionList (children 1) - AlterCommand MODIFY_COLUMN (children 2) - ColumnDeclaration y (children 2) - DataType Int64 - Literal UInt64_3 - Set - Identifier a diff --git a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_35.txt b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_35.txt deleted file mode 100644 index 18939ac2e2..0000000000 --- a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_35.txt +++ /dev/null @@ -1,8 +0,0 @@ -AlterQuery a (children 2) - ExpressionList (children 1) - AlterCommand MODIFY_COLUMN (children 2) - ColumnDeclaration y (children 2) - DataType Int64 - Literal UInt64_4 - Set - Identifier a diff --git a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_36.txt b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_36.txt deleted file mode 100644 index 4a1796536a..0000000000 --- a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_36.txt +++ /dev/null @@ -1,8 +0,0 @@ -AlterQuery a (children 2) - ExpressionList (children 1) - AlterCommand MODIFY_COLUMN (children 2) - ColumnDeclaration y (children 2) - DataType Int64 - Literal \'5\' - Set - Identifier a diff --git a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_37.txt b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_37.txt deleted file mode 100644 index c080997eef..0000000000 --- a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_37.txt +++ /dev/null @@ -1,10 +0,0 @@ -AlterQuery a (children 2) - ExpressionList (children 1) - AlterCommand MODIFY_COLUMN (children 2) - ColumnDeclaration y (children 2) - DataType Int64 - Function CODEC (children 1) - ExpressionList (children 1) - Function ZSTD - Set - Identifier a diff --git a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_38.txt b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_38.txt deleted file mode 100644 index d76e5773bd..0000000000 --- a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_38.txt +++ /dev/null @@ -1,10 +0,0 @@ -AlterQuery a (children 2) - ExpressionList (children 1) - AlterCommand MODIFY_COLUMN (children 2) - ColumnDeclaration y (children 2) - DataType Int64 - Function STATISTICS (children 1) - ExpressionList (children 1) - Function tdigest - Set - Identifier a diff --git a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_39.txt b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_39.txt deleted file mode 100644 index 2f46def75e..0000000000 --- a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_39.txt +++ /dev/null @@ -1,15 +0,0 @@ -AlterQuery a (children 2) - ExpressionList (children 1) - AlterCommand MODIFY_COLUMN (children 2) - ColumnDeclaration y (children 2) - DataType Int64 - Function plus (children 1) - ExpressionList (children 2) - Function toDate (children 1) - ExpressionList (children 1) - Literal \'2025-01-01\' - Function toIntervalDay (children 1) - ExpressionList (children 1) - Identifier x - Set - Identifier a diff --git a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_4.txt b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_4.txt deleted file mode 100644 index 92ae9f2e10..0000000000 --- a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_4.txt +++ /dev/null @@ -1,6 +0,0 @@ -AlterQuery a (children 2) - ExpressionList (children 1) - AlterCommand MODIFY_COLUMN (children 1) - ColumnDeclaration y (children 1) - DataType Int64 - Identifier a diff --git a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_40.txt b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_40.txt deleted file mode 100644 index 48a33d2da5..0000000000 --- a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_40.txt +++ /dev/null @@ -1,8 +0,0 @@ -AlterQuery a (children 2) - ExpressionList (children 1) - AlterCommand MODIFY_COLUMN (children 2) - ColumnDeclaration y (children 2) - DataType Int64 - Collation - Set - Identifier a diff --git a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_41.txt b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_41.txt deleted file mode 100644 index 4540704d13..0000000000 --- a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_41.txt +++ /dev/null @@ -1,8 +0,0 @@ -AlterQuery a (children 2) - ExpressionList (children 1) - AlterCommand MODIFY_COLUMN (children 2) - ColumnDeclaration y (children 2) - DataType Int64 - Set - Set - Identifier a diff --git a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_42.txt b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_42.txt deleted file mode 100644 index 6d7424d11a..0000000000 --- a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_42.txt +++ /dev/null @@ -1,7 +0,0 @@ -AlterQuery a (children 2) - ExpressionList (children 1) - AlterCommand MODIFY_COLUMN (children 2) - ColumnDeclaration y (children 1) - DataType Int64 - Set - Identifier a diff --git a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_44.txt b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_44.txt deleted file mode 100644 index 866bb65923..0000000000 --- a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_44.txt +++ /dev/null @@ -1,8 +0,0 @@ -AlterQuery a (children 2) - ExpressionList (children 1) - AlterCommand MODIFY_COLUMN (children 2) - ColumnDeclaration y (children 1) - DataType Int64 - ExpressionList (children 1) - Identifier max_compress_block_size - Identifier a diff --git a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_45.txt b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_45.txt deleted file mode 100644 index f17fa59c5b..0000000000 --- a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_45.txt +++ /dev/null @@ -1,8 +0,0 @@ -AlterQuery a (children 2) - ExpressionList (children 1) - AlterCommand MODIFY_COLUMN (children 2) - ColumnDeclaration y (children 1) - Literal UInt64_2 - ExpressionList (children 1) - Identifier max_compress_block_size - Identifier a diff --git a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_46.txt b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_46.txt deleted file mode 100644 index 487e7b1da7..0000000000 --- a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_46.txt +++ /dev/null @@ -1,8 +0,0 @@ -AlterQuery a (children 2) - ExpressionList (children 1) - AlterCommand MODIFY_COLUMN (children 2) - ColumnDeclaration y (children 1) - Literal UInt64_3 - ExpressionList (children 1) - Identifier max_compress_block_size - Identifier a diff --git a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_47.txt b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_47.txt deleted file mode 100644 index 0c4f5afcd0..0000000000 --- a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_47.txt +++ /dev/null @@ -1,8 +0,0 @@ -AlterQuery a (children 2) - ExpressionList (children 1) - AlterCommand MODIFY_COLUMN (children 2) - ColumnDeclaration y (children 1) - Literal UInt64_4 - ExpressionList (children 1) - Identifier max_compress_block_size - Identifier a diff --git a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_48.txt b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_48.txt deleted file mode 100644 index b24f2db8c0..0000000000 --- a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_48.txt +++ /dev/null @@ -1,8 +0,0 @@ -AlterQuery a (children 2) - ExpressionList (children 1) - AlterCommand MODIFY_COLUMN (children 2) - ColumnDeclaration y (children 1) - Literal \'5\' - ExpressionList (children 1) - Identifier max_compress_block_size - Identifier a diff --git a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_49.txt b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_49.txt deleted file mode 100644 index 7525d2bbca..0000000000 --- a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_49.txt +++ /dev/null @@ -1,10 +0,0 @@ -AlterQuery a (children 2) - ExpressionList (children 1) - AlterCommand MODIFY_COLUMN (children 2) - ColumnDeclaration y (children 1) - Function CODEC (children 1) - ExpressionList (children 1) - Function ZSTD - ExpressionList (children 1) - Identifier max_compress_block_size - Identifier a diff --git a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_5.txt b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_5.txt deleted file mode 100644 index bcd35d5ed2..0000000000 --- a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_5.txt +++ /dev/null @@ -1,6 +0,0 @@ -AlterQuery a (children 2) - ExpressionList (children 1) - AlterCommand MODIFY_COLUMN (children 1) - ColumnDeclaration y (children 1) - Literal UInt64_2 - Identifier a diff --git a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_50.txt b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_50.txt deleted file mode 100644 index aed9d063ca..0000000000 --- a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_50.txt +++ /dev/null @@ -1,10 +0,0 @@ -AlterQuery a (children 2) - ExpressionList (children 1) - AlterCommand MODIFY_COLUMN (children 2) - ColumnDeclaration y (children 1) - DataType STATISTICS (children 1) - ExpressionList (children 1) - DataType tdigest - ExpressionList (children 1) - Identifier max_compress_block_size - Identifier a diff --git a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_51.txt b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_51.txt deleted file mode 100644 index ffaec79929..0000000000 --- a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_51.txt +++ /dev/null @@ -1,7 +0,0 @@ -AlterQuery a (children 2) - ExpressionList (children 1) - AlterCommand MODIFY_COLUMN (children 2) - ColumnDeclaration y - ExpressionList (children 1) - Identifier max_compress_block_size - Identifier a diff --git a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_53.txt b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_53.txt deleted file mode 100644 index 7e45a573dc..0000000000 --- a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_53.txt +++ /dev/null @@ -1,9 +0,0 @@ -AlterQuery a (children 2) - ExpressionList (children 1) - AlterCommand MODIFY_COLUMN (children 2) - ColumnDeclaration y (children 2) - DataType Int64 - Literal UInt64_2 - ExpressionList (children 1) - Identifier max_compress_block_size - Identifier a diff --git a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_54.txt b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_54.txt deleted file mode 100644 index 7b1aa86ce4..0000000000 --- a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_54.txt +++ /dev/null @@ -1,9 +0,0 @@ -AlterQuery a (children 2) - ExpressionList (children 1) - AlterCommand MODIFY_COLUMN (children 2) - ColumnDeclaration y (children 2) - DataType Int64 - Literal UInt64_3 - ExpressionList (children 1) - Identifier max_compress_block_size - Identifier a diff --git a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_55.txt b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_55.txt deleted file mode 100644 index 01294c696a..0000000000 --- a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_55.txt +++ /dev/null @@ -1,9 +0,0 @@ -AlterQuery a (children 2) - ExpressionList (children 1) - AlterCommand MODIFY_COLUMN (children 2) - ColumnDeclaration y (children 2) - DataType Int64 - Literal UInt64_4 - ExpressionList (children 1) - Identifier max_compress_block_size - Identifier a diff --git a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_56.txt b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_56.txt deleted file mode 100644 index bad8ce08bf..0000000000 --- a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_56.txt +++ /dev/null @@ -1,9 +0,0 @@ -AlterQuery a (children 2) - ExpressionList (children 1) - AlterCommand MODIFY_COLUMN (children 2) - ColumnDeclaration y (children 2) - DataType Int64 - Literal \'5\' - ExpressionList (children 1) - Identifier max_compress_block_size - Identifier a diff --git a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_57.txt b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_57.txt deleted file mode 100644 index 8f7cfb7745..0000000000 --- a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_57.txt +++ /dev/null @@ -1,11 +0,0 @@ -AlterQuery a (children 2) - ExpressionList (children 1) - AlterCommand MODIFY_COLUMN (children 2) - ColumnDeclaration y (children 2) - DataType Int64 - Function CODEC (children 1) - ExpressionList (children 1) - Function ZSTD - ExpressionList (children 1) - Identifier max_compress_block_size - Identifier a diff --git a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_58.txt b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_58.txt deleted file mode 100644 index 591b23abdc..0000000000 --- a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_58.txt +++ /dev/null @@ -1,11 +0,0 @@ -AlterQuery a (children 2) - ExpressionList (children 1) - AlterCommand MODIFY_COLUMN (children 2) - ColumnDeclaration y (children 2) - DataType Int64 - Function STATISTICS (children 1) - ExpressionList (children 1) - Function tdigest - ExpressionList (children 1) - Identifier max_compress_block_size - Identifier a diff --git a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_59.txt b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_59.txt deleted file mode 100644 index cb1a2b36d6..0000000000 --- a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_59.txt +++ /dev/null @@ -1,16 +0,0 @@ -AlterQuery a (children 2) - ExpressionList (children 1) - AlterCommand MODIFY_COLUMN (children 2) - ColumnDeclaration y (children 2) - DataType Int64 - Function plus (children 1) - ExpressionList (children 2) - Function toDate (children 1) - ExpressionList (children 1) - Literal \'2025-01-01\' - Function toIntervalDay (children 1) - ExpressionList (children 1) - Identifier x - ExpressionList (children 1) - Identifier max_compress_block_size - Identifier a diff --git a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_6.txt b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_6.txt deleted file mode 100644 index ab3d609846..0000000000 --- a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_6.txt +++ /dev/null @@ -1,6 +0,0 @@ -AlterQuery a (children 2) - ExpressionList (children 1) - AlterCommand MODIFY_COLUMN (children 1) - ColumnDeclaration y (children 1) - Literal UInt64_3 - Identifier a diff --git a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_60.txt b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_60.txt deleted file mode 100644 index 08c325e977..0000000000 --- a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_60.txt +++ /dev/null @@ -1,9 +0,0 @@ -AlterQuery a (children 2) - ExpressionList (children 1) - AlterCommand MODIFY_COLUMN (children 2) - ColumnDeclaration y (children 2) - DataType Int64 - Collation - ExpressionList (children 1) - Identifier max_compress_block_size - Identifier a diff --git a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_61.txt b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_61.txt deleted file mode 100644 index 60b720bcad..0000000000 --- a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_61.txt +++ /dev/null @@ -1,9 +0,0 @@ -AlterQuery a (children 2) - ExpressionList (children 1) - AlterCommand MODIFY_COLUMN (children 2) - ColumnDeclaration y (children 2) - DataType Int64 - Set - ExpressionList (children 1) - Identifier max_compress_block_size - Identifier a diff --git a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_62.txt b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_62.txt deleted file mode 100644 index 866bb65923..0000000000 --- a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_62.txt +++ /dev/null @@ -1,8 +0,0 @@ -AlterQuery a (children 2) - ExpressionList (children 1) - AlterCommand MODIFY_COLUMN (children 2) - ColumnDeclaration y (children 1) - DataType Int64 - ExpressionList (children 1) - Identifier max_compress_block_size - Identifier a diff --git a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_7.txt b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_7.txt deleted file mode 100644 index 7f7a10c467..0000000000 --- a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_7.txt +++ /dev/null @@ -1,6 +0,0 @@ -AlterQuery a (children 2) - ExpressionList (children 1) - AlterCommand MODIFY_COLUMN (children 1) - ColumnDeclaration y (children 1) - Literal UInt64_4 - Identifier a diff --git a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_8.txt b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_8.txt deleted file mode 100644 index 94ca68bfd9..0000000000 --- a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_8.txt +++ /dev/null @@ -1,6 +0,0 @@ -AlterQuery a (children 2) - ExpressionList (children 1) - AlterCommand MODIFY_COLUMN (children 1) - ColumnDeclaration y (children 1) - Literal \'5\' - Identifier a diff --git a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_9.txt b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_9.txt deleted file mode 100644 index 9b7add5df9..0000000000 --- a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain_9.txt +++ /dev/null @@ -1,8 +0,0 @@ -AlterQuery a (children 2) - ExpressionList (children 1) - AlterCommand MODIFY_COLUMN (children 1) - ColumnDeclaration y (children 1) - Function CODEC (children 1) - ExpressionList (children 1) - Function ZSTD - Identifier a diff --git a/parser/testdata/03231_create_with_clone_as/explain_19.txt b/parser/testdata/03231_create_with_clone_as/explain_19.txt new file mode 100644 index 0000000000..b621a03deb --- /dev/null +++ b/parser/testdata/03231_create_with_clone_as/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier foo_memory diff --git a/parser/testdata/03231_create_with_clone_as/explain_20.txt b/parser/testdata/03231_create_with_clone_as/explain_20.txt new file mode 100644 index 0000000000..5336839a80 --- /dev/null +++ b/parser/testdata/03231_create_with_clone_as/explain_20.txt @@ -0,0 +1,2 @@ +CreateQuery clone_as_foo_memory (children 1) + Identifier clone_as_foo_memory diff --git a/parser/testdata/03231_create_with_clone_as/explain_23.txt b/parser/testdata/03231_create_with_clone_as/explain_23.txt new file mode 100644 index 0000000000..d69b8da163 --- /dev/null +++ b/parser/testdata/03231_create_with_clone_as/explain_23.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier foo_file diff --git a/parser/testdata/03231_create_with_clone_as/explain_24.txt b/parser/testdata/03231_create_with_clone_as/explain_24.txt new file mode 100644 index 0000000000..67f4fb07bf --- /dev/null +++ b/parser/testdata/03231_create_with_clone_as/explain_24.txt @@ -0,0 +1,2 @@ +CreateQuery clone_as_foo_file (children 1) + Identifier clone_as_foo_file diff --git a/parser/testdata/03231_create_with_clone_as/explain_27.txt b/parser/testdata/03231_create_with_clone_as/explain_27.txt new file mode 100644 index 0000000000..71e07aa041 --- /dev/null +++ b/parser/testdata/03231_create_with_clone_as/explain_27.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier foo_merge_tree diff --git a/parser/testdata/03231_create_with_clone_as/explain_29.txt b/parser/testdata/03231_create_with_clone_as/explain_29.txt new file mode 100644 index 0000000000..b62fd7d729 --- /dev/null +++ b/parser/testdata/03231_create_with_clone_as/explain_29.txt @@ -0,0 +1,2 @@ +CreateQuery clone_as_foo_merge_tree (children 1) + Identifier clone_as_foo_merge_tree diff --git a/parser/testdata/03231_create_with_clone_as/explain_35.txt b/parser/testdata/03231_create_with_clone_as/explain_35.txt new file mode 100644 index 0000000000..a9f7adde21 --- /dev/null +++ b/parser/testdata/03231_create_with_clone_as/explain_35.txt @@ -0,0 +1,5 @@ +CreateQuery clone_as_foo_merge_tree_p_x (children 2) + Identifier clone_as_foo_merge_tree_p_x + Storage definition (children 2) + Function MergeTree + Identifier x diff --git a/parser/testdata/03231_create_with_clone_as/explain_38.txt b/parser/testdata/03231_create_with_clone_as/explain_38.txt new file mode 100644 index 0000000000..42015db7ac --- /dev/null +++ b/parser/testdata/03231_create_with_clone_as/explain_38.txt @@ -0,0 +1,5 @@ +CreateQuery clone_as_foo_merge_tree_p_y (children 2) + Identifier clone_as_foo_merge_tree_p_y + Storage definition (children 2) + Function MergeTree + Identifier y diff --git a/parser/testdata/03231_create_with_clone_as/explain_41.txt b/parser/testdata/03231_create_with_clone_as/explain_41.txt new file mode 100644 index 0000000000..621a9b8e96 --- /dev/null +++ b/parser/testdata/03231_create_with_clone_as/explain_41.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier foo_replacing_merge_tree diff --git a/parser/testdata/03231_create_with_clone_as/explain_43.txt b/parser/testdata/03231_create_with_clone_as/explain_43.txt new file mode 100644 index 0000000000..d13ee9a46e --- /dev/null +++ b/parser/testdata/03231_create_with_clone_as/explain_43.txt @@ -0,0 +1,2 @@ +CreateQuery clone_as_foo_replacing_merge_tree (children 1) + Identifier clone_as_foo_replacing_merge_tree diff --git a/parser/testdata/03231_create_with_clone_as/explain_49.txt b/parser/testdata/03231_create_with_clone_as/explain_49.txt new file mode 100644 index 0000000000..77d3ae8851 --- /dev/null +++ b/parser/testdata/03231_create_with_clone_as/explain_49.txt @@ -0,0 +1,5 @@ +CreateQuery clone_as_foo_replacing_merge_tree_p_x (children 2) + Identifier clone_as_foo_replacing_merge_tree_p_x + Storage definition (children 2) + Function ReplacingMergeTree + Identifier x diff --git a/parser/testdata/03231_create_with_clone_as/explain_52.txt b/parser/testdata/03231_create_with_clone_as/explain_52.txt new file mode 100644 index 0000000000..02710cdd73 --- /dev/null +++ b/parser/testdata/03231_create_with_clone_as/explain_52.txt @@ -0,0 +1,5 @@ +CreateQuery clone_as_foo_replacing_merge_tree_p_y (children 2) + Identifier clone_as_foo_replacing_merge_tree_p_y + Storage definition (children 2) + Function ReplacingMergeTree + Identifier y diff --git a/parser/testdata/03231_create_with_clone_as/explain_55.txt b/parser/testdata/03231_create_with_clone_as/explain_55.txt new file mode 100644 index 0000000000..4f22fcea39 --- /dev/null +++ b/parser/testdata/03231_create_with_clone_as/explain_55.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier foo_replicated_merge_tree diff --git a/parser/testdata/03231_create_with_clone_as/explain_58.txt b/parser/testdata/03231_create_with_clone_as/explain_58.txt new file mode 100644 index 0000000000..27f4175e12 --- /dev/null +++ b/parser/testdata/03231_create_with_clone_as/explain_58.txt @@ -0,0 +1,2 @@ +CreateQuery clone_as_foo_replicated_merge_tree (children 1) + Identifier clone_as_foo_replicated_merge_tree diff --git a/parser/testdata/03231_create_with_clone_as/explain_59.txt b/parser/testdata/03231_create_with_clone_as/explain_59.txt new file mode 100644 index 0000000000..fea5537b45 --- /dev/null +++ b/parser/testdata/03231_create_with_clone_as/explain_59.txt @@ -0,0 +1,8 @@ +CreateQuery clone_as_foo_replicated_merge_tree_p_x (children 2) + Identifier clone_as_foo_replicated_merge_tree_p_x + Storage definition (children 2) + Function ReplicatedMergeTree (children 1) + ExpressionList (children 2) + Literal \'/clickhouse/tables/{database}/clone_as_foo_replicated_merge_tree_p_x\' + Literal \'r1\' + Identifier x diff --git a/parser/testdata/03231_create_with_clone_as/explain_63.txt b/parser/testdata/03231_create_with_clone_as/explain_63.txt new file mode 100644 index 0000000000..59929ffba7 --- /dev/null +++ b/parser/testdata/03231_create_with_clone_as/explain_63.txt @@ -0,0 +1,8 @@ +CreateQuery clone_as_foo_replicated_merge_tree_p_y (children 2) + Identifier clone_as_foo_replicated_merge_tree_p_y + Storage definition (children 2) + Function ReplicatedMergeTree (children 1) + ExpressionList (children 2) + Literal \'/clickhouse/tables/{database}/clone_as_foo_replicated_merge_tree_p_y\' + Literal \'r1\' + Identifier y diff --git a/parser/testdata/03231_create_with_clone_as/explain_85.txt b/parser/testdata/03231_create_with_clone_as/explain_85.txt new file mode 100644 index 0000000000..71e07aa041 --- /dev/null +++ b/parser/testdata/03231_create_with_clone_as/explain_85.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier foo_merge_tree diff --git a/parser/testdata/03231_create_with_clone_as/explain_88.txt b/parser/testdata/03231_create_with_clone_as/explain_88.txt new file mode 100644 index 0000000000..b62fd7d729 --- /dev/null +++ b/parser/testdata/03231_create_with_clone_as/explain_88.txt @@ -0,0 +1,2 @@ +CreateQuery clone_as_foo_merge_tree (children 1) + Identifier clone_as_foo_merge_tree diff --git a/parser/testdata/03231_dynamic_incomplete_type_insert_bug/explain_5.txt b/parser/testdata/03231_dynamic_incomplete_type_insert_bug/explain_5.txt new file mode 100644 index 0000000000..a032fb3bba --- /dev/null +++ b/parser/testdata/03231_dynamic_incomplete_type_insert_bug/explain_5.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03231_dynamic_incomplete_type_insert_bug/explain_6.txt b/parser/testdata/03231_dynamic_incomplete_type_insert_bug/explain_6.txt new file mode 100644 index 0000000000..a032fb3bba --- /dev/null +++ b/parser/testdata/03231_dynamic_incomplete_type_insert_bug/explain_6.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03231_dynamic_incomplete_type_insert_bug/explain_7.txt b/parser/testdata/03231_dynamic_incomplete_type_insert_bug/explain_7.txt new file mode 100644 index 0000000000..a032fb3bba --- /dev/null +++ b/parser/testdata/03231_dynamic_incomplete_type_insert_bug/explain_7.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03231_dynamic_incomplete_type_insert_bug/explain_8.txt b/parser/testdata/03231_dynamic_incomplete_type_insert_bug/explain_8.txt new file mode 100644 index 0000000000..a032fb3bba --- /dev/null +++ b/parser/testdata/03231_dynamic_incomplete_type_insert_bug/explain_8.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03231_dynamic_uniq_group_by/explain_10.txt b/parser/testdata/03231_dynamic_uniq_group_by/explain_10.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03231_dynamic_uniq_group_by/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03231_dynamic_uniq_group_by/explain_11.txt b/parser/testdata/03231_dynamic_uniq_group_by/explain_11.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03231_dynamic_uniq_group_by/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03231_dynamic_uniq_group_by/explain_12.txt b/parser/testdata/03231_dynamic_uniq_group_by/explain_12.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03231_dynamic_uniq_group_by/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03231_dynamic_uniq_group_by/explain_13.txt b/parser/testdata/03231_dynamic_uniq_group_by/explain_13.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03231_dynamic_uniq_group_by/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03231_dynamic_uniq_group_by/explain_6.txt b/parser/testdata/03231_dynamic_uniq_group_by/explain_6.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03231_dynamic_uniq_group_by/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03231_dynamic_uniq_group_by/explain_7.txt b/parser/testdata/03231_dynamic_uniq_group_by/explain_7.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03231_dynamic_uniq_group_by/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03231_dynamic_uniq_group_by/explain_8.txt b/parser/testdata/03231_dynamic_uniq_group_by/explain_8.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03231_dynamic_uniq_group_by/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03231_dynamic_uniq_group_by/explain_9.txt b/parser/testdata/03231_dynamic_uniq_group_by/explain_9.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03231_dynamic_uniq_group_by/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03231_pr_duplicate_announcement/explain_3.txt b/parser/testdata/03231_pr_duplicate_announcement/explain_3.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/03231_pr_duplicate_announcement/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/03231_pr_duplicate_announcement/explain_6.txt b/parser/testdata/03231_pr_duplicate_announcement/explain_6.txt new file mode 100644 index 0000000000..1335dcf5d5 --- /dev/null +++ b/parser/testdata/03231_pr_duplicate_announcement/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_for_in diff --git a/parser/testdata/03231_pr_duplicate_announcement_2/explain_3.txt b/parser/testdata/03231_pr_duplicate_announcement_2/explain_3.txt new file mode 100644 index 0000000000..6649b9e454 --- /dev/null +++ b/parser/testdata/03231_pr_duplicate_announcement_2/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier ANIMAL + ExpressionList (children 1) + Identifier ANIMAL diff --git a/parser/testdata/03231_prewhere_conditions_order/explain_3.txt b/parser/testdata/03231_prewhere_conditions_order/explain_3.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03231_prewhere_conditions_order/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03231_prewhere_conditions_order/explain_4.txt b/parser/testdata/03231_prewhere_conditions_order/explain_4.txt new file mode 100644 index 0000000000..16f3d40684 --- /dev/null +++ b/parser/testdata/03231_prewhere_conditions_order/explain_4.txt @@ -0,0 +1,30 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test + Function and (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_1 + Function arrayExists (children 1) + ExpressionList (children 3) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 2) + Identifier x1 + Identifier x2 + Function equals (children 1) + ExpressionList (children 2) + Identifier x1 + Identifier x2 + Identifier arr1 + Identifier arr2 + Set diff --git a/parser/testdata/03231_values_respect_format_settings_in_fields_conversion/explain_4.txt b/parser/testdata/03231_values_respect_format_settings_in_fields_conversion/explain_4.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03231_values_respect_format_settings_in_fields_conversion/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03232_json_uniq_group_by/explain_10.txt b/parser/testdata/03232_json_uniq_group_by/explain_10.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03232_json_uniq_group_by/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03232_json_uniq_group_by/explain_11.txt b/parser/testdata/03232_json_uniq_group_by/explain_11.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03232_json_uniq_group_by/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03232_json_uniq_group_by/explain_12.txt b/parser/testdata/03232_json_uniq_group_by/explain_12.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03232_json_uniq_group_by/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03232_json_uniq_group_by/explain_13.txt b/parser/testdata/03232_json_uniq_group_by/explain_13.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03232_json_uniq_group_by/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03232_json_uniq_group_by/explain_14.txt b/parser/testdata/03232_json_uniq_group_by/explain_14.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03232_json_uniq_group_by/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03232_json_uniq_group_by/explain_15.txt b/parser/testdata/03232_json_uniq_group_by/explain_15.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03232_json_uniq_group_by/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03232_json_uniq_group_by/explain_16.txt b/parser/testdata/03232_json_uniq_group_by/explain_16.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03232_json_uniq_group_by/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03232_json_uniq_group_by/explain_17.txt b/parser/testdata/03232_json_uniq_group_by/explain_17.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03232_json_uniq_group_by/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03232_json_uniq_group_by/explain_18.txt b/parser/testdata/03232_json_uniq_group_by/explain_18.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03232_json_uniq_group_by/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03232_json_uniq_group_by/explain_19.txt b/parser/testdata/03232_json_uniq_group_by/explain_19.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03232_json_uniq_group_by/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03232_json_uniq_group_by/explain_20.txt b/parser/testdata/03232_json_uniq_group_by/explain_20.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03232_json_uniq_group_by/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03232_json_uniq_group_by/explain_21.txt b/parser/testdata/03232_json_uniq_group_by/explain_21.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03232_json_uniq_group_by/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03232_json_uniq_group_by/explain_22.txt b/parser/testdata/03232_json_uniq_group_by/explain_22.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03232_json_uniq_group_by/explain_22.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03232_json_uniq_group_by/explain_23.txt b/parser/testdata/03232_json_uniq_group_by/explain_23.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03232_json_uniq_group_by/explain_23.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03232_json_uniq_group_by/explain_24.txt b/parser/testdata/03232_json_uniq_group_by/explain_24.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03232_json_uniq_group_by/explain_24.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03232_json_uniq_group_by/explain_25.txt b/parser/testdata/03232_json_uniq_group_by/explain_25.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03232_json_uniq_group_by/explain_25.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03232_json_uniq_group_by/explain_26.txt b/parser/testdata/03232_json_uniq_group_by/explain_26.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03232_json_uniq_group_by/explain_26.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03232_json_uniq_group_by/explain_27.txt b/parser/testdata/03232_json_uniq_group_by/explain_27.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03232_json_uniq_group_by/explain_27.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03232_json_uniq_group_by/explain_28.txt b/parser/testdata/03232_json_uniq_group_by/explain_28.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03232_json_uniq_group_by/explain_28.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03232_json_uniq_group_by/explain_29.txt b/parser/testdata/03232_json_uniq_group_by/explain_29.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03232_json_uniq_group_by/explain_29.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03232_json_uniq_group_by/explain_30.txt b/parser/testdata/03232_json_uniq_group_by/explain_30.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03232_json_uniq_group_by/explain_30.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03232_json_uniq_group_by/explain_31.txt b/parser/testdata/03232_json_uniq_group_by/explain_31.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03232_json_uniq_group_by/explain_31.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03232_json_uniq_group_by/explain_32.txt b/parser/testdata/03232_json_uniq_group_by/explain_32.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03232_json_uniq_group_by/explain_32.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03232_json_uniq_group_by/explain_33.txt b/parser/testdata/03232_json_uniq_group_by/explain_33.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03232_json_uniq_group_by/explain_33.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03232_json_uniq_group_by/explain_4.txt b/parser/testdata/03232_json_uniq_group_by/explain_4.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03232_json_uniq_group_by/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03232_json_uniq_group_by/explain_5.txt b/parser/testdata/03232_json_uniq_group_by/explain_5.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03232_json_uniq_group_by/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03232_json_uniq_group_by/explain_6.txt b/parser/testdata/03232_json_uniq_group_by/explain_6.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03232_json_uniq_group_by/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03232_json_uniq_group_by/explain_7.txt b/parser/testdata/03232_json_uniq_group_by/explain_7.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03232_json_uniq_group_by/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03232_json_uniq_group_by/explain_8.txt b/parser/testdata/03232_json_uniq_group_by/explain_8.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03232_json_uniq_group_by/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03232_json_uniq_group_by/explain_9.txt b/parser/testdata/03232_json_uniq_group_by/explain_9.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03232_json_uniq_group_by/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03232_workload_create_and_drop/explain_3.txt b/parser/testdata/03232_workload_create_and_drop/explain_3.txt new file mode 100644 index 0000000000..b1b1b19e8d --- /dev/null +++ b/parser/testdata/03232_workload_create_and_drop/explain_3.txt @@ -0,0 +1,3 @@ +CreateWorkloadQuery production (children 2) + Identifier production + Identifier all diff --git a/parser/testdata/03232_workload_create_and_drop/explain_4.txt b/parser/testdata/03232_workload_create_and_drop/explain_4.txt new file mode 100644 index 0000000000..c66634e02e --- /dev/null +++ b/parser/testdata/03232_workload_create_and_drop/explain_4.txt @@ -0,0 +1,3 @@ +CreateWorkloadQuery development (children 2) + Identifier development + Identifier all diff --git a/parser/testdata/03232_workload_create_and_drop/explain_6.txt b/parser/testdata/03232_workload_create_and_drop/explain_6.txt new file mode 100644 index 0000000000..74b198f61f --- /dev/null +++ b/parser/testdata/03232_workload_create_and_drop/explain_6.txt @@ -0,0 +1 @@ +DropWorkloadQuery diff --git a/parser/testdata/03232_workload_create_and_drop/explain_7.txt b/parser/testdata/03232_workload_create_and_drop/explain_7.txt new file mode 100644 index 0000000000..74b198f61f --- /dev/null +++ b/parser/testdata/03232_workload_create_and_drop/explain_7.txt @@ -0,0 +1 @@ +DropWorkloadQuery diff --git a/parser/testdata/03232_workload_create_and_drop/explain_9.txt b/parser/testdata/03232_workload_create_and_drop/explain_9.txt new file mode 100644 index 0000000000..74b198f61f --- /dev/null +++ b/parser/testdata/03232_workload_create_and_drop/explain_9.txt @@ -0,0 +1 @@ +DropWorkloadQuery diff --git a/parser/testdata/03232_workloads_and_resources/explain_10.txt b/parser/testdata/03232_workloads_and_resources/explain_10.txt new file mode 100644 index 0000000000..74b198f61f --- /dev/null +++ b/parser/testdata/03232_workloads_and_resources/explain_10.txt @@ -0,0 +1 @@ +DropWorkloadQuery diff --git a/parser/testdata/03232_workloads_and_resources/explain_11.txt b/parser/testdata/03232_workloads_and_resources/explain_11.txt new file mode 100644 index 0000000000..0770f9fc75 --- /dev/null +++ b/parser/testdata/03232_workloads_and_resources/explain_11.txt @@ -0,0 +1,3 @@ +CreateWorkloadQuery invalid (children 2) + Identifier invalid + Identifier 03232_write diff --git a/parser/testdata/03232_workloads_and_resources/explain_12.txt b/parser/testdata/03232_workloads_and_resources/explain_12.txt new file mode 100644 index 0000000000..0323a0ad9b --- /dev/null +++ b/parser/testdata/03232_workloads_and_resources/explain_12.txt @@ -0,0 +1,3 @@ +CreateWorkloadQuery invalid (children 2) + Identifier invalid + Identifier all diff --git a/parser/testdata/03232_workloads_and_resources/explain_13.txt b/parser/testdata/03232_workloads_and_resources/explain_13.txt new file mode 100644 index 0000000000..0323a0ad9b --- /dev/null +++ b/parser/testdata/03232_workloads_and_resources/explain_13.txt @@ -0,0 +1,3 @@ +CreateWorkloadQuery invalid (children 2) + Identifier invalid + Identifier all diff --git a/parser/testdata/03232_workloads_and_resources/explain_14.txt b/parser/testdata/03232_workloads_and_resources/explain_14.txt new file mode 100644 index 0000000000..0323a0ad9b --- /dev/null +++ b/parser/testdata/03232_workloads_and_resources/explain_14.txt @@ -0,0 +1,3 @@ +CreateWorkloadQuery invalid (children 2) + Identifier invalid + Identifier all diff --git a/parser/testdata/03232_workloads_and_resources/explain_15.txt b/parser/testdata/03232_workloads_and_resources/explain_15.txt new file mode 100644 index 0000000000..0323a0ad9b --- /dev/null +++ b/parser/testdata/03232_workloads_and_resources/explain_15.txt @@ -0,0 +1,3 @@ +CreateWorkloadQuery invalid (children 2) + Identifier invalid + Identifier all diff --git a/parser/testdata/03232_workloads_and_resources/explain_16.txt b/parser/testdata/03232_workloads_and_resources/explain_16.txt new file mode 100644 index 0000000000..0323a0ad9b --- /dev/null +++ b/parser/testdata/03232_workloads_and_resources/explain_16.txt @@ -0,0 +1,3 @@ +CreateWorkloadQuery invalid (children 2) + Identifier invalid + Identifier all diff --git a/parser/testdata/03232_workloads_and_resources/explain_17.txt b/parser/testdata/03232_workloads_and_resources/explain_17.txt new file mode 100644 index 0000000000..0323a0ad9b --- /dev/null +++ b/parser/testdata/03232_workloads_and_resources/explain_17.txt @@ -0,0 +1,3 @@ +CreateWorkloadQuery invalid (children 2) + Identifier invalid + Identifier all diff --git a/parser/testdata/03232_workloads_and_resources/explain_18.txt b/parser/testdata/03232_workloads_and_resources/explain_18.txt new file mode 100644 index 0000000000..0323a0ad9b --- /dev/null +++ b/parser/testdata/03232_workloads_and_resources/explain_18.txt @@ -0,0 +1,3 @@ +CreateWorkloadQuery invalid (children 2) + Identifier invalid + Identifier all diff --git a/parser/testdata/03232_workloads_and_resources/explain_19.txt b/parser/testdata/03232_workloads_and_resources/explain_19.txt new file mode 100644 index 0000000000..0323a0ad9b --- /dev/null +++ b/parser/testdata/03232_workloads_and_resources/explain_19.txt @@ -0,0 +1,3 @@ +CreateWorkloadQuery invalid (children 2) + Identifier invalid + Identifier all diff --git a/parser/testdata/03232_workloads_and_resources/explain_2.txt b/parser/testdata/03232_workloads_and_resources/explain_2.txt new file mode 100644 index 0000000000..5c29790910 --- /dev/null +++ b/parser/testdata/03232_workloads_and_resources/explain_2.txt @@ -0,0 +1,2 @@ +CreateResourceQuery 03232_read (children 1) + Identifier 03232_read diff --git a/parser/testdata/03232_workloads_and_resources/explain_20.txt b/parser/testdata/03232_workloads_and_resources/explain_20.txt new file mode 100644 index 0000000000..0323a0ad9b --- /dev/null +++ b/parser/testdata/03232_workloads_and_resources/explain_20.txt @@ -0,0 +1,3 @@ +CreateWorkloadQuery invalid (children 2) + Identifier invalid + Identifier all diff --git a/parser/testdata/03232_workloads_and_resources/explain_21.txt b/parser/testdata/03232_workloads_and_resources/explain_21.txt new file mode 100644 index 0000000000..d1ea687741 --- /dev/null +++ b/parser/testdata/03232_workloads_and_resources/explain_21.txt @@ -0,0 +1,3 @@ +CreateWorkloadQuery all (children 2) + Identifier all + Identifier production diff --git a/parser/testdata/03232_workloads_and_resources/explain_22.txt b/parser/testdata/03232_workloads_and_resources/explain_22.txt new file mode 100644 index 0000000000..b8021cac3b --- /dev/null +++ b/parser/testdata/03232_workloads_and_resources/explain_22.txt @@ -0,0 +1,2 @@ +CreateWorkloadQuery all (children 1) + Identifier all diff --git a/parser/testdata/03232_workloads_and_resources/explain_23.txt b/parser/testdata/03232_workloads_and_resources/explain_23.txt new file mode 100644 index 0000000000..9a27bf664a --- /dev/null +++ b/parser/testdata/03232_workloads_and_resources/explain_23.txt @@ -0,0 +1,3 @@ +CreateWorkloadQuery admin (children 2) + Identifier admin + Identifier all diff --git a/parser/testdata/03232_workloads_and_resources/explain_24.txt b/parser/testdata/03232_workloads_and_resources/explain_24.txt new file mode 100644 index 0000000000..9a27bf664a --- /dev/null +++ b/parser/testdata/03232_workloads_and_resources/explain_24.txt @@ -0,0 +1,3 @@ +CreateWorkloadQuery admin (children 2) + Identifier admin + Identifier all diff --git a/parser/testdata/03232_workloads_and_resources/explain_25.txt b/parser/testdata/03232_workloads_and_resources/explain_25.txt new file mode 100644 index 0000000000..9a27bf664a --- /dev/null +++ b/parser/testdata/03232_workloads_and_resources/explain_25.txt @@ -0,0 +1,3 @@ +CreateWorkloadQuery admin (children 2) + Identifier admin + Identifier all diff --git a/parser/testdata/03232_workloads_and_resources/explain_26.txt b/parser/testdata/03232_workloads_and_resources/explain_26.txt new file mode 100644 index 0000000000..b1b1b19e8d --- /dev/null +++ b/parser/testdata/03232_workloads_and_resources/explain_26.txt @@ -0,0 +1,3 @@ +CreateWorkloadQuery production (children 2) + Identifier production + Identifier all diff --git a/parser/testdata/03232_workloads_and_resources/explain_27.txt b/parser/testdata/03232_workloads_and_resources/explain_27.txt new file mode 100644 index 0000000000..b1b1b19e8d --- /dev/null +++ b/parser/testdata/03232_workloads_and_resources/explain_27.txt @@ -0,0 +1,3 @@ +CreateWorkloadQuery production (children 2) + Identifier production + Identifier all diff --git a/parser/testdata/03232_workloads_and_resources/explain_28.txt b/parser/testdata/03232_workloads_and_resources/explain_28.txt new file mode 100644 index 0000000000..b1b1b19e8d --- /dev/null +++ b/parser/testdata/03232_workloads_and_resources/explain_28.txt @@ -0,0 +1,3 @@ +CreateWorkloadQuery production (children 2) + Identifier production + Identifier all diff --git a/parser/testdata/03232_workloads_and_resources/explain_29.txt b/parser/testdata/03232_workloads_and_resources/explain_29.txt new file mode 100644 index 0000000000..c66634e02e --- /dev/null +++ b/parser/testdata/03232_workloads_and_resources/explain_29.txt @@ -0,0 +1,3 @@ +CreateWorkloadQuery development (children 2) + Identifier development + Identifier all diff --git a/parser/testdata/03232_workloads_and_resources/explain_30.txt b/parser/testdata/03232_workloads_and_resources/explain_30.txt new file mode 100644 index 0000000000..c66634e02e --- /dev/null +++ b/parser/testdata/03232_workloads_and_resources/explain_30.txt @@ -0,0 +1,3 @@ +CreateWorkloadQuery development (children 2) + Identifier development + Identifier all diff --git a/parser/testdata/03232_workloads_and_resources/explain_31.txt b/parser/testdata/03232_workloads_and_resources/explain_31.txt new file mode 100644 index 0000000000..c66634e02e --- /dev/null +++ b/parser/testdata/03232_workloads_and_resources/explain_31.txt @@ -0,0 +1,3 @@ +CreateWorkloadQuery development (children 2) + Identifier development + Identifier all diff --git a/parser/testdata/03232_workloads_and_resources/explain_32.txt b/parser/testdata/03232_workloads_and_resources/explain_32.txt new file mode 100644 index 0000000000..c05a30607c --- /dev/null +++ b/parser/testdata/03232_workloads_and_resources/explain_32.txt @@ -0,0 +1,2 @@ +CreateResourceQuery 03232_write (children 1) + Identifier 03232_write diff --git a/parser/testdata/03232_workloads_and_resources/explain_33.txt b/parser/testdata/03232_workloads_and_resources/explain_33.txt new file mode 100644 index 0000000000..5c29790910 --- /dev/null +++ b/parser/testdata/03232_workloads_and_resources/explain_33.txt @@ -0,0 +1,2 @@ +CreateResourceQuery 03232_read (children 1) + Identifier 03232_read diff --git a/parser/testdata/03232_workloads_and_resources/explain_34.txt b/parser/testdata/03232_workloads_and_resources/explain_34.txt new file mode 100644 index 0000000000..b1b1b19e8d --- /dev/null +++ b/parser/testdata/03232_workloads_and_resources/explain_34.txt @@ -0,0 +1,3 @@ +CreateWorkloadQuery production (children 2) + Identifier production + Identifier all diff --git a/parser/testdata/03232_workloads_and_resources/explain_35.txt b/parser/testdata/03232_workloads_and_resources/explain_35.txt new file mode 100644 index 0000000000..c66634e02e --- /dev/null +++ b/parser/testdata/03232_workloads_and_resources/explain_35.txt @@ -0,0 +1,3 @@ +CreateWorkloadQuery development (children 2) + Identifier development + Identifier all diff --git a/parser/testdata/03232_workloads_and_resources/explain_36.txt b/parser/testdata/03232_workloads_and_resources/explain_36.txt new file mode 100644 index 0000000000..b1b1b19e8d --- /dev/null +++ b/parser/testdata/03232_workloads_and_resources/explain_36.txt @@ -0,0 +1,3 @@ +CreateWorkloadQuery production (children 2) + Identifier production + Identifier all diff --git a/parser/testdata/03232_workloads_and_resources/explain_37.txt b/parser/testdata/03232_workloads_and_resources/explain_37.txt new file mode 100644 index 0000000000..c66634e02e --- /dev/null +++ b/parser/testdata/03232_workloads_and_resources/explain_37.txt @@ -0,0 +1,3 @@ +CreateWorkloadQuery development (children 2) + Identifier development + Identifier all diff --git a/parser/testdata/03232_workloads_and_resources/explain_38.txt b/parser/testdata/03232_workloads_and_resources/explain_38.txt new file mode 100644 index 0000000000..b1b1b19e8d --- /dev/null +++ b/parser/testdata/03232_workloads_and_resources/explain_38.txt @@ -0,0 +1,3 @@ +CreateWorkloadQuery production (children 2) + Identifier production + Identifier all diff --git a/parser/testdata/03232_workloads_and_resources/explain_39.txt b/parser/testdata/03232_workloads_and_resources/explain_39.txt new file mode 100644 index 0000000000..c66634e02e --- /dev/null +++ b/parser/testdata/03232_workloads_and_resources/explain_39.txt @@ -0,0 +1,3 @@ +CreateWorkloadQuery development (children 2) + Identifier development + Identifier all diff --git a/parser/testdata/03232_workloads_and_resources/explain_4.txt b/parser/testdata/03232_workloads_and_resources/explain_4.txt new file mode 100644 index 0000000000..b8021cac3b --- /dev/null +++ b/parser/testdata/03232_workloads_and_resources/explain_4.txt @@ -0,0 +1,2 @@ +CreateWorkloadQuery all (children 1) + Identifier all diff --git a/parser/testdata/03232_workloads_and_resources/explain_40.txt b/parser/testdata/03232_workloads_and_resources/explain_40.txt new file mode 100644 index 0000000000..b1b1b19e8d --- /dev/null +++ b/parser/testdata/03232_workloads_and_resources/explain_40.txt @@ -0,0 +1,3 @@ +CreateWorkloadQuery production (children 2) + Identifier production + Identifier all diff --git a/parser/testdata/03232_workloads_and_resources/explain_41.txt b/parser/testdata/03232_workloads_and_resources/explain_41.txt new file mode 100644 index 0000000000..c66634e02e --- /dev/null +++ b/parser/testdata/03232_workloads_and_resources/explain_41.txt @@ -0,0 +1,3 @@ +CreateWorkloadQuery development (children 2) + Identifier development + Identifier all diff --git a/parser/testdata/03232_workloads_and_resources/explain_42.txt b/parser/testdata/03232_workloads_and_resources/explain_42.txt new file mode 100644 index 0000000000..b8021cac3b --- /dev/null +++ b/parser/testdata/03232_workloads_and_resources/explain_42.txt @@ -0,0 +1,2 @@ +CreateWorkloadQuery all (children 1) + Identifier all diff --git a/parser/testdata/03232_workloads_and_resources/explain_43.txt b/parser/testdata/03232_workloads_and_resources/explain_43.txt new file mode 100644 index 0000000000..b8021cac3b --- /dev/null +++ b/parser/testdata/03232_workloads_and_resources/explain_43.txt @@ -0,0 +1,2 @@ +CreateWorkloadQuery all (children 1) + Identifier all diff --git a/parser/testdata/03232_workloads_and_resources/explain_44.txt b/parser/testdata/03232_workloads_and_resources/explain_44.txt new file mode 100644 index 0000000000..b1b1b19e8d --- /dev/null +++ b/parser/testdata/03232_workloads_and_resources/explain_44.txt @@ -0,0 +1,3 @@ +CreateWorkloadQuery production (children 2) + Identifier production + Identifier all diff --git a/parser/testdata/03232_workloads_and_resources/explain_45.txt b/parser/testdata/03232_workloads_and_resources/explain_45.txt new file mode 100644 index 0000000000..c66634e02e --- /dev/null +++ b/parser/testdata/03232_workloads_and_resources/explain_45.txt @@ -0,0 +1,3 @@ +CreateWorkloadQuery development (children 2) + Identifier development + Identifier all diff --git a/parser/testdata/03232_workloads_and_resources/explain_46.txt b/parser/testdata/03232_workloads_and_resources/explain_46.txt new file mode 100644 index 0000000000..0db6605b52 --- /dev/null +++ b/parser/testdata/03232_workloads_and_resources/explain_46.txt @@ -0,0 +1,3 @@ +CreateWorkloadQuery development (children 2) + Identifier development + Identifier production diff --git a/parser/testdata/03232_workloads_and_resources/explain_47.txt b/parser/testdata/03232_workloads_and_resources/explain_47.txt new file mode 100644 index 0000000000..43003cec41 --- /dev/null +++ b/parser/testdata/03232_workloads_and_resources/explain_47.txt @@ -0,0 +1,3 @@ +CreateWorkloadQuery development (children 2) + Identifier development + Identifier admin diff --git a/parser/testdata/03232_workloads_and_resources/explain_48.txt b/parser/testdata/03232_workloads_and_resources/explain_48.txt new file mode 100644 index 0000000000..c66634e02e --- /dev/null +++ b/parser/testdata/03232_workloads_and_resources/explain_48.txt @@ -0,0 +1,3 @@ +CreateWorkloadQuery development (children 2) + Identifier development + Identifier all diff --git a/parser/testdata/03232_workloads_and_resources/explain_49.txt b/parser/testdata/03232_workloads_and_resources/explain_49.txt new file mode 100644 index 0000000000..74b198f61f --- /dev/null +++ b/parser/testdata/03232_workloads_and_resources/explain_49.txt @@ -0,0 +1 @@ +DropWorkloadQuery diff --git a/parser/testdata/03232_workloads_and_resources/explain_5.txt b/parser/testdata/03232_workloads_and_resources/explain_5.txt new file mode 100644 index 0000000000..9a27bf664a --- /dev/null +++ b/parser/testdata/03232_workloads_and_resources/explain_5.txt @@ -0,0 +1,3 @@ +CreateWorkloadQuery admin (children 2) + Identifier admin + Identifier all diff --git a/parser/testdata/03232_workloads_and_resources/explain_50.txt b/parser/testdata/03232_workloads_and_resources/explain_50.txt new file mode 100644 index 0000000000..74b198f61f --- /dev/null +++ b/parser/testdata/03232_workloads_and_resources/explain_50.txt @@ -0,0 +1 @@ +DropWorkloadQuery diff --git a/parser/testdata/03232_workloads_and_resources/explain_51.txt b/parser/testdata/03232_workloads_and_resources/explain_51.txt new file mode 100644 index 0000000000..74b198f61f --- /dev/null +++ b/parser/testdata/03232_workloads_and_resources/explain_51.txt @@ -0,0 +1 @@ +DropWorkloadQuery diff --git a/parser/testdata/03232_workloads_and_resources/explain_52.txt b/parser/testdata/03232_workloads_and_resources/explain_52.txt new file mode 100644 index 0000000000..74b198f61f --- /dev/null +++ b/parser/testdata/03232_workloads_and_resources/explain_52.txt @@ -0,0 +1 @@ +DropWorkloadQuery diff --git a/parser/testdata/03232_workloads_and_resources/explain_53.txt b/parser/testdata/03232_workloads_and_resources/explain_53.txt new file mode 100644 index 0000000000..5836e987da --- /dev/null +++ b/parser/testdata/03232_workloads_and_resources/explain_53.txt @@ -0,0 +1 @@ +DropResourceQuery diff --git a/parser/testdata/03232_workloads_and_resources/explain_54.txt b/parser/testdata/03232_workloads_and_resources/explain_54.txt new file mode 100644 index 0000000000..5836e987da --- /dev/null +++ b/parser/testdata/03232_workloads_and_resources/explain_54.txt @@ -0,0 +1 @@ +DropResourceQuery diff --git a/parser/testdata/03232_workloads_and_resources/explain_6.txt b/parser/testdata/03232_workloads_and_resources/explain_6.txt new file mode 100644 index 0000000000..b1b1b19e8d --- /dev/null +++ b/parser/testdata/03232_workloads_and_resources/explain_6.txt @@ -0,0 +1,3 @@ +CreateWorkloadQuery production (children 2) + Identifier production + Identifier all diff --git a/parser/testdata/03232_workloads_and_resources/explain_7.txt b/parser/testdata/03232_workloads_and_resources/explain_7.txt new file mode 100644 index 0000000000..c66634e02e --- /dev/null +++ b/parser/testdata/03232_workloads_and_resources/explain_7.txt @@ -0,0 +1,3 @@ +CreateWorkloadQuery development (children 2) + Identifier development + Identifier all diff --git a/parser/testdata/03232_workloads_and_resources/explain_8.txt b/parser/testdata/03232_workloads_and_resources/explain_8.txt new file mode 100644 index 0000000000..f0d9a54733 --- /dev/null +++ b/parser/testdata/03232_workloads_and_resources/explain_8.txt @@ -0,0 +1,2 @@ +CreateWorkloadQuery another_root (children 1) + Identifier another_root diff --git a/parser/testdata/03232_workloads_and_resources/explain_9.txt b/parser/testdata/03232_workloads_and_resources/explain_9.txt new file mode 100644 index 0000000000..d0d46efe3d --- /dev/null +++ b/parser/testdata/03232_workloads_and_resources/explain_9.txt @@ -0,0 +1,3 @@ +CreateWorkloadQuery self_ref (children 2) + Identifier self_ref + Identifier self_ref diff --git a/parser/testdata/03233_dynamic_in_functions/explain_227.txt b/parser/testdata/03233_dynamic_in_functions/explain_227.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03233_dynamic_in_functions/explain_227.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03233_dynamic_in_functions/explain_261.txt b/parser/testdata/03233_dynamic_in_functions/explain_261.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03233_dynamic_in_functions/explain_261.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03233_dynamic_in_functions/explain_274.txt b/parser/testdata/03233_dynamic_in_functions/explain_274.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03233_dynamic_in_functions/explain_274.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03233_dynamic_in_functions/explain_280.txt b/parser/testdata/03233_dynamic_in_functions/explain_280.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03233_dynamic_in_functions/explain_280.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03234_enable_secure_identifiers/explain_11.txt b/parser/testdata/03234_enable_secure_identifiers/explain_11.txt new file mode 100644 index 0000000000..d64b39dcf7 --- /dev/null +++ b/parser/testdata/03234_enable_secure_identifiers/explain_11.txt @@ -0,0 +1,23 @@ +CreateQuery test_foo (children 5) + Identifier test_foo + Columns definition (children 1) + ExpressionList (children 3) + ColumnDeclaration secure_123 (children 1) + DataType Int8 + ColumnDeclaration date (children 1) + DataType Date + ColumnDeclaration town (children 1) + DataType LowCardinality (children 1) + ExpressionList (children 1) + DataType String + Storage definition (children 3) + Function MergeTree + Function toYear (children 1) + ExpressionList (children 1) + Identifier date + Function tuple (children 1) + ExpressionList (children 2) + Identifier town + Identifier date + Literal \'test\' + Set diff --git a/parser/testdata/03234_enable_secure_identifiers/explain_12.txt b/parser/testdata/03234_enable_secure_identifiers/explain_12.txt new file mode 100644 index 0000000000..cfa5401c5c --- /dev/null +++ b/parser/testdata/03234_enable_secure_identifiers/explain_12.txt @@ -0,0 +1,3 @@ +ShowCreateTableQuery test_foo (children 2) + Identifier test_foo + Set diff --git a/parser/testdata/03234_enable_secure_identifiers/explain_14.txt b/parser/testdata/03234_enable_secure_identifiers/explain_14.txt new file mode 100644 index 0000000000..c9cd1aa7d3 --- /dev/null +++ b/parser/testdata/03234_enable_secure_identifiers/explain_14.txt @@ -0,0 +1,23 @@ +CreateQuery test_foo (children 5) + Identifier test_foo + Columns definition (children 1) + ExpressionList (children 3) + ColumnDeclaration 123_secure (children 1) + DataType Int8 + ColumnDeclaration date (children 1) + DataType Date + ColumnDeclaration town (children 1) + DataType LowCardinality (children 1) + ExpressionList (children 1) + DataType String + Storage definition (children 3) + Function MergeTree + Function toYear (children 1) + ExpressionList (children 1) + Identifier date + Function tuple (children 1) + ExpressionList (children 2) + Identifier town + Identifier date + Literal \'test\' + Set diff --git a/parser/testdata/03234_enable_secure_identifiers/explain_15.txt b/parser/testdata/03234_enable_secure_identifiers/explain_15.txt new file mode 100644 index 0000000000..cfa5401c5c --- /dev/null +++ b/parser/testdata/03234_enable_secure_identifiers/explain_15.txt @@ -0,0 +1,3 @@ +ShowCreateTableQuery test_foo (children 2) + Identifier test_foo + Set diff --git a/parser/testdata/03234_enable_secure_identifiers/explain_18.txt b/parser/testdata/03234_enable_secure_identifiers/explain_18.txt new file mode 100644 index 0000000000..cfa5401c5c --- /dev/null +++ b/parser/testdata/03234_enable_secure_identifiers/explain_18.txt @@ -0,0 +1,3 @@ +ShowCreateTableQuery test_foo (children 2) + Identifier test_foo + Set diff --git a/parser/testdata/03234_evaluate_constant_analyzer/explain.txt b/parser/testdata/03234_evaluate_constant_analyzer/explain.txt index b122f82349..d9d0229a46 100644 --- a/parser/testdata/03234_evaluate_constant_analyzer/explain.txt +++ b/parser/testdata/03234_evaluate_constant_analyzer/explain.txt @@ -72,4 +72,3 @@ SelectWithUnionQuery (children 1) Literal NULL Literal NULL Set -The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT count() FROM numbers(cityHash64(materialize(toLowCardinality(toNullable(0))) GLOBAL IN (NULL, -2147483648, -9223372036854775808), nan, 1024, NULL, materialize(1.000100016593933), 0, NULL), 4) AS n1, numbers(3) AS n2, numbers(6) AS n3 GROUP BY (NULL, cityHash64(inf, -2147483648, toLowCardinality(16), NULL, 10.000100135803223), cityHash64(1.1754943508222875e-38, NULL, NULL, NULL), 2147483647), cityHash64(0., 3, NULL, NULL, 10000000000., NULL, NULL) SETTINGS enable_analyzer = 1; -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/03235_groupArray_string_consistency/explain_2.txt b/parser/testdata/03235_groupArray_string_consistency/explain_2.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03235_groupArray_string_consistency/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03236_test_zero_field_decimal/explain_3.txt b/parser/testdata/03236_test_zero_field_decimal/explain_3.txt new file mode 100644 index 0000000000..dc24a98a11 --- /dev/null +++ b/parser/testdata/03236_test_zero_field_decimal/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users_03236_zero diff --git a/parser/testdata/03236_test_zero_field_decimal/explain_4.txt b/parser/testdata/03236_test_zero_field_decimal/explain_4.txt new file mode 100644 index 0000000000..dc24a98a11 --- /dev/null +++ b/parser/testdata/03236_test_zero_field_decimal/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users_03236_zero diff --git a/parser/testdata/03236_test_zero_field_decimal/explain_5.txt b/parser/testdata/03236_test_zero_field_decimal/explain_5.txt new file mode 100644 index 0000000000..dc24a98a11 --- /dev/null +++ b/parser/testdata/03236_test_zero_field_decimal/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users_03236_zero diff --git a/parser/testdata/03239_nan_with_fill/explain_6.txt b/parser/testdata/03239_nan_with_fill/explain_6.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/03239_nan_with_fill/explain_6.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03240_array_element_or_null/explain_11.txt b/parser/testdata/03240_array_element_or_null/explain_11.txt new file mode 100644 index 0000000000..fb20a550ae --- /dev/null +++ b/parser/testdata/03240_array_element_or_null/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier array_element_or_null_test diff --git a/parser/testdata/03240_array_element_or_null/explain_15.txt b/parser/testdata/03240_array_element_or_null/explain_15.txt new file mode 100644 index 0000000000..fb20a550ae --- /dev/null +++ b/parser/testdata/03240_array_element_or_null/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier array_element_or_null_test diff --git a/parser/testdata/03240_array_element_or_null/explain_19.txt b/parser/testdata/03240_array_element_or_null/explain_19.txt new file mode 100644 index 0000000000..fb20a550ae --- /dev/null +++ b/parser/testdata/03240_array_element_or_null/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier array_element_or_null_test diff --git a/parser/testdata/03240_array_element_or_null/explain_23.txt b/parser/testdata/03240_array_element_or_null/explain_23.txt new file mode 100644 index 0000000000..fb20a550ae --- /dev/null +++ b/parser/testdata/03240_array_element_or_null/explain_23.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier array_element_or_null_test diff --git a/parser/testdata/03240_array_element_or_null/explain_3.txt b/parser/testdata/03240_array_element_or_null/explain_3.txt new file mode 100644 index 0000000000..fb20a550ae --- /dev/null +++ b/parser/testdata/03240_array_element_or_null/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier array_element_or_null_test diff --git a/parser/testdata/03240_array_element_or_null/explain_7.txt b/parser/testdata/03240_array_element_or_null/explain_7.txt new file mode 100644 index 0000000000..fb20a550ae --- /dev/null +++ b/parser/testdata/03240_array_element_or_null/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier array_element_or_null_test diff --git a/parser/testdata/03240_array_element_or_null_for_map/explain_14.txt b/parser/testdata/03240_array_element_or_null_for_map/explain_14.txt new file mode 100644 index 0000000000..4778919e0c --- /dev/null +++ b/parser/testdata/03240_array_element_or_null_for_map/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_map_03240 diff --git a/parser/testdata/03240_array_element_or_null_for_map/explain_8.txt b/parser/testdata/03240_array_element_or_null_for_map/explain_8.txt new file mode 100644 index 0000000000..4778919e0c --- /dev/null +++ b/parser/testdata/03240_array_element_or_null_for_map/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_map_03240 diff --git a/parser/testdata/03240_cte_in_subquery/explain_4.txt b/parser/testdata/03240_cte_in_subquery/explain_4.txt new file mode 100644 index 0000000000..4dc85d9eb5 --- /dev/null +++ b/parser/testdata/03240_cte_in_subquery/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier subquery_cte_in diff --git a/parser/testdata/03240_insert_select_named_tuple/explain_14.txt b/parser/testdata/03240_insert_select_named_tuple/explain_14.txt new file mode 100644 index 0000000000..37b584e2c2 --- /dev/null +++ b/parser/testdata/03240_insert_select_named_tuple/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier src diff --git a/parser/testdata/03240_insert_select_named_tuple/explain_7.txt b/parser/testdata/03240_insert_select_named_tuple/explain_7.txt new file mode 100644 index 0000000000..37b584e2c2 --- /dev/null +++ b/parser/testdata/03240_insert_select_named_tuple/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier src diff --git a/parser/testdata/03241_orc_dictionary_encode/explain_12.txt b/parser/testdata/03241_orc_dictionary_encode/explain_12.txt new file mode 100644 index 0000000000..8185f3fe6d --- /dev/null +++ b/parser/testdata/03241_orc_dictionary_encode/explain_12.txt @@ -0,0 +1,39 @@ +InsertQuery (children 3) + Function file (children 1) + ExpressionList (children 1) + Function concat (children 1) + ExpressionList (children 2) + Function currentDatabase (children 1) + ExpressionList + Literal \'_03241_data2_without_dict.orc\' + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function toLowCardinality (alias c) (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Function if (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 + Literal UInt64_0 + Literal NULL + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 + Literal \'Nullable(String)\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_100000 + Set + Set diff --git a/parser/testdata/03241_orc_dictionary_encode/explain_13.txt b/parser/testdata/03241_orc_dictionary_encode/explain_13.txt new file mode 100644 index 0000000000..e0f407ce34 --- /dev/null +++ b/parser/testdata/03241_orc_dictionary_encode/explain_13.txt @@ -0,0 +1,39 @@ +InsertQuery (children 3) + Function file (children 1) + ExpressionList (children 1) + Function concat (children 1) + ExpressionList (children 2) + Function currentDatabase (children 1) + ExpressionList + Literal \'_03241_data2_with_dict.orc\' + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function toLowCardinality (alias c) (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Function if (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 + Literal UInt64_0 + Literal NULL + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 + Literal \'Nullable(String)\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_100000 + Set + Set diff --git a/parser/testdata/03241_orc_dictionary_encode/explain_3.txt b/parser/testdata/03241_orc_dictionary_encode/explain_3.txt new file mode 100644 index 0000000000..87ab76a0ef --- /dev/null +++ b/parser/testdata/03241_orc_dictionary_encode/explain_3.txt @@ -0,0 +1,39 @@ +InsertQuery (children 3) + Function file (children 1) + ExpressionList (children 1) + Function concat (children 1) + ExpressionList (children 2) + Function currentDatabase (children 1) + ExpressionList + Literal \'_03241_data1_without_dict.orc\' + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function toLowCardinality (alias c) (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Function if (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 + Literal UInt64_0 + Literal NULL + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 + Literal \'Nullable(String)\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_100000 + Set + Set diff --git a/parser/testdata/03241_orc_dictionary_encode/explain_4.txt b/parser/testdata/03241_orc_dictionary_encode/explain_4.txt new file mode 100644 index 0000000000..7cba0041d7 --- /dev/null +++ b/parser/testdata/03241_orc_dictionary_encode/explain_4.txt @@ -0,0 +1,39 @@ +InsertQuery (children 3) + Function file (children 1) + ExpressionList (children 1) + Function concat (children 1) + ExpressionList (children 2) + Function currentDatabase (children 1) + ExpressionList + Literal \'_03241_data1_with_dict.orc\' + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function toLowCardinality (alias c) (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Function if (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 + Literal UInt64_0 + Literal NULL + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 + Literal \'Nullable(String)\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_100000 + Set + Set diff --git a/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan/explain_12.txt b/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan/explain_12.txt new file mode 100644 index 0000000000..893e67ebe3 --- /dev/null +++ b/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan/explain_12.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function count (children 1) + ExpressionList (children 1) + Identifier id + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t_final_query_tbl + Function equals (children 1) + ExpressionList (children 2) + Identifier v + Literal UInt64_98889991 + Set diff --git a/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan/explain_13.txt b/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan/explain_13.txt new file mode 100644 index 0000000000..6307fa06d8 --- /dev/null +++ b/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan/explain_13.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function count (children 1) + ExpressionList (children 1) + Identifier id + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t_final_query_tbl + Function equals (children 1) + ExpressionList (children 2) + Identifier v + Literal UInt64_88889992 + Set diff --git a/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan/explain_14.txt b/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan/explain_14.txt new file mode 100644 index 0000000000..88ae430d5e --- /dev/null +++ b/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan/explain_14.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function count (children 1) + ExpressionList (children 1) + Identifier id + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t_final_query_tbl + Function equals (children 1) + ExpressionList (children 2) + Identifier v + Literal UInt64_78889993 + Set diff --git a/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan/explain_15.txt b/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan/explain_15.txt new file mode 100644 index 0000000000..b5618bf513 --- /dev/null +++ b/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan/explain_15.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function count (children 1) + ExpressionList (children 1) + Identifier id + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t_final_query_tbl + Function equals (children 1) + ExpressionList (children 2) + Identifier v + Literal UInt64_68889994 + Set diff --git a/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan/explain_16.txt b/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan/explain_16.txt new file mode 100644 index 0000000000..4dfecfaa41 --- /dev/null +++ b/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan/explain_16.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function count (children 1) + ExpressionList (children 1) + Identifier id + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t_final_query_tbl + Function equals (children 1) + ExpressionList (children 2) + Identifier v + Literal UInt64_58889995 + Set diff --git a/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan/explain_27.txt b/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan/explain_27.txt new file mode 100644 index 0000000000..516060ddb6 --- /dev/null +++ b/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan/explain_27.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function count (children 1) + ExpressionList (children 1) + Identifier id1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t_final_query_tbl2 + Function equals (children 1) + ExpressionList (children 2) + Identifier v + Literal UInt64_98889991 + Set diff --git a/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan/explain_28.txt b/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan/explain_28.txt new file mode 100644 index 0000000000..ef57cad64d --- /dev/null +++ b/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan/explain_28.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function count (children 1) + ExpressionList (children 1) + Identifier id1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t_final_query_tbl2 + Function equals (children 1) + ExpressionList (children 2) + Identifier v + Literal UInt64_88889992 + Set diff --git a/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan/explain_29.txt b/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan/explain_29.txt new file mode 100644 index 0000000000..d14a3345be --- /dev/null +++ b/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan/explain_29.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function count (children 1) + ExpressionList (children 1) + Identifier id1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t_final_query_tbl2 + Function equals (children 1) + ExpressionList (children 2) + Identifier v + Literal UInt64_78889993 + Set diff --git a/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan/explain_30.txt b/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan/explain_30.txt new file mode 100644 index 0000000000..94f5fa0774 --- /dev/null +++ b/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan/explain_30.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function count (children 1) + ExpressionList (children 1) + Identifier id1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t_final_query_tbl2 + Function equals (children 1) + ExpressionList (children 2) + Identifier v + Literal UInt64_68889994 + Set diff --git a/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan/explain_31.txt b/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan/explain_31.txt new file mode 100644 index 0000000000..3163e0585d --- /dev/null +++ b/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan/explain_31.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function count (children 1) + ExpressionList (children 1) + Identifier id1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t_final_query_tbl2 + Function equals (children 1) + ExpressionList (children 2) + Identifier v + Literal UInt64_58889995 + Set diff --git a/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan_basic/explain_11.txt b/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan_basic/explain_11.txt new file mode 100644 index 0000000000..a60238a20f --- /dev/null +++ b/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan_basic/explain_11.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier data_02201 + Function equals (children 1) + ExpressionList (children 2) + Identifier value_max + Literal UInt64_1 + ExpressionList (children 2) + OrderByElement (children 1) + Identifier key + OrderByElement (children 1) + Identifier value_max + Set diff --git a/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan_basic/explain_9.txt b/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan_basic/explain_9.txt new file mode 100644 index 0000000000..a60238a20f --- /dev/null +++ b/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan_basic/explain_9.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier data_02201 + Function equals (children 1) + ExpressionList (children 2) + Identifier value_max + Literal UInt64_1 + ExpressionList (children 2) + OrderByElement (children 1) + Identifier key + OrderByElement (children 1) + Identifier value_max + Set diff --git a/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan_extremes/explain_19.txt b/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan_extremes/explain_19.txt new file mode 100644 index 0000000000..0b0bc900fb --- /dev/null +++ b/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan_extremes/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab1 diff --git a/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan_extremes/explain_44.txt b/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan_extremes/explain_44.txt new file mode 100644 index 0000000000..088994dd53 --- /dev/null +++ b/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan_extremes/explain_44.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab3 diff --git a/parser/testdata/03246_alter_update_dynamic_hung/explain_4.txt b/parser/testdata/03246_alter_update_dynamic_hung/explain_4.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/03246_alter_update_dynamic_hung/explain_4.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03246_json_subcolumn_correct_type/explain_6.txt b/parser/testdata/03246_json_subcolumn_correct_type/explain_6.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03246_json_subcolumn_correct_type/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03246_json_tuple_decompress_race/explain_10.txt b/parser/testdata/03246_json_tuple_decompress_race/explain_10.txt new file mode 100644 index 0000000000..a584479b73 --- /dev/null +++ b/parser/testdata/03246_json_tuple_decompress_race/explain_10.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 2) + Identifier c0 + Identifier c1 diff --git a/parser/testdata/03246_json_tuple_decompress_race/explain_11.txt b/parser/testdata/03246_json_tuple_decompress_race/explain_11.txt new file mode 100644 index 0000000000..24d272effa --- /dev/null +++ b/parser/testdata/03246_json_tuple_decompress_race/explain_11.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 2) + Identifier c0 + Identifier c1 diff --git a/parser/testdata/03246_json_tuple_decompress_race/explain_12.txt b/parser/testdata/03246_json_tuple_decompress_race/explain_12.txt new file mode 100644 index 0000000000..a584479b73 --- /dev/null +++ b/parser/testdata/03246_json_tuple_decompress_race/explain_12.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 2) + Identifier c0 + Identifier c1 diff --git a/parser/testdata/03246_json_tuple_decompress_race/explain_13.txt b/parser/testdata/03246_json_tuple_decompress_race/explain_13.txt new file mode 100644 index 0000000000..a584479b73 --- /dev/null +++ b/parser/testdata/03246_json_tuple_decompress_race/explain_13.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 2) + Identifier c0 + Identifier c1 diff --git a/parser/testdata/03246_json_tuple_decompress_race/explain_14.txt b/parser/testdata/03246_json_tuple_decompress_race/explain_14.txt new file mode 100644 index 0000000000..a584479b73 --- /dev/null +++ b/parser/testdata/03246_json_tuple_decompress_race/explain_14.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 2) + Identifier c0 + Identifier c1 diff --git a/parser/testdata/03246_json_tuple_decompress_race/explain_15.txt b/parser/testdata/03246_json_tuple_decompress_race/explain_15.txt new file mode 100644 index 0000000000..a584479b73 --- /dev/null +++ b/parser/testdata/03246_json_tuple_decompress_race/explain_15.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 2) + Identifier c0 + Identifier c1 diff --git a/parser/testdata/03246_json_tuple_decompress_race/explain_16.txt b/parser/testdata/03246_json_tuple_decompress_race/explain_16.txt new file mode 100644 index 0000000000..a584479b73 --- /dev/null +++ b/parser/testdata/03246_json_tuple_decompress_race/explain_16.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 2) + Identifier c0 + Identifier c1 diff --git a/parser/testdata/03246_json_tuple_decompress_race/explain_17.txt b/parser/testdata/03246_json_tuple_decompress_race/explain_17.txt new file mode 100644 index 0000000000..24d272effa --- /dev/null +++ b/parser/testdata/03246_json_tuple_decompress_race/explain_17.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 2) + Identifier c0 + Identifier c1 diff --git a/parser/testdata/03246_json_tuple_decompress_race/explain_18.txt b/parser/testdata/03246_json_tuple_decompress_race/explain_18.txt new file mode 100644 index 0000000000..24d272effa --- /dev/null +++ b/parser/testdata/03246_json_tuple_decompress_race/explain_18.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 2) + Identifier c0 + Identifier c1 diff --git a/parser/testdata/03246_json_tuple_decompress_race/explain_19.txt b/parser/testdata/03246_json_tuple_decompress_race/explain_19.txt new file mode 100644 index 0000000000..24d272effa --- /dev/null +++ b/parser/testdata/03246_json_tuple_decompress_race/explain_19.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 2) + Identifier c0 + Identifier c1 diff --git a/parser/testdata/03246_json_tuple_decompress_race/explain_20.txt b/parser/testdata/03246_json_tuple_decompress_race/explain_20.txt new file mode 100644 index 0000000000..a584479b73 --- /dev/null +++ b/parser/testdata/03246_json_tuple_decompress_race/explain_20.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 2) + Identifier c0 + Identifier c1 diff --git a/parser/testdata/03246_json_tuple_decompress_race/explain_21.txt b/parser/testdata/03246_json_tuple_decompress_race/explain_21.txt new file mode 100644 index 0000000000..24d272effa --- /dev/null +++ b/parser/testdata/03246_json_tuple_decompress_race/explain_21.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 2) + Identifier c0 + Identifier c1 diff --git a/parser/testdata/03246_json_tuple_decompress_race/explain_22.txt b/parser/testdata/03246_json_tuple_decompress_race/explain_22.txt new file mode 100644 index 0000000000..24d272effa --- /dev/null +++ b/parser/testdata/03246_json_tuple_decompress_race/explain_22.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 2) + Identifier c0 + Identifier c1 diff --git a/parser/testdata/03246_json_tuple_decompress_race/explain_23.txt b/parser/testdata/03246_json_tuple_decompress_race/explain_23.txt new file mode 100644 index 0000000000..a584479b73 --- /dev/null +++ b/parser/testdata/03246_json_tuple_decompress_race/explain_23.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 2) + Identifier c0 + Identifier c1 diff --git a/parser/testdata/03246_json_tuple_decompress_race/explain_24.txt b/parser/testdata/03246_json_tuple_decompress_race/explain_24.txt new file mode 100644 index 0000000000..24d272effa --- /dev/null +++ b/parser/testdata/03246_json_tuple_decompress_race/explain_24.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 2) + Identifier c0 + Identifier c1 diff --git a/parser/testdata/03246_json_tuple_decompress_race/explain_25.txt b/parser/testdata/03246_json_tuple_decompress_race/explain_25.txt new file mode 100644 index 0000000000..a584479b73 --- /dev/null +++ b/parser/testdata/03246_json_tuple_decompress_race/explain_25.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 2) + Identifier c0 + Identifier c1 diff --git a/parser/testdata/03246_json_tuple_decompress_race/explain_26.txt b/parser/testdata/03246_json_tuple_decompress_race/explain_26.txt new file mode 100644 index 0000000000..a584479b73 --- /dev/null +++ b/parser/testdata/03246_json_tuple_decompress_race/explain_26.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 2) + Identifier c0 + Identifier c1 diff --git a/parser/testdata/03246_json_tuple_decompress_race/explain_27.txt b/parser/testdata/03246_json_tuple_decompress_race/explain_27.txt new file mode 100644 index 0000000000..a584479b73 --- /dev/null +++ b/parser/testdata/03246_json_tuple_decompress_race/explain_27.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 2) + Identifier c0 + Identifier c1 diff --git a/parser/testdata/03246_json_tuple_decompress_race/explain_28.txt b/parser/testdata/03246_json_tuple_decompress_race/explain_28.txt new file mode 100644 index 0000000000..a584479b73 --- /dev/null +++ b/parser/testdata/03246_json_tuple_decompress_race/explain_28.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 2) + Identifier c0 + Identifier c1 diff --git a/parser/testdata/03246_json_tuple_decompress_race/explain_29.txt b/parser/testdata/03246_json_tuple_decompress_race/explain_29.txt new file mode 100644 index 0000000000..a584479b73 --- /dev/null +++ b/parser/testdata/03246_json_tuple_decompress_race/explain_29.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 2) + Identifier c0 + Identifier c1 diff --git a/parser/testdata/03246_json_tuple_decompress_race/explain_7.txt b/parser/testdata/03246_json_tuple_decompress_race/explain_7.txt new file mode 100644 index 0000000000..24d272effa --- /dev/null +++ b/parser/testdata/03246_json_tuple_decompress_race/explain_7.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 2) + Identifier c0 + Identifier c1 diff --git a/parser/testdata/03246_json_tuple_decompress_race/explain_8.txt b/parser/testdata/03246_json_tuple_decompress_race/explain_8.txt new file mode 100644 index 0000000000..a584479b73 --- /dev/null +++ b/parser/testdata/03246_json_tuple_decompress_race/explain_8.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 2) + Identifier c0 + Identifier c1 diff --git a/parser/testdata/03246_json_tuple_decompress_race/explain_9.txt b/parser/testdata/03246_json_tuple_decompress_race/explain_9.txt new file mode 100644 index 0000000000..24d272effa --- /dev/null +++ b/parser/testdata/03246_json_tuple_decompress_race/explain_9.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 2) + Identifier c0 + Identifier c1 diff --git a/parser/testdata/03246_range_literal_replacement_works/explain_4.txt b/parser/testdata/03246_range_literal_replacement_works/explain_4.txt new file mode 100644 index 0000000000..9d73b360c4 --- /dev/null +++ b/parser/testdata/03246_range_literal_replacement_works/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 03246_range_literal_replacement_works diff --git a/parser/testdata/03247_generic_arrayMin_arrayMax_fixes/explain_8.txt b/parser/testdata/03247_generic_arrayMin_arrayMax_fixes/explain_8.txt new file mode 100644 index 0000000000..df2195ef6b --- /dev/null +++ b/parser/testdata/03247_generic_arrayMin_arrayMax_fixes/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_aggregation_array diff --git a/parser/testdata/03247_materialized_view_select_intersect/explain.txt b/parser/testdata/03247_materialized_view_select_intersect/explain.txt index 4e170901ab..9220c93a5a 100644 --- a/parser/testdata/03247_materialized_view_select_intersect/explain.txt +++ b/parser/testdata/03247_materialized_view_select_intersect/explain.txt @@ -13,4 +13,3 @@ CreateQuery v0 (children 2) SelectQuery (children 1) ExpressionList (children 1) Literal UInt64_1 -The query succeeded but the server error '397' was expected (query: EXPLAIN AST CREATE MATERIALIZED VIEW v0 AS (SELECT 1) INTERSECT (SELECT 1); --{serverError QUERY_IS_NOT_SUPPORTED_IN_MATERIALIZED_VIEW}). diff --git a/parser/testdata/03247_object_column_copy/explain_5.txt b/parser/testdata/03247_object_column_copy/explain_5.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/03247_object_column_copy/explain_5.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03247_object_column_copy/explain_7.txt b/parser/testdata/03247_object_column_copy/explain_7.txt new file mode 100644 index 0000000000..24d272effa --- /dev/null +++ b/parser/testdata/03247_object_column_copy/explain_7.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 2) + Identifier c0 + Identifier c1 diff --git a/parser/testdata/03247_pr_local_plan_non_constant_in_source/explain_3.txt b/parser/testdata/03247_pr_local_plan_non_constant_in_source/explain_3.txt new file mode 100644 index 0000000000..8d1b887981 --- /dev/null +++ b/parser/testdata/03247_pr_local_plan_non_constant_in_source/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_3 diff --git a/parser/testdata/03247_pr_local_plan_non_constant_in_source/explain_4.txt b/parser/testdata/03247_pr_local_plan_non_constant_in_source/explain_4.txt new file mode 100644 index 0000000000..fb1e679d45 --- /dev/null +++ b/parser/testdata/03247_pr_local_plan_non_constant_in_source/explain_4.txt @@ -0,0 +1,28 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 3) + Identifier uid + Identifier date + Function equals (alias res) (children 1) + ExpressionList (children 2) + Function toDate (children 1) + ExpressionList (children 1) + Identifier date + Function toDate (children 1) + ExpressionList (children 1) + Literal \'2021-03-24\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier table_3 + Function equals (children 1) + ExpressionList (children 2) + Identifier res + Literal UInt64_1 + ExpressionList (children 2) + OrderByElement (children 1) + Identifier uid + OrderByElement (children 1) + Identifier date + Set diff --git a/parser/testdata/03248_invalid_where/explain.txt b/parser/testdata/03248_invalid_where/explain.txt index fd8c5e70d0..11e1b32c1f 100644 --- a/parser/testdata/03248_invalid_where/explain.txt +++ b/parser/testdata/03248_invalid_where/explain.txt @@ -21,4 +21,3 @@ SelectWithUnionQuery (children 1) Literal Array_[\'1\', \'2\', \'3\'] Identifier lambda_2 Set -The query succeeded but the server error '183' was expected (query: EXPLAIN AST WITH x -> toString(x) AS lambda_1 SELECT arrayMap(lambda_1 AS lambda_2, [1, 2, 3]), arrayMap(lambda_2, ['1', '2', '3']) WHERE lambda_2 SETTINGS enable_analyzer = 0; -- { serverError UNEXPECTED_EXPRESSION }). diff --git a/parser/testdata/03248_with_fill_string_crash/explain_2.txt b/parser/testdata/03248_with_fill_string_crash/explain_2.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03248_with_fill_string_crash/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03248_with_insert/explain_4.txt b/parser/testdata/03248_with_insert/explain_4.txt new file mode 100644 index 0000000000..dcb2eb3db3 --- /dev/null +++ b/parser/testdata/03248_with_insert/explain_4.txt @@ -0,0 +1,49 @@ +InsertQuery (children 2) + Identifier x + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectIntersectExceptQuery (children 2) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier y + ExpressionList (children 1) + WithElement (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_5 + ExpressionList (children 1) + WithElement (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 diff --git a/parser/testdata/03248_with_insert/explain_5.txt b/parser/testdata/03248_with_insert/explain_5.txt new file mode 100644 index 0000000000..73424a1d34 --- /dev/null +++ b/parser/testdata/03248_with_insert/explain_5.txt @@ -0,0 +1,49 @@ +InsertQuery (children 2) + Identifier x + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectIntersectExceptQuery (children 2) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_5 + ExpressionList (children 1) + WithElement (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier y + ExpressionList (children 1) + WithElement (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 diff --git a/parser/testdata/03248_with_insert/explain_9.txt b/parser/testdata/03248_with_insert/explain_9.txt new file mode 100644 index 0000000000..41febee211 --- /dev/null +++ b/parser/testdata/03248_with_insert/explain_9.txt @@ -0,0 +1,33 @@ +InsertQuery (children 2) + Identifier x + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier y.new_date + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier y + ExpressionList (children 1) + WithElement (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Identifier number + Function plus (alias new_date) (children 1) + ExpressionList (children 2) + Function toDate (children 1) + ExpressionList (children 1) + Literal \'2025-01-01\' + Function toIntervalYear (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 diff --git a/parser/testdata/03250_avoid_prefetch_empty_parts/explain_3.txt b/parser/testdata/03250_avoid_prefetch_empty_parts/explain_3.txt new file mode 100644 index 0000000000..3f3dc2c31a --- /dev/null +++ b/parser/testdata/03250_avoid_prefetch_empty_parts/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 03250_avoid_prefetch diff --git a/parser/testdata/03250_avoid_prefetch_empty_parts/explain_5.txt b/parser/testdata/03250_avoid_prefetch_empty_parts/explain_5.txt new file mode 100644 index 0000000000..3f3dc2c31a --- /dev/null +++ b/parser/testdata/03250_avoid_prefetch_empty_parts/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 03250_avoid_prefetch diff --git a/parser/testdata/03250_ephemeral_comment/explain_2.txt b/parser/testdata/03250_ephemeral_comment/explain_2.txt new file mode 100644 index 0000000000..ccc7084b35 --- /dev/null +++ b/parser/testdata/03250_ephemeral_comment/explain_2.txt @@ -0,0 +1,44 @@ +CreateQuery test (children 3) + Identifier test + Columns definition (children 1) + ExpressionList (children 6) + ColumnDeclaration start_s (children 3) + DataType UInt32 + Function defaultValueOfTypeName + Literal \'start UNIX time\' + ColumnDeclaration start_us (children 3) + DataType UInt16 + Function defaultValueOfTypeName + Literal \'start microseconds\' + ColumnDeclaration finish_s (children 3) + DataType UInt32 + Function defaultValueOfTypeName + Literal \'finish UNIX time\' + ColumnDeclaration finish_us (children 3) + DataType UInt16 + Function defaultValueOfTypeName + Literal \'finish microseconds\' + ColumnDeclaration captured (children 2) + DataType DateTime + Function fromUnixTimestamp (children 1) + ExpressionList (children 1) + Identifier start_s + ColumnDeclaration duration (children 2) + DataType Decimal32 (children 1) + ExpressionList (children 1) + Literal UInt64_6 + Function plus (children 1) + ExpressionList (children 2) + Function minus (children 1) + ExpressionList (children 2) + Identifier finish_s + Identifier start_s + Function divide (children 1) + ExpressionList (children 2) + Function minus (children 1) + ExpressionList (children 2) + Identifier finish_us + Identifier start_us + Literal UInt64_1000000 + Storage definition (children 1) + Function Null diff --git a/parser/testdata/03251_unaligned_window_function_state/explain.txt b/parser/testdata/03251_unaligned_window_function_state/explain.txt index 09be77e7af..8c4687bc22 100644 --- a/parser/testdata/03251_unaligned_window_function_state/explain.txt +++ b/parser/testdata/03251_unaligned_window_function_state/explain.txt @@ -25,4 +25,3 @@ SelectWithUnionQuery (children 1) Literal Tuple_(UInt64_2, UInt64_3) Literal Tuple_(UInt64_3, UInt64_3) Literal Tuple_(UInt64_3, UInt64_5) -The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT anyLast(id), anyLast(time), exponentialTimeDecayedAvg(10)(id, time) FROM values('id Int8, time DateTime', (1,1),(1,2),(2,3),(3,3),(3,5)); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/03252_check_number_of_arguments_for_dynamic/explain_4.txt b/parser/testdata/03252_check_number_of_arguments_for_dynamic/explain_4.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03252_check_number_of_arguments_for_dynamic/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03252_merge_tree_min_bytes_to_seek/explain_9.txt b/parser/testdata/03252_merge_tree_min_bytes_to_seek/explain_9.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03252_merge_tree_min_bytes_to_seek/explain_9.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03254_attach_part_order/explain_10.txt b/parser/testdata/03254_attach_part_order/explain_10.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/03254_attach_part_order/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/03254_attach_part_order/explain_11.txt b/parser/testdata/03254_attach_part_order/explain_11.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/03254_attach_part_order/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/03254_attach_part_order/explain_12.txt b/parser/testdata/03254_attach_part_order/explain_12.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/03254_attach_part_order/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/03254_attach_part_order/explain_13.txt b/parser/testdata/03254_attach_part_order/explain_13.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/03254_attach_part_order/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/03254_attach_part_order/explain_14.txt b/parser/testdata/03254_attach_part_order/explain_14.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/03254_attach_part_order/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/03254_attach_part_order/explain_15.txt b/parser/testdata/03254_attach_part_order/explain_15.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/03254_attach_part_order/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/03254_attach_part_order/explain_16.txt b/parser/testdata/03254_attach_part_order/explain_16.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/03254_attach_part_order/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/03254_attach_part_order/explain_17.txt b/parser/testdata/03254_attach_part_order/explain_17.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/03254_attach_part_order/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/03254_attach_part_order/explain_18.txt b/parser/testdata/03254_attach_part_order/explain_18.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/03254_attach_part_order/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/03254_attach_part_order/explain_3.txt b/parser/testdata/03254_attach_part_order/explain_3.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/03254_attach_part_order/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/03254_attach_part_order/explain_4.txt b/parser/testdata/03254_attach_part_order/explain_4.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/03254_attach_part_order/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/03254_attach_part_order/explain_5.txt b/parser/testdata/03254_attach_part_order/explain_5.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/03254_attach_part_order/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/03254_attach_part_order/explain_6.txt b/parser/testdata/03254_attach_part_order/explain_6.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/03254_attach_part_order/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/03254_attach_part_order/explain_7.txt b/parser/testdata/03254_attach_part_order/explain_7.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/03254_attach_part_order/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/03254_attach_part_order/explain_8.txt b/parser/testdata/03254_attach_part_order/explain_8.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/03254_attach_part_order/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/03254_attach_part_order/explain_9.txt b/parser/testdata/03254_attach_part_order/explain_9.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/03254_attach_part_order/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/03254_last_2_samples_aggregate_function/explain_12.txt b/parser/testdata/03254_last_2_samples_aggregate_function/explain_12.txt new file mode 100644 index 0000000000..4b1063b41d --- /dev/null +++ b/parser/testdata/03254_last_2_samples_aggregate_function/explain_12.txt @@ -0,0 +1,69 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 4) + Identifier metric_id + Identifier grid_timestamp + Function tuple (children 1) + ExpressionList (children 2) + Function tupleElement (alias timestamp) (children 1) + ExpressionList (children 2) + Function finalizeAggregation (children 1) + ExpressionList (children 1) + Identifier samples + Literal UInt64_1 + Function tupleElement (alias value) (children 1) + ExpressionList (children 2) + Function finalizeAggregation (children 1) + ExpressionList (children 1) + Identifier samples + Literal UInt64_2 + Function arrayMap (alias ts) (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function plus (children 1) + ExpressionList (children 2) + Identifier grid_timestamp + Function toIntervalMillisecond (children 1) + ExpressionList (children 1) + Identifier x + Identifier timestamp + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function clusterAllReplicas (children 1) + ExpressionList (children 3) + Literal \'test_shard_localhost\' + Function currentDatabase (children 1) + ExpressionList + Identifier t_resampled_timeseries_delta + Function and (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Identifier step + Literal UInt64_10 + Function in (children 1) + ExpressionList (children 2) + Identifier metric_id + Literal Tuple_(UInt64_3, UInt64_7) + Function and (children 1) + ExpressionList (children 2) + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Identifier grid_timestamp + Literal \'2024-12-12 12:00:00\' + Function lessOrEquals (children 1) + ExpressionList (children 2) + Identifier grid_timestamp + Literal \'2024-12-12 12:02:00\' + ExpressionList (children 2) + OrderByElement (children 1) + Identifier metric_id + OrderByElement (children 1) + Identifier grid_timestamp + Set diff --git a/parser/testdata/03254_merge_source_parts/explain_3.txt b/parser/testdata/03254_merge_source_parts/explain_3.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03254_merge_source_parts/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03254_merge_source_parts/explain_4.txt b/parser/testdata/03254_merge_source_parts/explain_4.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03254_merge_source_parts/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03254_merge_source_parts/explain_6.txt b/parser/testdata/03254_merge_source_parts/explain_6.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03254_merge_source_parts/explain_6.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03254_normalize_aggregate_states_with_named_tuple_args/explain_10.txt b/parser/testdata/03254_normalize_aggregate_states_with_named_tuple_args/explain_10.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03254_normalize_aggregate_states_with_named_tuple_args/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03254_normalize_aggregate_states_with_named_tuple_args/explain_11.txt b/parser/testdata/03254_normalize_aggregate_states_with_named_tuple_args/explain_11.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03254_normalize_aggregate_states_with_named_tuple_args/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03254_normalize_aggregate_states_with_named_tuple_args/explain_12.txt b/parser/testdata/03254_normalize_aggregate_states_with_named_tuple_args/explain_12.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03254_normalize_aggregate_states_with_named_tuple_args/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03254_part_log_partition_column_is_set/explain_13.txt b/parser/testdata/03254_part_log_partition_column_is_set/explain_13.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03254_part_log_partition_column_is_set/explain_13.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03254_part_log_partition_column_is_set/explain_3.txt b/parser/testdata/03254_part_log_partition_column_is_set/explain_3.txt new file mode 100644 index 0000000000..54c09aa546 --- /dev/null +++ b/parser/testdata/03254_part_log_partition_column_is_set/explain_3.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 2) + Identifier x + Identifier y diff --git a/parser/testdata/03254_part_log_partition_column_is_set/explain_4.txt b/parser/testdata/03254_part_log_partition_column_is_set/explain_4.txt new file mode 100644 index 0000000000..54c09aa546 --- /dev/null +++ b/parser/testdata/03254_part_log_partition_column_is_set/explain_4.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 2) + Identifier x + Identifier y diff --git a/parser/testdata/03254_part_log_partition_column_is_set/explain_6.txt b/parser/testdata/03254_part_log_partition_column_is_set/explain_6.txt new file mode 100644 index 0000000000..54c09aa546 --- /dev/null +++ b/parser/testdata/03254_part_log_partition_column_is_set/explain_6.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 2) + Identifier x + Identifier y diff --git a/parser/testdata/03254_pr_join_on_dups/explain_6.txt b/parser/testdata/03254_pr_join_on_dups/explain_6.txt new file mode 100644 index 0000000000..ccb1f3aee1 --- /dev/null +++ b/parser/testdata/03254_pr_join_on_dups/explain_6.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier X + ExpressionList (children 3) + Identifier id + Identifier x_a + Identifier x_b diff --git a/parser/testdata/03254_pr_join_on_dups/explain_7.txt b/parser/testdata/03254_pr_join_on_dups/explain_7.txt new file mode 100644 index 0000000000..f401dc6190 --- /dev/null +++ b/parser/testdata/03254_pr_join_on_dups/explain_7.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier X + ExpressionList (children 2) + Identifier id + Identifier x_a diff --git a/parser/testdata/03254_pr_join_on_dups/explain_8.txt b/parser/testdata/03254_pr_join_on_dups/explain_8.txt new file mode 100644 index 0000000000..b73a8314a9 --- /dev/null +++ b/parser/testdata/03254_pr_join_on_dups/explain_8.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier Y + ExpressionList (children 2) + Identifier id + Identifier y_a diff --git a/parser/testdata/03254_pr_join_on_dups/explain_9.txt b/parser/testdata/03254_pr_join_on_dups/explain_9.txt new file mode 100644 index 0000000000..e10e98fd9a --- /dev/null +++ b/parser/testdata/03254_pr_join_on_dups/explain_9.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier Y + ExpressionList (children 3) + Identifier id + Identifier y_a + Identifier y_b diff --git a/parser/testdata/03254_prewarm_mark_cache_columns/explain_10.txt b/parser/testdata/03254_prewarm_mark_cache_columns/explain_10.txt new file mode 100644 index 0000000000..a159d81f26 --- /dev/null +++ b/parser/testdata/03254_prewarm_mark_cache_columns/explain_10.txt @@ -0,0 +1,2 @@ +SYSTEM query (children 1) + Identifier t_prewarm_columns diff --git a/parser/testdata/03254_prewarm_mark_cache_columns/explain_12.txt b/parser/testdata/03254_prewarm_mark_cache_columns/explain_12.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03254_prewarm_mark_cache_columns/explain_12.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03254_prewarm_mark_cache_columns/explain_3.txt b/parser/testdata/03254_prewarm_mark_cache_columns/explain_3.txt new file mode 100644 index 0000000000..289e3b7105 --- /dev/null +++ b/parser/testdata/03254_prewarm_mark_cache_columns/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_prewarm_columns diff --git a/parser/testdata/03254_prewarm_mark_cache_rmt/explain_27.txt b/parser/testdata/03254_prewarm_mark_cache_rmt/explain_27.txt new file mode 100644 index 0000000000..41a4261f01 --- /dev/null +++ b/parser/testdata/03254_prewarm_mark_cache_rmt/explain_27.txt @@ -0,0 +1,2 @@ +SYSTEM query (children 1) + Identifier t_prewarm_cache_rmt_1 diff --git a/parser/testdata/03254_prewarm_mark_cache_rmt/explain_29.txt b/parser/testdata/03254_prewarm_mark_cache_rmt/explain_29.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03254_prewarm_mark_cache_rmt/explain_29.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03254_project_lwd_respects_row_exists/explain_10.txt b/parser/testdata/03254_project_lwd_respects_row_exists/explain_10.txt new file mode 100644 index 0000000000..209fe11a72 --- /dev/null +++ b/parser/testdata/03254_project_lwd_respects_row_exists/explain_10.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 2) + Identifier age + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier users_wide + ExpressionList (children 1) + Identifier age + Set diff --git a/parser/testdata/03254_project_lwd_respects_row_exists/explain_3.txt b/parser/testdata/03254_project_lwd_respects_row_exists/explain_3.txt new file mode 100644 index 0000000000..2b813da8de --- /dev/null +++ b/parser/testdata/03254_project_lwd_respects_row_exists/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users_compact diff --git a/parser/testdata/03254_project_lwd_respects_row_exists/explain_5.txt b/parser/testdata/03254_project_lwd_respects_row_exists/explain_5.txt new file mode 100644 index 0000000000..62d8cab9c7 --- /dev/null +++ b/parser/testdata/03254_project_lwd_respects_row_exists/explain_5.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 2) + Identifier age + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier users_compact + ExpressionList (children 1) + Identifier age + Set diff --git a/parser/testdata/03254_project_lwd_respects_row_exists/explain_8.txt b/parser/testdata/03254_project_lwd_respects_row_exists/explain_8.txt new file mode 100644 index 0000000000..a395c72b22 --- /dev/null +++ b/parser/testdata/03254_project_lwd_respects_row_exists/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users_wide diff --git a/parser/testdata/03254_system_prewarm_mark_cache/explain_7.txt b/parser/testdata/03254_system_prewarm_mark_cache/explain_7.txt new file mode 100644 index 0000000000..3b793e0861 --- /dev/null +++ b/parser/testdata/03254_system_prewarm_mark_cache/explain_7.txt @@ -0,0 +1,2 @@ +SYSTEM query (children 1) + Identifier t_prewarm_cache diff --git a/parser/testdata/03254_system_prewarm_mark_cache/explain_9.txt b/parser/testdata/03254_system_prewarm_mark_cache/explain_9.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03254_system_prewarm_mark_cache/explain_9.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03254_test_alter_user_no_changes/explain_2.txt b/parser/testdata/03254_test_alter_user_no_changes/explain_2.txt deleted file mode 100644 index e6a70727d0..0000000000 --- a/parser/testdata/03254_test_alter_user_no_changes/explain_2.txt +++ /dev/null @@ -1 +0,0 @@ -CreateUserQuery diff --git a/parser/testdata/03254_timeseries_functions_various_arguments/explain_3.txt b/parser/testdata/03254_timeseries_functions_various_arguments/explain_3.txt new file mode 100644 index 0000000000..5bb71316ed --- /dev/null +++ b/parser/testdata/03254_timeseries_functions_various_arguments/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ts_data diff --git a/parser/testdata/03254_timeseries_instant_value_aggregate_functions/explain_4.txt b/parser/testdata/03254_timeseries_instant_value_aggregate_functions/explain_4.txt new file mode 100644 index 0000000000..fb4e93491e --- /dev/null +++ b/parser/testdata/03254_timeseries_instant_value_aggregate_functions/explain_4.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier t_resampled_timeseries + ExpressionList (children 4) + Identifier step + Identifier metric_id + Identifier grid_timestamp + Identifier samples diff --git a/parser/testdata/03254_timeseries_instant_value_aggregate_functions/explain_5.txt b/parser/testdata/03254_timeseries_instant_value_aggregate_functions/explain_5.txt new file mode 100644 index 0000000000..5d329832bd --- /dev/null +++ b/parser/testdata/03254_timeseries_instant_value_aggregate_functions/explain_5.txt @@ -0,0 +1,159 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 5) + Function toDateTime (alias start_ts) (children 1) + ExpressionList (children 2) + Literal \'2024-12-12 12:00:10\' + Literal \'UTC\' + Function toDateTime (alias end_ts) (children 1) + ExpressionList (children 2) + Literal \'2024-12-12 12:01:00\' + Literal \'UTC\' + Literal UInt64_10 (alias step_sec) + Literal UInt64_50 (alias window_sec) + Function range (alias grid) (children 1) + ExpressionList (children 3) + Function toUnixTimestamp (children 1) + ExpressionList (children 1) + Identifier start_ts + Function plus (children 1) + ExpressionList (children 2) + Function toUnixTimestamp (children 1) + ExpressionList (children 1) + Identifier end_ts + Literal UInt64_1 + Identifier step_sec + ExpressionList (children 2) + Identifier metric_id + Function arrayJoin (children 1) + ExpressionList (children 1) + Function arrayZip (children 1) + ExpressionList (children 7) + Identifier grid + Identifier irate_values + Identifier irate_values_scale_3 + Identifier idelta_values + Identifier rate_values + Identifier rate_values_scale_5 + Identifier delta_values + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 7) + Identifier metric_id + Function timeSeriesInstantRateToGrid (alias irate_values) (children 2) + ExpressionList (children 2) + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier samples + Literal UInt64_1 + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier samples + Literal UInt64_2 + ExpressionList (children 4) + Identifier start_ts + Identifier end_ts + Identifier step_sec + Identifier window_sec + Function timeSeriesInstantRateToGrid (alias irate_values_scale_3) (children 2) + ExpressionList (children 2) + Function CAST (children 1) + ExpressionList (children 2) + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier samples + Literal UInt64_1 + Literal \'Array(DateTime64(3, \\\'UTC\\\'))\' + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier samples + Literal UInt64_2 + ExpressionList (children 4) + Identifier start_ts + Identifier end_ts + Identifier step_sec + Identifier window_sec + Function timeSeriesInstantDeltaToGrid (alias idelta_values) (children 2) + ExpressionList (children 2) + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier samples + Literal UInt64_1 + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier samples + Literal UInt64_2 + ExpressionList (children 4) + Identifier start_ts + Identifier end_ts + Identifier step_sec + Identifier window_sec + Function timeSeriesRateToGrid (alias rate_values) (children 2) + ExpressionList (children 2) + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier samples + Literal UInt64_1 + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier samples + Literal UInt64_2 + ExpressionList (children 4) + Identifier start_ts + Identifier end_ts + Identifier step_sec + Identifier window_sec + Function timeSeriesRateToGrid (alias rate_values_scale_5) (children 2) + ExpressionList (children 2) + Function CAST (children 1) + ExpressionList (children 2) + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier samples + Literal UInt64_1 + Literal \'Array(DateTime64(5, \\\'UTC\\\'))\' + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier samples + Literal UInt64_2 + ExpressionList (children 4) + Identifier start_ts + Identifier end_ts + Identifier step_sec + Identifier window_sec + Function timeSeriesDeltaToGrid (alias delta_values) (children 2) + ExpressionList (children 2) + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier samples + Literal UInt64_1 + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier samples + Literal UInt64_2 + ExpressionList (children 4) + Identifier start_ts + Identifier end_ts + Identifier step_sec + Identifier window_sec + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function clusterAllReplicas (children 1) + ExpressionList (children 3) + Literal \'test_shard_localhost\' + Function currentDatabase (children 1) + ExpressionList + Identifier t_resampled_timeseries + ExpressionList (children 1) + Identifier metric_id + ExpressionList (children 1) + OrderByElement (children 1) + Identifier metric_id + Set diff --git a/parser/testdata/03254_timeseries_instant_value_aggregate_functions/explain_7.txt b/parser/testdata/03254_timeseries_instant_value_aggregate_functions/explain_7.txt new file mode 100644 index 0000000000..ebef11729f --- /dev/null +++ b/parser/testdata/03254_timeseries_instant_value_aggregate_functions/explain_7.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier t_resampled_timeseries_64 + ExpressionList (children 4) + Identifier step + Identifier metric_id + Identifier grid_timestamp + Identifier samples diff --git a/parser/testdata/03254_timeseries_instant_value_aggregate_functions/explain_8.txt b/parser/testdata/03254_timeseries_instant_value_aggregate_functions/explain_8.txt new file mode 100644 index 0000000000..8b651ab1db --- /dev/null +++ b/parser/testdata/03254_timeseries_instant_value_aggregate_functions/explain_8.txt @@ -0,0 +1,123 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 5) + Function toDateTime64 (alias start_ts) (children 1) + ExpressionList (children 3) + Literal \'2024-12-12 12:00:10\' + Literal UInt64_3 + Literal \'UTC\' + Function toDateTime64 (alias end_ts) (children 1) + ExpressionList (children 3) + Literal \'2024-12-12 12:01:00\' + Literal UInt64_3 + Literal \'UTC\' + Literal UInt64_10 (alias step_sec) + Literal UInt64_50 (alias window_sec) + Function range (alias grid) (children 1) + ExpressionList (children 3) + Function toUnixTimestamp (children 1) + ExpressionList (children 1) + Identifier start_ts + Function plus (children 1) + ExpressionList (children 2) + Function toUnixTimestamp (children 1) + ExpressionList (children 1) + Identifier end_ts + Literal UInt64_1 + Identifier step_sec + ExpressionList (children 2) + Identifier metric_id + Function arrayJoin (children 1) + ExpressionList (children 1) + Function arrayZip (children 1) + ExpressionList (children 5) + Identifier grid + Identifier irate_values + Identifier idelta_values + Identifier rate_values + Identifier delta_values + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 5) + Identifier metric_id + Function timeSeriesInstantRateToGrid (alias irate_values) (children 2) + ExpressionList (children 2) + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier samples + Literal UInt64_1 + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier samples + Literal UInt64_2 + ExpressionList (children 4) + Identifier start_ts + Identifier end_ts + Identifier step_sec + Identifier window_sec + Function timeSeriesInstantDeltaToGrid (alias idelta_values) (children 2) + ExpressionList (children 2) + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier samples + Literal UInt64_1 + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier samples + Literal UInt64_2 + ExpressionList (children 4) + Identifier start_ts + Identifier end_ts + Identifier step_sec + Identifier window_sec + Function timeSeriesRateToGrid (alias rate_values) (children 2) + ExpressionList (children 2) + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier samples + Literal UInt64_1 + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier samples + Literal UInt64_2 + ExpressionList (children 4) + Identifier start_ts + Identifier end_ts + Identifier step_sec + Identifier window_sec + Function timeSeriesDeltaToGrid (alias delta_values) (children 2) + ExpressionList (children 2) + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier samples + Literal UInt64_1 + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier samples + Literal UInt64_2 + ExpressionList (children 4) + Identifier start_ts + Identifier end_ts + Identifier step_sec + Identifier window_sec + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function clusterAllReplicas (children 1) + ExpressionList (children 3) + Literal \'test_shard_localhost\' + Function currentDatabase (children 1) + ExpressionList + Identifier t_resampled_timeseries_64 + ExpressionList (children 1) + Identifier metric_id + ExpressionList (children 1) + OrderByElement (children 1) + Identifier metric_id + Set diff --git a/parser/testdata/03254_timeseries_to_grid_aggregate_function/explain_2.txt b/parser/testdata/03254_timeseries_to_grid_aggregate_function/explain_2.txt new file mode 100644 index 0000000000..a712651263 --- /dev/null +++ b/parser/testdata/03254_timeseries_to_grid_aggregate_function/explain_2.txt @@ -0,0 +1,27 @@ +InsertQuery (children 2) + Identifier ts_data + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Function CAST (alias timestamp) (children 1) + ExpressionList (children 2) + Identifier ts + Literal \'DateTime64\' + Function plus (alias value) (children 1) + ExpressionList (children 2) + Identifier ts + Literal UInt64_10000 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayJoin (alias ts) (children 1) + ExpressionList (children 1) + Identifier timestamps + ExpressionList (children 1) + Literal Array_[UInt64_11, UInt64_57, UInt64_71, UInt64_88, UInt64_89, UInt64_101, UInt64_127, UInt64_135, UInt64_151] (alias timestamps) diff --git a/parser/testdata/03254_timeseries_to_grid_aggregate_function/explain_3.txt b/parser/testdata/03254_timeseries_to_grid_aggregate_function/explain_3.txt new file mode 100644 index 0000000000..f7a497305c --- /dev/null +++ b/parser/testdata/03254_timeseries_to_grid_aggregate_function/explain_3.txt @@ -0,0 +1,27 @@ +InsertQuery (children 2) + Identifier ts_data + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Function CAST (alias timestamp) (children 1) + ExpressionList (children 2) + Identifier ts + Literal \'DateTime64\' + Function plus (alias value) (children 1) + ExpressionList (children 2) + Identifier ts + Literal UInt64_10000 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayJoin (alias ts) (children 1) + ExpressionList (children 1) + Identifier timestamps + ExpressionList (children 1) + Literal Array_[UInt64_102, UInt64_104, UInt64_112, UInt64_113, UInt64_120] (alias timestamps) diff --git a/parser/testdata/03254_timeseries_to_grid_aggregate_function_sparse/explain_13.txt b/parser/testdata/03254_timeseries_to_grid_aggregate_function_sparse/explain_13.txt new file mode 100644 index 0000000000..5eabca35e7 --- /dev/null +++ b/parser/testdata/03254_timeseries_to_grid_aggregate_function_sparse/explain_13.txt @@ -0,0 +1,50 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 7) + Literal UInt64_100 (alias begin) + Literal UInt64_200 (alias end) + Literal UInt64_10 (alias step_sec) + Literal UInt64_15 (alias staleness_sec) + Function CAST (alias begin_ts) (children 1) + ExpressionList (children 2) + Identifier begin + Literal \'DateTime(\\\'UTC\\\')\' + Function CAST (alias end_ts) (children 1) + ExpressionList (children 2) + Identifier end + Literal \'DateTime(\\\'UTC\\\')\' + Function range (alias grid) (children 1) + ExpressionList (children 3) + Identifier begin + Function plus (children 1) + ExpressionList (children 2) + Identifier end + Identifier step_sec + Identifier step_sec + ExpressionList (children 1) + Function arrayZip (alias e) (children 1) + ExpressionList (children 2) + Identifier grid + Function timeSeriesResampleToGridWithStaleness (children 2) + ExpressionList (children 2) + Function CAST (children 1) + ExpressionList (children 2) + Identifier timestamp + Literal \'DateTime64(6, \\\'UTC\\\')\' + Identifier value + ExpressionList (children 4) + Identifier begin_ts + Identifier end_ts + Identifier step_sec + Identifier staleness_sec + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function clusterAllReplicas (children 1) + ExpressionList (children 3) + Literal \'test_shard_localhost\' + Function currentDatabase (children 1) + ExpressionList + Identifier ts_data + Set diff --git a/parser/testdata/03254_timeseries_to_grid_aggregate_function_sparse/explain_2.txt b/parser/testdata/03254_timeseries_to_grid_aggregate_function_sparse/explain_2.txt new file mode 100644 index 0000000000..a712651263 --- /dev/null +++ b/parser/testdata/03254_timeseries_to_grid_aggregate_function_sparse/explain_2.txt @@ -0,0 +1,27 @@ +InsertQuery (children 2) + Identifier ts_data + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Function CAST (alias timestamp) (children 1) + ExpressionList (children 2) + Identifier ts + Literal \'DateTime64\' + Function plus (alias value) (children 1) + ExpressionList (children 2) + Identifier ts + Literal UInt64_10000 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayJoin (alias ts) (children 1) + ExpressionList (children 1) + Identifier timestamps + ExpressionList (children 1) + Literal Array_[UInt64_11, UInt64_57, UInt64_71, UInt64_88, UInt64_89, UInt64_101, UInt64_127, UInt64_135, UInt64_151] (alias timestamps) diff --git a/parser/testdata/03254_timeseries_to_grid_aggregate_function_sparse/explain_3.txt b/parser/testdata/03254_timeseries_to_grid_aggregate_function_sparse/explain_3.txt new file mode 100644 index 0000000000..f7a497305c --- /dev/null +++ b/parser/testdata/03254_timeseries_to_grid_aggregate_function_sparse/explain_3.txt @@ -0,0 +1,27 @@ +InsertQuery (children 2) + Identifier ts_data + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Function CAST (alias timestamp) (children 1) + ExpressionList (children 2) + Identifier ts + Literal \'DateTime64\' + Function plus (alias value) (children 1) + ExpressionList (children 2) + Identifier ts + Literal UInt64_10000 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayJoin (alias ts) (children 1) + ExpressionList (children 1) + Identifier timestamps + ExpressionList (children 1) + Literal Array_[UInt64_102, UInt64_104, UInt64_112, UInt64_113, UInt64_120] (alias timestamps) diff --git a/parser/testdata/03255_fix_sbstrings_logical_error/explain.txt b/parser/testdata/03255_fix_sbstrings_logical_error/explain.txt new file mode 100644 index 0000000000..a78fcb26e5 --- /dev/null +++ b/parser/testdata/03255_fix_sbstrings_logical_error/explain.txt @@ -0,0 +1,53 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function concat (children 1) + ExpressionList (children 5) + Function concat (children 1) + ExpressionList (children 1) + Literal UInt64_11 + Literal UInt64_5 + Function countSubstringsCaseInsensitive (children 1) + ExpressionList (children 2) + Function concat (children 1) + ExpressionList (children 2) + Function countSubstringsCaseInsensitive (children 1) + ExpressionList (children 2) + Function concat (children 1) + ExpressionList (children 5) + Literal UInt64_11 + Function toString (children 1) + ExpressionList (children 1) + Identifier number + Function materialize (children 1) + ExpressionList (children 1) + Literal \'aaa111\' + Literal UInt64_6 + Function materialize (children 1) + ExpressionList (children 1) + Literal UInt64_6 + Function char (children 1) + ExpressionList (children 1) + Identifier number + Literal \'aaa111\' + Function char (children 1) + ExpressionList (children 1) + Function countSubstringsCaseInsensitive (children 1) + ExpressionList (children 2) + Function concat (children 1) + ExpressionList (children 1) + Literal \' test\' + Function char (children 1) + ExpressionList (children 1) + Function toLowCardinality (children 1) + ExpressionList (children 1) + Literal UInt64_6 + Literal \'aaa111\' + Literal UInt64_6 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/03255_merge_mutation_start_entry_in_the_part_log/explain_13.txt b/parser/testdata/03255_merge_mutation_start_entry_in_the_part_log/explain_13.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03255_merge_mutation_start_entry_in_the_part_log/explain_13.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03255_merge_mutation_start_entry_in_the_part_log/explain_3.txt b/parser/testdata/03255_merge_mutation_start_entry_in_the_part_log/explain_3.txt new file mode 100644 index 0000000000..54c09aa546 --- /dev/null +++ b/parser/testdata/03255_merge_mutation_start_entry_in_the_part_log/explain_3.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 2) + Identifier x + Identifier y diff --git a/parser/testdata/03255_merge_mutation_start_entry_in_the_part_log/explain_4.txt b/parser/testdata/03255_merge_mutation_start_entry_in_the_part_log/explain_4.txt new file mode 100644 index 0000000000..54c09aa546 --- /dev/null +++ b/parser/testdata/03255_merge_mutation_start_entry_in_the_part_log/explain_4.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 2) + Identifier x + Identifier y diff --git a/parser/testdata/03255_merge_mutation_start_entry_in_the_part_log/explain_6.txt b/parser/testdata/03255_merge_mutation_start_entry_in_the_part_log/explain_6.txt new file mode 100644 index 0000000000..54c09aa546 --- /dev/null +++ b/parser/testdata/03255_merge_mutation_start_entry_in_the_part_log/explain_6.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 2) + Identifier x + Identifier y diff --git a/parser/testdata/03256_invalid_mutation_query/explain_9.txt b/parser/testdata/03256_invalid_mutation_query/explain_9.txt new file mode 100644 index 0000000000..ed38d0f1c3 --- /dev/null +++ b/parser/testdata/03256_invalid_mutation_query/explain_9.txt @@ -0,0 +1,16 @@ +DeleteQuery t (children 3) + Function in (children 1) + ExpressionList (children 2) + Identifier x + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier foo + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier bar + Identifier t + Set diff --git a/parser/testdata/03257_json_escape_file_names/explain_4.txt b/parser/testdata/03257_json_escape_file_names/explain_4.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03257_json_escape_file_names/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03257_reverse_sorting_key/explain_16.txt b/parser/testdata/03257_reverse_sorting_key/explain_16.txt new file mode 100644 index 0000000000..a33730758c --- /dev/null +++ b/parser/testdata/03257_reverse_sorting_key/explain_16.txt @@ -0,0 +1,16 @@ +CreateQuery x2 (children 3) + Identifier x2 + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration i (children 1) + DataType Nullable (children 1) + ExpressionList (children 1) + DataType int + ColumnDeclaration j (children 1) + DataType Nullable (children 1) + ExpressionList (children 1) + DataType int + Storage definition (children 3) + Function MergeTree + Function tuple + Set diff --git a/parser/testdata/03257_reverse_sorting_key/explain_5.txt b/parser/testdata/03257_reverse_sorting_key/explain_5.txt new file mode 100644 index 0000000000..02bcbe9fcf --- /dev/null +++ b/parser/testdata/03257_reverse_sorting_key/explain_5.txt @@ -0,0 +1,13 @@ +CreateQuery x1 (children 3) + Identifier x1 + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration i (children 1) + DataType Nullable (children 1) + ExpressionList (children 1) + DataType int + Storage definition (children 3) + Function MergeTree + StorageOrderByElement (children 1) + Identifier i + Set diff --git a/parser/testdata/03257_reverse_sorting_key_simple/explain_12.txt b/parser/testdata/03257_reverse_sorting_key_simple/explain_12.txt new file mode 100644 index 0000000000..a33730758c --- /dev/null +++ b/parser/testdata/03257_reverse_sorting_key_simple/explain_12.txt @@ -0,0 +1,16 @@ +CreateQuery x2 (children 3) + Identifier x2 + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration i (children 1) + DataType Nullable (children 1) + ExpressionList (children 1) + DataType int + ColumnDeclaration j (children 1) + DataType Nullable (children 1) + ExpressionList (children 1) + DataType int + Storage definition (children 3) + Function MergeTree + Function tuple + Set diff --git a/parser/testdata/03257_reverse_sorting_key_simple/explain_5.txt b/parser/testdata/03257_reverse_sorting_key_simple/explain_5.txt new file mode 100644 index 0000000000..02bcbe9fcf --- /dev/null +++ b/parser/testdata/03257_reverse_sorting_key_simple/explain_5.txt @@ -0,0 +1,13 @@ +CreateQuery x1 (children 3) + Identifier x1 + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration i (children 1) + DataType Nullable (children 1) + ExpressionList (children 1) + DataType int + Storage definition (children 3) + Function MergeTree + StorageOrderByElement (children 1) + Identifier i + Set diff --git a/parser/testdata/03257_reverse_sorting_key_zookeeper/explain_3.txt b/parser/testdata/03257_reverse_sorting_key_zookeeper/explain_3.txt new file mode 100644 index 0000000000..8c4bea3b9b --- /dev/null +++ b/parser/testdata/03257_reverse_sorting_key_zookeeper/explain_3.txt @@ -0,0 +1,16 @@ +CreateQuery x1 (children 3) + Identifier x1 + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration i (children 1) + DataType Nullable (children 1) + ExpressionList (children 1) + DataType int + Storage definition (children 3) + Function ReplicatedMergeTree (children 1) + ExpressionList (children 2) + Literal \'/clickhouse/tables/{database}/x1\' + Literal \'r1\' + StorageOrderByElement (children 1) + Identifier i + Set diff --git a/parser/testdata/03257_reverse_sorting_key_zookeeper/explain_4.txt b/parser/testdata/03257_reverse_sorting_key_zookeeper/explain_4.txt new file mode 100644 index 0000000000..684fc7f120 --- /dev/null +++ b/parser/testdata/03257_reverse_sorting_key_zookeeper/explain_4.txt @@ -0,0 +1,19 @@ +CreateQuery x2 (children 3) + Identifier x2 + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration i (children 1) + DataType Nullable (children 1) + ExpressionList (children 1) + DataType int + ColumnDeclaration j (children 1) + DataType Nullable (children 1) + ExpressionList (children 1) + DataType int + Storage definition (children 3) + Function ReplicatedMergeTree (children 1) + ExpressionList (children 2) + Literal \'/clickhouse/tables/{database}/x2\' + Literal \'r1\' + Function tuple + Set diff --git a/parser/testdata/03257_scalar_in_format_table_expression/explain.txt b/parser/testdata/03257_scalar_in_format_table_expression/explain.txt new file mode 100644 index 0000000000..7afe96b050 --- /dev/null +++ b/parser/testdata/03257_scalar_in_format_table_expression/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function format (children 1) + ExpressionList (children 2) + Identifier JSONEachRow + Literal \' {"a": "Hello", "b": 111} {"a": "World", "b": 123} \' diff --git a/parser/testdata/03258_multiple_array_joins/explain_4.txt b/parser/testdata/03258_multiple_array_joins/explain_4.txt new file mode 100644 index 0000000000..eae40219b5 --- /dev/null +++ b/parser/testdata/03258_multiple_array_joins/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_multiple_array_join diff --git a/parser/testdata/03258_multiple_array_joins/explain_5.txt b/parser/testdata/03258_multiple_array_joins/explain_5.txt new file mode 100644 index 0000000000..eae40219b5 --- /dev/null +++ b/parser/testdata/03258_multiple_array_joins/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_multiple_array_join diff --git a/parser/testdata/03258_old_analyzer_const_expr_bug/explain.txt b/parser/testdata/03258_old_analyzer_const_expr_bug/explain.txt new file mode 100644 index 0000000000..7891dcd5cd --- /dev/null +++ b/parser/testdata/03258_old_analyzer_const_expr_bug/explain.txt @@ -0,0 +1,140 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 4) + Function multiIf (alias interval_start) (children 1) + ExpressionList (children 7) + Function equals (children 1) + ExpressionList (children 2) + Literal \'-1\' + Literal \'-1\' + Literal UInt64_10080 + Function equals (children 1) + ExpressionList (children 2) + Literal \'-1\' + Literal \'7\' + Literal UInt64_60 + Function equals (children 1) + ExpressionList (children 2) + Literal \'-1\' + Literal \'1\' + Literal UInt64_5 + Literal UInt64_1440 + Function multiIf (alias days_run) (children 1) + ExpressionList (children 7) + Function equals (children 1) + ExpressionList (children 2) + Literal \'-1\' + Literal \'-1\' + Function CAST (children 1) + ExpressionList (children 2) + Function CEIL (children 1) + ExpressionList (children 1) + Function divide (children 1) + ExpressionList (children 2) + Function minus (children 1) + ExpressionList (children 2) + Function today (children 1) + ExpressionList + Function toDate (children 1) + ExpressionList (children 1) + Literal \'2017-06-22\' + Literal UInt64_7 + Literal \'UInt16\' + Function equals (children 1) + ExpressionList (children 2) + Literal \'-1\' + Literal \'7\' + Literal UInt64_168 + Function equals (children 1) + ExpressionList (children 2) + Literal \'-1\' + Literal \'1\' + Literal UInt64_288 + Literal UInt64_90 + WithElement (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayJoin (children 1) + ExpressionList (children 1) + Function arrayMap (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier i + Function toDateTime (children 1) + ExpressionList (children 2) + Function minus (children 1) + ExpressionList (children 2) + Function toStartOfInterval (children 1) + ExpressionList (children 2) + Function now (children 1) + ExpressionList + Function toIntervalMinute (children 1) + ExpressionList (children 1) + Identifier interval_start + Function multiply (children 1) + ExpressionList (children 2) + Function multiply (children 1) + ExpressionList (children 2) + Identifier interval_start + Literal UInt64_60 + Identifier i + Literal \'UTC\' + Function range (children 1) + ExpressionList (children 1) + Identifier days_run + WithElement (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function toDateTime (alias block_time) (children 1) + ExpressionList (children 2) + Function toStartOfInterval (children 1) + ExpressionList (children 2) + Function now (children 1) + ExpressionList + Function toIntervalMinute (children 1) + ExpressionList (children 1) + Identifier interval_start + Literal \'UTC\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1 + ExpressionList (children 1) + Identifier block_time + ExpressionList (children 1) + OrderByElement (children 1) + Identifier block_time + ExpressionList (children 1) + Identifier block_time + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier sales + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Identifier block_time + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function MIN (children 1) + ExpressionList (children 1) + Identifier block_time + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier sales + Identifier Null diff --git a/parser/testdata/03259_grouping_sets_aliases/explain_3.txt b/parser/testdata/03259_grouping_sets_aliases/explain_3.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03259_grouping_sets_aliases/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03259_join_condition_executed_block_bug/explain_5.txt b/parser/testdata/03259_join_condition_executed_block_bug/explain_5.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/03259_join_condition_executed_block_bug/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/03259_join_condition_executed_block_bug/explain_6.txt b/parser/testdata/03259_join_condition_executed_block_bug/explain_6.txt new file mode 100644 index 0000000000..df4a687bc0 --- /dev/null +++ b/parser/testdata/03259_join_condition_executed_block_bug/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2 diff --git a/parser/testdata/03259_negate_key_overflow/explain_10.txt b/parser/testdata/03259_negate_key_overflow/explain_10.txt new file mode 100644 index 0000000000..b99677bd61 --- /dev/null +++ b/parser/testdata/03259_negate_key_overflow/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier a diff --git a/parser/testdata/03259_negate_key_overflow/explain_2.txt b/parser/testdata/03259_negate_key_overflow/explain_2.txt new file mode 100644 index 0000000000..b99677bd61 --- /dev/null +++ b/parser/testdata/03259_negate_key_overflow/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier a diff --git a/parser/testdata/03259_negate_key_overflow/explain_6.txt b/parser/testdata/03259_negate_key_overflow/explain_6.txt new file mode 100644 index 0000000000..b99677bd61 --- /dev/null +++ b/parser/testdata/03259_negate_key_overflow/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier a diff --git a/parser/testdata/03261_delayed_streams_memory/explain_5.txt b/parser/testdata/03261_delayed_streams_memory/explain_5.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03261_delayed_streams_memory/explain_5.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03261_json_hints_types_check/explain.txt b/parser/testdata/03261_json_hints_types_check/explain.txt index 1b14b4cc62..c536207a87 100644 --- a/parser/testdata/03261_json_hints_types_check/explain.txt +++ b/parser/testdata/03261_json_hints_types_check/explain.txt @@ -6,4 +6,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Literal \'{}\' Literal \'JSON(a LowCardinality(Int128))\' -The query succeeded but the server error '455' was expected (query: EXPLAIN AST select '{}'::JSON(a LowCardinality(Int128)); -- {serverError SUSPICIOUS_TYPE_FOR_LOW_CARDINALITY}). diff --git a/parser/testdata/03261_low_cardinality_nullable_to_dynamic_cast/explain_4.txt b/parser/testdata/03261_low_cardinality_nullable_to_dynamic_cast/explain_4.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/03261_low_cardinality_nullable_to_dynamic_cast/explain_4.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03261_minmax_indices_by_default/explain_8.txt b/parser/testdata/03261_minmax_indices_by_default/explain_8.txt new file mode 100644 index 0000000000..f58e917ac3 --- /dev/null +++ b/parser/testdata/03261_minmax_indices_by_default/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tbl1 diff --git a/parser/testdata/03261_mongodb_argumetns_crash/explain.txt b/parser/testdata/03261_mongodb_argumetns_crash/explain.txt index 563cec00e1..1cb80340d9 100644 --- a/parser/testdata/03261_mongodb_argumetns_crash/explain.txt +++ b/parser/testdata/03261_mongodb_argumetns_crash/explain.txt @@ -14,4 +14,3 @@ SelectWithUnionQuery (children 1) Literal \'test_user\' Literal \'password\' Literal \'x Int32\' -The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT * FROM mongodb('mongodb://some-cluster:27017/?retryWrites=false', NULL, 'my_collection', 'test_user', 'password', 'x Int32'); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/03261_pr_semi_anti_join/explain_5.txt b/parser/testdata/03261_pr_semi_anti_join/explain_5.txt new file mode 100644 index 0000000000..163be9e218 --- /dev/null +++ b/parser/testdata/03261_pr_semi_anti_join/explain_5.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 2) + Identifier x + Identifier s diff --git a/parser/testdata/03261_pr_semi_anti_join/explain_6.txt b/parser/testdata/03261_pr_semi_anti_join/explain_6.txt new file mode 100644 index 0000000000..1aae5c69a2 --- /dev/null +++ b/parser/testdata/03261_pr_semi_anti_join/explain_6.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t2 + ExpressionList (children 2) + Identifier x + Identifier s diff --git a/parser/testdata/03261_sort_cursor_crash/explain_13.txt b/parser/testdata/03261_sort_cursor_crash/explain_13.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/03261_sort_cursor_crash/explain_13.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03261_sort_cursor_crash/explain_17.txt b/parser/testdata/03261_sort_cursor_crash/explain_17.txt new file mode 100644 index 0000000000..cf8ce799f2 --- /dev/null +++ b/parser/testdata/03261_sort_cursor_crash/explain_17.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 3) + Identifier a0 + Identifier c0 + Identifier c1 diff --git a/parser/testdata/03261_sort_cursor_crash/explain_5.txt b/parser/testdata/03261_sort_cursor_crash/explain_5.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/03261_sort_cursor_crash/explain_5.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03261_sort_cursor_crash/explain_9.txt b/parser/testdata/03261_sort_cursor_crash/explain_9.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/03261_sort_cursor_crash/explain_9.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03262_analyzer_materialized_view_in_with_cte/explain_8.txt b/parser/testdata/03262_analyzer_materialized_view_in_with_cte/explain_8.txt new file mode 100644 index 0000000000..b22b4c52ff --- /dev/null +++ b/parser/testdata/03262_analyzer_materialized_view_in_with_cte/explain_8.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier mv_test + ExpressionList (children 3) + Identifier id + Identifier ref_id + Identifier display diff --git a/parser/testdata/03262_common_expression_optimization/explain_11.txt b/parser/testdata/03262_common_expression_optimization/explain_11.txt new file mode 100644 index 0000000000..f2ef7811b9 --- /dev/null +++ b/parser/testdata/03262_common_expression_optimization/explain_11.txt @@ -0,0 +1,29 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier x + Function and (children 1) + ExpressionList (children 2) + Identifier A + Function or (children 1) + ExpressionList (children 2) + Function and (children 1) + ExpressionList (children 3) + Identifier B + Identifier C + Identifier E + Function and (children 1) + ExpressionList (children 3) + Identifier B + Identifier C + Identifier F + ExpressionList (children 1) + OrderByElement (children 1) + Identifier x + Literal UInt64_10 + Set diff --git a/parser/testdata/03262_common_expression_optimization/explain_14.txt b/parser/testdata/03262_common_expression_optimization/explain_14.txt new file mode 100644 index 0000000000..b4e74ba3c0 --- /dev/null +++ b/parser/testdata/03262_common_expression_optimization/explain_14.txt @@ -0,0 +1,31 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier x + Function and (children 1) + ExpressionList (children 2) + Identifier A + Function or (children 1) + ExpressionList (children 2) + Function and (children 1) + ExpressionList (children 2) + Identifier B + Function and (children 1) + ExpressionList (children 2) + Identifier C + Identifier E + Function and (children 1) + ExpressionList (children 3) + Identifier B + Identifier C + Identifier F + ExpressionList (children 1) + OrderByElement (children 1) + Identifier x + Literal UInt64_10 + Set diff --git a/parser/testdata/03262_common_expression_optimization/explain_17.txt b/parser/testdata/03262_common_expression_optimization/explain_17.txt new file mode 100644 index 0000000000..b67d722052 --- /dev/null +++ b/parser/testdata/03262_common_expression_optimization/explain_17.txt @@ -0,0 +1,31 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier x + Function and (children 1) + ExpressionList (children 2) + Identifier A + Function or (children 1) + ExpressionList (children 3) + Function and (children 1) + ExpressionList (children 2) + Identifier B + Identifier C + Function and (children 1) + ExpressionList (children 2) + Identifier B + Identifier D + Function and (children 1) + ExpressionList (children 2) + Identifier B + Identifier E + ExpressionList (children 1) + OrderByElement (children 1) + Identifier x + Literal UInt64_10 + Set diff --git a/parser/testdata/03262_common_expression_optimization/explain_20.txt b/parser/testdata/03262_common_expression_optimization/explain_20.txt new file mode 100644 index 0000000000..f158197485 --- /dev/null +++ b/parser/testdata/03262_common_expression_optimization/explain_20.txt @@ -0,0 +1,33 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier x + Function and (children 1) + ExpressionList (children 2) + Identifier A + Function or (children 1) + ExpressionList (children 2) + Function and (children 1) + ExpressionList (children 2) + Identifier B + Identifier C + Function or (children 1) + ExpressionList (children 2) + Function and (children 1) + ExpressionList (children 2) + Identifier B + Identifier D + Function and (children 1) + ExpressionList (children 2) + Identifier B + Identifier E + ExpressionList (children 1) + OrderByElement (children 1) + Identifier x + Literal UInt64_10 + Set diff --git a/parser/testdata/03262_common_expression_optimization/explain_23.txt b/parser/testdata/03262_common_expression_optimization/explain_23.txt new file mode 100644 index 0000000000..6d5c6d4e37 --- /dev/null +++ b/parser/testdata/03262_common_expression_optimization/explain_23.txt @@ -0,0 +1,25 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier x + Function or (children 1) + ExpressionList (children 2) + Function and (children 1) + ExpressionList (children 2) + Identifier B + Identifier C + Function and (children 1) + ExpressionList (children 3) + Identifier B + Identifier C + Identifier F + ExpressionList (children 1) + OrderByElement (children 1) + Identifier x + Literal UInt64_10 + Set diff --git a/parser/testdata/03262_common_expression_optimization/explain_26.txt b/parser/testdata/03262_common_expression_optimization/explain_26.txt new file mode 100644 index 0000000000..d3705728c7 --- /dev/null +++ b/parser/testdata/03262_common_expression_optimization/explain_26.txt @@ -0,0 +1,26 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier x + Function or (children 1) + ExpressionList (children 2) + Function and (children 1) + ExpressionList (children 3) + Identifier B + Identifier C + Identifier E + Function and (children 1) + ExpressionList (children 3) + Identifier B + Identifier C + Identifier F + ExpressionList (children 1) + OrderByElement (children 1) + Identifier x + Literal UInt64_10 + Set diff --git a/parser/testdata/03262_common_expression_optimization/explain_29.txt b/parser/testdata/03262_common_expression_optimization/explain_29.txt new file mode 100644 index 0000000000..f9ff410d1d --- /dev/null +++ b/parser/testdata/03262_common_expression_optimization/explain_29.txt @@ -0,0 +1,28 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier x + Function or (children 1) + ExpressionList (children 2) + Function and (children 1) + ExpressionList (children 2) + Identifier B + Function and (children 1) + ExpressionList (children 2) + Identifier C + Identifier E + Function and (children 1) + ExpressionList (children 3) + Identifier B + Identifier C + Identifier F + ExpressionList (children 1) + OrderByElement (children 1) + Identifier x + Literal UInt64_10 + Set diff --git a/parser/testdata/03262_common_expression_optimization/explain_32.txt b/parser/testdata/03262_common_expression_optimization/explain_32.txt new file mode 100644 index 0000000000..4243a1a563 --- /dev/null +++ b/parser/testdata/03262_common_expression_optimization/explain_32.txt @@ -0,0 +1,28 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier x + Function or (children 1) + ExpressionList (children 3) + Function and (children 1) + ExpressionList (children 2) + Identifier B + Identifier C + Function and (children 1) + ExpressionList (children 2) + Identifier B + Identifier D + Function and (children 1) + ExpressionList (children 2) + Identifier B + Identifier E + ExpressionList (children 1) + OrderByElement (children 1) + Identifier x + Literal UInt64_10 + Set diff --git a/parser/testdata/03262_common_expression_optimization/explain_35.txt b/parser/testdata/03262_common_expression_optimization/explain_35.txt new file mode 100644 index 0000000000..d32abea41f --- /dev/null +++ b/parser/testdata/03262_common_expression_optimization/explain_35.txt @@ -0,0 +1,30 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier x + Function or (children 1) + ExpressionList (children 2) + Function and (children 1) + ExpressionList (children 2) + Identifier B + Identifier C + Function or (children 1) + ExpressionList (children 2) + Function and (children 1) + ExpressionList (children 2) + Identifier B + Identifier D + Function and (children 1) + ExpressionList (children 2) + Identifier B + Identifier E + ExpressionList (children 1) + OrderByElement (children 1) + Identifier x + Literal UInt64_10 + Set diff --git a/parser/testdata/03262_common_expression_optimization/explain_38.txt b/parser/testdata/03262_common_expression_optimization/explain_38.txt new file mode 100644 index 0000000000..39a583414f --- /dev/null +++ b/parser/testdata/03262_common_expression_optimization/explain_38.txt @@ -0,0 +1,38 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier x + Function or (children 1) + ExpressionList (children 2) + Function and (children 1) + ExpressionList (children 2) + Identifier A + Function equals (children 1) + ExpressionList (children 2) + Function sipHash64 (children 1) + ExpressionList (children 1) + Identifier C + Function sipHash64 (children 1) + ExpressionList (children 1) + Identifier D + Function and (children 1) + ExpressionList (children 2) + Identifier B + Function equals (children 1) + ExpressionList (children 2) + Function sipHash64 (children 1) + ExpressionList (children 1) + Identifier C + Function sipHash64 (children 1) + ExpressionList (children 1) + Identifier D + ExpressionList (children 1) + OrderByElement (children 1) + Identifier x + Literal UInt64_10 + Set diff --git a/parser/testdata/03262_common_expression_optimization/explain_41.txt b/parser/testdata/03262_common_expression_optimization/explain_41.txt new file mode 100644 index 0000000000..c849007afc --- /dev/null +++ b/parser/testdata/03262_common_expression_optimization/explain_41.txt @@ -0,0 +1,30 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier x + Function or (children 1) + ExpressionList (children 2) + Function and (children 1) + ExpressionList (children 2) + Identifier A + Identifier B + Function or (children 1) + ExpressionList (children 2) + Function and (children 1) + ExpressionList (children 2) + Identifier C + Identifier D + Function and (children 1) + ExpressionList (children 2) + Identifier E + Identifier F + ExpressionList (children 1) + OrderByElement (children 1) + Identifier x + Literal UInt64_10 + Set diff --git a/parser/testdata/03262_common_expression_optimization/explain_44.txt b/parser/testdata/03262_common_expression_optimization/explain_44.txt new file mode 100644 index 0000000000..9152049b13 --- /dev/null +++ b/parser/testdata/03262_common_expression_optimization/explain_44.txt @@ -0,0 +1,30 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier x + Function or (children 1) + ExpressionList (children 2) + Function and (children 1) + ExpressionList (children 2) + Identifier A + Identifier B + Function or (children 1) + ExpressionList (children 2) + Function and (children 1) + ExpressionList (children 2) + Identifier B + Identifier D + Function and (children 1) + ExpressionList (children 2) + Identifier E + Identifier F + ExpressionList (children 1) + OrderByElement (children 1) + Identifier x + Literal UInt64_10 + Set diff --git a/parser/testdata/03262_common_expression_optimization/explain_47.txt b/parser/testdata/03262_common_expression_optimization/explain_47.txt new file mode 100644 index 0000000000..a176864ebb --- /dev/null +++ b/parser/testdata/03262_common_expression_optimization/explain_47.txt @@ -0,0 +1,39 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier x + Function or (children 1) + ExpressionList (children 2) + Function and (children 1) + ExpressionList (children 3) + Identifier A + Identifier B + Identifier C + Function or (children 1) + ExpressionList (children 2) + Function and (children 1) + ExpressionList (children 7) + Identifier A + Identifier A + Identifier A + Identifier B + Identifier B + Identifier E + Identifier E + Function and (children 1) + ExpressionList (children 5) + Identifier A + Identifier B + Identifier B + Identifier F + Identifier F + ExpressionList (children 1) + OrderByElement (children 1) + Identifier x + Literal UInt64_10 + Set diff --git a/parser/testdata/03262_common_expression_optimization/explain_50.txt b/parser/testdata/03262_common_expression_optimization/explain_50.txt new file mode 100644 index 0000000000..a7f0e105a8 --- /dev/null +++ b/parser/testdata/03262_common_expression_optimization/explain_50.txt @@ -0,0 +1,40 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier x + Function and (children 1) + ExpressionList (children 2) + Function or (children 1) + ExpressionList (children 2) + Function and (children 1) + ExpressionList (children 3) + Identifier A + Identifier B + Identifier C + Function and (children 1) + ExpressionList (children 3) + Identifier A + Identifier B + Identifier D + Function or (children 1) + ExpressionList (children 2) + Function and (children 1) + ExpressionList (children 3) + Identifier B + Identifier A + Identifier E + Function and (children 1) + ExpressionList (children 3) + Identifier B + Identifier A + Identifier F + ExpressionList (children 1) + OrderByElement (children 1) + Identifier x + Literal UInt64_10 + Set diff --git a/parser/testdata/03262_common_expression_optimization/explain_6.txt b/parser/testdata/03262_common_expression_optimization/explain_6.txt new file mode 100644 index 0000000000..29fb559c12 --- /dev/null +++ b/parser/testdata/03262_common_expression_optimization/explain_6.txt @@ -0,0 +1,23 @@ +Explain EXPLAIN QUERY TREE (children 2) + Set + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier x + Function or (children 1) + ExpressionList (children 2) + Function and (children 1) + ExpressionList (children 2) + Identifier A + Identifier B + Function and (children 1) + ExpressionList (children 2) + Identifier A + Identifier C + Set diff --git a/parser/testdata/03262_common_expression_optimization/explain_60.txt b/parser/testdata/03262_common_expression_optimization/explain_60.txt new file mode 100644 index 0000000000..6640be2e74 --- /dev/null +++ b/parser/testdata/03262_common_expression_optimization/explain_60.txt @@ -0,0 +1,40 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier x + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier y + TableJoin (children 1) + Function or (children 1) + ExpressionList (children 2) + Function and (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier x.A + Identifier y.A + Function equals (children 1) + ExpressionList (children 2) + Identifier x.B + Literal UInt64_1 + Function and (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier x.A + Identifier y.A + Function equals (children 1) + ExpressionList (children 2) + Identifier y.C + Literal UInt64_1 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier ALL + Literal UInt64_10 + Set diff --git a/parser/testdata/03262_common_expression_optimization/explain_64.txt b/parser/testdata/03262_common_expression_optimization/explain_64.txt new file mode 100644 index 0000000000..9864cdd1c0 --- /dev/null +++ b/parser/testdata/03262_common_expression_optimization/explain_64.txt @@ -0,0 +1,30 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier x + Function or (children 1) + ExpressionList (children 2) + Function and (children 1) + ExpressionList (children 2) + Identifier D + Literal UInt64_5 + Function and (children 1) + ExpressionList (children 2) + Function and (children 1) + ExpressionList (children 2) + Identifier C + Identifier E + Function and (children 1) + ExpressionList (children 2) + Identifier C + Identifier E + ExpressionList (children 1) + OrderByElement (children 1) + Identifier ALL + Literal UInt64_3 + Set diff --git a/parser/testdata/03262_common_expression_optimization/explain_67.txt b/parser/testdata/03262_common_expression_optimization/explain_67.txt new file mode 100644 index 0000000000..a10e88bbda --- /dev/null +++ b/parser/testdata/03262_common_expression_optimization/explain_67.txt @@ -0,0 +1,35 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 7) + ExpressionList (children 4) + Identifier x + Function max (alias mA) (children 1) + ExpressionList (children 1) + Identifier A + Function max (alias mB) (children 1) + ExpressionList (children 1) + Identifier B + Function max (alias mC) (children 1) + ExpressionList (children 1) + Identifier C + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier x + ExpressionList (children 1) + Identifier x + Function or (children 1) + ExpressionList (children 2) + Function and (children 1) + ExpressionList (children 2) + Identifier mA + Identifier mB + Function and (children 1) + ExpressionList (children 2) + Identifier mA + Identifier mC + ExpressionList (children 1) + OrderByElement (children 1) + Identifier x + Literal UInt64_10 + Set diff --git a/parser/testdata/03262_common_expression_optimization/explain_7.txt b/parser/testdata/03262_common_expression_optimization/explain_7.txt new file mode 100644 index 0000000000..29fb559c12 --- /dev/null +++ b/parser/testdata/03262_common_expression_optimization/explain_7.txt @@ -0,0 +1,23 @@ +Explain EXPLAIN QUERY TREE (children 2) + Set + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier x + Function or (children 1) + ExpressionList (children 2) + Function and (children 1) + ExpressionList (children 2) + Identifier A + Identifier B + Function and (children 1) + ExpressionList (children 2) + Identifier A + Identifier C + Set diff --git a/parser/testdata/03262_common_expression_optimization/explain_70.txt b/parser/testdata/03262_common_expression_optimization/explain_70.txt new file mode 100644 index 0000000000..636d13d39f --- /dev/null +++ b/parser/testdata/03262_common_expression_optimization/explain_70.txt @@ -0,0 +1,33 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 4) + Identifier x + Function max (alias mA) (children 1) + ExpressionList (children 1) + Identifier A + Function max (alias mB) (children 1) + ExpressionList (children 1) + Identifier B + Function max (alias mC) (children 1) + ExpressionList (children 1) + Identifier C + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier x + Function or (children 1) + ExpressionList (children 2) + Function and (children 1) + ExpressionList (children 2) + Identifier mA + Identifier mB + Function and (children 1) + ExpressionList (children 2) + Identifier mA + Identifier mC + ExpressionList (children 1) + OrderByElement (children 1) + Identifier x + Literal UInt64_10 + Set diff --git a/parser/testdata/03262_common_expression_optimization/explain_8.txt b/parser/testdata/03262_common_expression_optimization/explain_8.txt new file mode 100644 index 0000000000..04845f2204 --- /dev/null +++ b/parser/testdata/03262_common_expression_optimization/explain_8.txt @@ -0,0 +1,28 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier x + Function and (children 1) + ExpressionList (children 2) + Identifier A + Function or (children 1) + ExpressionList (children 2) + Function and (children 1) + ExpressionList (children 2) + Identifier B + Identifier C + Function and (children 1) + ExpressionList (children 3) + Identifier B + Identifier C + Identifier F + ExpressionList (children 1) + OrderByElement (children 1) + Identifier x + Literal UInt64_10 + Set diff --git a/parser/testdata/03262_filter_push_down_view/explain_6.txt b/parser/testdata/03262_filter_push_down_view/explain_6.txt new file mode 100644 index 0000000000..2cae52e5b7 --- /dev/null +++ b/parser/testdata/03262_filter_push_down_view/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier alpha diff --git a/parser/testdata/03262_filter_push_down_view/explain_7.txt b/parser/testdata/03262_filter_push_down_view/explain_7.txt new file mode 100644 index 0000000000..2cae52e5b7 --- /dev/null +++ b/parser/testdata/03262_filter_push_down_view/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier alpha diff --git a/parser/testdata/03262_filter_push_down_view/explain_8.txt b/parser/testdata/03262_filter_push_down_view/explain_8.txt new file mode 100644 index 0000000000..2cae52e5b7 --- /dev/null +++ b/parser/testdata/03262_filter_push_down_view/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier alpha diff --git a/parser/testdata/03262_system_functions_should_not_fill_query_log_functions/explain_2.txt b/parser/testdata/03262_system_functions_should_not_fill_query_log_functions/explain_2.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03262_system_functions_should_not_fill_query_log_functions/explain_2.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03263_analyzer_materialized_view_cte_nested/explain_6.txt b/parser/testdata/03263_analyzer_materialized_view_cte_nested/explain_6.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/03263_analyzer_materialized_view_cte_nested/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/03263_forbid_materialize_sort_key/explain_12.txt b/parser/testdata/03263_forbid_materialize_sort_key/explain_12.txt new file mode 100644 index 0000000000..02ab3485c2 --- /dev/null +++ b/parser/testdata/03263_forbid_materialize_sort_key/explain_12.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier tab2 + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/03263_forbid_materialize_sort_key/explain_14.txt b/parser/testdata/03263_forbid_materialize_sort_key/explain_14.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/03263_forbid_materialize_sort_key/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/03263_forbid_materialize_sort_key/explain_9.txt b/parser/testdata/03263_forbid_materialize_sort_key/explain_9.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/03263_forbid_materialize_sort_key/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/03263_parquet_write_bloom_filter/explain_13.txt b/parser/testdata/03263_parquet_write_bloom_filter/explain_13.txt new file mode 100644 index 0000000000..3d8e9aa35f --- /dev/null +++ b/parser/testdata/03263_parquet_write_bloom_filter/explain_13.txt @@ -0,0 +1,15 @@ +InsertQuery (children 3) + Function file (children 1) + ExpressionList (children 1) + Identifier bf_03263.parquet + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier data + Set + Set diff --git a/parser/testdata/03263_parquet_write_bloom_filter/explain_17.txt b/parser/testdata/03263_parquet_write_bloom_filter/explain_17.txt new file mode 100644 index 0000000000..3d8e9aa35f --- /dev/null +++ b/parser/testdata/03263_parquet_write_bloom_filter/explain_17.txt @@ -0,0 +1,15 @@ +InsertQuery (children 3) + Function file (children 1) + ExpressionList (children 1) + Identifier bf_03263.parquet + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier data + Set + Set diff --git a/parser/testdata/03263_parquet_write_bloom_filter/explain_29.txt b/parser/testdata/03263_parquet_write_bloom_filter/explain_29.txt new file mode 100644 index 0000000000..3d8e9aa35f --- /dev/null +++ b/parser/testdata/03263_parquet_write_bloom_filter/explain_29.txt @@ -0,0 +1,15 @@ +InsertQuery (children 3) + Function file (children 1) + ExpressionList (children 1) + Identifier bf_03263.parquet + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier data + Set + Set diff --git a/parser/testdata/03266_with_fill_staleness/explain_10.txt b/parser/testdata/03266_with_fill_staleness/explain_10.txt new file mode 100644 index 0000000000..a3889409e5 --- /dev/null +++ b/parser/testdata/03266_with_fill_staleness/explain_10.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 3) + Identifier a + Identifier c + Literal \'original\' (alias original) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier with_fill_staleness + ExpressionList (children 1) + OrderByElement (children 2) + Identifier a + Function toIntervalSecond (children 1) + ExpressionList (children 1) + Literal UInt64_1 + ExpressionList (children 1) + InterpolateElement (column c) (children 1) + Identifier c diff --git a/parser/testdata/03266_with_fill_staleness/explain_12.txt b/parser/testdata/03266_with_fill_staleness/explain_12.txt new file mode 100644 index 0000000000..121f80efca --- /dev/null +++ b/parser/testdata/03266_with_fill_staleness/explain_12.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 3) + Identifier a + Identifier c + Literal \'original\' (alias original) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier with_fill_staleness + ExpressionList (children 1) + OrderByElement (children 2) + Identifier a + Function toIntervalSecond (children 1) + ExpressionList (children 1) + Literal UInt64_3 + ExpressionList (children 1) + InterpolateElement (column c) (children 1) + Identifier c diff --git a/parser/testdata/03266_with_fill_staleness/explain_14.txt b/parser/testdata/03266_with_fill_staleness/explain_14.txt new file mode 100644 index 0000000000..90b88b9064 --- /dev/null +++ b/parser/testdata/03266_with_fill_staleness/explain_14.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 3) + Identifier a + Identifier c + Literal \'original\' (alias original) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier with_fill_staleness + ExpressionList (children 1) + OrderByElement (children 2) + Identifier a + Function toIntervalSecond (children 1) + ExpressionList (children 1) + Literal Int64_-2 + ExpressionList (children 1) + InterpolateElement (column c) (children 1) + Identifier c diff --git a/parser/testdata/03266_with_fill_staleness/explain_16.txt b/parser/testdata/03266_with_fill_staleness/explain_16.txt new file mode 100644 index 0000000000..54dbd93d12 --- /dev/null +++ b/parser/testdata/03266_with_fill_staleness/explain_16.txt @@ -0,0 +1,24 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 3) + Identifier a + Identifier c + Literal \'original\' (alias original) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier with_fill_staleness + ExpressionList (children 1) + OrderByElement (children 4) + Identifier a + Function toDateTime (children 1) + ExpressionList (children 1) + Literal \'2016-06-15 23:00:40\' + Literal UInt64_3 + Function toIntervalSecond (children 1) + ExpressionList (children 1) + Literal UInt64_7 + ExpressionList (children 1) + InterpolateElement (column c) (children 1) + Identifier c diff --git a/parser/testdata/03266_with_fill_staleness/explain_18.txt b/parser/testdata/03266_with_fill_staleness/explain_18.txt new file mode 100644 index 0000000000..bc87f66fb8 --- /dev/null +++ b/parser/testdata/03266_with_fill_staleness/explain_18.txt @@ -0,0 +1,25 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 4) + Identifier a + Identifier b + Identifier c + Literal \'original\' (alias original) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier with_fill_staleness + ExpressionList (children 2) + OrderByElement (children 2) + Identifier a + Function toIntervalSecond (children 1) + ExpressionList (children 1) + Literal UInt64_2 + OrderByElement (children 3) + Identifier b + Literal UInt64_0 + Literal UInt64_3 + ExpressionList (children 1) + InterpolateElement (column c) (children 1) + Identifier c diff --git a/parser/testdata/03266_with_fill_staleness/explain_20.txt b/parser/testdata/03266_with_fill_staleness/explain_20.txt new file mode 100644 index 0000000000..43f741d5b7 --- /dev/null +++ b/parser/testdata/03266_with_fill_staleness/explain_20.txt @@ -0,0 +1,28 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 4) + Identifier a + Identifier b + Identifier c + Literal \'original\' (alias original) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier with_fill_staleness + ExpressionList (children 2) + OrderByElement (children 2) + Identifier a + Function toIntervalSecond (children 1) + ExpressionList (children 1) + Literal UInt64_2 + OrderByElement (children 4) + Identifier b + Function toDateTime (children 1) + ExpressionList (children 1) + Literal \'2016-06-15 23:01:00\' + Literal UInt64_2 + Literal UInt64_5 + ExpressionList (children 1) + InterpolateElement (column c) (children 1) + Identifier c diff --git a/parser/testdata/03266_with_fill_staleness_cases/explain_13.txt b/parser/testdata/03266_with_fill_staleness_cases/explain_13.txt new file mode 100644 index 0000000000..e11f3afd4e --- /dev/null +++ b/parser/testdata/03266_with_fill_staleness_cases/explain_13.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Asterisk + Literal \'original\' (alias orig) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test2 + ExpressionList (children 2) + OrderByElement (children 3) + Identifier a + Literal UInt64_20 + Literal UInt64_4 + OrderByElement (children 3) + Identifier b + Literal UInt64_15 + Literal UInt64_7 diff --git a/parser/testdata/03266_with_fill_staleness_cases/explain_16.txt b/parser/testdata/03266_with_fill_staleness_cases/explain_16.txt new file mode 100644 index 0000000000..72f8b78191 --- /dev/null +++ b/parser/testdata/03266_with_fill_staleness_cases/explain_16.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test3 + ExpressionList (children 2) + Identifier a + Identifier b diff --git a/parser/testdata/03266_with_fill_staleness_cases/explain_4.txt b/parser/testdata/03266_with_fill_staleness_cases/explain_4.txt new file mode 100644 index 0000000000..2b0803c89d --- /dev/null +++ b/parser/testdata/03266_with_fill_staleness_cases/explain_4.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 3) + Identifier a + Identifier b + Identifier c diff --git a/parser/testdata/03266_with_fill_staleness_cases/explain_6.txt b/parser/testdata/03266_with_fill_staleness_cases/explain_6.txt new file mode 100644 index 0000000000..b4fc5cd6a4 --- /dev/null +++ b/parser/testdata/03266_with_fill_staleness_cases/explain_6.txt @@ -0,0 +1,22 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Asterisk + Literal \'original\' (alias orig) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test + ExpressionList (children 3) + OrderByElement (children 1) + Identifier a + OrderByElement (children 4) + Identifier b + Literal UInt64_20 + Literal UInt64_2 + Literal UInt64_3 + OrderByElement (children 3) + Identifier c + Literal UInt64_25 + Literal UInt64_3 diff --git a/parser/testdata/03266_with_fill_staleness_cases/explain_9.txt b/parser/testdata/03266_with_fill_staleness_cases/explain_9.txt new file mode 100644 index 0000000000..d70aa8a98d --- /dev/null +++ b/parser/testdata/03266_with_fill_staleness_cases/explain_9.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test2 + ExpressionList (children 2) + Identifier a + Identifier b diff --git a/parser/testdata/03266_with_fill_staleness_errors/explain_2.txt b/parser/testdata/03266_with_fill_staleness_errors/explain_2.txt new file mode 100644 index 0000000000..9a14abb46a --- /dev/null +++ b/parser/testdata/03266_with_fill_staleness_errors/explain_2.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Literal UInt64_1 (alias a) + Literal UInt64_2 (alias b) + ExpressionList (children 2) + OrderByElement (children 1) + Identifier a + OrderByElement (children 4) + Identifier b + Literal UInt64_0 + Literal UInt64_10 + Literal UInt64_3 diff --git a/parser/testdata/03266_with_fill_staleness_errors/explain_3.txt b/parser/testdata/03266_with_fill_staleness_errors/explain_3.txt new file mode 100644 index 0000000000..8f888c5688 --- /dev/null +++ b/parser/testdata/03266_with_fill_staleness_errors/explain_3.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Literal UInt64_1 (alias a) + Literal UInt64_2 (alias b) + ExpressionList (children 2) + OrderByElement (children 1) + Identifier a + OrderByElement (children 3) + Identifier b + Literal UInt64_10 + Literal UInt64_3 diff --git a/parser/testdata/03266_with_fill_staleness_errors/explain_4.txt b/parser/testdata/03266_with_fill_staleness_errors/explain_4.txt new file mode 100644 index 0000000000..a29b1247ed --- /dev/null +++ b/parser/testdata/03266_with_fill_staleness_errors/explain_4.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Literal UInt64_1 (alias a) + Literal UInt64_2 (alias b) + ExpressionList (children 2) + OrderByElement (children 1) + Identifier a + OrderByElement (children 3) + Identifier b + Literal UInt64_10 + Literal Int64_-3 diff --git a/parser/testdata/03267_join_swap_bug/explain_3.txt b/parser/testdata/03267_join_swap_bug/explain_3.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/03267_join_swap_bug/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03267_join_swap_bug/explain_6.txt b/parser/testdata/03267_join_swap_bug/explain_6.txt new file mode 100644 index 0000000000..8c2f71bfe3 --- /dev/null +++ b/parser/testdata/03267_join_swap_bug/explain_6.txt @@ -0,0 +1,38 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Literal UInt64_1 + TablesInSelectQuery (children 3) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t0 + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias tx) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_0 (alias c0) + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier t0.c0 + Identifier tx.c0 + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias ty) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_0 (alias c0) + Literal UInt64_1 (alias c1) + TableJoin + ExpressionList (children 2) + OrderByElement (children 1) + Identifier ty.c0 + OrderByElement (children 1) + Identifier ty.c1 + Set diff --git a/parser/testdata/03268_empty_tuple_update/explain_3.txt b/parser/testdata/03268_empty_tuple_update/explain_3.txt new file mode 100644 index 0000000000..fcb2d89148 --- /dev/null +++ b/parser/testdata/03268_empty_tuple_update/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t0 diff --git a/parser/testdata/03268_nested_analyzer/explain_13.txt b/parser/testdata/03268_nested_analyzer/explain_13.txt new file mode 100644 index 0000000000..92a7dabd1b --- /dev/null +++ b/parser/testdata/03268_nested_analyzer/explain_13.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/03269_bf16/explain.txt b/parser/testdata/03269_bf16/explain.txt new file mode 100644 index 0000000000..c05578bd17 --- /dev/null +++ b/parser/testdata/03269_bf16/explain.txt @@ -0,0 +1,56 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 13) + Function CAST (children 1) + ExpressionList (children 2) + Literal \'1\' + Literal \'BFloat16\' + Function CAST (children 1) + ExpressionList (children 2) + Literal \'-1\' + Literal \'BFloat16\' + Function CAST (children 1) + ExpressionList (children 2) + Literal \'1.1\' + Literal \'BFloat16\' + Function CAST (children 1) + ExpressionList (children 2) + Literal \'-1.1\' + Literal \'BFloat16\' + Function CAST (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal \'BFloat16\' + Function CAST (children 1) + ExpressionList (children 2) + Literal Int64_-1 + Literal \'BFloat16\' + Function CAST (children 1) + ExpressionList (children 2) + Literal Float64_1.1 + Literal \'BFloat16\' + Function CAST (children 1) + ExpressionList (children 2) + Literal Float64_-1.1 + Literal \'BFloat16\' + Function CAST (children 1) + ExpressionList (children 2) + Literal UInt64_18446744073709551615 + Literal \'BFloat16\' + Function CAST (children 1) + ExpressionList (children 2) + Literal Float64_-0 + Literal \'BFloat16\' + Function CAST (children 1) + ExpressionList (children 2) + Literal Float64_inf + Literal \'BFloat16\' + Function CAST (children 1) + ExpressionList (children 2) + Literal Float64_-inf + Literal \'BFloat16\' + Function CAST (children 1) + ExpressionList (children 2) + Literal Float64_nan + Literal \'BFloat16\' diff --git a/parser/testdata/03270_fix_column_modifier_write_order/explain_4.txt b/parser/testdata/03270_fix_column_modifier_write_order/explain_4.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/03270_fix_column_modifier_write_order/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/03270_max_bytes_ratio_before_external_group_by/explain.txt b/parser/testdata/03270_max_bytes_ratio_before_external_group_by/explain.txt index 87b648e39d..108cf3c95a 100644 --- a/parser/testdata/03270_max_bytes_ratio_before_external_group_by/explain.txt +++ b/parser/testdata/03270_max_bytes_ratio_before_external_group_by/explain.txt @@ -24,4 +24,3 @@ SelectWithUnionQuery (children 3) Literal \'String\' Identifier Null Set -The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT uniqExact(number::String) FROM numbers(10e6) GROUP BY (number%100)::String FORMAT Null SETTINGS max_bytes_ratio_before_external_group_by=-0.1; -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/03270_max_bytes_ratio_before_external_group_by/explain_2.txt b/parser/testdata/03270_max_bytes_ratio_before_external_group_by/explain_2.txt new file mode 100644 index 0000000000..108cf3c95a --- /dev/null +++ b/parser/testdata/03270_max_bytes_ratio_before_external_group_by/explain_2.txt @@ -0,0 +1,26 @@ +SelectWithUnionQuery (children 3) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function uniqExact (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Identifier number + Literal \'String\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal Float64_10000000 + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_100 + Literal \'String\' + Identifier Null + Set diff --git a/parser/testdata/03271_decimal_monotonic_day_of_week/explain_3.txt b/parser/testdata/03271_decimal_monotonic_day_of_week/explain_3.txt new file mode 100644 index 0000000000..e417276a78 --- /dev/null +++ b/parser/testdata/03271_decimal_monotonic_day_of_week/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier decimal_dt diff --git a/parser/testdata/03271_max_bytes_ratio_before_external_order_by/explain.txt b/parser/testdata/03271_max_bytes_ratio_before_external_order_by/explain.txt index 4df7e6ebb2..5fd4eaff55 100644 --- a/parser/testdata/03271_max_bytes_ratio_before_external_order_by/explain.txt +++ b/parser/testdata/03271_max_bytes_ratio_before_external_order_by/explain.txt @@ -14,4 +14,3 @@ SelectWithUnionQuery (children 3) Identifier number Identifier Null Set -The query succeeded but the server error '36' was expected (query: EXPLAIN AST select number from numbers(100e6) order by number format Null settings max_bytes_ratio_before_external_sort=-0.1; -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/03271_max_bytes_ratio_before_external_order_by/explain_2.txt b/parser/testdata/03271_max_bytes_ratio_before_external_order_by/explain_2.txt new file mode 100644 index 0000000000..5fd4eaff55 --- /dev/null +++ b/parser/testdata/03271_max_bytes_ratio_before_external_order_by/explain_2.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 3) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal Float64_100000000 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier number + Identifier Null + Set diff --git a/parser/testdata/03271_sqllancer_having_issue/explain_2.txt b/parser/testdata/03271_sqllancer_having_issue/explain_2.txt new file mode 100644 index 0000000000..ef36a439e4 --- /dev/null +++ b/parser/testdata/03271_sqllancer_having_issue/explain_2.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t3 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03272_bad_aggregate_function/explain.txt b/parser/testdata/03272_bad_aggregate_function/explain.txt index d89bd990f2..f33f383ff8 100644 --- a/parser/testdata/03272_bad_aggregate_function/explain.txt +++ b/parser/testdata/03272_bad_aggregate_function/explain.txt @@ -6,4 +6,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Literal UInt64_1 Literal UInt64_2 -The query succeeded but the server error '43' was expected (query: EXPLAIN AST SELECT deltaSumTimestamp(1, 2); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }). diff --git a/parser/testdata/03272_json_to_json_cast_1/explain_6.txt b/parser/testdata/03272_json_to_json_cast_1/explain_6.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03272_json_to_json_cast_1/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03272_json_to_json_cast_2/explain_6.txt b/parser/testdata/03272_json_to_json_cast_2/explain_6.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03272_json_to_json_cast_2/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03272_json_to_json_cast_3/explain_6.txt b/parser/testdata/03272_json_to_json_cast_3/explain_6.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03272_json_to_json_cast_3/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03272_json_to_json_cast_4/explain_6.txt b/parser/testdata/03272_json_to_json_cast_4/explain_6.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03272_json_to_json_cast_4/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03272_json_to_json_cast_5/explain_6.txt b/parser/testdata/03272_json_to_json_cast_5/explain_6.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03272_json_to_json_cast_5/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03272_parallel_replicas_read_in_order/explain_12.txt b/parser/testdata/03272_parallel_replicas_read_in_order/explain_12.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03272_parallel_replicas_read_in_order/explain_12.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03272_partition_pruning_monotonic_func_bug/explain_4.txt b/parser/testdata/03272_partition_pruning_monotonic_func_bug/explain_4.txt new file mode 100644 index 0000000000..20071341fb --- /dev/null +++ b/parser/testdata/03272_partition_pruning_monotonic_func_bug/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tt diff --git a/parser/testdata/03272_prewarm_mark_cache_add_column/explain_11.txt b/parser/testdata/03272_prewarm_mark_cache_add_column/explain_11.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03272_prewarm_mark_cache_add_column/explain_11.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03272_prewarm_mark_cache_add_column/explain_5.txt b/parser/testdata/03272_prewarm_mark_cache_add_column/explain_5.txt new file mode 100644 index 0000000000..271a09901a --- /dev/null +++ b/parser/testdata/03272_prewarm_mark_cache_add_column/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_prewarm_add_column diff --git a/parser/testdata/03272_prewarm_mark_cache_add_column/explain_7.txt b/parser/testdata/03272_prewarm_mark_cache_add_column/explain_7.txt new file mode 100644 index 0000000000..271a09901a --- /dev/null +++ b/parser/testdata/03272_prewarm_mark_cache_add_column/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_prewarm_add_column diff --git a/parser/testdata/03273_better_json_subcolumns_parsing/explain_4.txt b/parser/testdata/03273_better_json_subcolumns_parsing/explain_4.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03273_better_json_subcolumns_parsing/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03273_primary_index_cache/explain_10.txt b/parser/testdata/03273_primary_index_cache/explain_10.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03273_primary_index_cache/explain_10.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03273_primary_index_cache/explain_16.txt b/parser/testdata/03273_primary_index_cache/explain_16.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03273_primary_index_cache/explain_16.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03273_primary_index_cache/explain_3.txt b/parser/testdata/03273_primary_index_cache/explain_3.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03273_primary_index_cache/explain_3.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03273_primary_index_cache_low_cardinality/explain_10.txt b/parser/testdata/03273_primary_index_cache_low_cardinality/explain_10.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03273_primary_index_cache_low_cardinality/explain_10.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03273_primary_index_cache_low_cardinality/explain_2.txt b/parser/testdata/03273_primary_index_cache_low_cardinality/explain_2.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03273_primary_index_cache_low_cardinality/explain_2.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03273_primary_index_cache_low_cardinality/explain_6.txt b/parser/testdata/03273_primary_index_cache_low_cardinality/explain_6.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03273_primary_index_cache_low_cardinality/explain_6.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03273_select_from_explain_ast_non_select/explain_2.txt b/parser/testdata/03273_select_from_explain_ast_non_select/explain_2.txt deleted file mode 100644 index a889975013..0000000000 --- a/parser/testdata/03273_select_from_explain_ast_non_select/explain_2.txt +++ /dev/null @@ -1,26 +0,0 @@ -SelectWithUnionQuery (children 1) - ExpressionList (children 1) - SelectQuery (children 2) - ExpressionList (children 1) - Asterisk - TablesInSelectQuery (children 1) - TablesInSelectQueryElement (children 1) - TableExpression (children 1) - Subquery (children 1) - SelectWithUnionQuery (children 1) - ExpressionList (children 1) - SelectQuery (children 2) - ExpressionList (children 1) - Asterisk - TablesInSelectQuery (children 1) - TablesInSelectQueryElement (children 1) - TableExpression (children 1) - Function viewExplain (children 1) - ExpressionList (children 3) - Literal \'EXPLAIN AST\' - Literal \'\' - Subquery (children 1) - CreateQuery test (children 2) - Identifier test - Storage definition (children 1) - Function Memory diff --git a/parser/testdata/03273_select_from_explain_ast_non_select/explain_3.txt b/parser/testdata/03273_select_from_explain_ast_non_select/explain_3.txt deleted file mode 100644 index 4bbc7ab09a..0000000000 --- a/parser/testdata/03273_select_from_explain_ast_non_select/explain_3.txt +++ /dev/null @@ -1,37 +0,0 @@ -SelectWithUnionQuery (children 1) - ExpressionList (children 1) - SelectQuery (children 2) - ExpressionList (children 1) - Asterisk - TablesInSelectQuery (children 1) - TablesInSelectQueryElement (children 1) - TableExpression (children 1) - Subquery (children 1) - SelectWithUnionQuery (children 1) - ExpressionList (children 1) - SelectQuery (children 2) - ExpressionList (children 1) - Asterisk - TablesInSelectQuery (children 1) - TablesInSelectQueryElement (children 1) - TableExpression (children 1) - Function viewExplain (children 1) - ExpressionList (children 3) - Literal \'EXPLAIN AST\' - Literal \'\' - Subquery (children 1) - CreateQuery mv (children 3) - Identifier mv - Columns definition (children 1) - ExpressionList (children 1) - ColumnDeclaration data (children 1) - DataType String - SelectWithUnionQuery (children 1) - ExpressionList (children 1) - SelectQuery (children 2) - ExpressionList (children 1) - Identifier data - TablesInSelectQuery (children 1) - TablesInSelectQueryElement (children 1) - TableExpression (children 1) - TableIdentifier table diff --git a/parser/testdata/03273_select_from_explain_ast_non_select/explain_4.txt b/parser/testdata/03273_select_from_explain_ast_non_select/explain_4.txt deleted file mode 100644 index 0b117018c3..0000000000 --- a/parser/testdata/03273_select_from_explain_ast_non_select/explain_4.txt +++ /dev/null @@ -1,24 +0,0 @@ -SelectWithUnionQuery (children 1) - ExpressionList (children 1) - SelectQuery (children 2) - ExpressionList (children 1) - Asterisk - TablesInSelectQuery (children 1) - TablesInSelectQueryElement (children 1) - TableExpression (children 1) - Subquery (children 1) - SelectWithUnionQuery (children 1) - ExpressionList (children 1) - SelectQuery (children 2) - ExpressionList (children 1) - Asterisk - TablesInSelectQuery (children 1) - TablesInSelectQueryElement (children 1) - TableExpression (children 1) - Function viewExplain (children 1) - ExpressionList (children 3) - Literal \'EXPLAIN AST\' - Literal \'\' - Subquery (children 1) - InsertQuery (children 1) - Identifier test diff --git a/parser/testdata/03273_select_from_explain_ast_non_select/explain_5.txt b/parser/testdata/03273_select_from_explain_ast_non_select/explain_5.txt deleted file mode 100644 index 662a0daeaa..0000000000 --- a/parser/testdata/03273_select_from_explain_ast_non_select/explain_5.txt +++ /dev/null @@ -1,28 +0,0 @@ -SelectWithUnionQuery (children 1) - ExpressionList (children 1) - SelectQuery (children 2) - ExpressionList (children 1) - Asterisk - TablesInSelectQuery (children 1) - TablesInSelectQueryElement (children 1) - TableExpression (children 1) - Subquery (children 1) - SelectWithUnionQuery (children 1) - ExpressionList (children 1) - SelectQuery (children 2) - ExpressionList (children 1) - Asterisk - TablesInSelectQuery (children 1) - TablesInSelectQueryElement (children 1) - TableExpression (children 1) - Function viewExplain (children 1) - ExpressionList (children 3) - Literal \'EXPLAIN AST\' - Literal \'\' - Subquery (children 1) - AlterQuery test (children 2) - ExpressionList (children 1) - AlterCommand MODIFY_COLUMN (children 1) - ColumnDeclaration x (children 1) - DataType UInt32 - Identifier test diff --git a/parser/testdata/03274_json_pretty_output/explain_5.txt b/parser/testdata/03274_json_pretty_output/explain_5.txt new file mode 100644 index 0000000000..cde407781f --- /dev/null +++ b/parser/testdata/03274_json_pretty_output/explain_5.txt @@ -0,0 +1,29 @@ +SelectWithUnionQuery (children 3) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 4) + Function tuple (alias a) (children 1) + ExpressionList (children 2) + Literal UInt64_1 (alias b) + Literal UInt64_2 (alias c) + Function map (alias d) (children 1) + ExpressionList (children 4) + Literal \'e\' + Literal UInt64_3 + Literal \'f\' + Literal UInt64_4 + Literal Array_[UInt64_5, UInt64_6] (alias g) + Function tuple (alias h) (children 1) + ExpressionList (children 2) + Function map (alias l) (children 1) + ExpressionList (children 2) + Literal \'i\' + Function array (children 1) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList (children 2) + Literal UInt64_7 (alias j) + Literal UInt64_8 (alias k) + Literal UInt64_42 (alias m) + Identifier JSON + Set diff --git a/parser/testdata/03274_json_to_json_alter_nested_json/explain_5.txt b/parser/testdata/03274_json_to_json_alter_nested_json/explain_5.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03274_json_to_json_alter_nested_json/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03274_prewarm_primary_index_cache/explain_10.txt b/parser/testdata/03274_prewarm_primary_index_cache/explain_10.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03274_prewarm_primary_index_cache/explain_10.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03274_prewarm_primary_index_cache/explain_21.txt b/parser/testdata/03274_prewarm_primary_index_cache/explain_21.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03274_prewarm_primary_index_cache/explain_21.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03274_prewarm_primary_index_cache/explain_29.txt b/parser/testdata/03274_prewarm_primary_index_cache/explain_29.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03274_prewarm_primary_index_cache/explain_29.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03274_prewarm_primary_index_cache/explain_32.txt b/parser/testdata/03274_prewarm_primary_index_cache/explain_32.txt new file mode 100644 index 0000000000..41a4261f01 --- /dev/null +++ b/parser/testdata/03274_prewarm_primary_index_cache/explain_32.txt @@ -0,0 +1,2 @@ +SYSTEM query (children 1) + Identifier t_prewarm_cache_rmt_1 diff --git a/parser/testdata/03274_prewarm_primary_index_cache/explain_35.txt b/parser/testdata/03274_prewarm_primary_index_cache/explain_35.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03274_prewarm_primary_index_cache/explain_35.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03274_prewarm_primary_index_cache/explain_5.txt b/parser/testdata/03274_prewarm_primary_index_cache/explain_5.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03274_prewarm_primary_index_cache/explain_5.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03274_with_fill_dup_sort_bug/explain.txt b/parser/testdata/03274_with_fill_dup_sort_bug/explain.txt new file mode 100644 index 0000000000..7cd1aa30a7 --- /dev/null +++ b/parser/testdata/03274_with_fill_dup_sort_bug/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Literal UInt64_1 (alias a) + Literal UInt64_2 (alias b) + ExpressionList (children 3) + OrderByElement (children 1) + Identifier a + OrderByElement (children 1) + Literal UInt64_1 + OrderByElement (children 2) + Identifier b + Literal UInt64_10 diff --git a/parser/testdata/03275_block_number_update/explain_10.txt b/parser/testdata/03275_block_number_update/explain_10.txt new file mode 100644 index 0000000000..7aebd77184 --- /dev/null +++ b/parser/testdata/03275_block_number_update/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_block_number_mut diff --git a/parser/testdata/03275_block_number_update/explain_4.txt b/parser/testdata/03275_block_number_update/explain_4.txt new file mode 100644 index 0000000000..7aebd77184 --- /dev/null +++ b/parser/testdata/03275_block_number_update/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_block_number_mut diff --git a/parser/testdata/03275_count_digits_argument_evaluation/explain.txt b/parser/testdata/03275_count_digits_argument_evaluation/explain.txt index 28c6ec9286..d4837b3996 100644 --- a/parser/testdata/03275_count_digits_argument_evaluation/explain.txt +++ b/parser/testdata/03275_count_digits_argument_evaluation/explain.txt @@ -4,4 +4,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) Function countDigits (children 1) ExpressionList -The query succeeded but the server error '42' was expected (query: EXPLAIN AST SELECT countDigits(); -- { serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH }). diff --git a/parser/testdata/03275_ignore_nonexistent_files_fix/explain.txt b/parser/testdata/03275_ignore_nonexistent_files_fix/explain.txt new file mode 100644 index 0000000000..bb56061316 --- /dev/null +++ b/parser/testdata/03275_ignore_nonexistent_files_fix/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function s3 (children 1) + ExpressionList (children 3) + Literal \'http://localhost:11111/test/03036_json_archive.zip :: example11.jsonl\' + Identifier JSONEachRow + Literal \'id UInt32, data String\' + ExpressionList (children 1) + OrderByElement (children 1) + Function tuple (children 1) + ExpressionList (children 1) + Asterisk + Set diff --git a/parser/testdata/03275_pr_any_join/explain_5.txt b/parser/testdata/03275_pr_any_join/explain_5.txt new file mode 100644 index 0000000000..163be9e218 --- /dev/null +++ b/parser/testdata/03275_pr_any_join/explain_5.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 2) + Identifier x + Identifier s diff --git a/parser/testdata/03275_pr_any_join/explain_6.txt b/parser/testdata/03275_pr_any_join/explain_6.txt new file mode 100644 index 0000000000..1aae5c69a2 --- /dev/null +++ b/parser/testdata/03275_pr_any_join/explain_6.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t2 + ExpressionList (children 2) + Identifier x + Identifier s diff --git a/parser/testdata/03275_subcolumns_in_primary_key_bug/explain_3.txt b/parser/testdata/03275_subcolumns_in_primary_key_bug/explain_3.txt new file mode 100644 index 0000000000..42958894ce --- /dev/null +++ b/parser/testdata/03275_subcolumns_in_primary_key_bug/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test1 diff --git a/parser/testdata/03276_functions_to_subcolumns_lc/explain_3.txt b/parser/testdata/03276_functions_to_subcolumns_lc/explain_3.txt new file mode 100644 index 0000000000..8c01797cdd --- /dev/null +++ b/parser/testdata/03276_functions_to_subcolumns_lc/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_map_lc diff --git a/parser/testdata/03276_index_empty_part/explain_3.txt b/parser/testdata/03276_index_empty_part/explain_3.txt new file mode 100644 index 0000000000..b879d883e3 --- /dev/null +++ b/parser/testdata/03276_index_empty_part/explain_3.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t_index_empty_part + ExpressionList (children 2) + Identifier c0 + Identifier c1 diff --git a/parser/testdata/03276_index_of_assume_sorted/explain_3.txt b/parser/testdata/03276_index_of_assume_sorted/explain_3.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03276_index_of_assume_sorted/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03276_index_of_assume_sorted/explain_4.txt b/parser/testdata/03276_index_of_assume_sorted/explain_4.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03276_index_of_assume_sorted/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03276_index_of_assume_sorted/explain_5.txt b/parser/testdata/03276_index_of_assume_sorted/explain_5.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03276_index_of_assume_sorted/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03276_index_of_assume_sorted/explain_6.txt b/parser/testdata/03276_index_of_assume_sorted/explain_6.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03276_index_of_assume_sorted/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03276_index_of_assume_sorted/explain_7.txt b/parser/testdata/03276_index_of_assume_sorted/explain_7.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03276_index_of_assume_sorted/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03277_logging_elapsed_ns/explain_2.txt b/parser/testdata/03277_logging_elapsed_ns/explain_2.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03277_logging_elapsed_ns/explain_2.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03278_dateTime64_in_dateTime64_bug/explain_2.txt b/parser/testdata/03278_dateTime64_in_dateTime64_bug/explain_2.txt new file mode 100644 index 0000000000..f441f45f95 --- /dev/null +++ b/parser/testdata/03278_dateTime64_in_dateTime64_bug/explain_2.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier datetime64_issue + ExpressionList (children 3) + Identifier id + Identifier dt + Identifier dtn diff --git a/parser/testdata/03278_enum_in_unknown_value/explain_3.txt b/parser/testdata/03278_enum_in_unknown_value/explain_3.txt new file mode 100644 index 0000000000..c3e438458a --- /dev/null +++ b/parser/testdata/03278_enum_in_unknown_value/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_enum_in_unknown_value diff --git a/parser/testdata/03278_enum_string_functions/explain_17.txt b/parser/testdata/03278_enum_string_functions/explain_17.txt new file mode 100644 index 0000000000..b85034d4c7 --- /dev/null +++ b/parser/testdata/03278_enum_string_functions/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier jsons diff --git a/parser/testdata/03278_enum_string_functions/explain_18.txt b/parser/testdata/03278_enum_string_functions/explain_18.txt new file mode 100644 index 0000000000..b85034d4c7 --- /dev/null +++ b/parser/testdata/03278_enum_string_functions/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier jsons diff --git a/parser/testdata/03278_enum_string_functions/explain_3.txt b/parser/testdata/03278_enum_string_functions/explain_3.txt new file mode 100644 index 0000000000..6fde21d39b --- /dev/null +++ b/parser/testdata/03278_enum_string_functions/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_enum_string_functions diff --git a/parser/testdata/03279_array_normalized_gini/explain_7.txt b/parser/testdata/03279_array_normalized_gini/explain_7.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03279_array_normalized_gini/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03279_join_choose_build_table/explain_19.txt b/parser/testdata/03279_join_choose_build_table/explain_19.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03279_join_choose_build_table/explain_19.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03279_join_choose_build_table_auto_statistics/explain_14.txt b/parser/testdata/03279_join_choose_build_table_auto_statistics/explain_14.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03279_join_choose_build_table_auto_statistics/explain_14.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03279_join_choose_build_table_statistics/explain_19.txt b/parser/testdata/03279_join_choose_build_table_statistics/explain_19.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03279_join_choose_build_table_statistics/explain_19.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03279_not_empty_json/explain_11.txt b/parser/testdata/03279_not_empty_json/explain_11.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03279_not_empty_json/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03279_not_empty_json/explain_15.txt b/parser/testdata/03279_not_empty_json/explain_15.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03279_not_empty_json/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03279_not_empty_json/explain_3.txt b/parser/testdata/03279_not_empty_json/explain_3.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03279_not_empty_json/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03279_not_empty_json/explain_7.txt b/parser/testdata/03279_not_empty_json/explain_7.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03279_not_empty_json/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03280_aliases_for_selects_and_views/explain.txt b/parser/testdata/03280_aliases_for_selects_and_views/explain.txt deleted file mode 100644 index 8b13789179..0000000000 --- a/parser/testdata/03280_aliases_for_selects_and_views/explain.txt +++ /dev/null @@ -1 +0,0 @@ - diff --git a/parser/testdata/03280_aliases_for_selects_and_views/explain_14.txt b/parser/testdata/03280_aliases_for_selects_and_views/explain_14.txt new file mode 100644 index 0000000000..17305fdea2 --- /dev/null +++ b/parser/testdata/03280_aliases_for_selects_and_views/explain_14.txt @@ -0,0 +1,10 @@ +CreateQuery test_view_1_03280 (children 3) + Identifier test_view_1_03280 + ExpressionList (children 1) + Identifier a + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal UInt64_2 diff --git a/parser/testdata/03280_aliases_for_selects_and_views/explain_15.txt b/parser/testdata/03280_aliases_for_selects_and_views/explain_15.txt new file mode 100644 index 0000000000..777655030b --- /dev/null +++ b/parser/testdata/03280_aliases_for_selects_and_views/explain_15.txt @@ -0,0 +1,21 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + WithElement (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal UInt64_2 + ExpressionList (children 1) + Identifier a + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t + ExpressionList (children 2) + Identifier a + Identifier b diff --git a/parser/testdata/03280_aliases_for_selects_and_views/explain_16.txt b/parser/testdata/03280_aliases_for_selects_and_views/explain_16.txt new file mode 100644 index 0000000000..ea79fe7283 --- /dev/null +++ b/parser/testdata/03280_aliases_for_selects_and_views/explain_16.txt @@ -0,0 +1,21 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + WithElement (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal UInt64_2 + ExpressionList (children 1) + Identifier b + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t + ExpressionList (children 2) + Identifier a + Identifier b diff --git a/parser/testdata/03280_aliases_for_selects_and_views/explain_17.txt b/parser/testdata/03280_aliases_for_selects_and_views/explain_17.txt new file mode 100644 index 0000000000..e8db2ff553 --- /dev/null +++ b/parser/testdata/03280_aliases_for_selects_and_views/explain_17.txt @@ -0,0 +1,25 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + WithElement (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1 + ExpressionList (children 1) + Identifier a + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t + ExpressionList (children 1) + Identifier a diff --git a/parser/testdata/03280_aliases_for_selects_and_views/explain_18.txt b/parser/testdata/03280_aliases_for_selects_and_views/explain_18.txt new file mode 100644 index 0000000000..f1b8eb8ccf --- /dev/null +++ b/parser/testdata/03280_aliases_for_selects_and_views/explain_18.txt @@ -0,0 +1,23 @@ +Explain EXPLAIN QUERY TREE (children 2) + Set + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + WithElement (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal UInt64_2 + ExpressionList (children 1) + Identifier b + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t + ExpressionList (children 2) + Identifier a + Identifier b diff --git a/parser/testdata/03280_aliases_for_selects_and_views/explain_19.txt b/parser/testdata/03280_aliases_for_selects_and_views/explain_19.txt new file mode 100644 index 0000000000..563f7deead --- /dev/null +++ b/parser/testdata/03280_aliases_for_selects_and_views/explain_19.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + WithElement (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal UInt64_2 + ExpressionList (children 1) + Identifier b + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t + ExpressionList (children 1) + Identifier a diff --git a/parser/testdata/03280_aliases_for_selects_and_views/explain_20.txt b/parser/testdata/03280_aliases_for_selects_and_views/explain_20.txt new file mode 100644 index 0000000000..075a6833e5 --- /dev/null +++ b/parser/testdata/03280_aliases_for_selects_and_views/explain_20.txt @@ -0,0 +1,21 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + WithElement (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal UInt64_2 + ExpressionList (children 1) + Identifier c + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t + ExpressionList (children 2) + Identifier a + Identifier b diff --git a/parser/testdata/03280_aliases_for_selects_and_views/explain_4.txt b/parser/testdata/03280_aliases_for_selects_and_views/explain_4.txt new file mode 100644 index 0000000000..4e287d86a9 --- /dev/null +++ b/parser/testdata/03280_aliases_for_selects_and_views/explain_4.txt @@ -0,0 +1,27 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier b + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias x) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Identifier number + Function multiply (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_2 + ExpressionList (children 2) + Identifier a + Identifier b diff --git a/parser/testdata/03280_aliases_for_selects_and_views/explain_5.txt b/parser/testdata/03280_aliases_for_selects_and_views/explain_5.txt new file mode 100644 index 0000000000..3f83081841 --- /dev/null +++ b/parser/testdata/03280_aliases_for_selects_and_views/explain_5.txt @@ -0,0 +1,27 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier a + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias x) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Identifier number + Function multiply (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_2 + ExpressionList (children 2) + Identifier a + Identifier b diff --git a/parser/testdata/03280_aliases_for_selects_and_views/explain_6.txt b/parser/testdata/03280_aliases_for_selects_and_views/explain_6.txt new file mode 100644 index 0000000000..5288cdc9ea --- /dev/null +++ b/parser/testdata/03280_aliases_for_selects_and_views/explain_6.txt @@ -0,0 +1,26 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier a + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias x) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Identifier number + Function multiply (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_2 + ExpressionList (children 1) + Identifier a diff --git a/parser/testdata/03280_aliases_for_selects_and_views/explain_7.txt b/parser/testdata/03280_aliases_for_selects_and_views/explain_7.txt new file mode 100644 index 0000000000..8e77494655 --- /dev/null +++ b/parser/testdata/03280_aliases_for_selects_and_views/explain_7.txt @@ -0,0 +1,27 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier c + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias x) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Identifier number + Function multiply (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_2 + ExpressionList (children 2) + Identifier a + Identifier b diff --git a/parser/testdata/03280_aliases_for_selects_and_views/explain_9.txt b/parser/testdata/03280_aliases_for_selects_and_views/explain_9.txt new file mode 100644 index 0000000000..ec8c322bca --- /dev/null +++ b/parser/testdata/03280_aliases_for_selects_and_views/explain_9.txt @@ -0,0 +1,11 @@ +CreateQuery test_view_03280 (children 3) + Identifier test_view_03280 + ExpressionList (children 2) + Identifier a + Identifier b + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal UInt64_2 diff --git a/parser/testdata/03282_block_number_otehr_mutations/explain_13.txt b/parser/testdata/03282_block_number_otehr_mutations/explain_13.txt new file mode 100644 index 0000000000..7a5173c12c --- /dev/null +++ b/parser/testdata/03282_block_number_otehr_mutations/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_block_number_ttl diff --git a/parser/testdata/03282_dynamic_in_functions_convert/explain_3.txt b/parser/testdata/03282_dynamic_in_functions_convert/explain_3.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03282_dynamic_in_functions_convert/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03282_highlight_trailing_whitespace_pretty/explain_7.txt b/parser/testdata/03282_highlight_trailing_whitespace_pretty/explain_7.txt new file mode 100644 index 0000000000..9bf104185d --- /dev/null +++ b/parser/testdata/03282_highlight_trailing_whitespace_pretty/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier strings_whitespace diff --git a/parser/testdata/03282_join_distributed_no_columns/explain_8.txt b/parser/testdata/03282_join_distributed_no_columns/explain_8.txt new file mode 100644 index 0000000000..4cb166b037 --- /dev/null +++ b/parser/testdata/03282_join_distributed_no_columns/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier source_table1 diff --git a/parser/testdata/03282_join_distributed_no_columns/explain_9.txt b/parser/testdata/03282_join_distributed_no_columns/explain_9.txt new file mode 100644 index 0000000000..f61f092e1c --- /dev/null +++ b/parser/testdata/03282_join_distributed_no_columns/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier source_table2 diff --git a/parser/testdata/03282_json_equal_comparison/explain_4.txt b/parser/testdata/03282_json_equal_comparison/explain_4.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03282_json_equal_comparison/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03282_parallel_join_with_additional_filter/explain.txt b/parser/testdata/03282_parallel_join_with_additional_filter/explain.txt new file mode 100644 index 0000000000..963b22bc07 --- /dev/null +++ b/parser/testdata/03282_parallel_join_with_additional_filter/explain.txt @@ -0,0 +1,13 @@ +CreateQuery t1 (children 3) + Identifier t1 + Columns definition (children 1) + ExpressionList (children 3) + ColumnDeclaration key (children 1) + DataType UInt32 + ColumnDeclaration a (children 1) + DataType UInt32 + ColumnDeclaration attr (children 1) + DataType String + Storage definition (children 2) + Function MergeTree + Identifier key diff --git a/parser/testdata/03282_parallel_join_with_additional_filter/explain_3.txt b/parser/testdata/03282_parallel_join_with_additional_filter/explain_3.txt new file mode 100644 index 0000000000..a3a00b8e94 --- /dev/null +++ b/parser/testdata/03282_parallel_join_with_additional_filter/explain_3.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 3) + Identifier key + Identifier a + Identifier attr diff --git a/parser/testdata/03282_parallel_join_with_additional_filter/explain_4.txt b/parser/testdata/03282_parallel_join_with_additional_filter/explain_4.txt new file mode 100644 index 0000000000..d89856e223 --- /dev/null +++ b/parser/testdata/03282_parallel_join_with_additional_filter/explain_4.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier t2 + ExpressionList (children 3) + Identifier key + Identifier a + Identifier attr diff --git a/parser/testdata/03283_json_binary_serialization_use_default_setttings/explain_5.txt b/parser/testdata/03283_json_binary_serialization_use_default_setttings/explain_5.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03283_json_binary_serialization_use_default_setttings/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03283_optimize_on_insert_level/explain_16.txt b/parser/testdata/03283_optimize_on_insert_level/explain_16.txt new file mode 100644 index 0000000000..a7204ee84a --- /dev/null +++ b/parser/testdata/03283_optimize_on_insert_level/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_optimize_level diff --git a/parser/testdata/03283_optimize_on_insert_level/explain_17.txt b/parser/testdata/03283_optimize_on_insert_level/explain_17.txt new file mode 100644 index 0000000000..a7204ee84a --- /dev/null +++ b/parser/testdata/03283_optimize_on_insert_level/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_optimize_level diff --git a/parser/testdata/03283_optimize_on_insert_level/explain_6.txt b/parser/testdata/03283_optimize_on_insert_level/explain_6.txt new file mode 100644 index 0000000000..a7204ee84a --- /dev/null +++ b/parser/testdata/03283_optimize_on_insert_level/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_optimize_level diff --git a/parser/testdata/03283_optimize_on_insert_level/explain_7.txt b/parser/testdata/03283_optimize_on_insert_level/explain_7.txt new file mode 100644 index 0000000000..a7204ee84a --- /dev/null +++ b/parser/testdata/03283_optimize_on_insert_level/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_optimize_level diff --git a/parser/testdata/03284_json_object_as_tuple_duplicate_keys/explain.txt b/parser/testdata/03284_json_object_as_tuple_duplicate_keys/explain.txt index 68a80f5a52..0eeb50861e 100644 --- a/parser/testdata/03284_json_object_as_tuple_duplicate_keys/explain.txt +++ b/parser/testdata/03284_json_object_as_tuple_duplicate_keys/explain.txt @@ -11,4 +11,3 @@ SelectWithUnionQuery (children 1) Identifier JSONEachRow Literal \'a Tuple(b UInt32)\' Literal \'{"a" : {"b" : 1, "b" : 2}}\' -The query succeeded but the server error '117' was expected (query: EXPLAIN AST select * from format(JSONEachRow, 'a Tuple(b UInt32)', '{"a" : {"b" : 1, "b" : 2}}'); -- {serverError INCORRECT_DATA}). diff --git a/parser/testdata/03285_analyzer_extract_common_expr_bug/explain_2.txt b/parser/testdata/03285_analyzer_extract_common_expr_bug/explain_2.txt new file mode 100644 index 0000000000..1ceff1dc79 --- /dev/null +++ b/parser/testdata/03285_analyzer_extract_common_expr_bug/explain_2.txt @@ -0,0 +1,32 @@ +Explain EXPLAIN QUERY TREE (children 2) + Set + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 1) + Identifier a + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + ExpressionList (children 1) + Function or (alias a) (children 1) + ExpressionList (children 2) + Function greater (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 + Function and (children 1) + ExpressionList (children 2) + Function greater (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + Function greater (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 + Identifier a + Set diff --git a/parser/testdata/03285_analyzer_extract_common_expr_bug/explain_3.txt b/parser/testdata/03285_analyzer_extract_common_expr_bug/explain_3.txt new file mode 100644 index 0000000000..0c3d68566f --- /dev/null +++ b/parser/testdata/03285_analyzer_extract_common_expr_bug/explain_3.txt @@ -0,0 +1,30 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 1) + Identifier a + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + ExpressionList (children 1) + Function or (alias a) (children 1) + ExpressionList (children 2) + Function greater (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 + Function and (children 1) + ExpressionList (children 2) + Function greater (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + Function greater (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 + Identifier a + Set diff --git a/parser/testdata/03285_analyzer_extract_common_expr_bug/explain_4.txt b/parser/testdata/03285_analyzer_extract_common_expr_bug/explain_4.txt new file mode 100644 index 0000000000..1ceff1dc79 --- /dev/null +++ b/parser/testdata/03285_analyzer_extract_common_expr_bug/explain_4.txt @@ -0,0 +1,32 @@ +Explain EXPLAIN QUERY TREE (children 2) + Set + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 1) + Identifier a + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + ExpressionList (children 1) + Function or (alias a) (children 1) + ExpressionList (children 2) + Function greater (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 + Function and (children 1) + ExpressionList (children 2) + Function greater (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + Function greater (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 + Identifier a + Set diff --git a/parser/testdata/03285_analyzer_extract_common_expr_bug/explain_5.txt b/parser/testdata/03285_analyzer_extract_common_expr_bug/explain_5.txt new file mode 100644 index 0000000000..0c3d68566f --- /dev/null +++ b/parser/testdata/03285_analyzer_extract_common_expr_bug/explain_5.txt @@ -0,0 +1,30 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 1) + Identifier a + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + ExpressionList (children 1) + Function or (alias a) (children 1) + ExpressionList (children 2) + Function greater (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 + Function and (children 1) + ExpressionList (children 2) + Function greater (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + Function greater (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 + Identifier a + Set diff --git a/parser/testdata/03285_analyzer_optimize_disjunctions/explain_10.txt b/parser/testdata/03285_analyzer_optimize_disjunctions/explain_10.txt new file mode 100644 index 0000000000..d81a2c52a7 --- /dev/null +++ b/parser/testdata/03285_analyzer_optimize_disjunctions/explain_10.txt @@ -0,0 +1,28 @@ +Explain EXPLAIN QUERY TREE (children 2) + Set + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier x + Function or (children 1) + ExpressionList (children 3) + Function and (children 1) + ExpressionList (children 2) + Identifier A + Identifier B + Function and (children 1) + ExpressionList (children 2) + Identifier B + Identifier C + Function and (children 1) + ExpressionList (children 3) + Identifier B + Identifier D + Identifier A + Set diff --git a/parser/testdata/03285_analyzer_optimize_disjunctions/explain_11.txt b/parser/testdata/03285_analyzer_optimize_disjunctions/explain_11.txt new file mode 100644 index 0000000000..fe16a028d6 --- /dev/null +++ b/parser/testdata/03285_analyzer_optimize_disjunctions/explain_11.txt @@ -0,0 +1,26 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier x + Function or (children 1) + ExpressionList (children 3) + Function and (children 1) + ExpressionList (children 2) + Identifier A + Identifier B + Function and (children 1) + ExpressionList (children 2) + Identifier B + Identifier C + Function and (children 1) + ExpressionList (children 3) + Identifier B + Identifier D + Identifier A + Set diff --git a/parser/testdata/03285_analyzer_optimize_disjunctions/explain_12.txt b/parser/testdata/03285_analyzer_optimize_disjunctions/explain_12.txt new file mode 100644 index 0000000000..d81a2c52a7 --- /dev/null +++ b/parser/testdata/03285_analyzer_optimize_disjunctions/explain_12.txt @@ -0,0 +1,28 @@ +Explain EXPLAIN QUERY TREE (children 2) + Set + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier x + Function or (children 1) + ExpressionList (children 3) + Function and (children 1) + ExpressionList (children 2) + Identifier A + Identifier B + Function and (children 1) + ExpressionList (children 2) + Identifier B + Identifier C + Function and (children 1) + ExpressionList (children 3) + Identifier B + Identifier D + Identifier A + Set diff --git a/parser/testdata/03285_analyzer_optimize_disjunctions/explain_13.txt b/parser/testdata/03285_analyzer_optimize_disjunctions/explain_13.txt new file mode 100644 index 0000000000..fe16a028d6 --- /dev/null +++ b/parser/testdata/03285_analyzer_optimize_disjunctions/explain_13.txt @@ -0,0 +1,26 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier x + Function or (children 1) + ExpressionList (children 3) + Function and (children 1) + ExpressionList (children 2) + Identifier A + Identifier B + Function and (children 1) + ExpressionList (children 2) + Identifier B + Identifier C + Function and (children 1) + ExpressionList (children 3) + Identifier B + Identifier D + Identifier A + Set diff --git a/parser/testdata/03285_analyzer_optimize_disjunctions/explain_14.txt b/parser/testdata/03285_analyzer_optimize_disjunctions/explain_14.txt new file mode 100644 index 0000000000..1c2cbd9d7a --- /dev/null +++ b/parser/testdata/03285_analyzer_optimize_disjunctions/explain_14.txt @@ -0,0 +1,28 @@ +Explain EXPLAIN QUERY TREE (children 2) + Set + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier x + Function or (children 1) + ExpressionList (children 3) + Function and (children 1) + ExpressionList (children 2) + Identifier A + Identifier B + Function and (children 1) + ExpressionList (children 3) + Identifier A + Identifier B + Identifier C + Function and (children 1) + ExpressionList (children 2) + Identifier D + Identifier E + Set diff --git a/parser/testdata/03285_analyzer_optimize_disjunctions/explain_15.txt b/parser/testdata/03285_analyzer_optimize_disjunctions/explain_15.txt new file mode 100644 index 0000000000..696fae4abf --- /dev/null +++ b/parser/testdata/03285_analyzer_optimize_disjunctions/explain_15.txt @@ -0,0 +1,26 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier x + Function or (children 1) + ExpressionList (children 3) + Function and (children 1) + ExpressionList (children 2) + Identifier A + Identifier B + Function and (children 1) + ExpressionList (children 3) + Identifier A + Identifier B + Identifier C + Function and (children 1) + ExpressionList (children 2) + Identifier D + Identifier E + Set diff --git a/parser/testdata/03285_analyzer_optimize_disjunctions/explain_16.txt b/parser/testdata/03285_analyzer_optimize_disjunctions/explain_16.txt new file mode 100644 index 0000000000..1c2cbd9d7a --- /dev/null +++ b/parser/testdata/03285_analyzer_optimize_disjunctions/explain_16.txt @@ -0,0 +1,28 @@ +Explain EXPLAIN QUERY TREE (children 2) + Set + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier x + Function or (children 1) + ExpressionList (children 3) + Function and (children 1) + ExpressionList (children 2) + Identifier A + Identifier B + Function and (children 1) + ExpressionList (children 3) + Identifier A + Identifier B + Identifier C + Function and (children 1) + ExpressionList (children 2) + Identifier D + Identifier E + Set diff --git a/parser/testdata/03285_analyzer_optimize_disjunctions/explain_17.txt b/parser/testdata/03285_analyzer_optimize_disjunctions/explain_17.txt new file mode 100644 index 0000000000..696fae4abf --- /dev/null +++ b/parser/testdata/03285_analyzer_optimize_disjunctions/explain_17.txt @@ -0,0 +1,26 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier x + Function or (children 1) + ExpressionList (children 3) + Function and (children 1) + ExpressionList (children 2) + Identifier A + Identifier B + Function and (children 1) + ExpressionList (children 3) + Identifier A + Identifier B + Identifier C + Function and (children 1) + ExpressionList (children 2) + Identifier D + Identifier E + Set diff --git a/parser/testdata/03285_analyzer_optimize_disjunctions/explain_18.txt b/parser/testdata/03285_analyzer_optimize_disjunctions/explain_18.txt new file mode 100644 index 0000000000..87a43fb738 --- /dev/null +++ b/parser/testdata/03285_analyzer_optimize_disjunctions/explain_18.txt @@ -0,0 +1,28 @@ +Explain EXPLAIN QUERY TREE (children 2) + Set + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier x + Function or (children 1) + ExpressionList (children 3) + Function and (children 1) + ExpressionList (children 2) + Identifier A + Identifier B + Function and (children 1) + ExpressionList (children 3) + Identifier A + Identifier B + Identifier C + Function and (children 1) + ExpressionList (children 2) + Identifier B + Identifier C + Set diff --git a/parser/testdata/03285_analyzer_optimize_disjunctions/explain_19.txt b/parser/testdata/03285_analyzer_optimize_disjunctions/explain_19.txt new file mode 100644 index 0000000000..8ad409dbf1 --- /dev/null +++ b/parser/testdata/03285_analyzer_optimize_disjunctions/explain_19.txt @@ -0,0 +1,26 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier x + Function or (children 1) + ExpressionList (children 3) + Function and (children 1) + ExpressionList (children 2) + Identifier A + Identifier B + Function and (children 1) + ExpressionList (children 3) + Identifier A + Identifier B + Identifier C + Function and (children 1) + ExpressionList (children 2) + Identifier B + Identifier C + Set diff --git a/parser/testdata/03285_analyzer_optimize_disjunctions/explain_20.txt b/parser/testdata/03285_analyzer_optimize_disjunctions/explain_20.txt new file mode 100644 index 0000000000..87a43fb738 --- /dev/null +++ b/parser/testdata/03285_analyzer_optimize_disjunctions/explain_20.txt @@ -0,0 +1,28 @@ +Explain EXPLAIN QUERY TREE (children 2) + Set + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier x + Function or (children 1) + ExpressionList (children 3) + Function and (children 1) + ExpressionList (children 2) + Identifier A + Identifier B + Function and (children 1) + ExpressionList (children 3) + Identifier A + Identifier B + Identifier C + Function and (children 1) + ExpressionList (children 2) + Identifier B + Identifier C + Set diff --git a/parser/testdata/03285_analyzer_optimize_disjunctions/explain_21.txt b/parser/testdata/03285_analyzer_optimize_disjunctions/explain_21.txt new file mode 100644 index 0000000000..8ad409dbf1 --- /dev/null +++ b/parser/testdata/03285_analyzer_optimize_disjunctions/explain_21.txt @@ -0,0 +1,26 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier x + Function or (children 1) + ExpressionList (children 3) + Function and (children 1) + ExpressionList (children 2) + Identifier A + Identifier B + Function and (children 1) + ExpressionList (children 3) + Identifier A + Identifier B + Identifier C + Function and (children 1) + ExpressionList (children 2) + Identifier B + Identifier C + Set diff --git a/parser/testdata/03285_analyzer_optimize_disjunctions/explain_6.txt b/parser/testdata/03285_analyzer_optimize_disjunctions/explain_6.txt new file mode 100644 index 0000000000..fc4ced521a --- /dev/null +++ b/parser/testdata/03285_analyzer_optimize_disjunctions/explain_6.txt @@ -0,0 +1,21 @@ +Explain EXPLAIN QUERY TREE (children 2) + Set + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier x + Function or (children 1) + ExpressionList (children 3) + Identifier A + Identifier B + Function and (children 1) + ExpressionList (children 2) + Identifier B + Identifier C + Set diff --git a/parser/testdata/03285_analyzer_optimize_disjunctions/explain_7.txt b/parser/testdata/03285_analyzer_optimize_disjunctions/explain_7.txt new file mode 100644 index 0000000000..bce80e384c --- /dev/null +++ b/parser/testdata/03285_analyzer_optimize_disjunctions/explain_7.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier x + Function or (children 1) + ExpressionList (children 3) + Identifier A + Identifier B + Function and (children 1) + ExpressionList (children 2) + Identifier B + Identifier C + Set diff --git a/parser/testdata/03285_analyzer_optimize_disjunctions/explain_8.txt b/parser/testdata/03285_analyzer_optimize_disjunctions/explain_8.txt new file mode 100644 index 0000000000..fc4ced521a --- /dev/null +++ b/parser/testdata/03285_analyzer_optimize_disjunctions/explain_8.txt @@ -0,0 +1,21 @@ +Explain EXPLAIN QUERY TREE (children 2) + Set + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier x + Function or (children 1) + ExpressionList (children 3) + Identifier A + Identifier B + Function and (children 1) + ExpressionList (children 2) + Identifier B + Identifier C + Set diff --git a/parser/testdata/03285_analyzer_optimize_disjunctions/explain_9.txt b/parser/testdata/03285_analyzer_optimize_disjunctions/explain_9.txt new file mode 100644 index 0000000000..bce80e384c --- /dev/null +++ b/parser/testdata/03285_analyzer_optimize_disjunctions/explain_9.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier x + Function or (children 1) + ExpressionList (children 3) + Identifier A + Identifier B + Function and (children 1) + ExpressionList (children 2) + Identifier B + Identifier C + Set diff --git a/parser/testdata/03285_default_engine_with_settings/explain_4.txt b/parser/testdata/03285_default_engine_with_settings/explain_4.txt new file mode 100644 index 0000000000..df65ef515a --- /dev/null +++ b/parser/testdata/03285_default_engine_with_settings/explain_4.txt @@ -0,0 +1,11 @@ +CreateQuery example_table (children 3) + Identifier example_table + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration id (children 1) + DataType UInt32 + ColumnDeclaration data (children 1) + DataType String + Storage definition (children 2) + Identifier id + Set diff --git a/parser/testdata/03285_default_engine_with_settings/explain_7.txt b/parser/testdata/03285_default_engine_with_settings/explain_7.txt new file mode 100644 index 0000000000..8a03c59cbb --- /dev/null +++ b/parser/testdata/03285_default_engine_with_settings/explain_7.txt @@ -0,0 +1,11 @@ +CreateQuery example_table2 (children 3) + Identifier example_table2 + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration id (children 1) + DataType UInt32 + ColumnDeclaration data (children 1) + DataType String + Storage definition (children 2) + Identifier id + Set diff --git a/parser/testdata/03285_default_engine_with_settings/explain_8.txt b/parser/testdata/03285_default_engine_with_settings/explain_8.txt new file mode 100644 index 0000000000..6d4f3301d7 --- /dev/null +++ b/parser/testdata/03285_default_engine_with_settings/explain_8.txt @@ -0,0 +1,10 @@ +CreateQuery example_table2 (children 3) + Identifier example_table2 + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration id (children 1) + DataType UInt32 + ColumnDeclaration data (children 1) + DataType String + Storage definition (children 1) + Set diff --git a/parser/testdata/03285_default_engine_with_settings/explain_9.txt b/parser/testdata/03285_default_engine_with_settings/explain_9.txt new file mode 100644 index 0000000000..6d4f3301d7 --- /dev/null +++ b/parser/testdata/03285_default_engine_with_settings/explain_9.txt @@ -0,0 +1,10 @@ +CreateQuery example_table2 (children 3) + Identifier example_table2 + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration id (children 1) + DataType UInt32 + ColumnDeclaration data (children 1) + DataType String + Storage definition (children 1) + Set diff --git a/parser/testdata/03285_parallel_replicas_one_replica/explain_2.txt b/parser/testdata/03285_parallel_replicas_one_replica/explain_2.txt new file mode 100644 index 0000000000..7863f9e5b6 --- /dev/null +++ b/parser/testdata/03285_parallel_replicas_one_replica/explain_2.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Literal UInt64_1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Literal UInt64_2 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier src + Set diff --git a/parser/testdata/03286_backup_to_memory/explain_3.txt b/parser/testdata/03286_backup_to_memory/explain_3.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/03286_backup_to_memory/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/03286_backup_to_null/explain_3.txt b/parser/testdata/03286_backup_to_null/explain_3.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/03286_backup_to_null/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/03286_reverse_sorting_key_final/explain_13.txt b/parser/testdata/03286_reverse_sorting_key_final/explain_13.txt new file mode 100644 index 0000000000..b1c9302946 --- /dev/null +++ b/parser/testdata/03286_reverse_sorting_key_final/explain_13.txt @@ -0,0 +1,12 @@ +CreateQuery t0 (children 3) + Identifier t0 + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration a (children 1) + DataType Int + ColumnDeclaration b (children 1) + DataType Int + Storage definition (children 3) + Function ReplacingMergeTree + Function tuple + Set diff --git a/parser/testdata/03286_reverse_sorting_key_final/explain_2.txt b/parser/testdata/03286_reverse_sorting_key_final/explain_2.txt new file mode 100644 index 0000000000..16536ed255 --- /dev/null +++ b/parser/testdata/03286_reverse_sorting_key_final/explain_2.txt @@ -0,0 +1,13 @@ +CreateQuery t0 (children 3) + Identifier t0 + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration c0 (children 1) + DataType Nested (children 1) + ExpressionList (children 1) + NameTypePair c1 (children 1) + DataType Int + Storage definition (children 3) + Function SummingMergeTree + Function tuple + Set diff --git a/parser/testdata/03286_reverse_sorting_key_final/explain_3.txt b/parser/testdata/03286_reverse_sorting_key_final/explain_3.txt new file mode 100644 index 0000000000..7bc9b4591f --- /dev/null +++ b/parser/testdata/03286_reverse_sorting_key_final/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0.c1 diff --git a/parser/testdata/03286_reverse_sorting_key_final/explain_7.txt b/parser/testdata/03286_reverse_sorting_key_final/explain_7.txt new file mode 100644 index 0000000000..b1c9302946 --- /dev/null +++ b/parser/testdata/03286_reverse_sorting_key_final/explain_7.txt @@ -0,0 +1,12 @@ +CreateQuery t0 (children 3) + Identifier t0 + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration a (children 1) + DataType Int + ColumnDeclaration b (children 1) + DataType Int + Storage definition (children 3) + Function ReplacingMergeTree + Function tuple + Set diff --git a/parser/testdata/03286_reverse_sorting_key_final2/explain_10.txt b/parser/testdata/03286_reverse_sorting_key_final2/explain_10.txt new file mode 100644 index 0000000000..37cf58c4dd --- /dev/null +++ b/parser/testdata/03286_reverse_sorting_key_final2/explain_10.txt @@ -0,0 +1,13 @@ +CreateQuery t0 (children 3) + Identifier t0 + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration c0 (children 1) + DataType Int + ColumnDeclaration c1 (children 1) + DataType Int + Storage definition (children 3) + Function SummingMergeTree (children 1) + ExpressionList + Function tuple + Set diff --git a/parser/testdata/03286_reverse_sorting_key_final2/explain_11.txt b/parser/testdata/03286_reverse_sorting_key_final2/explain_11.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/03286_reverse_sorting_key_final2/explain_11.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03286_reverse_sorting_key_final2/explain_2.txt b/parser/testdata/03286_reverse_sorting_key_final2/explain_2.txt new file mode 100644 index 0000000000..92d7340504 --- /dev/null +++ b/parser/testdata/03286_reverse_sorting_key_final2/explain_2.txt @@ -0,0 +1,12 @@ +CreateQuery t0 (children 3) + Identifier t0 + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration c0 (children 1) + DataType Int + Storage definition (children 4) + Function SummingMergeTree (children 1) + ExpressionList + Identifier c0 + Function tuple + Set diff --git a/parser/testdata/03286_reverse_sorting_key_final2/explain_3.txt b/parser/testdata/03286_reverse_sorting_key_final2/explain_3.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/03286_reverse_sorting_key_final2/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03286_reverse_sorting_key_final2/explain_6.txt b/parser/testdata/03286_reverse_sorting_key_final2/explain_6.txt new file mode 100644 index 0000000000..4a3ee1516b --- /dev/null +++ b/parser/testdata/03286_reverse_sorting_key_final2/explain_6.txt @@ -0,0 +1,14 @@ +CreateQuery t0 (children 3) + Identifier t0 + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration c0 (children 1) + DataType Int + ColumnDeclaration c1 (children 1) + DataType Int + Storage definition (children 4) + Function SummingMergeTree (children 1) + ExpressionList + Identifier c0 + Function tuple + Set diff --git a/parser/testdata/03286_reverse_sorting_key_final2/explain_7.txt b/parser/testdata/03286_reverse_sorting_key_final2/explain_7.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/03286_reverse_sorting_key_final2/explain_7.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03287_format_datetime_mysqlfraction/explain_10.txt b/parser/testdata/03287_format_datetime_mysqlfraction/explain_10.txt new file mode 100644 index 0000000000..ffc0906f81 --- /dev/null +++ b/parser/testdata/03287_format_datetime_mysqlfraction/explain_10.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function formatDateTime (children 1) + ExpressionList (children 2) + Function toDateTime64 (children 1) + ExpressionList (children 3) + Literal \'1970-01-01 00:00:00.123456\' + Literal UInt64_6 + Literal \'UTC\' + Literal \'%f\' + Set diff --git a/parser/testdata/03287_format_datetime_mysqlfraction/explain_11.txt b/parser/testdata/03287_format_datetime_mysqlfraction/explain_11.txt new file mode 100644 index 0000000000..c120df1ead --- /dev/null +++ b/parser/testdata/03287_format_datetime_mysqlfraction/explain_11.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function formatDateTime (children 1) + ExpressionList (children 2) + Function toDateTime64 (children 1) + ExpressionList (children 3) + Literal \'1970-01-01 00:00:00.1234\' + Literal UInt64_4 + Literal \'UTC\' + Literal \'%f\' + Set diff --git a/parser/testdata/03287_format_datetime_mysqlfraction/explain_12.txt b/parser/testdata/03287_format_datetime_mysqlfraction/explain_12.txt new file mode 100644 index 0000000000..52ab7504bc --- /dev/null +++ b/parser/testdata/03287_format_datetime_mysqlfraction/explain_12.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function formatDateTime (children 1) + ExpressionList (children 2) + Function toDateTime64 (children 1) + ExpressionList (children 3) + Literal \'1970-01-01 00:00:00.12\' + Literal UInt64_2 + Literal \'UTC\' + Literal \'%f\' + Set diff --git a/parser/testdata/03287_format_datetime_mysqlfraction/explain_13.txt b/parser/testdata/03287_format_datetime_mysqlfraction/explain_13.txt new file mode 100644 index 0000000000..13b6a2d10c --- /dev/null +++ b/parser/testdata/03287_format_datetime_mysqlfraction/explain_13.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function formatDateTime (children 1) + ExpressionList (children 2) + Function toDateTime64 (children 1) + ExpressionList (children 3) + Literal \'1970-01-01 00:00:00.1\' + Literal UInt64_1 + Literal \'UTC\' + Literal \'%f\' + Set diff --git a/parser/testdata/03287_format_datetime_mysqlfraction/explain_14.txt b/parser/testdata/03287_format_datetime_mysqlfraction/explain_14.txt new file mode 100644 index 0000000000..3f12703234 --- /dev/null +++ b/parser/testdata/03287_format_datetime_mysqlfraction/explain_14.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function formatDateTime (children 1) + ExpressionList (children 2) + Function toDateTime64 (children 1) + ExpressionList (children 3) + Literal \'1970-01-01 00:00:00\' + Literal UInt64_0 + Literal \'UTC\' + Literal \'%f\' + Set diff --git a/parser/testdata/03287_format_datetime_mysqlfraction/explain_2.txt b/parser/testdata/03287_format_datetime_mysqlfraction/explain_2.txt new file mode 100644 index 0000000000..2562df2716 --- /dev/null +++ b/parser/testdata/03287_format_datetime_mysqlfraction/explain_2.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function formatDateTime (children 1) + ExpressionList (children 2) + Function toDateTime64 (children 1) + ExpressionList (children 3) + Literal \'1970-01-01 00:00:00.12345678\' + Literal UInt64_8 + Literal \'UTC\' + Literal \'%f\' + Set diff --git a/parser/testdata/03287_format_datetime_mysqlfraction/explain_3.txt b/parser/testdata/03287_format_datetime_mysqlfraction/explain_3.txt new file mode 100644 index 0000000000..ffc0906f81 --- /dev/null +++ b/parser/testdata/03287_format_datetime_mysqlfraction/explain_3.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function formatDateTime (children 1) + ExpressionList (children 2) + Function toDateTime64 (children 1) + ExpressionList (children 3) + Literal \'1970-01-01 00:00:00.123456\' + Literal UInt64_6 + Literal \'UTC\' + Literal \'%f\' + Set diff --git a/parser/testdata/03287_format_datetime_mysqlfraction/explain_4.txt b/parser/testdata/03287_format_datetime_mysqlfraction/explain_4.txt new file mode 100644 index 0000000000..c120df1ead --- /dev/null +++ b/parser/testdata/03287_format_datetime_mysqlfraction/explain_4.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function formatDateTime (children 1) + ExpressionList (children 2) + Function toDateTime64 (children 1) + ExpressionList (children 3) + Literal \'1970-01-01 00:00:00.1234\' + Literal UInt64_4 + Literal \'UTC\' + Literal \'%f\' + Set diff --git a/parser/testdata/03287_format_datetime_mysqlfraction/explain_5.txt b/parser/testdata/03287_format_datetime_mysqlfraction/explain_5.txt new file mode 100644 index 0000000000..52ab7504bc --- /dev/null +++ b/parser/testdata/03287_format_datetime_mysqlfraction/explain_5.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function formatDateTime (children 1) + ExpressionList (children 2) + Function toDateTime64 (children 1) + ExpressionList (children 3) + Literal \'1970-01-01 00:00:00.12\' + Literal UInt64_2 + Literal \'UTC\' + Literal \'%f\' + Set diff --git a/parser/testdata/03287_format_datetime_mysqlfraction/explain_6.txt b/parser/testdata/03287_format_datetime_mysqlfraction/explain_6.txt new file mode 100644 index 0000000000..13b6a2d10c --- /dev/null +++ b/parser/testdata/03287_format_datetime_mysqlfraction/explain_6.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function formatDateTime (children 1) + ExpressionList (children 2) + Function toDateTime64 (children 1) + ExpressionList (children 3) + Literal \'1970-01-01 00:00:00.1\' + Literal UInt64_1 + Literal \'UTC\' + Literal \'%f\' + Set diff --git a/parser/testdata/03287_format_datetime_mysqlfraction/explain_7.txt b/parser/testdata/03287_format_datetime_mysqlfraction/explain_7.txt new file mode 100644 index 0000000000..3f12703234 --- /dev/null +++ b/parser/testdata/03287_format_datetime_mysqlfraction/explain_7.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function formatDateTime (children 1) + ExpressionList (children 2) + Function toDateTime64 (children 1) + ExpressionList (children 3) + Literal \'1970-01-01 00:00:00\' + Literal UInt64_0 + Literal \'UTC\' + Literal \'%f\' + Set diff --git a/parser/testdata/03287_format_datetime_mysqlfraction/explain_9.txt b/parser/testdata/03287_format_datetime_mysqlfraction/explain_9.txt new file mode 100644 index 0000000000..2562df2716 --- /dev/null +++ b/parser/testdata/03287_format_datetime_mysqlfraction/explain_9.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function formatDateTime (children 1) + ExpressionList (children 2) + Function toDateTime64 (children 1) + ExpressionList (children 3) + Literal \'1970-01-01 00:00:00.12345678\' + Literal UInt64_8 + Literal \'UTC\' + Literal \'%f\' + Set diff --git a/parser/testdata/03289_tuple_element_to_subcolumn/explain_4.txt b/parser/testdata/03289_tuple_element_to_subcolumn/explain_4.txt new file mode 100644 index 0000000000..3f9c698c4e --- /dev/null +++ b/parser/testdata/03289_tuple_element_to_subcolumn/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_tuple_elem diff --git a/parser/testdata/03289_tuple_element_to_subcolumn/explain_5.txt b/parser/testdata/03289_tuple_element_to_subcolumn/explain_5.txt new file mode 100644 index 0000000000..3f9c698c4e --- /dev/null +++ b/parser/testdata/03289_tuple_element_to_subcolumn/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_tuple_elem diff --git a/parser/testdata/03290_dictionary_assert_on_function/explain.txt b/parser/testdata/03290_dictionary_assert_on_function/explain.txt new file mode 100644 index 0000000000..45e75cce12 --- /dev/null +++ b/parser/testdata/03290_dictionary_assert_on_function/explain.txt @@ -0,0 +1,30 @@ +CreateQuery default currency_conversion_dict (children 4) + Identifier default + Identifier currency_conversion_dict + ExpressionList (children 2) + DictionaryAttributeDeclaration a (children 1) + DataType String + DictionaryAttributeDeclaration b (children 1) + DataType Decimal (children 1) + ExpressionList (children 2) + Literal UInt64_18 + Literal UInt64_8 + Dictionary definition (children 4) + ExpressionList (children 1) + Identifier a + FunctionWithKeyValueArguments clickhouse (children 1) + ExpressionList (children 2) + pair (children 1) + Literal \'\' + pair (children 1) + ExpressionList (children 2) + pair (children 1) + Identifier String + pair (children 1) + Function Decimal (children 1) + ExpressionList (children 2) + Literal UInt64_18 + Literal UInt64_8 + Dictionary lifetime + Dictionary layout (children 1) + ExpressionList diff --git a/parser/testdata/03290_final_collapsing/explain_15.txt b/parser/testdata/03290_final_collapsing/explain_15.txt new file mode 100644 index 0000000000..fb7602c406 --- /dev/null +++ b/parser/testdata/03290_final_collapsing/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_final_collapsing diff --git a/parser/testdata/03290_final_collapsing/explain_3.txt b/parser/testdata/03290_final_collapsing/explain_3.txt new file mode 100644 index 0000000000..fb7602c406 --- /dev/null +++ b/parser/testdata/03290_final_collapsing/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_final_collapsing diff --git a/parser/testdata/03290_final_replacing/explain_3.txt b/parser/testdata/03290_final_replacing/explain_3.txt new file mode 100644 index 0000000000..dd8babd414 --- /dev/null +++ b/parser/testdata/03290_final_replacing/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_final_replacing diff --git a/parser/testdata/03290_final_replacing/explain_4.txt b/parser/testdata/03290_final_replacing/explain_4.txt new file mode 100644 index 0000000000..dd8babd414 --- /dev/null +++ b/parser/testdata/03290_final_replacing/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_final_replacing diff --git a/parser/testdata/03290_force_normal_projection/explain_3.txt b/parser/testdata/03290_force_normal_projection/explain_3.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03290_force_normal_projection/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03290_formatReadable_other_numeric_types/explain.txt b/parser/testdata/03290_formatReadable_other_numeric_types/explain.txt new file mode 100644 index 0000000000..e515d7fd07 --- /dev/null +++ b/parser/testdata/03290_formatReadable_other_numeric_types/explain.txt @@ -0,0 +1,35 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 5) + Literal \'Int128\' + Function formatReadableDecimalSize (children 1) + ExpressionList (children 1) + Identifier number + Function formatReadableSize (children 1) + ExpressionList (children 1) + Identifier number + Function formatReadableQuantity (children 1) + ExpressionList (children 1) + Identifier number + Function formatReadableTimeDelta (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function CAST (alias number) (children 1) + ExpressionList (children 2) + Identifier number + Literal \'Int128\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_2 diff --git a/parser/testdata/03290_limit_by_segv/explain.txt b/parser/testdata/03290_limit_by_segv/explain.txt index ae5401cc97..cf6d83bdd2 100644 --- a/parser/testdata/03290_limit_by_segv/explain.txt +++ b/parser/testdata/03290_limit_by_segv/explain.txt @@ -19,4 +19,3 @@ SelectWithUnionQuery (children 1) ArrayJoin (children 1) ExpressionList (children 1) Identifier c0 -The query succeeded but the server error '53' was expected (query: EXPLAIN AST SELECT 1 FROM (SELECT 1 AS c0 LIMIT 0 BY COLUMNS('1')) t0 ARRAY JOIN c0; -- { serverError TYPE_MISMATCH }). diff --git a/parser/testdata/03290_partial_arrayROCAUC_and_arrayAUCPR/explain.txt b/parser/testdata/03290_partial_arrayROCAUC_and_arrayAUCPR/explain.txt new file mode 100644 index 0000000000..dd77369d8e --- /dev/null +++ b/parser/testdata/03290_partial_arrayROCAUC_and_arrayAUCPR/explain.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function floor (children 1) + ExpressionList (children 2) + Function arrayAUCPR (children 1) + ExpressionList (children 2) + Literal Array_[Float64_0.1, Float64_0.4, Float64_0.35, Float64_0.8] + Literal Array_[UInt64_0, UInt64_0, UInt64_1, UInt64_1] + Literal UInt64_10 + Function floor (children 1) + ExpressionList (children 2) + Function arrayROCAUC (children 1) + ExpressionList (children 2) + Literal Array_[Float64_0.1, Float64_0.4, Float64_0.35, Float64_0.8] + Literal Array_[UInt64_0, UInt64_0, UInt64_1, UInt64_1] + Literal UInt64_10 diff --git a/parser/testdata/03290_pr_non_replicated_in_subquery/explain_5.txt b/parser/testdata/03290_pr_non_replicated_in_subquery/explain_5.txt new file mode 100644 index 0000000000..34834bb668 --- /dev/null +++ b/parser/testdata/03290_pr_non_replicated_in_subquery/explain_5.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier table1 + Set diff --git a/parser/testdata/03291_collapsing_invalid_sign/explain_13.txt b/parser/testdata/03291_collapsing_invalid_sign/explain_13.txt new file mode 100644 index 0000000000..24d272effa --- /dev/null +++ b/parser/testdata/03291_collapsing_invalid_sign/explain_13.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 2) + Identifier c0 + Identifier c1 diff --git a/parser/testdata/03291_collapsing_invalid_sign/explain_14.txt b/parser/testdata/03291_collapsing_invalid_sign/explain_14.txt new file mode 100644 index 0000000000..24d272effa --- /dev/null +++ b/parser/testdata/03291_collapsing_invalid_sign/explain_14.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 2) + Identifier c0 + Identifier c1 diff --git a/parser/testdata/03291_collapsing_invalid_sign/explain_15.txt b/parser/testdata/03291_collapsing_invalid_sign/explain_15.txt new file mode 100644 index 0000000000..24d272effa --- /dev/null +++ b/parser/testdata/03291_collapsing_invalid_sign/explain_15.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 2) + Identifier c0 + Identifier c1 diff --git a/parser/testdata/03291_collapsing_invalid_sign/explain_16.txt b/parser/testdata/03291_collapsing_invalid_sign/explain_16.txt new file mode 100644 index 0000000000..a299b6e928 --- /dev/null +++ b/parser/testdata/03291_collapsing_invalid_sign/explain_16.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 2) + Identifier c1 + Identifier c0 diff --git a/parser/testdata/03291_collapsing_invalid_sign/explain_17.txt b/parser/testdata/03291_collapsing_invalid_sign/explain_17.txt new file mode 100644 index 0000000000..a299b6e928 --- /dev/null +++ b/parser/testdata/03291_collapsing_invalid_sign/explain_17.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 2) + Identifier c1 + Identifier c0 diff --git a/parser/testdata/03291_collapsing_invalid_sign/explain_18.txt b/parser/testdata/03291_collapsing_invalid_sign/explain_18.txt new file mode 100644 index 0000000000..a299b6e928 --- /dev/null +++ b/parser/testdata/03291_collapsing_invalid_sign/explain_18.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 2) + Identifier c1 + Identifier c0 diff --git a/parser/testdata/03291_collapsing_invalid_sign/explain_25.txt b/parser/testdata/03291_collapsing_invalid_sign/explain_25.txt new file mode 100644 index 0000000000..dda169d3f3 --- /dev/null +++ b/parser/testdata/03291_collapsing_invalid_sign/explain_25.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_03291_collapsing_invalid_sign_vertical_merge diff --git a/parser/testdata/03291_collapsing_invalid_sign/explain_26.txt b/parser/testdata/03291_collapsing_invalid_sign/explain_26.txt new file mode 100644 index 0000000000..dda169d3f3 --- /dev/null +++ b/parser/testdata/03291_collapsing_invalid_sign/explain_26.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_03291_collapsing_invalid_sign_vertical_merge diff --git a/parser/testdata/03291_collapsing_invalid_sign/explain_31.txt b/parser/testdata/03291_collapsing_invalid_sign/explain_31.txt new file mode 100644 index 0000000000..a299b6e928 --- /dev/null +++ b/parser/testdata/03291_collapsing_invalid_sign/explain_31.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 2) + Identifier c1 + Identifier c0 diff --git a/parser/testdata/03291_collapsing_invalid_sign/explain_5.txt b/parser/testdata/03291_collapsing_invalid_sign/explain_5.txt new file mode 100644 index 0000000000..5bca19014c --- /dev/null +++ b/parser/testdata/03291_collapsing_invalid_sign/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_03291_collapsing_invalid_sign diff --git a/parser/testdata/03291_collapsing_invalid_sign/explain_7.txt b/parser/testdata/03291_collapsing_invalid_sign/explain_7.txt new file mode 100644 index 0000000000..5bca19014c --- /dev/null +++ b/parser/testdata/03291_collapsing_invalid_sign/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_03291_collapsing_invalid_sign diff --git a/parser/testdata/03291_low_cardinality_uuid/explain_2.txt b/parser/testdata/03291_low_cardinality_uuid/explain_2.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03291_low_cardinality_uuid/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03292_format_tty_friendly/explain.txt b/parser/testdata/03292_format_tty_friendly/explain.txt new file mode 100644 index 0000000000..0cb45bcb67 --- /dev/null +++ b/parser/testdata/03292_format_tty_friendly/explain.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 3) + Identifier name + Identifier is_output + Identifier is_tty_friendly + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.formats + Function in (children 1) + ExpressionList (children 2) + Identifier name + Literal Tuple_(\'Pretty\', \'TSV\', \'JSON\', \'JSONEachRow\', \'ODBCDriver2\', \'Parquet\', \'Arrow\', \'BSONEachRow\', \'Protobuf\', \'ProtobufList\', \'ProtobufSingle\', \'CapnProto\', \'Npy\', \'ArrowStream\', \'ORC\', \'MsgPack\', \'Avro\', \'RowBinary\', \'RowBinaryWithNames\', \'RowBinaryWithNamesAndTypes\', \'Native\', \'Buffers\', \'MySQLWire\', \'PostgreSQLWire\') + ExpressionList (children 1) + OrderByElement (children 1) + Identifier name diff --git a/parser/testdata/03293_forbid_cluster_table_engine/explain.txt b/parser/testdata/03293_forbid_cluster_table_engine/explain.txt index 89709aa10a..56c9fd4765 100644 --- a/parser/testdata/03293_forbid_cluster_table_engine/explain.txt +++ b/parser/testdata/03293_forbid_cluster_table_engine/explain.txt @@ -6,4 +6,3 @@ CreateQuery test (children 2) Literal \'http://localhost:11111/test/a.tsv\' Literal \'TSV\' Literal \'a Int32\' -The query succeeded but the server error '36' was expected (query: EXPLAIN AST CREATE TABLE test AS s3Cluster('test_shard_localhost', 'http://localhost:11111/test/a.tsv', 'TSV', 'a Int32'); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/03298_analyzer_group_by_all_fix/explain_2.txt b/parser/testdata/03298_analyzer_group_by_all_fix/explain_2.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03298_analyzer_group_by_all_fix/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03298_analyzer_group_by_all_fix/explain_3.txt b/parser/testdata/03298_analyzer_group_by_all_fix/explain_3.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03298_analyzer_group_by_all_fix/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03298_analyzer_group_by_all_fix/explain_4.txt b/parser/testdata/03298_analyzer_group_by_all_fix/explain_4.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03298_analyzer_group_by_all_fix/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03298_server_client_native_settings/explain_3.txt b/parser/testdata/03298_server_client_native_settings/explain_3.txt new file mode 100644 index 0000000000..9af06bc0b3 --- /dev/null +++ b/parser/testdata/03298_server_client_native_settings/explain_3.txt @@ -0,0 +1,5 @@ +InsertQuery (children 3) + Identifier t0 + ExpressionList (children 1) + Identifier c0 + Set diff --git a/parser/testdata/03298_server_client_native_settings/explain_6.txt b/parser/testdata/03298_server_client_native_settings/explain_6.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/03298_server_client_native_settings/explain_6.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03298_triger_local_error_format/explain.txt b/parser/testdata/03298_triger_local_error_format/explain.txt index 8e54eabe65..3aaa3d05ae 100644 --- a/parser/testdata/03298_triger_local_error_format/explain.txt +++ b/parser/testdata/03298_triger_local_error_format/explain.txt @@ -6,4 +6,3 @@ SelectWithUnionQuery (children 3) Literal UInt64_2 Literal \'/dev/null\' Identifier Npy -The query succeeded but the client error '161' was expected (query: EXPLAIN AST SELECT 1, 2 INTO OUTFILE '/dev/null' TRUNCATE FORMAT Npy; -- { clientError TOO_MANY_COLUMNS }). diff --git a/parser/testdata/03299_pretty_squash/explain_2.txt b/parser/testdata/03299_pretty_squash/explain_2.txt new file mode 100644 index 0000000000..249df4f9e7 --- /dev/null +++ b/parser/testdata/03299_pretty_squash/explain_2.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 3) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + Identifier PrettyCompact + Set diff --git a/parser/testdata/03300_generate_random_const_expr_params/explain.txt b/parser/testdata/03300_generate_random_const_expr_params/explain.txt index 0f5ecceb41..6997c26e94 100644 --- a/parser/testdata/03300_generate_random_const_expr_params/explain.txt +++ b/parser/testdata/03300_generate_random_const_expr_params/explain.txt @@ -9,4 +9,3 @@ CreateQuery t0 (children 3) ExpressionList (children 1) Function rand (children 1) ExpressionList -The query succeeded but the server error '36' was expected (query: EXPLAIN AST CREATE TABLE t0 (c0 Int32) ENGINE = GenerateRandom(rand()); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/03302_any_enum_aggregation/explain_22.txt b/parser/testdata/03302_any_enum_aggregation/explain_22.txt new file mode 100644 index 0000000000..68d61314f9 --- /dev/null +++ b/parser/testdata/03302_any_enum_aggregation/explain_22.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_33602_t0a diff --git a/parser/testdata/03302_any_enum_aggregation/explain_38.txt b/parser/testdata/03302_any_enum_aggregation/explain_38.txt new file mode 100644 index 0000000000..23e7193dc7 --- /dev/null +++ b/parser/testdata/03302_any_enum_aggregation/explain_38.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_33602_t0b diff --git a/parser/testdata/03302_merge_table_structure_unification/explain_7.txt b/parser/testdata/03302_merge_table_structure_unification/explain_7.txt new file mode 100644 index 0000000000..304f71ee85 --- /dev/null +++ b/parser/testdata/03302_merge_table_structure_unification/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_a diff --git a/parser/testdata/03302_merge_table_structure_unification/explain_8.txt b/parser/testdata/03302_merge_table_structure_unification/explain_8.txt new file mode 100644 index 0000000000..3578bab1c6 --- /dev/null +++ b/parser/testdata/03302_merge_table_structure_unification/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_b diff --git a/parser/testdata/03304_compare_substrings/explain.txt b/parser/testdata/03304_compare_substrings/explain.txt index fc73c8d79d..5d61d4fa68 100644 --- a/parser/testdata/03304_compare_substrings/explain.txt +++ b/parser/testdata/03304_compare_substrings/explain.txt @@ -4,4 +4,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) Function compareSubstrings (children 1) ExpressionList -The query succeeded but the server error '42' was expected (query: EXPLAIN AST select compareSubstrings(); -- { serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH }). diff --git a/parser/testdata/03304_fill_virtual_columns/explain_3.txt b/parser/testdata/03304_fill_virtual_columns/explain_3.txt new file mode 100644 index 0000000000..c2b36117ae --- /dev/null +++ b/parser/testdata/03304_fill_virtual_columns/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_virtual_columns diff --git a/parser/testdata/03305_compressed_memory_eng_crash_reading_subcolumn/explain_3.txt b/parser/testdata/03305_compressed_memory_eng_crash_reading_subcolumn/explain_3.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/03305_compressed_memory_eng_crash_reading_subcolumn/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03305_compressed_memory_eng_crash_reading_subcolumn/explain_4.txt b/parser/testdata/03305_compressed_memory_eng_crash_reading_subcolumn/explain_4.txt index 66dac47d98..a2a7fa9ee9 100644 --- a/parser/testdata/03305_compressed_memory_eng_crash_reading_subcolumn/explain_4.txt +++ b/parser/testdata/03305_compressed_memory_eng_crash_reading_subcolumn/explain_4.txt @@ -1,12 +1,11 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 1) Identifier t0.c0.null TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) TableIdentifier t0 - Set Identifier Null Set diff --git a/parser/testdata/03305_fix_kafka_table_with_kw_arguments/explain.txt b/parser/testdata/03305_fix_kafka_table_with_kw_arguments/explain.txt index 9154993456..c5abd86d07 100644 --- a/parser/testdata/03305_fix_kafka_table_with_kw_arguments/explain.txt +++ b/parser/testdata/03305_fix_kafka_table_with_kw_arguments/explain.txt @@ -1,4 +1,5 @@ -CreateQuery test (children 3) +CreateQuery default test (children 4) + Identifier default Identifier test Columns definition (children 1) ExpressionList (children 2) diff --git a/parser/testdata/03305_parallel_with/explain.txt b/parser/testdata/03305_parallel_with/explain.txt index f0662d5e1d..ff92c4318a 100644 --- a/parser/testdata/03305_parallel_with/explain.txt +++ b/parser/testdata/03305_parallel_with/explain.txt @@ -1,2 +1,5 @@ -DropQuery table1 (children 1) - Identifier table1 +ParallelWithQuery 2 DropQuery__table1 (children 2) + DropQuery table1 (children 1) + Identifier table1 + DropQuery table2 (children 1) + Identifier table2 diff --git a/parser/testdata/03305_parallel_with/explain_11.txt b/parser/testdata/03305_parallel_with/explain_11.txt new file mode 100644 index 0000000000..ff92c4318a --- /dev/null +++ b/parser/testdata/03305_parallel_with/explain_11.txt @@ -0,0 +1,5 @@ +ParallelWithQuery 2 DropQuery__table1 (children 2) + DropQuery table1 (children 1) + Identifier table1 + DropQuery table2 (children 1) + Identifier table2 diff --git a/parser/testdata/03305_parallel_with/explain_2.txt b/parser/testdata/03305_parallel_with/explain_2.txt new file mode 100644 index 0000000000..38e95f4acf --- /dev/null +++ b/parser/testdata/03305_parallel_with/explain_2.txt @@ -0,0 +1,19 @@ +ParallelWithQuery 2 CreateQuery_table1 (children 2) + CreateQuery table1 (children 3) + Identifier table1 + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration x (children 1) + DataType Int32 + Storage definition (children 2) + Function MergeTree + Identifier x + CreateQuery table2 (children 3) + Identifier table2 + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration y (children 1) + DataType Int32 + Storage definition (children 2) + Function MergeTree + Identifier y diff --git a/parser/testdata/03305_parallel_with/explain_5.txt b/parser/testdata/03305_parallel_with/explain_5.txt new file mode 100644 index 0000000000..38e95f4acf --- /dev/null +++ b/parser/testdata/03305_parallel_with/explain_5.txt @@ -0,0 +1,19 @@ +ParallelWithQuery 2 CreateQuery_table1 (children 2) + CreateQuery table1 (children 3) + Identifier table1 + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration x (children 1) + DataType Int32 + Storage definition (children 2) + Function MergeTree + Identifier x + CreateQuery table2 (children 3) + Identifier table2 + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration y (children 1) + DataType Int32 + Storage definition (children 2) + Function MergeTree + Identifier y diff --git a/parser/testdata/03305_parallel_with/explain_6.txt b/parser/testdata/03305_parallel_with/explain_6.txt new file mode 100644 index 0000000000..cdae3da5df --- /dev/null +++ b/parser/testdata/03305_parallel_with/explain_6.txt @@ -0,0 +1,42 @@ +ParallelWithQuery 3 InsertQuery__ (children 3) + InsertQuery (children 2) + Identifier table1 + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_3 + InsertQuery (children 2) + Identifier table1 + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 2) + Literal UInt64_10 + Literal UInt64_2 + InsertQuery (children 2) + Identifier table2 + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 2) + Literal UInt64_20 + Literal UInt64_1 diff --git a/parser/testdata/03306_materialized_vew_prewhere_supported_columns/explain_7.txt b/parser/testdata/03306_materialized_vew_prewhere_supported_columns/explain_7.txt new file mode 100644 index 0000000000..a233c92648 --- /dev/null +++ b/parser/testdata/03306_materialized_vew_prewhere_supported_columns/explain_7.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier src + ExpressionList (children 2) + Identifier c0 + Identifier c1 diff --git a/parser/testdata/03306_optimize_table_force_keyword/explain_2.txt b/parser/testdata/03306_optimize_table_force_keyword/explain_2.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/03306_optimize_table_force_keyword/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/03306_optimize_table_force_keyword/explain_3.txt b/parser/testdata/03306_optimize_table_force_keyword/explain_3.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/03306_optimize_table_force_keyword/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/03306_optimize_table_force_keyword/explain_4.txt b/parser/testdata/03306_optimize_table_force_keyword/explain_4.txt new file mode 100644 index 0000000000..36feff3881 --- /dev/null +++ b/parser/testdata/03306_optimize_table_force_keyword/explain_4.txt @@ -0,0 +1,2 @@ +OptimizeQuery tab_final (children 1) + Identifier tab diff --git a/parser/testdata/03307_forbid_loop_table_function_as_engine/explain.txt b/parser/testdata/03307_forbid_loop_table_function_as_engine/explain.txt index 3b51dbb24a..52a04a71e6 100644 --- a/parser/testdata/03307_forbid_loop_table_function_as_engine/explain.txt +++ b/parser/testdata/03307_forbid_loop_table_function_as_engine/explain.txt @@ -6,4 +6,3 @@ CreateQuery tab (children 3) DataType String Storage definition (children 1) Function Loop -The query succeeded but the server error '80' was expected (query: EXPLAIN AST CREATE TABLE tab (col String) ENGINE=Loop; -- { serverError INCORRECT_QUERY }). diff --git a/parser/testdata/03307_parallel_hash_max_joined_rows/explain_6.txt b/parser/testdata/03307_parallel_hash_max_joined_rows/explain_6.txt index cecab68b54..f4b53caf39 100644 --- a/parser/testdata/03307_parallel_hash_max_joined_rows/explain_6.txt +++ b/parser/testdata/03307_parallel_hash_max_joined_rows/explain_6.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 2) @@ -15,6 +15,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 2) Identifier t1.n Identifier t2.n - Set Identifier Null Set diff --git a/parser/testdata/03310_aggregate_projection_count_nullable/explain_13.txt b/parser/testdata/03310_aggregate_projection_count_nullable/explain_13.txt new file mode 100644 index 0000000000..ff5d76abfb --- /dev/null +++ b/parser/testdata/03310_aggregate_projection_count_nullable/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier log diff --git a/parser/testdata/03310_aggregate_projection_count_nullable/explain_14.txt b/parser/testdata/03310_aggregate_projection_count_nullable/explain_14.txt new file mode 100644 index 0000000000..ff5d76abfb --- /dev/null +++ b/parser/testdata/03310_aggregate_projection_count_nullable/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier log diff --git a/parser/testdata/03310_aggregate_projection_count_nullable/explain_15.txt b/parser/testdata/03310_aggregate_projection_count_nullable/explain_15.txt new file mode 100644 index 0000000000..ff5d76abfb --- /dev/null +++ b/parser/testdata/03310_aggregate_projection_count_nullable/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier log diff --git a/parser/testdata/03310_aggregate_projection_count_nullable/explain_16.txt b/parser/testdata/03310_aggregate_projection_count_nullable/explain_16.txt new file mode 100644 index 0000000000..ff5d76abfb --- /dev/null +++ b/parser/testdata/03310_aggregate_projection_count_nullable/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier log diff --git a/parser/testdata/03310_aggregate_projection_count_nullable/explain_17.txt b/parser/testdata/03310_aggregate_projection_count_nullable/explain_17.txt new file mode 100644 index 0000000000..ff5d76abfb --- /dev/null +++ b/parser/testdata/03310_aggregate_projection_count_nullable/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier log diff --git a/parser/testdata/03310_aggregate_projection_count_nullable/explain_18.txt b/parser/testdata/03310_aggregate_projection_count_nullable/explain_18.txt new file mode 100644 index 0000000000..ff5d76abfb --- /dev/null +++ b/parser/testdata/03310_aggregate_projection_count_nullable/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier log diff --git a/parser/testdata/03310_aggregate_projection_count_nullable/explain_3.txt b/parser/testdata/03310_aggregate_projection_count_nullable/explain_3.txt new file mode 100644 index 0000000000..ff5d76abfb --- /dev/null +++ b/parser/testdata/03310_aggregate_projection_count_nullable/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier log diff --git a/parser/testdata/03310_aggregate_projection_count_nullable/explain_4.txt b/parser/testdata/03310_aggregate_projection_count_nullable/explain_4.txt new file mode 100644 index 0000000000..ff5d76abfb --- /dev/null +++ b/parser/testdata/03310_aggregate_projection_count_nullable/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier log diff --git a/parser/testdata/03310_aggregate_projection_count_nullable/explain_5.txt b/parser/testdata/03310_aggregate_projection_count_nullable/explain_5.txt new file mode 100644 index 0000000000..ff5d76abfb --- /dev/null +++ b/parser/testdata/03310_aggregate_projection_count_nullable/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier log diff --git a/parser/testdata/03310_aggregate_projection_count_nullable/explain_6.txt b/parser/testdata/03310_aggregate_projection_count_nullable/explain_6.txt new file mode 100644 index 0000000000..ff5d76abfb --- /dev/null +++ b/parser/testdata/03310_aggregate_projection_count_nullable/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier log diff --git a/parser/testdata/03310_aggregate_projection_count_nullable/explain_7.txt b/parser/testdata/03310_aggregate_projection_count_nullable/explain_7.txt new file mode 100644 index 0000000000..ff5d76abfb --- /dev/null +++ b/parser/testdata/03310_aggregate_projection_count_nullable/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier log diff --git a/parser/testdata/03310_aggregate_projection_count_nullable/explain_8.txt b/parser/testdata/03310_aggregate_projection_count_nullable/explain_8.txt new file mode 100644 index 0000000000..ff5d76abfb --- /dev/null +++ b/parser/testdata/03310_aggregate_projection_count_nullable/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier log diff --git a/parser/testdata/03310_create_database_with_settings/explain_3.txt b/parser/testdata/03310_create_database_with_settings/explain_3.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03310_create_database_with_settings/explain_3.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03310_index_hints_read_columns/explain_11.txt b/parser/testdata/03310_index_hints_read_columns/explain_11.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03310_index_hints_read_columns/explain_11.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03310_index_hints_read_columns/explain_15.txt b/parser/testdata/03310_index_hints_read_columns/explain_15.txt new file mode 100644 index 0000000000..7d18efe873 --- /dev/null +++ b/parser/testdata/03310_index_hints_read_columns/explain_15.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t_index_hint + ExpressionList (children 2) + Identifier a + Identifier s diff --git a/parser/testdata/03310_index_hints_read_columns/explain_25.txt b/parser/testdata/03310_index_hints_read_columns/explain_25.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03310_index_hints_read_columns/explain_25.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03310_materialized_view_with_bad_select/explain_11.txt b/parser/testdata/03310_materialized_view_with_bad_select/explain_11.txt new file mode 100644 index 0000000000..37b584e2c2 --- /dev/null +++ b/parser/testdata/03310_materialized_view_with_bad_select/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier src diff --git a/parser/testdata/03310_materialized_view_with_bad_select/explain_17.txt b/parser/testdata/03310_materialized_view_with_bad_select/explain_17.txt new file mode 100644 index 0000000000..37b584e2c2 --- /dev/null +++ b/parser/testdata/03310_materialized_view_with_bad_select/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier src diff --git a/parser/testdata/03310_materialized_view_with_bad_select/explain_8.txt b/parser/testdata/03310_materialized_view_with_bad_select/explain_8.txt new file mode 100644 index 0000000000..37b584e2c2 --- /dev/null +++ b/parser/testdata/03310_materialized_view_with_bad_select/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier src diff --git a/parser/testdata/03311_constantnode/explain_3.txt b/parser/testdata/03311_constantnode/explain_3.txt new file mode 100644 index 0000000000..f75a8e1203 --- /dev/null +++ b/parser/testdata/03311_constantnode/explain_3.txt @@ -0,0 +1,22 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Function map (children 1) + ExpressionList (children 6) + Function tuple (children 1) + ExpressionList (children 1) + Literal \'{"a":1,"b":1,"b":1}\' + Literal UInt64_1 + Function tuple (children 1) + ExpressionList (children 1) + Literal \'{"a":1}\' + Literal UInt64_2 + Function tuple (children 1) + ExpressionList (children 1) + Literal \'{"a":1,"c":1}\' + Literal UInt64_2666514966 + Literal \'Map(Tuple(JSON(max_dynamic_paths = 2)), Variant(UInt32))\' + Set diff --git a/parser/testdata/03311_issue_72265/explain_9.txt b/parser/testdata/03311_issue_72265/explain_9.txt new file mode 100644 index 0000000000..c897bc7cde --- /dev/null +++ b/parser/testdata/03311_issue_72265/explain_9.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test_table_72265_2 + ExpressionList (children 1) + Identifier part diff --git a/parser/testdata/03312_analyzer_unused_projection_fix/explain.txt b/parser/testdata/03312_analyzer_unused_projection_fix/explain.txt index 07bec183ed..21729edbe1 100644 --- a/parser/testdata/03312_analyzer_unused_projection_fix/explain.txt +++ b/parser/testdata/03312_analyzer_unused_projection_fix/explain.txt @@ -9,12 +9,13 @@ SelectWithUnionQuery (children 1) TableExpression (children 1) Subquery (children 1) SelectWithUnionQuery (children 1) - ExpressionList (children 2) - SelectQuery (children 1) - ExpressionList (children 2) - Literal UInt64_1 (alias a) - Literal UInt64_2 (alias b) - SelectQuery (children 1) - ExpressionList (children 2) - Literal UInt64_1 - Literal UInt64_1 + ExpressionList (children 1) + SelectIntersectExceptQuery (children 2) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_1 (alias a) + Literal UInt64_2 (alias b) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal UInt64_1 diff --git a/parser/testdata/03312_issue_74299/explain_3.txt b/parser/testdata/03312_issue_74299/explain_3.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/03312_issue_74299/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03312_line_numbers/explain.txt b/parser/testdata/03312_line_numbers/explain.txt index f50e7fbaea..eef496fd78 100644 --- a/parser/testdata/03312_line_numbers/explain.txt +++ b/parser/testdata/03312_line_numbers/explain.txt @@ -1,5 +1,8 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 1) - ExpressionList (children 1) + ExpressionList (children 4) Literal \'This is the first query, and it is located on line 4\' + Literal UInt64_1 + Literal UInt64_2 + Literal UInt64_3 diff --git a/parser/testdata/03312_line_numbers/explain_3.txt b/parser/testdata/03312_line_numbers/explain_3.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03312_line_numbers/explain_3.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03312_sparse_column_tuple/explain_12.txt b/parser/testdata/03312_sparse_column_tuple/explain_12.txt new file mode 100644 index 0000000000..d9a719b77e --- /dev/null +++ b/parser/testdata/03312_sparse_column_tuple/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dst_sparse diff --git a/parser/testdata/03312_sparse_column_tuple/explain_4.txt b/parser/testdata/03312_sparse_column_tuple/explain_4.txt new file mode 100644 index 0000000000..d9a719b77e --- /dev/null +++ b/parser/testdata/03312_sparse_column_tuple/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dst_sparse diff --git a/parser/testdata/03312_squashing_with_low_card_mem_usage/explain_4.txt b/parser/testdata/03312_squashing_with_low_card_mem_usage/explain_4.txt new file mode 100644 index 0000000000..50fa9bc611 --- /dev/null +++ b/parser/testdata/03312_squashing_with_low_card_mem_usage/explain_4.txt @@ -0,0 +1,39 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 1) + WithElement (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Literal \'x\' (alias s) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers_mt (children 1) + ExpressionList (children 1) + Literal Float64_10000 + ExpressionList (children 1) + Identifier t1.s + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t (alias t1) + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier t2 + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Function substr (children 1) + ExpressionList (children 3) + Identifier t1.s + Literal UInt64_1 + Literal UInt64_1 + Identifier t2.s + Literal Float64_100000 + Set + Identifier Null diff --git a/parser/testdata/03313_case_insensitive_json_type_declaration/explain_2.txt b/parser/testdata/03313_case_insensitive_json_type_declaration/explain_2.txt deleted file mode 100644 index 7150605428..0000000000 --- a/parser/testdata/03313_case_insensitive_json_type_declaration/explain_2.txt +++ /dev/null @@ -1,8 +0,0 @@ -SelectWithUnionQuery (children 1) - ExpressionList (children 1) - SelectQuery (children 1) - ExpressionList (children 1) - Function CAST (children 1) - ExpressionList (children 2) - Literal \'{}\' - Literal \'json(500)\' diff --git a/parser/testdata/03313_h3togeo_result_order/explain_2.txt b/parser/testdata/03313_h3togeo_result_order/explain_2.txt new file mode 100644 index 0000000000..0b442cf708 --- /dev/null +++ b/parser/testdata/03313_h3togeo_result_order/explain_2.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function h3ToGeo (children 1) + ExpressionList (children 1) + Literal UInt64_644325524701193974 + Set diff --git a/parser/testdata/03314_analyzer_resolve_in_parent_scope/explain.txt b/parser/testdata/03314_analyzer_resolve_in_parent_scope/explain.txt new file mode 100644 index 0000000000..c25108058f --- /dev/null +++ b/parser/testdata/03314_analyzer_resolve_in_parent_scope/explain.txt @@ -0,0 +1,67 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 1) + WithElement (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier ws1.ws_order_number + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias ws1) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_1 (alias ws_order_number) + Literal UInt64_1 (alias ws_warehouse_sk) + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias ws2) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_1 (alias ws_order_number) + Literal UInt64_2 (alias ws_warehouse_sk) + TableJoin + Function and (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier ws1.ws_order_number + Identifier ws2.ws_order_number + Function notEquals (children 1) + ExpressionList (children 2) + Identifier ws1.ws_warehouse_sk + Identifier ws2.ws_warehouse_sk + ExpressionList (children 1) + Function COUNT (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias ws1) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 (alias ws_order_number) + Function in (children 1) + ExpressionList (children 2) + Identifier ws1.ws_order_number + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier ws_order_number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier ws_wh + Set diff --git a/parser/testdata/03314_analyzer_resolve_in_parent_scope_2/explain_2.txt b/parser/testdata/03314_analyzer_resolve_in_parent_scope_2/explain_2.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03314_analyzer_resolve_in_parent_scope_2/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03314_analyzer_resolve_in_parent_scope_4/explain_5.txt b/parser/testdata/03314_analyzer_resolve_in_parent_scope_4/explain_5.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03314_analyzer_resolve_in_parent_scope_4/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03314_analyzer_resolve_in_parent_scope_4/explain_6.txt b/parser/testdata/03314_analyzer_resolve_in_parent_scope_4/explain_6.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03314_analyzer_resolve_in_parent_scope_4/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03314_analyzer_resolve_in_parent_scope_4/explain_7.txt b/parser/testdata/03314_analyzer_resolve_in_parent_scope_4/explain_7.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03314_analyzer_resolve_in_parent_scope_4/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03314_analyzer_resolve_in_parent_scope_5/explain.txt b/parser/testdata/03314_analyzer_resolve_in_parent_scope_5/explain.txt new file mode 100644 index 0000000000..93ce81578a --- /dev/null +++ b/parser/testdata/03314_analyzer_resolve_in_parent_scope_5/explain.txt @@ -0,0 +1,51 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + WithElement (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + WithElement (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 (alias value) + WithElement (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier shared_data + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier shared_data_2 + WithElement (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier query_1 + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier shared_data (alias s) diff --git a/parser/testdata/03314_divide_decimal_short_circuit/explain_3.txt b/parser/testdata/03314_divide_decimal_short_circuit/explain_3.txt new file mode 100644 index 0000000000..6c23ba9838 --- /dev/null +++ b/parser/testdata/03314_divide_decimal_short_circuit/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 03314_divide_decimal_short_circuit diff --git a/parser/testdata/03314_empty_tuple_in_protobuf_format/explain_3.txt b/parser/testdata/03314_empty_tuple_in_protobuf_format/explain_3.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/03314_empty_tuple_in_protobuf_format/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03314_grace_hash_join_buckets/explain_3.txt b/parser/testdata/03314_grace_hash_join_buckets/explain_3.txt deleted file mode 100644 index 37bae987b1..0000000000 --- a/parser/testdata/03314_grace_hash_join_buckets/explain_3.txt +++ /dev/null @@ -1,18 +0,0 @@ -SelectWithUnionQuery (children 1) - ExpressionList (children 1) - SelectQuery (children 3) - ExpressionList (children 1) - Literal UInt64_1 - TablesInSelectQuery (children 2) - TablesInSelectQueryElement (children 1) - TableExpression (children 1) - TableIdentifier t0 - TablesInSelectQueryElement (children 2) - TableExpression (children 1) - TableIdentifier t0 (alias tx) - TableJoin (children 1) - Function equals (children 1) - ExpressionList (children 2) - Identifier tx.c0 - Identifier t0.c0 - Set diff --git a/parser/testdata/03314_nullable_key_no_optimize_functions_to_subcolumns/explain_4.txt b/parser/testdata/03314_nullable_key_no_optimize_functions_to_subcolumns/explain_4.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/03314_nullable_key_no_optimize_functions_to_subcolumns/explain_4.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03314_summing_merge_tree_final_not_found_column_in_block/explain_3.txt b/parser/testdata/03314_summing_merge_tree_final_not_found_column_in_block/explain_3.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/03314_summing_merge_tree_final_not_found_column_in_block/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03315_array_join_scalar/explain.txt b/parser/testdata/03315_array_join_scalar/explain.txt new file mode 100644 index 0000000000..f26b3776d6 --- /dev/null +++ b/parser/testdata/03315_array_join_scalar/explain.txt @@ -0,0 +1,53 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + WithElement (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Identifier col_a + Identifier col_b + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal \'a\' (alias col_a) + Literal Array_[\'b\', \'c\'] (alias col_b) + TablesInSelectQueryElement (children 1) + ArrayJoin (children 1) + ExpressionList (children 1) + Identifier col_b + Subquery (alias group_a) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function groupArray (children 1) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList (children 2) + Identifier col_a + Identifier col_b + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier table_x + ExpressionList (children 2) + Identifier group_a + Function groupArray (children 1) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList (children 2) + Identifier col_a + Identifier col_b + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier table_x diff --git a/parser/testdata/03315_join_on_optimize_pass_alias/explain_5.txt b/parser/testdata/03315_join_on_optimize_pass_alias/explain_5.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/03315_join_on_optimize_pass_alias/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/03315_join_on_optimize_pass_alias/explain_7.txt b/parser/testdata/03315_join_on_optimize_pass_alias/explain_7.txt new file mode 100644 index 0000000000..df4a687bc0 --- /dev/null +++ b/parser/testdata/03315_join_on_optimize_pass_alias/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2 diff --git a/parser/testdata/03315_join_temporary_table_names/explain_4.txt b/parser/testdata/03315_join_temporary_table_names/explain_4.txt new file mode 100644 index 0000000000..9a494ded08 --- /dev/null +++ b/parser/testdata/03315_join_temporary_table_names/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier T1 diff --git a/parser/testdata/03315_join_temporary_table_names/explain_6.txt b/parser/testdata/03315_join_temporary_table_names/explain_6.txt new file mode 100644 index 0000000000..954a9e299a --- /dev/null +++ b/parser/testdata/03315_join_temporary_table_names/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier T2 diff --git a/parser/testdata/03315_trim_two_args/explain_28.txt b/parser/testdata/03315_trim_two_args/explain_28.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/03315_trim_two_args/explain_28.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/03315_trim_two_args/explain_29.txt b/parser/testdata/03315_trim_two_args/explain_29.txt index 67059e9c2f..346ee72e58 100644 --- a/parser/testdata/03315_trim_two_args/explain_29.txt +++ b/parser/testdata/03315_trim_two_args/explain_29.txt @@ -2,19 +2,12 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 2) ExpressionList (children 1) - Function replaceRegexpOne (children 1) - ExpressionList (children 3) + Function trimRight (children 1) + ExpressionList (children 2) Identifier col - Function concat (children 1) - ExpressionList (children 3) - Literal \'[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Function char (children 1) - ExpressionList (children 1) - Literal UInt64_0 - Literal \']+$\' - Literal \'\' + Function char (children 1) + ExpressionList (children 1) + Literal UInt64_0 TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) diff --git a/parser/testdata/03315_trim_two_args/explain_30.txt b/parser/testdata/03315_trim_two_args/explain_30.txt index 99e1d4fdff..769fb2d4fe 100644 --- a/parser/testdata/03315_trim_two_args/explain_30.txt +++ b/parser/testdata/03315_trim_two_args/explain_30.txt @@ -2,21 +2,10 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 2) ExpressionList (children 1) - Function replaceRegexpAll (children 1) - ExpressionList (children 3) + Function trimBoth (children 1) + ExpressionList (children 2) Identifier col - Function concat (children 1) - ExpressionList (children 5) - Literal \'^[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \'ac\' - Literal \']+|[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \'ac\' - Literal \']+$\' - Literal \'\' + Literal \'ac\' TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) diff --git a/parser/testdata/03317_pretty_fallback_to_vertical_consistent/explain_2.txt b/parser/testdata/03317_pretty_fallback_to_vertical_consistent/explain_2.txt new file mode 100644 index 0000000000..451079b93e --- /dev/null +++ b/parser/testdata/03317_pretty_fallback_to_vertical_consistent/explain_2.txt @@ -0,0 +1,26 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Function repeat (alias x) (children 1) + ExpressionList (children 2) + Literal \'x\' + Function minus (children 1) + ExpressionList (children 2) + Literal UInt64_100 + Identifier number + Function repeat (alias y) (children 1) + ExpressionList (children 2) + Literal \'x\' + Function minus (children 1) + ExpressionList (children 2) + Literal UInt64_100 + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_100 + Set + Identifier PrettyCompact diff --git a/parser/testdata/03318_ubsan_resample_arguments_count/explain.txt b/parser/testdata/03318_ubsan_resample_arguments_count/explain.txt index 48587f5931..ef79756307 100644 --- a/parser/testdata/03318_ubsan_resample_arguments_count/explain.txt +++ b/parser/testdata/03318_ubsan_resample_arguments_count/explain.txt @@ -42,4 +42,3 @@ SelectWithUnionQuery (children 1) Function numbers (children 1) ExpressionList (children 1) Literal UInt64_100 -The query succeeded but the server error '42' was expected (query: EXPLAIN AST SELECT quantileResampleMerge(0.5, 257, 65536, 1)(tuple(*).1) IGNORE NULLS FROM (SELECT quantileResampleState(0.1, 1, 2, 42)(murmurHash3_128(88, NULL), number, number) FROM numbers(100)); -- { serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH }). diff --git a/parser/testdata/03319_concurrent_hash_join_double_preallocation_bug/explain_10.txt b/parser/testdata/03319_concurrent_hash_join_double_preallocation_bug/explain_10.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03319_concurrent_hash_join_double_preallocation_bug/explain_10.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03319_concurrent_hash_join_double_preallocation_bug/explain_9.txt b/parser/testdata/03319_concurrent_hash_join_double_preallocation_bug/explain_9.txt index 6d6550b41c..fb21b34abe 100644 --- a/parser/testdata/03319_concurrent_hash_join_double_preallocation_bug/explain_9.txt +++ b/parser/testdata/03319_concurrent_hash_join_double_preallocation_bug/explain_9.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 2) @@ -15,6 +15,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 2) Identifier t1.a Identifier t2.a - Set Identifier Null Set diff --git a/parser/testdata/03321_functions_to_subcolumns_skip_index/explain_3.txt b/parser/testdata/03321_functions_to_subcolumns_skip_index/explain_3.txt new file mode 100644 index 0000000000..3b9c191c3a --- /dev/null +++ b/parser/testdata/03321_functions_to_subcolumns_skip_index/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier bloom_filter_test diff --git a/parser/testdata/03321_inner_materialized_view_nested/explain_12.txt b/parser/testdata/03321_inner_materialized_view_nested/explain_12.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03321_inner_materialized_view_nested/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03321_inner_materialized_view_nested/explain_6.txt b/parser/testdata/03321_inner_materialized_view_nested/explain_6.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03321_inner_materialized_view_nested/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03321_join_on_is_null_lowcardinality/explain_6.txt b/parser/testdata/03321_join_on_is_null_lowcardinality/explain_6.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03321_join_on_is_null_lowcardinality/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03321_join_on_is_null_lowcardinality/explain_7.txt b/parser/testdata/03321_join_on_is_null_lowcardinality/explain_7.txt new file mode 100644 index 0000000000..f67968f237 --- /dev/null +++ b/parser/testdata/03321_join_on_is_null_lowcardinality/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test2 diff --git a/parser/testdata/03322_bugfix_of_with_insert/explain.txt b/parser/testdata/03322_bugfix_of_with_insert/explain.txt deleted file mode 100644 index 8b13789179..0000000000 --- a/parser/testdata/03322_bugfix_of_with_insert/explain.txt +++ /dev/null @@ -1 +0,0 @@ - diff --git a/parser/testdata/03322_materialized_view_ignore_errors_url/explain_13.txt b/parser/testdata/03322_materialized_view_ignore_errors_url/explain_13.txt new file mode 100644 index 0000000000..b8d25fce64 --- /dev/null +++ b/parser/testdata/03322_materialized_view_ignore_errors_url/explain_13.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Function url (children 1) + ExpressionList (children 3) + Literal \'http://127.0.0.1/foo.tsv\' + Literal \'TabSeparated\' + Literal \'key Int\' + Set diff --git a/parser/testdata/03322_materialized_view_ignore_errors_url/explain_7.txt b/parser/testdata/03322_materialized_view_ignore_errors_url/explain_7.txt new file mode 100644 index 0000000000..f054147fc5 --- /dev/null +++ b/parser/testdata/03322_materialized_view_ignore_errors_url/explain_7.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier src + Set diff --git a/parser/testdata/03322_materialized_view_ignore_errors_url/explain_8.txt b/parser/testdata/03322_materialized_view_ignore_errors_url/explain_8.txt new file mode 100644 index 0000000000..f054147fc5 --- /dev/null +++ b/parser/testdata/03322_materialized_view_ignore_errors_url/explain_8.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier src + Set diff --git a/parser/testdata/03322_unused_interpolate_expressions/explain.txt b/parser/testdata/03322_unused_interpolate_expressions/explain.txt new file mode 100644 index 0000000000..01a4900852 --- /dev/null +++ b/parser/testdata/03322_unused_interpolate_expressions/explain.txt @@ -0,0 +1,13 @@ +CreateQuery foo (children 3) + Identifier foo + Columns definition (children 1) + ExpressionList (children 3) + ColumnDeclaration open_time (children 1) + DataType Int64 + ColumnDeclaration open_price (children 1) + DataType Int8 + ColumnDeclaration close_price (children 1) + DataType Int8 + Storage definition (children 2) + Function MergeTree + Identifier open_time diff --git a/parser/testdata/03323_union_all_constants_bug/explain.txt b/parser/testdata/03323_union_all_constants_bug/explain.txt new file mode 100644 index 0000000000..442a580071 --- /dev/null +++ b/parser/testdata/03323_union_all_constants_bug/explain.txt @@ -0,0 +1,83 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + WithElement (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 3) + Literal UInt64_42 (alias grade_name_id) + Literal UInt64_42 (alias today_flow_transaction_count) + Function CAST (alias status) (children 1) + ExpressionList (children 2) + Literal \'good\' + Literal \'Nullable(String)\' + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias trans_his) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_42 (alias dispenser_id) + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias gde) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_42 (alias dispenser_id) + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier trans_his.dispenser_id + Identifier gde.dispenser_id + ExpressionList (children 1) + Identifier flag + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 2) + SelectQuery (children 2) + ExpressionList (children 2) + Identifier transactions_data.grade_name_id (alias grade_name_id) + Function multiIf (alias flag) (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Identifier transactions_data.status + Literal \'low\' + Literal \'YELLOW\' + Literal NULL + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier transactions_data + SelectQuery (children 3) + ExpressionList (children 2) + Identifier grade_name_id + Function multiIf (alias flag) (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Identifier status + Literal \'good\' + Literal \'GREEN\' + Literal NULL + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier transactions_data + Function equals (children 1) + ExpressionList (children 2) + Identifier status + Literal \'good\' + ExpressionList (children 1) + OrderByElement (children 1) + Identifier grade_name_id diff --git a/parser/testdata/03324_aggregating_merge_tree_final_extremes/explain_3.txt b/parser/testdata/03324_aggregating_merge_tree_final_extremes/explain_3.txt new file mode 100644 index 0000000000..9313a8aa58 --- /dev/null +++ b/parser/testdata/03324_aggregating_merge_tree_final_extremes/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t03324 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03324_aggregating_merge_tree_final_extremes/explain_7.txt b/parser/testdata/03324_aggregating_merge_tree_final_extremes/explain_7.txt new file mode 100644 index 0000000000..9313a8aa58 --- /dev/null +++ b/parser/testdata/03324_aggregating_merge_tree_final_extremes/explain_7.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t03324 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03325_alter_ast_format/explain.txt b/parser/testdata/03325_alter_ast_format/explain.txt index 970f04f8f8..db540c4bcc 100644 --- a/parser/testdata/03325_alter_ast_format/explain.txt +++ b/parser/testdata/03325_alter_ast_format/explain.txt @@ -30,4 +30,3 @@ AlterQuery t22 (children 2) AlterCommand MODIFY_SETTING (children 1) Set Identifier t22 -The query succeeded but the server error '60' was expected (query: EXPLAIN AST ALTER TABLE t22 (DELETE WHERE ('å«' = c1) OR ((792.3673220441809 = c0) AND (c0 = c1))), (MODIFY SETTING persistent = 1), (UPDATE c1 = 'would' WHERE NOT f2()), (MODIFY SETTING persistent = 0); -- { serverError UNKNOWN_TABLE }). diff --git a/parser/testdata/03325_count_summing_merge_tree_order_by_tuple/explain_4.txt b/parser/testdata/03325_count_summing_merge_tree_order_by_tuple/explain_4.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/03325_count_summing_merge_tree_order_by_tuple/explain_4.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03325_distributed_join_json_array_subcolumns/explain_7.txt b/parser/testdata/03325_distributed_join_json_array_subcolumns/explain_7.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03325_distributed_join_json_array_subcolumns/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03325_distributed_join_json_array_subcolumns/explain_8.txt b/parser/testdata/03325_distributed_join_json_array_subcolumns/explain_8.txt new file mode 100644 index 0000000000..d648bef03d --- /dev/null +++ b/parser/testdata/03325_distributed_join_json_array_subcolumns/explain_8.txt @@ -0,0 +1,29 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test_distr (alias left) + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier test_distr (alias right) + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier left.id + Identifier right.id + Function and (children 1) + ExpressionList (children 2) + Function has (children 1) + ExpressionList (children 2) + Identifier right.data.arr1 + Literal \'s3\' + Function has (children 1) + ExpressionList (children 2) + Identifier right.data.arr2 + Literal UInt64_42 + Set diff --git a/parser/testdata/03325_distributed_join_json_array_subcolumns/explain_9.txt b/parser/testdata/03325_distributed_join_json_array_subcolumns/explain_9.txt new file mode 100644 index 0000000000..d648bef03d --- /dev/null +++ b/parser/testdata/03325_distributed_join_json_array_subcolumns/explain_9.txt @@ -0,0 +1,29 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test_distr (alias left) + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier test_distr (alias right) + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier left.id + Identifier right.id + Function and (children 1) + ExpressionList (children 2) + Function has (children 1) + ExpressionList (children 2) + Identifier right.data.arr1 + Literal \'s3\' + Function has (children 1) + ExpressionList (children 2) + Identifier right.data.arr2 + Literal UInt64_42 + Set diff --git a/parser/testdata/03326_parallel_replicas_out_of_range/explain_2.txt b/parser/testdata/03326_parallel_replicas_out_of_range/explain_2.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03326_parallel_replicas_out_of_range/explain_2.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03327_alias_column_constant/explain_3.txt b/parser/testdata/03327_alias_column_constant/explain_3.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/03327_alias_column_constant/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/03327_alias_column_constant/explain_6.txt b/parser/testdata/03327_alias_column_constant/explain_6.txt new file mode 100644 index 0000000000..df4a687bc0 --- /dev/null +++ b/parser/testdata/03327_alias_column_constant/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2 diff --git a/parser/testdata/03327_hypothesis_index_sanity/explain_2.txt b/parser/testdata/03327_hypothesis_index_sanity/explain_2.txt new file mode 100644 index 0000000000..ffa366159a --- /dev/null +++ b/parser/testdata/03327_hypothesis_index_sanity/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t3 diff --git a/parser/testdata/03327_hypothesis_index_sanity/explain_5.txt b/parser/testdata/03327_hypothesis_index_sanity/explain_5.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/03327_hypothesis_index_sanity/explain_5.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03328_normalized_query_hash/explain.txt b/parser/testdata/03328_normalized_query_hash/explain.txt new file mode 100644 index 0000000000..ac7082e78a --- /dev/null +++ b/parser/testdata/03328_normalized_query_hash/explain.txt @@ -0,0 +1,21 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 3) + Identifier normalized_query_hash (alias a) + Function normalizedQueryHash (alias b) (children 1) + ExpressionList (children 1) + Identifier query + Function equals (children 1) + ExpressionList (children 2) + Identifier a + Identifier b + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.processes + Function like (children 1) + ExpressionList (children 2) + Identifier query + Literal \'SELECT normalized_query_hash AS a, normalizedQueryHash(query) AS b, a = b FROM system.processes WHERE query LIKE%\' + Literal UInt64_1 diff --git a/parser/testdata/03339_native_reader_exact_rows/explain.txt b/parser/testdata/03339_native_reader_exact_rows/explain.txt index 2521bb23dd..71cb47fc18 100644 --- a/parser/testdata/03339_native_reader_exact_rows/explain.txt +++ b/parser/testdata/03339_native_reader_exact_rows/explain.txt @@ -1,6 +1,6 @@ -SelectWithUnionQuery (children 1) +SelectWithUnionQuery (children 2) ExpressionList (children 1) - SelectQuery (children 5) + SelectQuery (children 6) ExpressionList (children 1) Identifier number TablesInSelectQuery (children 1) @@ -17,3 +17,5 @@ SelectWithUnionQuery (children 1) Literal UInt64_1234567890123456789 Literal UInt64_4999980 Literal UInt64_20 + Set + Identifier Null diff --git a/parser/testdata/03340_projections_formatting/explain.txt b/parser/testdata/03340_projections_formatting/explain.txt index 92ade7282c..24c44581ac 100644 --- a/parser/testdata/03340_projections_formatting/explain.txt +++ b/parser/testdata/03340_projections_formatting/explain.txt @@ -1,11 +1,21 @@ CreateQuery test (children 3) Identifier test - Columns definition (children 1) + Columns definition (children 2) ExpressionList (children 2) ColumnDeclaration user_id (children 1) DataType UInt64 ColumnDeclaration item_id (children 1) DataType UInt64 + ExpressionList (children 1) + Projection (children 1) + ProjectionSelectQuery (children 3) + ExpressionList (children 1) + Function toString (alias user) (children 1) + ExpressionList (children 1) + Identifier user_id + ExpressionList (children 1) + Identifier user + Identifier user_id Storage definition (children 2) Function MergeTree Function tuple (children 1) diff --git a/parser/testdata/03350_alter_table_fetch_partition_thread_pool/explain_10.txt b/parser/testdata/03350_alter_table_fetch_partition_thread_pool/explain_10.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03350_alter_table_fetch_partition_thread_pool/explain_10.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03350_json_parsing_quickly/explain.txt b/parser/testdata/03350_json_parsing_quickly/explain.txt new file mode 100644 index 0000000000..348bcd38c3 --- /dev/null +++ b/parser/testdata/03350_json_parsing_quickly/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function format (children 1) + ExpressionList (children 3) + Identifier RowBinary + Literal \'x JSON\' + Function substring (children 1) + ExpressionList (children 2) + Function base64Decode (children 1) + ExpressionList (children 1) + Literal \'alNPTgr/DUMnJycnJycnJycnJycnJycnJycnJycnJycnJycnJycwJ////////wNuJycnJycnBQAnJycnJycnJycnJycnJycnJycnJycnJycnJycnJycnJycnJycnJycnJycnAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACcnJycnJycnJyck/0gFAA==\' + Literal UInt64_6 + Set diff --git a/parser/testdata/03351_client_insert_bad_connection_state/explain.txt b/parser/testdata/03351_client_insert_bad_connection_state/explain.txt index 70ea698e7b..2cbbe7f112 100644 --- a/parser/testdata/03351_client_insert_bad_connection_state/explain.txt +++ b/parser/testdata/03351_client_insert_bad_connection_state/explain.txt @@ -3,4 +3,3 @@ InsertQuery (children 2) Function null (children 1) ExpressionList (children 1) Literal \'x String\' -The query succeeded but the client error '36' was expected (query: EXPLAIN AST INSERT INTO function null('x String') FROM INFILE '/dev/null'; -- { clientError BAD_ARGUMENTS }). diff --git a/parser/testdata/03352_distinct_sorted_bug/explain_3.txt b/parser/testdata/03352_distinct_sorted_bug/explain_3.txt new file mode 100644 index 0000000000..fcb2d89148 --- /dev/null +++ b/parser/testdata/03352_distinct_sorted_bug/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t0 diff --git a/parser/testdata/03352_distinct_sorted_bug/explain_7.txt b/parser/testdata/03352_distinct_sorted_bug/explain_7.txt new file mode 100644 index 0000000000..3f99975726 --- /dev/null +++ b/parser/testdata/03352_distinct_sorted_bug/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t0__fuzz_41 diff --git a/parser/testdata/03353_codec_zstd_doubledelta_data_corruption/explain_3.txt b/parser/testdata/03353_codec_zstd_doubledelta_data_corruption/explain_3.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/03353_codec_zstd_doubledelta_data_corruption/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03355_issue_31183/explain_2.txt b/parser/testdata/03355_issue_31183/explain_2.txt new file mode 100644 index 0000000000..42958894ce --- /dev/null +++ b/parser/testdata/03355_issue_31183/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test1 diff --git a/parser/testdata/03355_issue_31183/explain_4.txt b/parser/testdata/03355_issue_31183/explain_4.txt new file mode 100644 index 0000000000..f67968f237 --- /dev/null +++ b/parser/testdata/03355_issue_31183/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test2 diff --git a/parser/testdata/03355_join_to_in_optimization/explain_10.txt b/parser/testdata/03355_join_to_in_optimization/explain_10.txt new file mode 100644 index 0000000000..15325fed85 --- /dev/null +++ b/parser/testdata/03355_join_to_in_optimization/explain_10.txt @@ -0,0 +1,30 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 2) + Identifier t1.key + Identifier t1.key2 + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t1 + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier t2 + TableJoin (children 1) + Function and (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier t1.id + Identifier t2.id + Function equals (children 1) + ExpressionList (children 2) + Identifier t2.key + Identifier t2.key2 + ExpressionList (children 2) + OrderByElement (children 1) + Identifier t1.key + OrderByElement (children 1) + Identifier t1.key2 + Set diff --git a/parser/testdata/03355_join_to_in_optimization/explain_11.txt b/parser/testdata/03355_join_to_in_optimization/explain_11.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03355_join_to_in_optimization/explain_11.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03355_join_to_in_optimization/explain_12.txt b/parser/testdata/03355_join_to_in_optimization/explain_12.txt new file mode 100644 index 0000000000..e218da5f02 --- /dev/null +++ b/parser/testdata/03355_join_to_in_optimization/explain_12.txt @@ -0,0 +1,31 @@ +Explain EXPLAIN (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function hostName (alias hostName) (children 1) + ExpressionList + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.query_log (alias a) + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier system.processes (alias b) + TableJoin (children 1) + Function and (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier a.query_id + Identifier b.query_id + Function equals (children 1) + ExpressionList (children 2) + Identifier type + Literal \'QueryStart\' + Function equals (children 1) + ExpressionList (children 2) + Identifier current_database + Function currentDatabase (children 1) + ExpressionList + Set diff --git a/parser/testdata/03355_join_to_in_optimization/explain_13.txt b/parser/testdata/03355_join_to_in_optimization/explain_13.txt new file mode 100644 index 0000000000..f1e290e840 --- /dev/null +++ b/parser/testdata/03355_join_to_in_optimization/explain_13.txt @@ -0,0 +1,49 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier dummy + TablesInSelectQuery (children 3) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias a) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier dummy + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.one + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias b) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier dummy + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.one + TableJoin (children 1) + ExpressionList (children 1) + Identifier dummy + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias c) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier dummy + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.one + TableJoin (children 1) + ExpressionList (children 1) + Identifier dummy + Set diff --git a/parser/testdata/03355_join_to_in_optimization/explain_17.txt b/parser/testdata/03355_join_to_in_optimization/explain_17.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03355_join_to_in_optimization/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03355_join_to_in_optimization/explain_18.txt b/parser/testdata/03355_join_to_in_optimization/explain_18.txt new file mode 100644 index 0000000000..6f1b162798 --- /dev/null +++ b/parser/testdata/03355_join_to_in_optimization/explain_18.txt @@ -0,0 +1,32 @@ +SelectWithUnionQuery (children 3) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Identifier u + Identifier s + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias t1) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function CAST (alias u) (children 1) + ExpressionList (children 2) + Identifier number + Literal \'Int32\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + TableJoin (children 1) + ExpressionList (children 1) + Identifier u + Identifier Null + Set diff --git a/parser/testdata/03355_join_to_in_optimization/explain_23.txt b/parser/testdata/03355_join_to_in_optimization/explain_23.txt new file mode 100644 index 0000000000..8359036009 --- /dev/null +++ b/parser/testdata/03355_join_to_in_optimization/explain_23.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier v1 + ExpressionList (children 1) + Identifier id diff --git a/parser/testdata/03355_join_to_in_optimization/explain_24.txt b/parser/testdata/03355_join_to_in_optimization/explain_24.txt new file mode 100644 index 0000000000..b054ce4894 --- /dev/null +++ b/parser/testdata/03355_join_to_in_optimization/explain_24.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier v2 + ExpressionList (children 1) + Identifier value diff --git a/parser/testdata/03355_join_to_in_optimization/explain_26.txt b/parser/testdata/03355_join_to_in_optimization/explain_26.txt new file mode 100644 index 0000000000..37809e7432 --- /dev/null +++ b/parser/testdata/03355_join_to_in_optimization/explain_26.txt @@ -0,0 +1,30 @@ +SelectWithUnionQuery (children 3) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Literal UInt64_10 + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.query_log (alias a) + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier system.processes (alias b) + TableJoin (children 1) + Function and (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier a.query_id + Identifier b.query_id + Function equals (children 1) + ExpressionList (children 2) + Identifier a.query_id + Identifier b.query_id + Function equals (children 1) + ExpressionList (children 2) + Identifier current_database + Function currentDatabase (children 1) + ExpressionList + Identifier Null + Set diff --git a/parser/testdata/03355_join_to_in_optimization/explain_7.txt b/parser/testdata/03355_join_to_in_optimization/explain_7.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/03355_join_to_in_optimization/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/03355_join_to_in_optimization/explain_8.txt b/parser/testdata/03355_join_to_in_optimization/explain_8.txt new file mode 100644 index 0000000000..df4a687bc0 --- /dev/null +++ b/parser/testdata/03355_join_to_in_optimization/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2 diff --git a/parser/testdata/03355_join_to_in_optimization/explain_9.txt b/parser/testdata/03355_join_to_in_optimization/explain_9.txt new file mode 100644 index 0000000000..df748980c2 --- /dev/null +++ b/parser/testdata/03355_join_to_in_optimization/explain_9.txt @@ -0,0 +1,20 @@ +Explain EXPLAIN (children 2) + Set + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Identifier t1.id + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t1 + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier t2 + TableJoin + Function equals (children 1) + ExpressionList (children 2) + Identifier t1.id + Identifier t2.id + Set diff --git a/parser/testdata/03356_analyzer_unused_scalar_subquery/explain_2.txt b/parser/testdata/03356_analyzer_unused_scalar_subquery/explain_2.txt index b9547484d2..9b0be7adb1 100644 --- a/parser/testdata/03356_analyzer_unused_scalar_subquery/explain_2.txt +++ b/parser/testdata/03356_analyzer_unused_scalar_subquery/explain_2.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 4) + SelectQuery (children 3) ExpressionList (children 1) Subquery (alias res) (children 1) SelectWithUnionQuery (children 1) @@ -16,6 +16,5 @@ SelectWithUnionQuery (children 3) TablesInSelectQueryElement (children 1) TableExpression (children 1) TableIdentifier system.one - Set Identifier Null Set diff --git a/parser/testdata/03356_analyzer_unused_scalar_subquery/explain_3.txt b/parser/testdata/03356_analyzer_unused_scalar_subquery/explain_3.txt index cc2959e9b6..21a0e7c7df 100644 --- a/parser/testdata/03356_analyzer_unused_scalar_subquery/explain_3.txt +++ b/parser/testdata/03356_analyzer_unused_scalar_subquery/explain_3.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 4) + SelectQuery (children 3) ExpressionList (children 1) Function sleepEachRow (alias res) (children 1) ExpressionList (children 1) @@ -11,6 +11,5 @@ SelectWithUnionQuery (children 3) TablesInSelectQueryElement (children 1) TableExpression (children 1) TableIdentifier system.one - Set Identifier Null Set diff --git a/parser/testdata/03356_pull_entry_before_detach_part/explain_5.txt b/parser/testdata/03356_pull_entry_before_detach_part/explain_5.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/03356_pull_entry_before_detach_part/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/03356_tables_with_binary_identifiers_invalid_utf8/explain_3.txt b/parser/testdata/03356_tables_with_binary_identifiers_invalid_utf8/explain_3.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03356_tables_with_binary_identifiers_invalid_utf8/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03356_threshold_for_parallel_hash/explain_17.txt b/parser/testdata/03356_threshold_for_parallel_hash/explain_17.txt new file mode 100644 index 0000000000..c69c5e1f8a --- /dev/null +++ b/parser/testdata/03356_threshold_for_parallel_hash/explain_17.txt @@ -0,0 +1,31 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier lhs (alias t0) + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias t1) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function modulo (alias a) (children 1) + ExpressionList (children 2) + Identifier a + Literal UInt64_10000 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier rhs + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier t0.a + Identifier t1.a + Set + Identifier Null diff --git a/parser/testdata/03356_threshold_for_parallel_hash/explain_19.txt b/parser/testdata/03356_threshold_for_parallel_hash/explain_19.txt new file mode 100644 index 0000000000..b55e338934 --- /dev/null +++ b/parser/testdata/03356_threshold_for_parallel_hash/explain_19.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier lhs (alias t0) + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier rhs (alias t1) + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier t0.a + Identifier t1.a + Function less (children 1) + ExpressionList (children 2) + Identifier t1.a + Literal UInt64_10000 + Set + Identifier Null diff --git a/parser/testdata/03357_analyzer_insert_view/explain_10.txt b/parser/testdata/03357_analyzer_insert_view/explain_10.txt new file mode 100644 index 0000000000..0f7bfbae38 --- /dev/null +++ b/parser/testdata/03357_analyzer_insert_view/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier input diff --git a/parser/testdata/03357_arraySymmetricDifference/explain_24.txt b/parser/testdata/03357_arraySymmetricDifference/explain_24.txt new file mode 100644 index 0000000000..47dedd6417 --- /dev/null +++ b/parser/testdata/03357_arraySymmetricDifference/explain_24.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_arraySymmetricDifference diff --git a/parser/testdata/03357_block_structure_union_step/explain_2.txt b/parser/testdata/03357_block_structure_union_step/explain_2.txt new file mode 100644 index 0000000000..2ba36d1cfa --- /dev/null +++ b/parser/testdata/03357_block_structure_union_step/explain_2.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier pk_block_union + ExpressionList (children 3) + Identifier x + Identifier y + Identifier z diff --git a/parser/testdata/03357_check_contraints_null_syntax/explain_5.txt b/parser/testdata/03357_check_contraints_null_syntax/explain_5.txt new file mode 100644 index 0000000000..778ca7c418 --- /dev/null +++ b/parser/testdata/03357_check_contraints_null_syntax/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mister_table_2 diff --git a/parser/testdata/03357_jit_strikes_again/explain_4.txt b/parser/testdata/03357_jit_strikes_again/explain_4.txt new file mode 100644 index 0000000000..d216a7ed51 --- /dev/null +++ b/parser/testdata/03357_jit_strikes_again/explain_4.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier data2013 + ExpressionList (children 2) + Identifier name + Identifier value diff --git a/parser/testdata/03357_jit_strikes_again/explain_5.txt b/parser/testdata/03357_jit_strikes_again/explain_5.txt new file mode 100644 index 0000000000..d216a7ed51 --- /dev/null +++ b/parser/testdata/03357_jit_strikes_again/explain_5.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier data2013 + ExpressionList (children 2) + Identifier name + Identifier value diff --git a/parser/testdata/03357_jit_strikes_again/explain_6.txt b/parser/testdata/03357_jit_strikes_again/explain_6.txt new file mode 100644 index 0000000000..d216a7ed51 --- /dev/null +++ b/parser/testdata/03357_jit_strikes_again/explain_6.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier data2013 + ExpressionList (children 2) + Identifier name + Identifier value diff --git a/parser/testdata/03357_jit_strikes_again/explain_7.txt b/parser/testdata/03357_jit_strikes_again/explain_7.txt new file mode 100644 index 0000000000..06f0a0f9ac --- /dev/null +++ b/parser/testdata/03357_jit_strikes_again/explain_7.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier data2014 + ExpressionList (children 2) + Identifier name + Identifier value diff --git a/parser/testdata/03357_jit_strikes_again/explain_8.txt b/parser/testdata/03357_jit_strikes_again/explain_8.txt new file mode 100644 index 0000000000..06f0a0f9ac --- /dev/null +++ b/parser/testdata/03357_jit_strikes_again/explain_8.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier data2014 + ExpressionList (children 2) + Identifier name + Identifier value diff --git a/parser/testdata/03357_jit_strikes_again/explain_9.txt b/parser/testdata/03357_jit_strikes_again/explain_9.txt new file mode 100644 index 0000000000..06f0a0f9ac --- /dev/null +++ b/parser/testdata/03357_jit_strikes_again/explain_9.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier data2014 + ExpressionList (children 2) + Identifier name + Identifier value diff --git a/parser/testdata/03357_recursive_cte_no_logical_error/explain_3.txt b/parser/testdata/03357_recursive_cte_no_logical_error/explain_3.txt new file mode 100644 index 0000000000..ccb7304f3d --- /dev/null +++ b/parser/testdata/03357_recursive_cte_no_logical_error/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier department__fuzz_0 diff --git a/parser/testdata/03357_storage_join_mv_context/explain_4.txt b/parser/testdata/03357_storage_join_mv_context/explain_4.txt new file mode 100644 index 0000000000..a227da9e52 --- /dev/null +++ b/parser/testdata/03357_storage_join_mv_context/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mv_to_set diff --git a/parser/testdata/03359_point_in_polygon_index/explain_3.txt b/parser/testdata/03359_point_in_polygon_index/explain_3.txt new file mode 100644 index 0000000000..2dc74a27de --- /dev/null +++ b/parser/testdata/03359_point_in_polygon_index/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t_point_in_polygon + ExpressionList (children 1) + Identifier a diff --git a/parser/testdata/03360_any_join_parallel_hash_bug/explain_2.txt b/parser/testdata/03360_any_join_parallel_hash_bug/explain_2.txt index 0e4dfce1fb..461c4bc0e8 100644 --- a/parser/testdata/03360_any_join_parallel_hash_bug/explain_2.txt +++ b/parser/testdata/03360_any_join_parallel_hash_bug/explain_2.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 4) + SelectQuery (children 3) ExpressionList (children 2) Identifier number Identifier number @@ -17,6 +17,5 @@ SelectWithUnionQuery (children 3) Identifier number Identifier alias277.number Literal UInt64_102400 - Set Identifier Null Set diff --git a/parser/testdata/03362_default_profiles_context/explain.txt b/parser/testdata/03362_default_profiles_context/explain.txt index 0fa7a03c1a..e2b540dfc1 100644 --- a/parser/testdata/03362_default_profiles_context/explain.txt +++ b/parser/testdata/03362_default_profiles_context/explain.txt @@ -10,4 +10,3 @@ CreateQuery t0 (children 3) Function MergeTree Function tuple (children 1) ExpressionList -The query succeeded but the server error '36' was expected (query: EXPLAIN AST CREATE TEMPORARY TABLE t0 (c0 Int TTL defaultProfiles()) ENGINE = MergeTree ORDER BY tuple(); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/03362_filter_transform_profile_events/explain_4.txt b/parser/testdata/03362_filter_transform_profile_events/explain_4.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03362_filter_transform_profile_events/explain_4.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03362_join_on_filterpushdown/explain_10.txt b/parser/testdata/03362_join_on_filterpushdown/explain_10.txt index f6959f9fb1..274bd656b3 100644 --- a/parser/testdata/03362_join_on_filterpushdown/explain_10.txt +++ b/parser/testdata/03362_join_on_filterpushdown/explain_10.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 2) @@ -49,6 +49,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 2) Identifier t2.value Literal UInt64_50 - Set Identifier Null Set diff --git a/parser/testdata/03362_join_on_filterpushdown/explain_11.txt b/parser/testdata/03362_join_on_filterpushdown/explain_11.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03362_join_on_filterpushdown/explain_11.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03362_join_on_filterpushdown/explain_5.txt b/parser/testdata/03362_join_on_filterpushdown/explain_5.txt index f6959f9fb1..274bd656b3 100644 --- a/parser/testdata/03362_join_on_filterpushdown/explain_5.txt +++ b/parser/testdata/03362_join_on_filterpushdown/explain_5.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 2) @@ -49,6 +49,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 2) Identifier t2.value Literal UInt64_50 - Set Identifier Null Set diff --git a/parser/testdata/03362_join_on_filterpushdown/explain_6.txt b/parser/testdata/03362_join_on_filterpushdown/explain_6.txt index a1c9ff5064..4150874447 100644 --- a/parser/testdata/03362_join_on_filterpushdown/explain_6.txt +++ b/parser/testdata/03362_join_on_filterpushdown/explain_6.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 4) + SelectQuery (children 3) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 2) @@ -49,6 +49,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 2) Identifier t2.value Literal UInt64_50 - Set Identifier Null Set diff --git a/parser/testdata/03362_join_on_filterpushdown/explain_7.txt b/parser/testdata/03362_join_on_filterpushdown/explain_7.txt index f904b0b697..16caccaa29 100644 --- a/parser/testdata/03362_join_on_filterpushdown/explain_7.txt +++ b/parser/testdata/03362_join_on_filterpushdown/explain_7.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 4) + SelectQuery (children 3) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 2) @@ -49,6 +49,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 2) Identifier t2.value Literal UInt64_50 - Set Identifier Null Set diff --git a/parser/testdata/03362_join_on_filterpushdown/explain_8.txt b/parser/testdata/03362_join_on_filterpushdown/explain_8.txt index f6959f9fb1..274bd656b3 100644 --- a/parser/testdata/03362_join_on_filterpushdown/explain_8.txt +++ b/parser/testdata/03362_join_on_filterpushdown/explain_8.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 2) @@ -49,6 +49,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 2) Identifier t2.value Literal UInt64_50 - Set Identifier Null Set diff --git a/parser/testdata/03362_join_on_filterpushdown/explain_9.txt b/parser/testdata/03362_join_on_filterpushdown/explain_9.txt index f6959f9fb1..274bd656b3 100644 --- a/parser/testdata/03362_join_on_filterpushdown/explain_9.txt +++ b/parser/testdata/03362_join_on_filterpushdown/explain_9.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 2) @@ -49,6 +49,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 2) Identifier t2.value Literal UInt64_50 - Set Identifier Null Set diff --git a/parser/testdata/03362_reverse_sorting_key_explicit_primary_key/explain_2.txt b/parser/testdata/03362_reverse_sorting_key_explicit_primary_key/explain_2.txt new file mode 100644 index 0000000000..9965e2c4f7 --- /dev/null +++ b/parser/testdata/03362_reverse_sorting_key_explicit_primary_key/explain_2.txt @@ -0,0 +1,14 @@ +CreateQuery x1 (children 3) + Identifier x1 + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration i (children 1) + DataType Nullable (children 1) + ExpressionList (children 1) + DataType int + Storage definition (children 4) + Function MergeTree + Identifier i + StorageOrderByElement (children 1) + Identifier i + Set diff --git a/parser/testdata/03363_constant_nullable_key/explain_3.txt b/parser/testdata/03363_constant_nullable_key/explain_3.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/03363_constant_nullable_key/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03363_hive_style_partition/explain_4.txt b/parser/testdata/03363_hive_style_partition/explain_4.txt new file mode 100644 index 0000000000..fc3bb83b7d --- /dev/null +++ b/parser/testdata/03363_hive_style_partition/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_03363_parquet diff --git a/parser/testdata/03363_hive_style_partition/explain_7.txt b/parser/testdata/03363_hive_style_partition/explain_7.txt new file mode 100644 index 0000000000..597b155ede --- /dev/null +++ b/parser/testdata/03363_hive_style_partition/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_03363_csv diff --git a/parser/testdata/03363_qbit_create_insert_select/explain_15.txt b/parser/testdata/03363_qbit_create_insert_select/explain_15.txt new file mode 100644 index 0000000000..7f974519ef --- /dev/null +++ b/parser/testdata/03363_qbit_create_insert_select/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbits_32 diff --git a/parser/testdata/03363_qbit_create_insert_select/explain_16.txt b/parser/testdata/03363_qbit_create_insert_select/explain_16.txt new file mode 100644 index 0000000000..7f974519ef --- /dev/null +++ b/parser/testdata/03363_qbit_create_insert_select/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbits_32 diff --git a/parser/testdata/03363_qbit_create_insert_select/explain_17.txt b/parser/testdata/03363_qbit_create_insert_select/explain_17.txt new file mode 100644 index 0000000000..9c9ddf093e --- /dev/null +++ b/parser/testdata/03363_qbit_create_insert_select/explain_17.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier qbits_32 + ExpressionList (children 1) + Identifier id diff --git a/parser/testdata/03363_qbit_create_insert_select/explain_18.txt b/parser/testdata/03363_qbit_create_insert_select/explain_18.txt new file mode 100644 index 0000000000..7f974519ef --- /dev/null +++ b/parser/testdata/03363_qbit_create_insert_select/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbits_32 diff --git a/parser/testdata/03363_qbit_create_insert_select/explain_24.txt b/parser/testdata/03363_qbit_create_insert_select/explain_24.txt new file mode 100644 index 0000000000..91ca3e2ee2 --- /dev/null +++ b/parser/testdata/03363_qbit_create_insert_select/explain_24.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbits_64 diff --git a/parser/testdata/03363_qbit_create_insert_select/explain_25.txt b/parser/testdata/03363_qbit_create_insert_select/explain_25.txt new file mode 100644 index 0000000000..91ca3e2ee2 --- /dev/null +++ b/parser/testdata/03363_qbit_create_insert_select/explain_25.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbits_64 diff --git a/parser/testdata/03363_qbit_create_insert_select/explain_26.txt b/parser/testdata/03363_qbit_create_insert_select/explain_26.txt new file mode 100644 index 0000000000..2c46068957 --- /dev/null +++ b/parser/testdata/03363_qbit_create_insert_select/explain_26.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier qbits_64 + ExpressionList (children 1) + Identifier id diff --git a/parser/testdata/03363_qbit_create_insert_select/explain_27.txt b/parser/testdata/03363_qbit_create_insert_select/explain_27.txt new file mode 100644 index 0000000000..91ca3e2ee2 --- /dev/null +++ b/parser/testdata/03363_qbit_create_insert_select/explain_27.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbits_64 diff --git a/parser/testdata/03363_qbit_create_insert_select/explain_33.txt b/parser/testdata/03363_qbit_create_insert_select/explain_33.txt new file mode 100644 index 0000000000..cc4cc84f43 --- /dev/null +++ b/parser/testdata/03363_qbit_create_insert_select/explain_33.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbits_16 diff --git a/parser/testdata/03363_qbit_create_insert_select/explain_34.txt b/parser/testdata/03363_qbit_create_insert_select/explain_34.txt new file mode 100644 index 0000000000..cc4cc84f43 --- /dev/null +++ b/parser/testdata/03363_qbit_create_insert_select/explain_34.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbits_16 diff --git a/parser/testdata/03363_qbit_create_insert_select/explain_35.txt b/parser/testdata/03363_qbit_create_insert_select/explain_35.txt new file mode 100644 index 0000000000..ef0cd8d74f --- /dev/null +++ b/parser/testdata/03363_qbit_create_insert_select/explain_35.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier qbits_16 + ExpressionList (children 1) + Identifier id diff --git a/parser/testdata/03363_qbit_create_insert_select/explain_36.txt b/parser/testdata/03363_qbit_create_insert_select/explain_36.txt new file mode 100644 index 0000000000..cc4cc84f43 --- /dev/null +++ b/parser/testdata/03363_qbit_create_insert_select/explain_36.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbits_16 diff --git a/parser/testdata/03363_qbit_create_insert_select/explain_41.txt b/parser/testdata/03363_qbit_create_insert_select/explain_41.txt new file mode 100644 index 0000000000..7f974519ef --- /dev/null +++ b/parser/testdata/03363_qbit_create_insert_select/explain_41.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbits_32 diff --git a/parser/testdata/03363_qbit_create_insert_select/explain_42.txt b/parser/testdata/03363_qbit_create_insert_select/explain_42.txt new file mode 100644 index 0000000000..7f974519ef --- /dev/null +++ b/parser/testdata/03363_qbit_create_insert_select/explain_42.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbits_32 diff --git a/parser/testdata/03363_qbit_create_insert_select/explain_43.txt b/parser/testdata/03363_qbit_create_insert_select/explain_43.txt new file mode 100644 index 0000000000..9c9ddf093e --- /dev/null +++ b/parser/testdata/03363_qbit_create_insert_select/explain_43.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier qbits_32 + ExpressionList (children 1) + Identifier id diff --git a/parser/testdata/03363_qbit_create_insert_select/explain_44.txt b/parser/testdata/03363_qbit_create_insert_select/explain_44.txt new file mode 100644 index 0000000000..7f974519ef --- /dev/null +++ b/parser/testdata/03363_qbit_create_insert_select/explain_44.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbits_32 diff --git a/parser/testdata/03363_qbit_create_insert_select/explain_49.txt b/parser/testdata/03363_qbit_create_insert_select/explain_49.txt new file mode 100644 index 0000000000..91ca3e2ee2 --- /dev/null +++ b/parser/testdata/03363_qbit_create_insert_select/explain_49.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbits_64 diff --git a/parser/testdata/03363_qbit_create_insert_select/explain_50.txt b/parser/testdata/03363_qbit_create_insert_select/explain_50.txt new file mode 100644 index 0000000000..91ca3e2ee2 --- /dev/null +++ b/parser/testdata/03363_qbit_create_insert_select/explain_50.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbits_64 diff --git a/parser/testdata/03363_qbit_create_insert_select/explain_51.txt b/parser/testdata/03363_qbit_create_insert_select/explain_51.txt new file mode 100644 index 0000000000..2c46068957 --- /dev/null +++ b/parser/testdata/03363_qbit_create_insert_select/explain_51.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier qbits_64 + ExpressionList (children 1) + Identifier id diff --git a/parser/testdata/03363_qbit_create_insert_select/explain_52.txt b/parser/testdata/03363_qbit_create_insert_select/explain_52.txt new file mode 100644 index 0000000000..91ca3e2ee2 --- /dev/null +++ b/parser/testdata/03363_qbit_create_insert_select/explain_52.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbits_64 diff --git a/parser/testdata/03363_qbit_create_insert_select/explain_57.txt b/parser/testdata/03363_qbit_create_insert_select/explain_57.txt new file mode 100644 index 0000000000..62441769eb --- /dev/null +++ b/parser/testdata/03363_qbit_create_insert_select/explain_57.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbits diff --git a/parser/testdata/03363_qbit_create_insert_select/explain_6.txt b/parser/testdata/03363_qbit_create_insert_select/explain_6.txt new file mode 100644 index 0000000000..cc4cc84f43 --- /dev/null +++ b/parser/testdata/03363_qbit_create_insert_select/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbits_16 diff --git a/parser/testdata/03363_qbit_create_insert_select/explain_61.txt b/parser/testdata/03363_qbit_create_insert_select/explain_61.txt new file mode 100644 index 0000000000..62441769eb --- /dev/null +++ b/parser/testdata/03363_qbit_create_insert_select/explain_61.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbits diff --git a/parser/testdata/03363_qbit_create_insert_select/explain_7.txt b/parser/testdata/03363_qbit_create_insert_select/explain_7.txt new file mode 100644 index 0000000000..cc4cc84f43 --- /dev/null +++ b/parser/testdata/03363_qbit_create_insert_select/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbits_16 diff --git a/parser/testdata/03363_qbit_create_insert_select/explain_74.txt b/parser/testdata/03363_qbit_create_insert_select/explain_74.txt new file mode 100644 index 0000000000..05452ecc03 --- /dev/null +++ b/parser/testdata/03363_qbit_create_insert_select/explain_74.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier array_64 diff --git a/parser/testdata/03363_qbit_create_insert_select/explain_8.txt b/parser/testdata/03363_qbit_create_insert_select/explain_8.txt new file mode 100644 index 0000000000..ef0cd8d74f --- /dev/null +++ b/parser/testdata/03363_qbit_create_insert_select/explain_8.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier qbits_16 + ExpressionList (children 1) + Identifier id diff --git a/parser/testdata/03363_qbit_create_insert_select/explain_9.txt b/parser/testdata/03363_qbit_create_insert_select/explain_9.txt new file mode 100644 index 0000000000..cc4cc84f43 --- /dev/null +++ b/parser/testdata/03363_qbit_create_insert_select/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbits_16 diff --git a/parser/testdata/03364_qbit_negative/explain_6.txt b/parser/testdata/03364_qbit_negative/explain_6.txt new file mode 100644 index 0000000000..62441769eb --- /dev/null +++ b/parser/testdata/03364_qbit_negative/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbits diff --git a/parser/testdata/03364_qbit_negative/explain_7.txt b/parser/testdata/03364_qbit_negative/explain_7.txt new file mode 100644 index 0000000000..62441769eb --- /dev/null +++ b/parser/testdata/03364_qbit_negative/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbits diff --git a/parser/testdata/03364_s3_globbed_path_in_bucket_portion/explain.txt b/parser/testdata/03364_s3_globbed_path_in_bucket_portion/explain.txt index 1896873fd0..8d2e6f7395 100644 --- a/parser/testdata/03364_s3_globbed_path_in_bucket_portion/explain.txt +++ b/parser/testdata/03364_s3_globbed_path_in_bucket_portion/explain.txt @@ -8,4 +8,3 @@ CreateQuery s3_03364 (children 3) Function S3 (children 1) ExpressionList (children 1) Literal \'http://{_partition_id}.s3.region.amazonaws.com/key\' -The query succeeded but the server error '36' was expected (query: EXPLAIN AST create table s3_03364 (id UInt32) engine=S3('http://{_partition_id}.s3.region.amazonaws.com/key'); -- {serverError BAD_ARGUMENTS}). diff --git a/parser/testdata/03364_ttl_should_recalculate_minmax_index/explain_3.txt b/parser/testdata/03364_ttl_should_recalculate_minmax_index/explain_3.txt new file mode 100644 index 0000000000..cd76eec2c4 --- /dev/null +++ b/parser/testdata/03364_ttl_should_recalculate_minmax_index/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier x diff --git a/parser/testdata/03365_csv_time_deserialization_bug/explain_6.txt b/parser/testdata/03365_csv_time_deserialization_bug/explain_6.txt new file mode 100644 index 0000000000..6e9833db58 --- /dev/null +++ b/parser/testdata/03365_csv_time_deserialization_bug/explain_6.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 4) + Identifier c2 + Identifier c1 + Identifier c3 + Identifier c0 diff --git a/parser/testdata/03365_finish_sorting_crash/explain.txt b/parser/testdata/03365_finish_sorting_crash/explain.txt new file mode 100644 index 0000000000..37ba8e716f --- /dev/null +++ b/parser/testdata/03365_finish_sorting_crash/explain.txt @@ -0,0 +1,13 @@ +CreateQuery test (children 3) + Identifier test + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration key (children 1) + DataType String + ColumnDeclaration val (children 1) + DataType Array (children 1) + ExpressionList (children 1) + DataType String + Storage definition (children 2) + Function MergeTree + Identifier key diff --git a/parser/testdata/03365_finish_sorting_crash/explain_2.txt b/parser/testdata/03365_finish_sorting_crash/explain_2.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03365_finish_sorting_crash/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03365_finish_sorting_crash/explain_3.txt b/parser/testdata/03365_finish_sorting_crash/explain_3.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03365_finish_sorting_crash/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03365_json_with_variant_subcolumn/explain_5.txt b/parser/testdata/03365_json_with_variant_subcolumn/explain_5.txt new file mode 100644 index 0000000000..e07a65e3f6 --- /dev/null +++ b/parser/testdata/03365_json_with_variant_subcolumn/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier json_test diff --git a/parser/testdata/03365_read_negative_time_implicitly/explain_3.txt b/parser/testdata/03365_read_negative_time_implicitly/explain_3.txt new file mode 100644 index 0000000000..f0a28c59c6 --- /dev/null +++ b/parser/testdata/03365_read_negative_time_implicitly/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier tx + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03365_time_implicit_conversion/explain_4.txt b/parser/testdata/03365_time_implicit_conversion/explain_4.txt new file mode 100644 index 0000000000..299b925cf2 --- /dev/null +++ b/parser/testdata/03365_time_implicit_conversion/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dt diff --git a/parser/testdata/03365_time_in_json/explain_11.txt b/parser/testdata/03365_time_in_json/explain_11.txt new file mode 100644 index 0000000000..2e63213cb2 --- /dev/null +++ b/parser/testdata/03365_time_in_json/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier json_time64_test diff --git a/parser/testdata/03365_time_in_json/explain_12.txt b/parser/testdata/03365_time_in_json/explain_12.txt new file mode 100644 index 0000000000..2e63213cb2 --- /dev/null +++ b/parser/testdata/03365_time_in_json/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier json_time64_test diff --git a/parser/testdata/03365_time_in_json/explain_13.txt b/parser/testdata/03365_time_in_json/explain_13.txt new file mode 100644 index 0000000000..2e63213cb2 --- /dev/null +++ b/parser/testdata/03365_time_in_json/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier json_time64_test diff --git a/parser/testdata/03365_time_in_json/explain_16.txt b/parser/testdata/03365_time_in_json/explain_16.txt new file mode 100644 index 0000000000..cc55c3fa1a --- /dev/null +++ b/parser/testdata/03365_time_in_json/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier json_splits diff --git a/parser/testdata/03365_time_in_json/explain_17.txt b/parser/testdata/03365_time_in_json/explain_17.txt new file mode 100644 index 0000000000..cc55c3fa1a --- /dev/null +++ b/parser/testdata/03365_time_in_json/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier json_splits diff --git a/parser/testdata/03365_time_in_json/explain_6.txt b/parser/testdata/03365_time_in_json/explain_6.txt new file mode 100644 index 0000000000..8c53481268 --- /dev/null +++ b/parser/testdata/03365_time_in_json/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier json_time_test diff --git a/parser/testdata/03365_time_in_json/explain_7.txt b/parser/testdata/03365_time_in_json/explain_7.txt new file mode 100644 index 0000000000..8c53481268 --- /dev/null +++ b/parser/testdata/03365_time_in_json/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier json_time_test diff --git a/parser/testdata/03365_time_in_json/explain_8.txt b/parser/testdata/03365_time_in_json/explain_8.txt new file mode 100644 index 0000000000..8c53481268 --- /dev/null +++ b/parser/testdata/03365_time_in_json/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier json_time_test diff --git a/parser/testdata/03365_time_time64_aggregate_functions/explain_3.txt b/parser/testdata/03365_time_time64_aggregate_functions/explain_3.txt new file mode 100644 index 0000000000..299b925cf2 --- /dev/null +++ b/parser/testdata/03365_time_time64_aggregate_functions/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dt diff --git a/parser/testdata/03365_time_time64_insertion_bug/explain_3.txt b/parser/testdata/03365_time_time64_insertion_bug/explain_3.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/03365_time_time64_insertion_bug/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03365_time_timezone_issue/explain_4.txt b/parser/testdata/03365_time_timezone_issue/explain_4.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03365_time_timezone_issue/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03366_bfloat16_sorting/explain.txt b/parser/testdata/03366_bfloat16_sorting/explain.txt new file mode 100644 index 0000000000..095b1846d9 --- /dev/null +++ b/parser/testdata/03366_bfloat16_sorting/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function format (children 1) + ExpressionList (children 3) + Identifier Values + Literal \'x BFloat16\' + Literal \' (915309.3), (-172.4), (-1555612173), (-794649755), (9.0), (1853837358), (-752.038), (1396433067), (-807596209), (6980930564848204980), (inf), (-334802707), (-9208770324484017588), (1542974135), (8.65110), (3653113333946823132), (-0.7048), (-521.0), (8435282414075074417), (-6292128116417116397), (-1.1), (402684563), (7100378348544520322), (-1.758), (5866537631201593121), (1448199529), (-1012621), (-69567.11), (-976.8334), (-28.35), (-8547.0), (+0.0), (5106142703787698805), (8753460139368692361), (-962398.0), (-1191866042), (-3.53), (5736130821808181266), (1.5), (-2102861541), (-4318589268046737694), (+0.0), (8925059011873647780), (-156.896869), (-2882154502015236978), (-1149877585), (0.48367), (1135103111), (1842836061), (-0.02826), (-3726604190761547609), (-453901554.40), (2888527236479160511), (-7.454), (854116431), (6258347412277750223), (-1632245551464937874), (-3887.35), (8767.14), (-2026982035343500009), (10084.047), (-12.6150), (-4490844512257432684), (80.0), (4003882477879050470), (-8032628616449150130), (nan), (283.11), (-2040930083), (-1660845000), (-46.4), (2431480081340864910), (-8348560450377606243), (-8502763961981072530), (-15.67900), (230036155), (1942939659), (4794.81023), (-1639852492), (-1352376506), (-2.7), (-1.088), (-1286266918863494194), (-5474135460424898823), (-701987997), (-3677164403360004369), (7.9723935), (-6243785367315650126), (1131.4), (13.0), (88967630.99), (-4857582370574805786), (-4288683376502787204), (1299393795189677177), (827.0), (-779228479), (5278875253796893698), (-1.241), (-9.4), (8652067825981452928), (5.13222918), (-2739239481541406400), (-38.29), (-1557979152), (-457695388), (-1959634948), (-463871221), (-7491614107579678858), (7901991093387175754), (-749021875), (-563485266992292414), (7903784173186423016), (6415568457236688716), (0.0), (1041044414), (-inf), (-7.36), (1.834), (56.0), (-0.0), (nan), (1407263544961752054), (-2825675448399084472), (-704.2), (7438299440420973263), (2922890613588943306), (452195848), (-673820791), (9172.0), (-7847859370969306041), (1956615306), (144567.23), (-33.1076), (-53.91200), (-6.75), (-4448835675253045899), (2168295801156564119), (1655170692), (4316746107587705818), (-8269286236795419058), (1727302703), (-214033129), (-7.7), (nan), (-0.7), (+nan), (-4547328351920373605), (nan), (-1487104083), (1658546204), (1151636392), (416290247.08), (-4699301667687142318), (-1.7), (-6323293279463878865), (5855641835618078507), (6000839524613739767), (-1029895710511952591), (486712), (-3730616670168004577), (3010252056832300847), (-1929.84917), (-2253628015236776383), (-1355690956), (1.8), (1255622011), (-7633225657025354393), (-1809222556741732999), (8451912649540627017), (134.521), (-6312210627363870622), (-230600560), (9.45), (-0.8798), (-856.606), (nan), (1626812583630422427), (116036431), (-2896591025188201292), (2101820842), (2079731433), (-5311080917199036345), (-577360.40844459), (-58257.86), (-6364996476077464518), (9112295453040021646), (8734695561715260733), (-355588047), (1895493280), (349020560979472682), (914602758), (5192612204687053771), (-5241047726046761998), (1099543785538793655), (-311288720), (1633155009), (1613280409437033273), (+nan), (-10.4), (-68033.01), (-8728247972026697820), (7563764808015298425), (-0.860), (-2.0), (355270636), (181943082), (2077491986200197340), (-5196084623766115387), (-0.1280), (18.24323), (1439645894), (-3.0), (+nan), (-4920802313749507761), (9.581223), (-4977.639), (21.6613), (-1281671910), (-15.4), (-5066115181153139762), (1831511780), (3616962447275671394), (-5035837218861299864), (917383330), (+inf), (223894.264), (-96.275444), (nan), (-547606170), (-261714371), (1734489497), (1760637531924834025), (-2130171631), (99.40196), (3106130344652597122), (9084751387559563274), (-9.2), (772.20502704), (5987185449054785806), (+nan), (-461241595), (869648491758383603), (9.4), (7760123765394357048), (-979023095), (-682791909), (0.0), (-2.84), (-1887928434), (-8.602), (43.8), (-740133382), (-1628407200), (nan), (4048950104344667845), (7.923), (-2290446205925660340), (1817370121), (700.0), (1683434407), (8994999237835107052), (8158939128335705548), (-6779280.5), (520417636), (4856231070881691400), (+inf), (84333.5), (1814647746), (-1783864249), (2035802471), (70752.0), (1124938650), (5737532713519861979), (1196647506), (-4146469507106105938), (7869998886095964339), (312457241), (nan), (3663885939535420359), (-29385.769192130), (4217936517369282398), (67.9), (-1981743187), (489740628), (6528054616798929895), (-5516525484994056924), (3.6), (-1291051489), (791837371), (2559503485226905057) \' + ExpressionList (children 1) + OrderByElement (children 1) + Identifier x diff --git a/parser/testdata/03366_with_fill_dag/explain.txt b/parser/testdata/03366_with_fill_dag/explain.txt index 2ade0978d4..917c97d4fa 100644 --- a/parser/testdata/03366_with_fill_dag/explain.txt +++ b/parser/testdata/03366_with_fill_dag/explain.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) - SelectQuery (children 4) + SelectQuery (children 5) ExpressionList (children 1) Identifier number TablesInSelectQuery (children 1) @@ -12,8 +12,9 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) OrderByElement (children 2) Identifier number - FillModifier (children 1) - Literal UInt64_1 + Literal UInt64_1 OrderByElement (children 1) Literal \'aaa\' Literal UInt64_1 + ExpressionList (children 1) + Identifier number diff --git a/parser/testdata/03367_bfloat16_tuple_final/explain_3.txt b/parser/testdata/03367_bfloat16_tuple_final/explain_3.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/03367_bfloat16_tuple_final/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03368_bfloat16_merge_join/explain_4.txt b/parser/testdata/03368_bfloat16_merge_join/explain_4.txt new file mode 100644 index 0000000000..24d272effa --- /dev/null +++ b/parser/testdata/03368_bfloat16_merge_join/explain_4.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 2) + Identifier c0 + Identifier c1 diff --git a/parser/testdata/03368_qbit_subcolumns/explain_17.txt b/parser/testdata/03368_qbit_subcolumns/explain_17.txt new file mode 100644 index 0000000000..3197d279d0 --- /dev/null +++ b/parser/testdata/03368_qbit_subcolumns/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbit diff --git a/parser/testdata/03368_qbit_subcolumns/explain_18.txt b/parser/testdata/03368_qbit_subcolumns/explain_18.txt new file mode 100644 index 0000000000..3197d279d0 --- /dev/null +++ b/parser/testdata/03368_qbit_subcolumns/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbit diff --git a/parser/testdata/03368_qbit_subcolumns/explain_19.txt b/parser/testdata/03368_qbit_subcolumns/explain_19.txt new file mode 100644 index 0000000000..3197d279d0 --- /dev/null +++ b/parser/testdata/03368_qbit_subcolumns/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbit diff --git a/parser/testdata/03368_qbit_subcolumns/explain_20.txt b/parser/testdata/03368_qbit_subcolumns/explain_20.txt new file mode 100644 index 0000000000..3197d279d0 --- /dev/null +++ b/parser/testdata/03368_qbit_subcolumns/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbit diff --git a/parser/testdata/03368_qbit_subcolumns/explain_28.txt b/parser/testdata/03368_qbit_subcolumns/explain_28.txt new file mode 100644 index 0000000000..3197d279d0 --- /dev/null +++ b/parser/testdata/03368_qbit_subcolumns/explain_28.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbit diff --git a/parser/testdata/03368_qbit_subcolumns/explain_29.txt b/parser/testdata/03368_qbit_subcolumns/explain_29.txt new file mode 100644 index 0000000000..3197d279d0 --- /dev/null +++ b/parser/testdata/03368_qbit_subcolumns/explain_29.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbit diff --git a/parser/testdata/03368_qbit_subcolumns/explain_30.txt b/parser/testdata/03368_qbit_subcolumns/explain_30.txt new file mode 100644 index 0000000000..3197d279d0 --- /dev/null +++ b/parser/testdata/03368_qbit_subcolumns/explain_30.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbit diff --git a/parser/testdata/03368_qbit_subcolumns/explain_31.txt b/parser/testdata/03368_qbit_subcolumns/explain_31.txt new file mode 100644 index 0000000000..3197d279d0 --- /dev/null +++ b/parser/testdata/03368_qbit_subcolumns/explain_31.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbit diff --git a/parser/testdata/03368_qbit_subcolumns/explain_41.txt b/parser/testdata/03368_qbit_subcolumns/explain_41.txt new file mode 100644 index 0000000000..3197d279d0 --- /dev/null +++ b/parser/testdata/03368_qbit_subcolumns/explain_41.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbit diff --git a/parser/testdata/03368_qbit_subcolumns/explain_42.txt b/parser/testdata/03368_qbit_subcolumns/explain_42.txt new file mode 100644 index 0000000000..3197d279d0 --- /dev/null +++ b/parser/testdata/03368_qbit_subcolumns/explain_42.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbit diff --git a/parser/testdata/03368_qbit_subcolumns/explain_43.txt b/parser/testdata/03368_qbit_subcolumns/explain_43.txt new file mode 100644 index 0000000000..3197d279d0 --- /dev/null +++ b/parser/testdata/03368_qbit_subcolumns/explain_43.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbit diff --git a/parser/testdata/03368_qbit_subcolumns/explain_44.txt b/parser/testdata/03368_qbit_subcolumns/explain_44.txt new file mode 100644 index 0000000000..3197d279d0 --- /dev/null +++ b/parser/testdata/03368_qbit_subcolumns/explain_44.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbit diff --git a/parser/testdata/03368_qbit_subcolumns/explain_5.txt b/parser/testdata/03368_qbit_subcolumns/explain_5.txt new file mode 100644 index 0000000000..3197d279d0 --- /dev/null +++ b/parser/testdata/03368_qbit_subcolumns/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbit diff --git a/parser/testdata/03368_qbit_subcolumns/explain_6.txt b/parser/testdata/03368_qbit_subcolumns/explain_6.txt new file mode 100644 index 0000000000..3197d279d0 --- /dev/null +++ b/parser/testdata/03368_qbit_subcolumns/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbit diff --git a/parser/testdata/03368_qbit_subcolumns/explain_7.txt b/parser/testdata/03368_qbit_subcolumns/explain_7.txt new file mode 100644 index 0000000000..3197d279d0 --- /dev/null +++ b/parser/testdata/03368_qbit_subcolumns/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbit diff --git a/parser/testdata/03369_bfloat16_map/explain_3.txt b/parser/testdata/03369_bfloat16_map/explain_3.txt new file mode 100644 index 0000000000..24d272effa --- /dev/null +++ b/parser/testdata/03369_bfloat16_map/explain_3.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 2) + Identifier c0 + Identifier c1 diff --git a/parser/testdata/03369_function_arrayLevenshtein/explain_2.txt b/parser/testdata/03369_function_arrayLevenshtein/explain_2.txt new file mode 100644 index 0000000000..c945481e7b --- /dev/null +++ b/parser/testdata/03369_function_arrayLevenshtein/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier simple_levenshtein diff --git a/parser/testdata/03369_function_arrayLevenshtein/explain_8.txt b/parser/testdata/03369_function_arrayLevenshtein/explain_8.txt new file mode 100644 index 0000000000..4b8e3194d2 --- /dev/null +++ b/parser/testdata/03369_function_arrayLevenshtein/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier weighted_levenshtein diff --git a/parser/testdata/03369_l2_distance_transposed_variadic/explain_14.txt b/parser/testdata/03369_l2_distance_transposed_variadic/explain_14.txt new file mode 100644 index 0000000000..3197d279d0 --- /dev/null +++ b/parser/testdata/03369_l2_distance_transposed_variadic/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbit diff --git a/parser/testdata/03369_l2_distance_transposed_variadic/explain_15.txt b/parser/testdata/03369_l2_distance_transposed_variadic/explain_15.txt new file mode 100644 index 0000000000..3197d279d0 --- /dev/null +++ b/parser/testdata/03369_l2_distance_transposed_variadic/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbit diff --git a/parser/testdata/03369_l2_distance_transposed_variadic/explain_16.txt b/parser/testdata/03369_l2_distance_transposed_variadic/explain_16.txt new file mode 100644 index 0000000000..3197d279d0 --- /dev/null +++ b/parser/testdata/03369_l2_distance_transposed_variadic/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbit diff --git a/parser/testdata/03369_l2_distance_transposed_variadic/explain_23.txt b/parser/testdata/03369_l2_distance_transposed_variadic/explain_23.txt new file mode 100644 index 0000000000..3197d279d0 --- /dev/null +++ b/parser/testdata/03369_l2_distance_transposed_variadic/explain_23.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbit diff --git a/parser/testdata/03369_l2_distance_transposed_variadic/explain_24.txt b/parser/testdata/03369_l2_distance_transposed_variadic/explain_24.txt new file mode 100644 index 0000000000..3197d279d0 --- /dev/null +++ b/parser/testdata/03369_l2_distance_transposed_variadic/explain_24.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbit diff --git a/parser/testdata/03369_l2_distance_transposed_variadic/explain_25.txt b/parser/testdata/03369_l2_distance_transposed_variadic/explain_25.txt new file mode 100644 index 0000000000..3197d279d0 --- /dev/null +++ b/parser/testdata/03369_l2_distance_transposed_variadic/explain_25.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbit diff --git a/parser/testdata/03369_l2_distance_transposed_variadic/explain_5.txt b/parser/testdata/03369_l2_distance_transposed_variadic/explain_5.txt new file mode 100644 index 0000000000..3197d279d0 --- /dev/null +++ b/parser/testdata/03369_l2_distance_transposed_variadic/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbit diff --git a/parser/testdata/03369_l2_distance_transposed_variadic/explain_6.txt b/parser/testdata/03369_l2_distance_transposed_variadic/explain_6.txt new file mode 100644 index 0000000000..3197d279d0 --- /dev/null +++ b/parser/testdata/03369_l2_distance_transposed_variadic/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbit diff --git a/parser/testdata/03369_l2_distance_transposed_variadic/explain_7.txt b/parser/testdata/03369_l2_distance_transposed_variadic/explain_7.txt new file mode 100644 index 0000000000..3197d279d0 --- /dev/null +++ b/parser/testdata/03369_l2_distance_transposed_variadic/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbit diff --git a/parser/testdata/03369_predicate_pushdown_enforce_literal_type/explain_3.txt b/parser/testdata/03369_predicate_pushdown_enforce_literal_type/explain_3.txt new file mode 100644 index 0000000000..09356f90ec --- /dev/null +++ b/parser/testdata/03369_predicate_pushdown_enforce_literal_type/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_03369 diff --git a/parser/testdata/03369_values_template_types_mismatch/explain_2.txt b/parser/testdata/03369_values_template_types_mismatch/explain_2.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/03369_values_template_types_mismatch/explain_2.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03370_join_identifiers/explain_5.txt b/parser/testdata/03370_join_identifiers/explain_5.txt new file mode 100644 index 0000000000..fcb2d89148 --- /dev/null +++ b/parser/testdata/03370_join_identifiers/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t0 diff --git a/parser/testdata/03370_join_identifiers/explain_6.txt b/parser/testdata/03370_join_identifiers/explain_6.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/03370_join_identifiers/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/03370_rocks_db_engine_subcolumn_in_pk/explain.txt b/parser/testdata/03370_rocks_db_engine_subcolumn_in_pk/explain.txt index 6e441248d6..4b4c8b12cf 100644 --- a/parser/testdata/03370_rocks_db_engine_subcolumn_in_pk/explain.txt +++ b/parser/testdata/03370_rocks_db_engine_subcolumn_in_pk/explain.txt @@ -11,4 +11,3 @@ CreateQuery test (children 3) Function EmbeddedRocksDB (children 1) ExpressionList Identifier t.a -The query succeeded but the server error '36' was expected (query: EXPLAIN AST CREATE TABLE test (t Tuple(a Int32)) ENGINE = EmbeddedRocksDB() PRIMARY KEY (t.a); -- {serverError BAD_ARGUMENTS}). diff --git a/parser/testdata/03371_analyzer_filter_pushdown_distributed/explain_3.txt b/parser/testdata/03371_analyzer_filter_pushdown_distributed/explain_3.txt new file mode 100644 index 0000000000..4f768ea3bd --- /dev/null +++ b/parser/testdata/03371_analyzer_filter_pushdown_distributed/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier bug_table diff --git a/parser/testdata/03371_bfloat16_special_values/explain_32.txt b/parser/testdata/03371_bfloat16_special_values/explain_32.txt new file mode 100644 index 0000000000..1d7b34349f --- /dev/null +++ b/parser/testdata/03371_bfloat16_special_values/explain_32.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier tab + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03371_bfloat16_special_values/explain_36.txt b/parser/testdata/03371_bfloat16_special_values/explain_36.txt new file mode 100644 index 0000000000..1d7b34349f --- /dev/null +++ b/parser/testdata/03371_bfloat16_special_values/explain_36.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier tab + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03371_bfloat16_special_values/explain_37.txt b/parser/testdata/03371_bfloat16_special_values/explain_37.txt new file mode 100644 index 0000000000..1d7b34349f --- /dev/null +++ b/parser/testdata/03371_bfloat16_special_values/explain_37.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier tab + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03371_nullable_tuple_string_comparison/explain_5.txt b/parser/testdata/03371_nullable_tuple_string_comparison/explain_5.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/03371_nullable_tuple_string_comparison/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/03371_nullable_tuple_string_comparison/explain_6.txt b/parser/testdata/03371_nullable_tuple_string_comparison/explain_6.txt new file mode 100644 index 0000000000..df4a687bc0 --- /dev/null +++ b/parser/testdata/03371_nullable_tuple_string_comparison/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2 diff --git a/parser/testdata/03372_qbit_mergetree_1/explain_14.txt b/parser/testdata/03372_qbit_mergetree_1/explain_14.txt new file mode 100644 index 0000000000..62441769eb --- /dev/null +++ b/parser/testdata/03372_qbit_mergetree_1/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbits diff --git a/parser/testdata/03372_qbit_mergetree_1/explain_15.txt b/parser/testdata/03372_qbit_mergetree_1/explain_15.txt new file mode 100644 index 0000000000..62441769eb --- /dev/null +++ b/parser/testdata/03372_qbit_mergetree_1/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbits diff --git a/parser/testdata/03372_qbit_mergetree_1/explain_16.txt b/parser/testdata/03372_qbit_mergetree_1/explain_16.txt new file mode 100644 index 0000000000..62441769eb --- /dev/null +++ b/parser/testdata/03372_qbit_mergetree_1/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbits diff --git a/parser/testdata/03372_qbit_mergetree_1/explain_23.txt b/parser/testdata/03372_qbit_mergetree_1/explain_23.txt new file mode 100644 index 0000000000..62441769eb --- /dev/null +++ b/parser/testdata/03372_qbit_mergetree_1/explain_23.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbits diff --git a/parser/testdata/03372_qbit_mergetree_1/explain_24.txt b/parser/testdata/03372_qbit_mergetree_1/explain_24.txt new file mode 100644 index 0000000000..62441769eb --- /dev/null +++ b/parser/testdata/03372_qbit_mergetree_1/explain_24.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbits diff --git a/parser/testdata/03372_qbit_mergetree_1/explain_25.txt b/parser/testdata/03372_qbit_mergetree_1/explain_25.txt new file mode 100644 index 0000000000..62441769eb --- /dev/null +++ b/parser/testdata/03372_qbit_mergetree_1/explain_25.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbits diff --git a/parser/testdata/03372_qbit_mergetree_1/explain_5.txt b/parser/testdata/03372_qbit_mergetree_1/explain_5.txt new file mode 100644 index 0000000000..62441769eb --- /dev/null +++ b/parser/testdata/03372_qbit_mergetree_1/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbits diff --git a/parser/testdata/03372_qbit_mergetree_1/explain_6.txt b/parser/testdata/03372_qbit_mergetree_1/explain_6.txt new file mode 100644 index 0000000000..62441769eb --- /dev/null +++ b/parser/testdata/03372_qbit_mergetree_1/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbits diff --git a/parser/testdata/03372_qbit_mergetree_1/explain_7.txt b/parser/testdata/03372_qbit_mergetree_1/explain_7.txt new file mode 100644 index 0000000000..62441769eb --- /dev/null +++ b/parser/testdata/03372_qbit_mergetree_1/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbits diff --git a/parser/testdata/03372_qbit_mergetree_2/explain_14.txt b/parser/testdata/03372_qbit_mergetree_2/explain_14.txt new file mode 100644 index 0000000000..62441769eb --- /dev/null +++ b/parser/testdata/03372_qbit_mergetree_2/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbits diff --git a/parser/testdata/03372_qbit_mergetree_2/explain_15.txt b/parser/testdata/03372_qbit_mergetree_2/explain_15.txt new file mode 100644 index 0000000000..62441769eb --- /dev/null +++ b/parser/testdata/03372_qbit_mergetree_2/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbits diff --git a/parser/testdata/03372_qbit_mergetree_2/explain_16.txt b/parser/testdata/03372_qbit_mergetree_2/explain_16.txt new file mode 100644 index 0000000000..62441769eb --- /dev/null +++ b/parser/testdata/03372_qbit_mergetree_2/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbits diff --git a/parser/testdata/03372_qbit_mergetree_2/explain_23.txt b/parser/testdata/03372_qbit_mergetree_2/explain_23.txt new file mode 100644 index 0000000000..62441769eb --- /dev/null +++ b/parser/testdata/03372_qbit_mergetree_2/explain_23.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbits diff --git a/parser/testdata/03372_qbit_mergetree_2/explain_24.txt b/parser/testdata/03372_qbit_mergetree_2/explain_24.txt new file mode 100644 index 0000000000..62441769eb --- /dev/null +++ b/parser/testdata/03372_qbit_mergetree_2/explain_24.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbits diff --git a/parser/testdata/03372_qbit_mergetree_2/explain_25.txt b/parser/testdata/03372_qbit_mergetree_2/explain_25.txt new file mode 100644 index 0000000000..62441769eb --- /dev/null +++ b/parser/testdata/03372_qbit_mergetree_2/explain_25.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbits diff --git a/parser/testdata/03372_qbit_mergetree_2/explain_32.txt b/parser/testdata/03372_qbit_mergetree_2/explain_32.txt new file mode 100644 index 0000000000..62441769eb --- /dev/null +++ b/parser/testdata/03372_qbit_mergetree_2/explain_32.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbits diff --git a/parser/testdata/03372_qbit_mergetree_2/explain_33.txt b/parser/testdata/03372_qbit_mergetree_2/explain_33.txt new file mode 100644 index 0000000000..62441769eb --- /dev/null +++ b/parser/testdata/03372_qbit_mergetree_2/explain_33.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbits diff --git a/parser/testdata/03372_qbit_mergetree_2/explain_34.txt b/parser/testdata/03372_qbit_mergetree_2/explain_34.txt new file mode 100644 index 0000000000..62441769eb --- /dev/null +++ b/parser/testdata/03372_qbit_mergetree_2/explain_34.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbits diff --git a/parser/testdata/03372_qbit_mergetree_2/explain_5.txt b/parser/testdata/03372_qbit_mergetree_2/explain_5.txt new file mode 100644 index 0000000000..62441769eb --- /dev/null +++ b/parser/testdata/03372_qbit_mergetree_2/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbits diff --git a/parser/testdata/03372_qbit_mergetree_2/explain_6.txt b/parser/testdata/03372_qbit_mergetree_2/explain_6.txt new file mode 100644 index 0000000000..62441769eb --- /dev/null +++ b/parser/testdata/03372_qbit_mergetree_2/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbits diff --git a/parser/testdata/03372_qbit_mergetree_2/explain_7.txt b/parser/testdata/03372_qbit_mergetree_2/explain_7.txt new file mode 100644 index 0000000000..62441769eb --- /dev/null +++ b/parser/testdata/03372_qbit_mergetree_2/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbits diff --git a/parser/testdata/03373_qbit_dynamic/explain_6.txt b/parser/testdata/03373_qbit_dynamic/explain_6.txt new file mode 100644 index 0000000000..8f819cf1a8 --- /dev/null +++ b/parser/testdata/03373_qbit_dynamic/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbit_dynamic_test diff --git a/parser/testdata/03373_qbit_dynamic/explain_9.txt b/parser/testdata/03373_qbit_dynamic/explain_9.txt new file mode 100644 index 0000000000..8f819cf1a8 --- /dev/null +++ b/parser/testdata/03373_qbit_dynamic/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbit_dynamic_test diff --git a/parser/testdata/03374_qbit_nullable/explain_5.txt b/parser/testdata/03374_qbit_nullable/explain_5.txt new file mode 100644 index 0000000000..b9e22dc001 --- /dev/null +++ b/parser/testdata/03374_qbit_nullable/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbit_nullable_test diff --git a/parser/testdata/03375_bloom_filter_array_equals/explain_2.txt b/parser/testdata/03375_bloom_filter_array_equals/explain_2.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03375_bloom_filter_array_equals/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03375_bloom_filter_has_hasAny_const_array/explain_4.txt b/parser/testdata/03375_bloom_filter_has_hasAny_const_array/explain_4.txt new file mode 100644 index 0000000000..ce718d56f5 --- /dev/null +++ b/parser/testdata/03375_bloom_filter_has_hasAny_const_array/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier bloom_filter_has_const_array diff --git a/parser/testdata/03375_bloom_filter_ngram_has_hasAny_const_array/explain_4.txt b/parser/testdata/03375_bloom_filter_ngram_has_hasAny_const_array/explain_4.txt new file mode 100644 index 0000000000..ce718d56f5 --- /dev/null +++ b/parser/testdata/03375_bloom_filter_ngram_has_hasAny_const_array/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier bloom_filter_has_const_array diff --git a/parser/testdata/03375_bloom_filter_token_has_hasAny_const_array/explain_4.txt b/parser/testdata/03375_bloom_filter_token_has_hasAny_const_array/explain_4.txt new file mode 100644 index 0000000000..ce718d56f5 --- /dev/null +++ b/parser/testdata/03375_bloom_filter_token_has_hasAny_const_array/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier bloom_filter_has_const_array diff --git a/parser/testdata/03375_bool_partition/explain_3.txt b/parser/testdata/03375_bool_partition/explain_3.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/03375_bool_partition/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03375_l2_distance_transposed_partial_reads_pass/explain_3.txt b/parser/testdata/03375_l2_distance_transposed_partial_reads_pass/explain_3.txt new file mode 100644 index 0000000000..3197d279d0 --- /dev/null +++ b/parser/testdata/03375_l2_distance_transposed_partial_reads_pass/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbit diff --git a/parser/testdata/03376_forbid_nan_inf_for_float_settings/explain.txt b/parser/testdata/03376_forbid_nan_inf_for_float_settings/explain.txt index 6146f4b016..cb1142253f 100644 --- a/parser/testdata/03376_forbid_nan_inf_for_float_settings/explain.txt +++ b/parser/testdata/03376_forbid_nan_inf_for_float_settings/explain.txt @@ -1,2 +1 @@ Set -The query succeeded but the server error '72' was expected (query: EXPLAIN AST SET log_queries_probability = inf; -- { serverError CANNOT_PARSE_NUMBER }). diff --git a/parser/testdata/03376_forbid_nan_inf_for_float_settings/explain_4.txt b/parser/testdata/03376_forbid_nan_inf_for_float_settings/explain_4.txt deleted file mode 100644 index f58e3fbdaf..0000000000 --- a/parser/testdata/03376_forbid_nan_inf_for_float_settings/explain_4.txt +++ /dev/null @@ -1,6 +0,0 @@ -SelectWithUnionQuery (children 1) - ExpressionList (children 1) - SelectQuery (children 2) - ExpressionList (children 1) - Literal UInt64_1 - Set diff --git a/parser/testdata/03376_json_comparison/explain_79.txt b/parser/testdata/03376_json_comparison/explain_79.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03376_json_comparison/explain_79.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03376_l2_distance_transposed_type_mismatch/explain_4.txt b/parser/testdata/03376_l2_distance_transposed_type_mismatch/explain_4.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03376_l2_distance_transposed_type_mismatch/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03377_json_order_by_bug/explain_4.txt b/parser/testdata/03377_json_order_by_bug/explain_4.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/03377_json_order_by_bug/explain_4.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03377_qbit_parameters/explain_20.txt b/parser/testdata/03377_qbit_parameters/explain_20.txt new file mode 100644 index 0000000000..209082f5da --- /dev/null +++ b/parser/testdata/03377_qbit_parameters/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier qbit_param_test diff --git a/parser/testdata/03380_input_async_insert/explain_2.txt b/parser/testdata/03380_input_async_insert/explain_2.txt new file mode 100644 index 0000000000..a3062f80a9 --- /dev/null +++ b/parser/testdata/03380_input_async_insert/explain_2.txt @@ -0,0 +1,17 @@ +InsertQuery (children 3) + Function null (children 1) + ExpressionList (children 1) + Literal \'auto\' + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function input (children 1) + ExpressionList (children 1) + Literal \'x Int, y String\' + Set + Set diff --git a/parser/testdata/03380_input_async_insert/explain_3.txt b/parser/testdata/03380_input_async_insert/explain_3.txt new file mode 100644 index 0000000000..f7dd1f3110 --- /dev/null +++ b/parser/testdata/03380_input_async_insert/explain_3.txt @@ -0,0 +1,17 @@ +InsertQuery (children 3) + Function null (children 1) + ExpressionList (children 1) + Literal \'x Int, y String\' + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function input (children 1) + ExpressionList (children 1) + Literal \'x Int, y String\' + Set + Set diff --git a/parser/testdata/03380_input_async_insert/explain_4.txt b/parser/testdata/03380_input_async_insert/explain_4.txt new file mode 100644 index 0000000000..0bf85cdbc0 --- /dev/null +++ b/parser/testdata/03380_input_async_insert/explain_4.txt @@ -0,0 +1,16 @@ +InsertQuery (children 3) + Function null (children 1) + ExpressionList + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function input (children 1) + ExpressionList (children 1) + Literal \'x Int, y String\' + Set + Set diff --git a/parser/testdata/03380_input_async_insert/explain_5.txt b/parser/testdata/03380_input_async_insert/explain_5.txt new file mode 100644 index 0000000000..f7dd1f3110 --- /dev/null +++ b/parser/testdata/03380_input_async_insert/explain_5.txt @@ -0,0 +1,17 @@ +InsertQuery (children 3) + Function null (children 1) + ExpressionList (children 1) + Literal \'x Int, y String\' + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function input (children 1) + ExpressionList (children 1) + Literal \'x Int, y String\' + Set + Set diff --git a/parser/testdata/03380_input_async_insert/explain_8.txt b/parser/testdata/03380_input_async_insert/explain_8.txt new file mode 100644 index 0000000000..358bcef588 --- /dev/null +++ b/parser/testdata/03380_input_async_insert/explain_8.txt @@ -0,0 +1,15 @@ +InsertQuery (children 3) + Identifier x + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function input (children 1) + ExpressionList (children 1) + Literal \'x Int, y String\' + Set + Set diff --git a/parser/testdata/03382_dynamic_serialization_default_settings/explain_4.txt b/parser/testdata/03382_dynamic_serialization_default_settings/explain_4.txt new file mode 100644 index 0000000000..9af06bc0b3 --- /dev/null +++ b/parser/testdata/03382_dynamic_serialization_default_settings/explain_4.txt @@ -0,0 +1,5 @@ +InsertQuery (children 3) + Identifier t0 + ExpressionList (children 1) + Identifier c0 + Set diff --git a/parser/testdata/03392_inconsistent_formatting_of_lambda/explain.txt b/parser/testdata/03392_inconsistent_formatting_of_lambda/explain.txt index 6cd97dc6cc..92ec53cee6 100644 --- a/parser/testdata/03392_inconsistent_formatting_of_lambda/explain.txt +++ b/parser/testdata/03392_inconsistent_formatting_of_lambda/explain.txt @@ -8,4 +8,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) Literal UInt64_1 Literal UInt64_1 -The query succeeded but the server error '[36, 53]' was expected (query: EXPLAIN AST SELECT lambda(tuple(1), 1); -- {serverError BAD_ARGUMENTS, TYPE_MISMATCH} argument is not identifier). diff --git a/parser/testdata/03393_max_merge_delayed_streams_for_parallel_write/explain_5.txt b/parser/testdata/03393_max_merge_delayed_streams_for_parallel_write/explain_5.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03393_max_merge_delayed_streams_for_parallel_write/explain_5.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03393_max_merge_delayed_streams_for_parallel_write/explain_9.txt b/parser/testdata/03393_max_merge_delayed_streams_for_parallel_write/explain_9.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03393_max_merge_delayed_streams_for_parallel_write/explain_9.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03393_max_read_buffer_size_non_zero/explain.txt b/parser/testdata/03393_max_read_buffer_size_non_zero/explain.txt index fb600ab5cc..cb1142253f 100644 --- a/parser/testdata/03393_max_read_buffer_size_non_zero/explain.txt +++ b/parser/testdata/03393_max_read_buffer_size_non_zero/explain.txt @@ -1,2 +1 @@ Set -The query succeeded but the server error '36' was expected (query: EXPLAIN AST SET max_read_buffer_size = 0; -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/03393_validate_storage_buffer_args/explain.txt b/parser/testdata/03393_validate_storage_buffer_args/explain.txt index 9b0e46af9d..97488e3500 100644 --- a/parser/testdata/03393_validate_storage_buffer_args/explain.txt +++ b/parser/testdata/03393_validate_storage_buffer_args/explain.txt @@ -16,4 +16,3 @@ CreateQuery invalid (children 3) Literal UInt64_1 Literal UInt64_1 Literal UInt64_1 -The query succeeded but the server error '36' was expected (query: EXPLAIN AST CREATE TABLE invalid (c0 Int) ENGINE = Buffer(x, x, 0, 1, 1, 1, 1, 1, 1); -- {serverError BAD_ARGUMENTS} must be a positive integer). diff --git a/parser/testdata/03394_naive_bayes_classifier_negative/explain.txt b/parser/testdata/03394_naive_bayes_classifier_negative/explain.txt index 48e56bd2b4..545cda737c 100644 --- a/parser/testdata/03394_naive_bayes_classifier_negative/explain.txt +++ b/parser/testdata/03394_naive_bayes_classifier_negative/explain.txt @@ -6,4 +6,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Literal \'sentiment\' Literal UInt64_3 -The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT naiveBayesClassifier('sentiment', 3); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/03394_pr_insert_select/explain_11.txt b/parser/testdata/03394_pr_insert_select/explain_11.txt new file mode 100644 index 0000000000..6daa67e9bc --- /dev/null +++ b/parser/testdata/03394_pr_insert_select/explain_11.txt @@ -0,0 +1,13 @@ +InsertQuery (children 3) + Identifier t_rmt_target + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t_mt_source + Set + Set diff --git a/parser/testdata/03394_pr_insert_select/explain_12.txt b/parser/testdata/03394_pr_insert_select/explain_12.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03394_pr_insert_select/explain_12.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03394_pr_insert_select_local_pipeline/explain_12.txt b/parser/testdata/03394_pr_insert_select_local_pipeline/explain_12.txt new file mode 100644 index 0000000000..6daa67e9bc --- /dev/null +++ b/parser/testdata/03394_pr_insert_select_local_pipeline/explain_12.txt @@ -0,0 +1,13 @@ +InsertQuery (children 3) + Identifier t_rmt_target + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t_mt_source + Set + Set diff --git a/parser/testdata/03394_pr_insert_select_local_pipeline/explain_13.txt b/parser/testdata/03394_pr_insert_select_local_pipeline/explain_13.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03394_pr_insert_select_local_pipeline/explain_13.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03394_pr_insert_select_threads/explain_12.txt b/parser/testdata/03394_pr_insert_select_threads/explain_12.txt new file mode 100644 index 0000000000..6daa67e9bc --- /dev/null +++ b/parser/testdata/03394_pr_insert_select_threads/explain_12.txt @@ -0,0 +1,13 @@ +InsertQuery (children 3) + Identifier t_rmt_target + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t_mt_source + Set + Set diff --git a/parser/testdata/03394_pr_insert_select_threads/explain_13.txt b/parser/testdata/03394_pr_insert_select_threads/explain_13.txt new file mode 100644 index 0000000000..6daa67e9bc --- /dev/null +++ b/parser/testdata/03394_pr_insert_select_threads/explain_13.txt @@ -0,0 +1,13 @@ +InsertQuery (children 3) + Identifier t_rmt_target + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t_mt_source + Set + Set diff --git a/parser/testdata/03394_pr_insert_select_threads/explain_14.txt b/parser/testdata/03394_pr_insert_select_threads/explain_14.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03394_pr_insert_select_threads/explain_14.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03398_group_array_zero_max_elements/explain.txt b/parser/testdata/03398_group_array_zero_max_elements/explain.txt index 9752d36013..9f98996fed 100644 --- a/parser/testdata/03398_group_array_zero_max_elements/explain.txt +++ b/parser/testdata/03398_group_array_zero_max_elements/explain.txt @@ -10,4 +10,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Literal \'0\' Literal \'UInt64\' -The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT groupArray(0::UInt64)(1); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/03399_analyzer_correlated_subquery/explain_12.txt b/parser/testdata/03399_analyzer_correlated_subquery/explain_12.txt new file mode 100644 index 0000000000..a82d4f1518 --- /dev/null +++ b/parser/testdata/03399_analyzer_correlated_subquery/explain_12.txt @@ -0,0 +1,35 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier users (alias u1) + Function or (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier age + Literal UInt64_50 + Function exists (children 1) + ExpressionList (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier users2 (alias u2) + Function equals (children 1) + ExpressionList (children 2) + Identifier u1.age + Identifier u2.age + ExpressionList (children 1) + OrderByElement (children 1) + Identifier ALL + Set diff --git a/parser/testdata/03399_analyzer_correlated_subquery/explain_13.txt b/parser/testdata/03399_analyzer_correlated_subquery/explain_13.txt new file mode 100644 index 0000000000..dc703b7484 --- /dev/null +++ b/parser/testdata/03399_analyzer_correlated_subquery/explain_13.txt @@ -0,0 +1,47 @@ +SelectWithUnionQuery (children 3) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier users (alias u1) + Function or (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier age + Literal UInt64_50 + Function exists (children 1) + ExpressionList (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 2) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier users2 (alias u2) + Function equals (children 1) + ExpressionList (children 2) + Identifier u1.age + Identifier u2.age + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier users2 (alias u2) + Function notEquals (children 1) + ExpressionList (children 2) + Identifier u1.age + Identifier u2.age + ExpressionList (children 1) + OrderByElement (children 1) + Identifier ALL + Identifier Null + Set diff --git a/parser/testdata/03399_analyzer_correlated_subquery/explain_4.txt b/parser/testdata/03399_analyzer_correlated_subquery/explain_4.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03399_analyzer_correlated_subquery/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03399_analyzer_correlated_subquery/explain_5.txt b/parser/testdata/03399_analyzer_correlated_subquery/explain_5.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03399_analyzer_correlated_subquery/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03399_analyzer_correlated_subquery/explain_6.txt b/parser/testdata/03399_analyzer_correlated_subquery/explain_6.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03399_analyzer_correlated_subquery/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03399_analyzer_correlated_subquery/explain_9.txt b/parser/testdata/03399_analyzer_correlated_subquery/explain_9.txt new file mode 100644 index 0000000000..befb91beed --- /dev/null +++ b/parser/testdata/03399_analyzer_correlated_subquery/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users2 diff --git a/parser/testdata/03399_lc_nullable_mapfromarrays/explain.txt b/parser/testdata/03399_lc_nullable_mapfromarrays/explain.txt new file mode 100644 index 0000000000..8348982bd2 --- /dev/null +++ b/parser/testdata/03399_lc_nullable_mapfromarrays/explain.txt @@ -0,0 +1,35 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function mapFromArrays (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList (children 2) + Function toNullable (children 1) + ExpressionList (children 1) + Function toLowCardinality (children 1) + ExpressionList (children 1) + Literal \'c\' + Function toFixedString (children 1) + ExpressionList (children 2) + Function toFixedString (children 1) + ExpressionList (children 2) + Literal \'d\' + Function toUInt256 (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Function toLowCardinality (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Function map (children 1) + ExpressionList (children 4) + Literal \'b\' + Literal UInt64_1 + Function toFixedString (children 1) + ExpressionList (children 2) + Literal \'a\' + Literal UInt64_1 + Literal UInt64_2 + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/03399_mapContains_functions/explain_3.txt b/parser/testdata/03399_mapContains_functions/explain_3.txt new file mode 100644 index 0000000000..f80cc00486 --- /dev/null +++ b/parser/testdata/03399_mapContains_functions/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier map_containsValueLike_test diff --git a/parser/testdata/03399_mapContains_functions/explain_4.txt b/parser/testdata/03399_mapContains_functions/explain_4.txt new file mode 100644 index 0000000000..f80cc00486 --- /dev/null +++ b/parser/testdata/03399_mapContains_functions/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier map_containsValueLike_test diff --git a/parser/testdata/03399_mapContains_functions/explain_5.txt b/parser/testdata/03399_mapContains_functions/explain_5.txt new file mode 100644 index 0000000000..f80cc00486 --- /dev/null +++ b/parser/testdata/03399_mapContains_functions/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier map_containsValueLike_test diff --git a/parser/testdata/03400_analyzer_correlated_subquery_unused_column/explain_12.txt b/parser/testdata/03400_analyzer_correlated_subquery_unused_column/explain_12.txt new file mode 100644 index 0000000000..9da77d0dbf --- /dev/null +++ b/parser/testdata/03400_analyzer_correlated_subquery_unused_column/explain_12.txt @@ -0,0 +1,35 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 1) + Identifier name + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier users (alias u1) + Function or (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier age + Literal UInt64_50 + Function exists (children 1) + ExpressionList (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier users2 (alias u2) + Function equals (children 1) + ExpressionList (children 2) + Identifier u1.age + Identifier u2.age + ExpressionList (children 1) + OrderByElement (children 1) + Identifier ALL + Set diff --git a/parser/testdata/03400_analyzer_correlated_subquery_unused_column/explain_4.txt b/parser/testdata/03400_analyzer_correlated_subquery_unused_column/explain_4.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03400_analyzer_correlated_subquery_unused_column/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03400_analyzer_correlated_subquery_unused_column/explain_5.txt b/parser/testdata/03400_analyzer_correlated_subquery_unused_column/explain_5.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03400_analyzer_correlated_subquery_unused_column/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03400_analyzer_correlated_subquery_unused_column/explain_6.txt b/parser/testdata/03400_analyzer_correlated_subquery_unused_column/explain_6.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03400_analyzer_correlated_subquery_unused_column/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03400_analyzer_correlated_subquery_unused_column/explain_9.txt b/parser/testdata/03400_analyzer_correlated_subquery_unused_column/explain_9.txt new file mode 100644 index 0000000000..befb91beed --- /dev/null +++ b/parser/testdata/03400_analyzer_correlated_subquery_unused_column/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users2 diff --git a/parser/testdata/03400_distributed_final/explain_4.txt b/parser/testdata/03400_distributed_final/explain_4.txt new file mode 100644 index 0000000000..ff5023cb4b --- /dev/null +++ b/parser/testdata/03400_distributed_final/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 03400_users diff --git a/parser/testdata/03400_distributed_final/explain_5.txt b/parser/testdata/03400_distributed_final/explain_5.txt new file mode 100644 index 0000000000..ff5023cb4b --- /dev/null +++ b/parser/testdata/03400_distributed_final/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 03400_users diff --git a/parser/testdata/03400_distributed_final/explain_6.txt b/parser/testdata/03400_distributed_final/explain_6.txt new file mode 100644 index 0000000000..ff5023cb4b --- /dev/null +++ b/parser/testdata/03400_distributed_final/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 03400_users diff --git a/parser/testdata/03400_get_server_setting/explain.txt b/parser/testdata/03400_get_server_setting/explain.txt new file mode 100644 index 0000000000..cfb3b4bef3 --- /dev/null +++ b/parser/testdata/03400_get_server_setting/explain.txt @@ -0,0 +1,40 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function toBool (alias should_be_equal) (children 1) + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier t1.val + Identifier t2.val + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias t1) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function toBool (alias val) (children 1) + ExpressionList (children 1) + Identifier value + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.server_settings + Function equals (children 1) + ExpressionList (children 2) + Identifier name + Literal \'allow_use_jemalloc_memory\' + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias t2) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function getServerSetting (alias val) (children 1) + ExpressionList (children 1) + Literal \'allow_use_jemalloc_memory\' + TableJoin diff --git a/parser/testdata/03401_get_merge_tree_setting/explain.txt b/parser/testdata/03401_get_merge_tree_setting/explain.txt new file mode 100644 index 0000000000..2834243333 --- /dev/null +++ b/parser/testdata/03401_get_merge_tree_setting/explain.txt @@ -0,0 +1,42 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function toBool (alias should_be_equal) (children 1) + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier t1.val + Identifier t2.val + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias t1) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function toString (alias val) (children 1) + ExpressionList (children 1) + Identifier value + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.merge_tree_settings + Function equals (children 1) + ExpressionList (children 2) + Identifier name + Literal \'index_granularity\' + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias t2) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toString (alias val) (children 1) + ExpressionList (children 1) + Function getMergeTreeSetting (children 1) + ExpressionList (children 1) + Literal \'index_granularity\' + TableJoin diff --git a/parser/testdata/03402_concurrent_right_full_join/explain_10.txt b/parser/testdata/03402_concurrent_right_full_join/explain_10.txt new file mode 100644 index 0000000000..f46c2b9e0b --- /dev/null +++ b/parser/testdata/03402_concurrent_right_full_join/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_r_small diff --git a/parser/testdata/03402_concurrent_right_full_join/explain_21.txt b/parser/testdata/03402_concurrent_right_full_join/explain_21.txt new file mode 100644 index 0000000000..1ea8aaa413 --- /dev/null +++ b/parser/testdata/03402_concurrent_right_full_join/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_l_any diff --git a/parser/testdata/03402_concurrent_right_full_join/explain_22.txt b/parser/testdata/03402_concurrent_right_full_join/explain_22.txt new file mode 100644 index 0000000000..87b75f8c7d --- /dev/null +++ b/parser/testdata/03402_concurrent_right_full_join/explain_22.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_r_any diff --git a/parser/testdata/03402_concurrent_right_full_join/explain_29.txt b/parser/testdata/03402_concurrent_right_full_join/explain_29.txt new file mode 100644 index 0000000000..2505577574 --- /dev/null +++ b/parser/testdata/03402_concurrent_right_full_join/explain_29.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_l_filter diff --git a/parser/testdata/03402_concurrent_right_full_join/explain_30.txt b/parser/testdata/03402_concurrent_right_full_join/explain_30.txt new file mode 100644 index 0000000000..437fa3f53b --- /dev/null +++ b/parser/testdata/03402_concurrent_right_full_join/explain_30.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_r_filter diff --git a/parser/testdata/03402_concurrent_right_full_join/explain_37.txt b/parser/testdata/03402_concurrent_right_full_join/explain_37.txt new file mode 100644 index 0000000000..bb97143ab5 --- /dev/null +++ b/parser/testdata/03402_concurrent_right_full_join/explain_37.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_l_null diff --git a/parser/testdata/03402_concurrent_right_full_join/explain_38.txt b/parser/testdata/03402_concurrent_right_full_join/explain_38.txt new file mode 100644 index 0000000000..0f1a0fc071 --- /dev/null +++ b/parser/testdata/03402_concurrent_right_full_join/explain_38.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_r_null diff --git a/parser/testdata/03402_concurrent_right_full_join/explain_45.txt b/parser/testdata/03402_concurrent_right_full_join/explain_45.txt new file mode 100644 index 0000000000..2d85036ed4 --- /dev/null +++ b/parser/testdata/03402_concurrent_right_full_join/explain_45.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_l_cmp diff --git a/parser/testdata/03402_concurrent_right_full_join/explain_46.txt b/parser/testdata/03402_concurrent_right_full_join/explain_46.txt new file mode 100644 index 0000000000..927b2cdb8f --- /dev/null +++ b/parser/testdata/03402_concurrent_right_full_join/explain_46.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_r_cmp diff --git a/parser/testdata/03402_concurrent_right_full_join/explain_9.txt b/parser/testdata/03402_concurrent_right_full_join/explain_9.txt new file mode 100644 index 0000000000..ff8f793c94 --- /dev/null +++ b/parser/testdata/03402_concurrent_right_full_join/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_l_small diff --git a/parser/testdata/03402_cyclic_alter_dependencies/explain_4.txt b/parser/testdata/03402_cyclic_alter_dependencies/explain_4.txt new file mode 100644 index 0000000000..fcb2d89148 --- /dev/null +++ b/parser/testdata/03402_cyclic_alter_dependencies/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t0 diff --git a/parser/testdata/03402_join_using_alias/explain_4.txt b/parser/testdata/03402_join_using_alias/explain_4.txt new file mode 100644 index 0000000000..fcb2d89148 --- /dev/null +++ b/parser/testdata/03402_join_using_alias/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t0 diff --git a/parser/testdata/03402_secondary_indexes_analyzer_bugs/explain_12.txt b/parser/testdata/03402_secondary_indexes_analyzer_bugs/explain_12.txt new file mode 100644 index 0000000000..171890f8d8 --- /dev/null +++ b/parser/testdata/03402_secondary_indexes_analyzer_bugs/explain_12.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier tab_v1 + ExpressionList (children 1) + Identifier content diff --git a/parser/testdata/03403_function_tokens/explain_48.txt b/parser/testdata/03403_function_tokens/explain_48.txt new file mode 100644 index 0000000000..b4a2966887 --- /dev/null +++ b/parser/testdata/03403_function_tokens/explain_48.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier tab + ExpressionList (children 2) + Identifier id + Identifier str diff --git a/parser/testdata/03403_function_tokens/explain_53.txt b/parser/testdata/03403_function_tokens/explain_53.txt new file mode 100644 index 0000000000..b4a2966887 --- /dev/null +++ b/parser/testdata/03403_function_tokens/explain_53.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier tab + ExpressionList (children 2) + Identifier id + Identifier str diff --git a/parser/testdata/03403_function_tokens/explain_58.txt b/parser/testdata/03403_function_tokens/explain_58.txt new file mode 100644 index 0000000000..b4a2966887 --- /dev/null +++ b/parser/testdata/03403_function_tokens/explain_58.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier tab + ExpressionList (children 2) + Identifier id + Identifier str diff --git a/parser/testdata/03403_function_tokens/explain_63.txt b/parser/testdata/03403_function_tokens/explain_63.txt new file mode 100644 index 0000000000..b4a2966887 --- /dev/null +++ b/parser/testdata/03403_function_tokens/explain_63.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier tab + ExpressionList (children 2) + Identifier id + Identifier str diff --git a/parser/testdata/03403_read_in_order_streams_memory_usage/explain_4.txt b/parser/testdata/03403_read_in_order_streams_memory_usage/explain_4.txt index 4afc6e6c69..d6144e44e8 100644 --- a/parser/testdata/03403_read_in_order_streams_memory_usage/explain_4.txt +++ b/parser/testdata/03403_read_in_order_streams_memory_usage/explain_4.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 4) + SelectQuery (children 3) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 1) @@ -10,6 +10,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) OrderByElement (children 1) Identifier id - Set Identifier Null Set diff --git a/parser/testdata/03403_read_in_order_streams_memory_usage/explain_5.txt b/parser/testdata/03403_read_in_order_streams_memory_usage/explain_5.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03403_read_in_order_streams_memory_usage/explain_5.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03403_truncate_all_tables_like/explain_10.txt b/parser/testdata/03403_truncate_all_tables_like/explain_10.txt new file mode 100644 index 0000000000..580f85f214 --- /dev/null +++ b/parser/testdata/03403_truncate_all_tables_like/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier truncate_test_memory diff --git a/parser/testdata/03403_truncate_all_tables_like/explain_11.txt b/parser/testdata/03403_truncate_all_tables_like/explain_11.txt new file mode 100644 index 0000000000..fa30c70bca --- /dev/null +++ b/parser/testdata/03403_truncate_all_tables_like/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier truncate_test_tiny_log diff --git a/parser/testdata/03403_truncate_all_tables_like/explain_12.txt b/parser/testdata/03403_truncate_all_tables_like/explain_12.txt new file mode 100644 index 0000000000..002064b418 --- /dev/null +++ b/parser/testdata/03403_truncate_all_tables_like/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier truncate_test_stripe_log diff --git a/parser/testdata/03403_truncate_all_tables_like/explain_13.txt b/parser/testdata/03403_truncate_all_tables_like/explain_13.txt new file mode 100644 index 0000000000..39d306023a --- /dev/null +++ b/parser/testdata/03403_truncate_all_tables_like/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier truncate_test_merge_tree diff --git a/parser/testdata/03403_truncate_all_tables_like/explain_29.txt b/parser/testdata/03403_truncate_all_tables_like/explain_29.txt new file mode 100644 index 0000000000..2bfb4e01fe --- /dev/null +++ b/parser/testdata/03403_truncate_all_tables_like/explain_29.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier truncate_test_set diff --git a/parser/testdata/03403_truncate_all_tables_like/explain_30.txt b/parser/testdata/03403_truncate_all_tables_like/explain_30.txt new file mode 100644 index 0000000000..d2899c44b5 --- /dev/null +++ b/parser/testdata/03403_truncate_all_tables_like/explain_30.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier truncate_test_log diff --git a/parser/testdata/03403_truncate_all_tables_like/explain_31.txt b/parser/testdata/03403_truncate_all_tables_like/explain_31.txt new file mode 100644 index 0000000000..580f85f214 --- /dev/null +++ b/parser/testdata/03403_truncate_all_tables_like/explain_31.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier truncate_test_memory diff --git a/parser/testdata/03403_truncate_all_tables_like/explain_32.txt b/parser/testdata/03403_truncate_all_tables_like/explain_32.txt new file mode 100644 index 0000000000..fa30c70bca --- /dev/null +++ b/parser/testdata/03403_truncate_all_tables_like/explain_32.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier truncate_test_tiny_log diff --git a/parser/testdata/03403_truncate_all_tables_like/explain_33.txt b/parser/testdata/03403_truncate_all_tables_like/explain_33.txt new file mode 100644 index 0000000000..002064b418 --- /dev/null +++ b/parser/testdata/03403_truncate_all_tables_like/explain_33.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier truncate_test_stripe_log diff --git a/parser/testdata/03403_truncate_all_tables_like/explain_34.txt b/parser/testdata/03403_truncate_all_tables_like/explain_34.txt new file mode 100644 index 0000000000..39d306023a --- /dev/null +++ b/parser/testdata/03403_truncate_all_tables_like/explain_34.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier truncate_test_merge_tree diff --git a/parser/testdata/03403_truncate_all_tables_like/explain_40.txt b/parser/testdata/03403_truncate_all_tables_like/explain_40.txt new file mode 100644 index 0000000000..39d306023a --- /dev/null +++ b/parser/testdata/03403_truncate_all_tables_like/explain_40.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier truncate_test_merge_tree diff --git a/parser/testdata/03403_truncate_all_tables_like/explain_49.txt b/parser/testdata/03403_truncate_all_tables_like/explain_49.txt new file mode 100644 index 0000000000..2bfb4e01fe --- /dev/null +++ b/parser/testdata/03403_truncate_all_tables_like/explain_49.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier truncate_test_set diff --git a/parser/testdata/03403_truncate_all_tables_like/explain_50.txt b/parser/testdata/03403_truncate_all_tables_like/explain_50.txt new file mode 100644 index 0000000000..d2899c44b5 --- /dev/null +++ b/parser/testdata/03403_truncate_all_tables_like/explain_50.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier truncate_test_log diff --git a/parser/testdata/03403_truncate_all_tables_like/explain_51.txt b/parser/testdata/03403_truncate_all_tables_like/explain_51.txt new file mode 100644 index 0000000000..580f85f214 --- /dev/null +++ b/parser/testdata/03403_truncate_all_tables_like/explain_51.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier truncate_test_memory diff --git a/parser/testdata/03403_truncate_all_tables_like/explain_52.txt b/parser/testdata/03403_truncate_all_tables_like/explain_52.txt new file mode 100644 index 0000000000..fa30c70bca --- /dev/null +++ b/parser/testdata/03403_truncate_all_tables_like/explain_52.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier truncate_test_tiny_log diff --git a/parser/testdata/03403_truncate_all_tables_like/explain_53.txt b/parser/testdata/03403_truncate_all_tables_like/explain_53.txt new file mode 100644 index 0000000000..002064b418 --- /dev/null +++ b/parser/testdata/03403_truncate_all_tables_like/explain_53.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier truncate_test_stripe_log diff --git a/parser/testdata/03403_truncate_all_tables_like/explain_54.txt b/parser/testdata/03403_truncate_all_tables_like/explain_54.txt new file mode 100644 index 0000000000..39d306023a --- /dev/null +++ b/parser/testdata/03403_truncate_all_tables_like/explain_54.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier truncate_test_merge_tree diff --git a/parser/testdata/03403_truncate_all_tables_like/explain_8.txt b/parser/testdata/03403_truncate_all_tables_like/explain_8.txt new file mode 100644 index 0000000000..2bfb4e01fe --- /dev/null +++ b/parser/testdata/03403_truncate_all_tables_like/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier truncate_test_set diff --git a/parser/testdata/03403_truncate_all_tables_like/explain_9.txt b/parser/testdata/03403_truncate_all_tables_like/explain_9.txt new file mode 100644 index 0000000000..d2899c44b5 --- /dev/null +++ b/parser/testdata/03403_truncate_all_tables_like/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier truncate_test_log diff --git a/parser/testdata/03404_geotoh3_input_order/explain_2.txt b/parser/testdata/03404_geotoh3_input_order/explain_2.txt new file mode 100644 index 0000000000..930860710e --- /dev/null +++ b/parser/testdata/03404_geotoh3_input_order/explain_2.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function geoToH3 (alias h3Index) (children 1) + ExpressionList (children 3) + Literal Float64_55.71290588 + Literal Float64_37.79506683 + Literal UInt64_15 + Set diff --git a/parser/testdata/03404_json_tables/explain_3.txt b/parser/testdata/03404_json_tables/explain_3.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/03404_json_tables/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03404_json_tables/explain_9.txt b/parser/testdata/03404_json_tables/explain_9.txt new file mode 100644 index 0000000000..a032fb3bba --- /dev/null +++ b/parser/testdata/03404_json_tables/explain_9.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03404_ubsan_distinct_join_const_column/explain.txt b/parser/testdata/03404_ubsan_distinct_join_const_column/explain.txt index 588adf53d6..ee9666db92 100644 --- a/parser/testdata/03404_ubsan_distinct_join_const_column/explain.txt +++ b/parser/testdata/03404_ubsan_distinct_join_const_column/explain.txt @@ -11,62 +11,65 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 2) ExpressionList (children 1) - Function CAST (children 1) + Function CAST (alias t) (children 1) ExpressionList (children 2) Literal \'[(1, \\\'a\\\')]\' Literal \'String\' ExpressionList (children 3) - Literal UInt64_1 - Function printf (children 1) - ExpressionList (children 2) - Function printf (children 1) - ExpressionList (children 8) - Literal NULL - Literal UInt64_7 - Function printf (children 1) - ExpressionList (children 7) - Function isNullable (children 1) - ExpressionList (children 1) - Literal UInt64_7 - Literal UInt64_7 - Literal \'%%d: %d\' - Literal UInt64_7 - Literal UInt64_7 - Literal UInt64_7 - Literal NULL - Literal UInt64_7 - Function materialize (children 1) - ExpressionList (children 1) - Function toUInt256 (children 1) - ExpressionList (children 1) - Literal UInt64_7 - Literal \'%%d: %d\' - Function isNull (children 1) - ExpressionList (children 1) - Function toNullable (children 1) - ExpressionList (children 1) - Literal UInt64_7 - Literal UInt64_7 - Function materialize (children 1) - ExpressionList (children 1) - Function toNullable (children 1) - ExpressionList (children 1) - Literal NULL - Function isNull (children 1) - ExpressionList (children 1) - Function isZeroOrNull (children 1) - ExpressionList (children 1) - Function isNullable (children 1) - ExpressionList (children 1) - Literal UInt64_7 - TablesInSelectQueryElement (children 1) + ExpressionList (children 1) + Literal UInt64_1 + ExpressionList (children 1) + Function printf (children 1) + ExpressionList (children 2) + Function printf (children 1) + ExpressionList (children 8) + Literal NULL + Literal UInt64_7 + Function printf (children 1) + ExpressionList (children 7) + Function isNullable (children 1) + ExpressionList (children 1) + Literal UInt64_7 + Literal UInt64_7 + Literal \'%%d: %d\' + Literal UInt64_7 + Literal UInt64_7 + Literal UInt64_7 + Literal NULL + Literal UInt64_7 + Function materialize (children 1) + ExpressionList (children 1) + Function toUInt256 (children 1) + ExpressionList (children 1) + Literal UInt64_7 + Literal \'%%d: %d\' + Function isNull (children 1) + ExpressionList (children 1) + Function toNullable (children 1) + ExpressionList (children 1) + Literal UInt64_7 + Literal UInt64_7 + Function materialize (children 1) + ExpressionList (children 1) + Function toNullable (children 1) + ExpressionList (children 1) + Literal NULL + ExpressionList (children 1) + Function isNull (children 1) + ExpressionList (children 1) + Function isZeroOrNull (children 1) + ExpressionList (children 1) + Function isNullable (children 1) + ExpressionList (children 1) + Literal UInt64_7 + TablesInSelectQueryElement (children 2) TableExpression (children 1) Subquery (children 1) SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 2) ExpressionList (children 1) - Function CAST (children 1) + Function CAST (alias t) (children 1) ExpressionList (children 2) Function toNullable (children 1) ExpressionList (children 1) @@ -105,4 +108,5 @@ SelectWithUnionQuery (children 1) Literal UInt64_7 Literal UInt64_7 Literal UInt64_7 + TableJoin Set diff --git a/parser/testdata/03405_join_using_alias_constant/explain_10.txt b/parser/testdata/03405_join_using_alias_constant/explain_10.txt new file mode 100644 index 0000000000..317ad9d98e --- /dev/null +++ b/parser/testdata/03405_join_using_alias_constant/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1lc diff --git a/parser/testdata/03405_join_using_alias_constant/explain_13.txt b/parser/testdata/03405_join_using_alias_constant/explain_13.txt new file mode 100644 index 0000000000..df4a687bc0 --- /dev/null +++ b/parser/testdata/03405_join_using_alias_constant/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2 diff --git a/parser/testdata/03405_join_using_alias_constant/explain_14.txt b/parser/testdata/03405_join_using_alias_constant/explain_14.txt new file mode 100644 index 0000000000..8fae5bbff5 --- /dev/null +++ b/parser/testdata/03405_join_using_alias_constant/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2lc diff --git a/parser/testdata/03405_join_using_alias_constant/explain_9.txt b/parser/testdata/03405_join_using_alias_constant/explain_9.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/03405_join_using_alias_constant/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/03405_json_parsing_error_bug/explain.txt b/parser/testdata/03405_json_parsing_error_bug/explain.txt index 937feb22d6..e64d1bf319 100644 --- a/parser/testdata/03405_json_parsing_error_bug/explain.txt +++ b/parser/testdata/03405_json_parsing_error_bug/explain.txt @@ -7,4 +7,3 @@ SelectWithUnionQuery (children 1) Literal \'[\\\'{}\\\', \\\'{"c" : [1, {"b" : []}]}\\\']\' Literal \'Array(JSON)\' Set -The query succeeded but the server error '117' was expected (query: EXPLAIN AST select ['{}', '{"c" : [1, {"b" : []}]}']::Array(JSON) settings input_format_json_infer_incomplete_types_as_strings=0; -- {serverError INCORRECT_DATA}). diff --git a/parser/testdata/03405_merge_filter_into_join/explain_2.txt b/parser/testdata/03405_merge_filter_into_join/explain_2.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03405_merge_filter_into_join/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03405_merge_filter_into_join/explain_3.txt b/parser/testdata/03405_merge_filter_into_join/explain_3.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03405_merge_filter_into_join/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03405_merge_filter_into_join/explain_4.txt b/parser/testdata/03405_merge_filter_into_join/explain_4.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03405_merge_filter_into_join/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03405_non_zero_batch_mode/explain.txt b/parser/testdata/03405_non_zero_batch_mode/explain.txt index f92bb2200f..cb1142253f 100644 --- a/parser/testdata/03405_non_zero_batch_mode/explain.txt +++ b/parser/testdata/03405_non_zero_batch_mode/explain.txt @@ -1,2 +1 @@ Set -The query succeeded but the server error '36' was expected (query: EXPLAIN AST SET output_format_parquet_batch_size = 0; -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/03406_naive_bayes_classifier_codepoint/explain.txt b/parser/testdata/03406_naive_bayes_classifier_codepoint/explain.txt new file mode 100644 index 0000000000..944b166286 --- /dev/null +++ b/parser/testdata/03406_naive_bayes_classifier_codepoint/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function naiveBayesClassifier (children 1) + ExpressionList (children 2) + Literal \'lang_codepoint_1\' + Literal \'আজ আকাশটা খà§à¦¬ পরিষà§à¦•ার।\' diff --git a/parser/testdata/03406_reservoir_sample_self_merging/explain.txt b/parser/testdata/03406_reservoir_sample_self_merging/explain.txt new file mode 100644 index 0000000000..b4f4a754de --- /dev/null +++ b/parser/testdata/03406_reservoir_sample_self_merging/explain.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function finalizeAggregation (children 1) + ExpressionList (children 1) + Function multiply (children 1) + ExpressionList (children 2) + Literal UInt64_10 + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function medianState (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 diff --git a/parser/testdata/03407_csv_bad_date_time_parsing/explain.txt b/parser/testdata/03407_csv_bad_date_time_parsing/explain.txt index 51dca746e3..1853aa13f0 100644 --- a/parser/testdata/03407_csv_bad_date_time_parsing/explain.txt +++ b/parser/testdata/03407_csv_bad_date_time_parsing/explain.txt @@ -12,4 +12,3 @@ SelectWithUnionQuery (children 1) Literal \'d DateTime64(3)\' Literal \'1744042005 797\' Set -The query succeeded but the server error '632' was expected (query: EXPLAIN AST select * from format(CSV, 'd DateTime64(3)', '1744042005 797') settings date_time_input_format='best_effort'; -- {serverError UNEXPECTED_DATA_AFTER_PARSED_VALUE}). diff --git a/parser/testdata/03407_naive_bayes_classifier_byte/explain.txt b/parser/testdata/03407_naive_bayes_classifier_byte/explain.txt new file mode 100644 index 0000000000..e8b2f65c96 --- /dev/null +++ b/parser/testdata/03407_naive_bayes_classifier_byte/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function naiveBayesClassifier (children 1) + ExpressionList (children 2) + Literal \'lang_byte_2\' + Literal \'বইটি টেবিলের উপর রাখা আছে।\' diff --git a/parser/testdata/03408_hash_functions_on_null/explain_26.txt b/parser/testdata/03408_hash_functions_on_null/explain_26.txt new file mode 100644 index 0000000000..c716e72ff9 --- /dev/null +++ b/parser/testdata/03408_hash_functions_on_null/explain_26.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_hash_on_null diff --git a/parser/testdata/03408_hash_functions_on_null/explain_36.txt b/parser/testdata/03408_hash_functions_on_null/explain_36.txt new file mode 100644 index 0000000000..01bb2a4625 --- /dev/null +++ b/parser/testdata/03408_hash_functions_on_null/explain_36.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_mix_null diff --git a/parser/testdata/03408_hash_functions_on_null/explain_39.txt b/parser/testdata/03408_hash_functions_on_null/explain_39.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03408_hash_functions_on_null/explain_39.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03408_implicit_table/explain_4.txt b/parser/testdata/03408_implicit_table/explain_4.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03408_implicit_table/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03408_limit_by_rows_before_limit/explain_11.txt b/parser/testdata/03408_limit_by_rows_before_limit/explain_11.txt index 20e15ce630..dfbd3e2c64 100644 --- a/parser/testdata/03408_limit_by_rows_before_limit/explain_11.txt +++ b/parser/testdata/03408_limit_by_rows_before_limit/explain_11.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 7) + SelectQuery (children 6) ExpressionList (children 2) Identifier id Identifier val @@ -17,6 +17,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) Identifier id Literal UInt64_3 - Set Identifier JsonCompact Set diff --git a/parser/testdata/03408_limit_by_rows_before_limit/explain_14.txt b/parser/testdata/03408_limit_by_rows_before_limit/explain_14.txt index c76b770ded..2fbe3a611c 100644 --- a/parser/testdata/03408_limit_by_rows_before_limit/explain_14.txt +++ b/parser/testdata/03408_limit_by_rows_before_limit/explain_14.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 9) + SelectQuery (children 8) ExpressionList (children 2) Identifier id Identifier val @@ -24,6 +24,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) Identifier id Literal UInt64_3 - Set Identifier JsonCompact Set diff --git a/parser/testdata/03408_limit_by_rows_before_limit/explain_23.txt b/parser/testdata/03408_limit_by_rows_before_limit/explain_23.txt index 65562f2f3e..9bd32673b3 100644 --- a/parser/testdata/03408_limit_by_rows_before_limit/explain_23.txt +++ b/parser/testdata/03408_limit_by_rows_before_limit/explain_23.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 7) + SelectQuery (children 6) ExpressionList (children 2) Identifier id Identifier val @@ -17,6 +17,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) Identifier id Literal UInt64_3 - Set Identifier JsonCompact Set diff --git a/parser/testdata/03408_limit_by_rows_before_limit/explain_26.txt b/parser/testdata/03408_limit_by_rows_before_limit/explain_26.txt index 65562f2f3e..9bd32673b3 100644 --- a/parser/testdata/03408_limit_by_rows_before_limit/explain_26.txt +++ b/parser/testdata/03408_limit_by_rows_before_limit/explain_26.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 7) + SelectQuery (children 6) ExpressionList (children 2) Identifier id Identifier val @@ -17,6 +17,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) Identifier id Literal UInt64_3 - Set Identifier JsonCompact Set diff --git a/parser/testdata/03408_limit_by_rows_before_limit/explain_29.txt b/parser/testdata/03408_limit_by_rows_before_limit/explain_29.txt index 21d2cf6f9f..f4a34d3000 100644 --- a/parser/testdata/03408_limit_by_rows_before_limit/explain_29.txt +++ b/parser/testdata/03408_limit_by_rows_before_limit/explain_29.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 9) + SelectQuery (children 8) ExpressionList (children 2) Identifier id Identifier val @@ -24,6 +24,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) Identifier id Literal UInt64_3 - Set Identifier JsonCompact Set diff --git a/parser/testdata/03408_limit_by_rows_before_limit/explain_8.txt b/parser/testdata/03408_limit_by_rows_before_limit/explain_8.txt index 20e15ce630..dfbd3e2c64 100644 --- a/parser/testdata/03408_limit_by_rows_before_limit/explain_8.txt +++ b/parser/testdata/03408_limit_by_rows_before_limit/explain_8.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 7) + SelectQuery (children 6) ExpressionList (children 2) Identifier id Identifier val @@ -17,6 +17,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) Identifier id Literal UInt64_3 - Set Identifier JsonCompact Set diff --git a/parser/testdata/03408_limit_by_rows_before_limit_dist/explain_10.txt b/parser/testdata/03408_limit_by_rows_before_limit_dist/explain_10.txt index c99999cccb..202e65771b 100644 --- a/parser/testdata/03408_limit_by_rows_before_limit_dist/explain_10.txt +++ b/parser/testdata/03408_limit_by_rows_before_limit_dist/explain_10.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 7) + SelectQuery (children 6) ExpressionList (children 2) Identifier id Identifier val @@ -17,6 +17,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) Identifier id Literal UInt64_3 - Set Identifier JsonCompact Set diff --git a/parser/testdata/03408_limit_by_rows_before_limit_dist/explain_13.txt b/parser/testdata/03408_limit_by_rows_before_limit_dist/explain_13.txt index c99999cccb..202e65771b 100644 --- a/parser/testdata/03408_limit_by_rows_before_limit_dist/explain_13.txt +++ b/parser/testdata/03408_limit_by_rows_before_limit_dist/explain_13.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 7) + SelectQuery (children 6) ExpressionList (children 2) Identifier id Identifier val @@ -17,6 +17,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) Identifier id Literal UInt64_3 - Set Identifier JsonCompact Set diff --git a/parser/testdata/03408_limit_by_rows_before_limit_dist/explain_16.txt b/parser/testdata/03408_limit_by_rows_before_limit_dist/explain_16.txt index b55fff4331..cd71b6121d 100644 --- a/parser/testdata/03408_limit_by_rows_before_limit_dist/explain_16.txt +++ b/parser/testdata/03408_limit_by_rows_before_limit_dist/explain_16.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 9) + SelectQuery (children 8) ExpressionList (children 2) Identifier id Identifier val @@ -24,6 +24,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) Identifier id Literal UInt64_3 - Set Identifier JsonCompact Set diff --git a/parser/testdata/03408_limit_by_rows_before_limit_dist/explain_19.txt b/parser/testdata/03408_limit_by_rows_before_limit_dist/explain_19.txt index cf36253627..2ad8d038b9 100644 --- a/parser/testdata/03408_limit_by_rows_before_limit_dist/explain_19.txt +++ b/parser/testdata/03408_limit_by_rows_before_limit_dist/explain_19.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 8) + SelectQuery (children 7) ExpressionList (children 2) Identifier id Function max (children 1) @@ -19,6 +19,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) Identifier id Literal UInt64_4 - Set Identifier JSONCompact Set diff --git a/parser/testdata/03408_limit_by_rows_before_limit_mem/explain_11.txt b/parser/testdata/03408_limit_by_rows_before_limit_mem/explain_11.txt index d1d1a9c6e2..fd83ca6daf 100644 --- a/parser/testdata/03408_limit_by_rows_before_limit_mem/explain_11.txt +++ b/parser/testdata/03408_limit_by_rows_before_limit_mem/explain_11.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 9) + SelectQuery (children 8) ExpressionList (children 2) Identifier id Identifier val @@ -24,6 +24,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) Identifier id Literal UInt64_3 - Set Identifier JsonCompact Set diff --git a/parser/testdata/03408_limit_by_rows_before_limit_mem/explain_8.txt b/parser/testdata/03408_limit_by_rows_before_limit_mem/explain_8.txt index 04450505d3..cf4e4028dc 100644 --- a/parser/testdata/03408_limit_by_rows_before_limit_mem/explain_8.txt +++ b/parser/testdata/03408_limit_by_rows_before_limit_mem/explain_8.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 7) + SelectQuery (children 6) ExpressionList (children 2) Identifier id Identifier val @@ -17,6 +17,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) Identifier id Literal UInt64_3 - Set Identifier JsonCompact Set diff --git a/parser/testdata/03409_coalescing_merge_tree/explain_15.txt b/parser/testdata/03409_coalescing_merge_tree/explain_15.txt new file mode 100644 index 0000000000..9871520f52 --- /dev/null +++ b/parser/testdata/03409_coalescing_merge_tree/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 03409_users diff --git a/parser/testdata/03409_coalescing_merge_tree/explain_16.txt b/parser/testdata/03409_coalescing_merge_tree/explain_16.txt new file mode 100644 index 0000000000..9871520f52 --- /dev/null +++ b/parser/testdata/03409_coalescing_merge_tree/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 03409_users diff --git a/parser/testdata/03409_coalescing_merge_tree/explain_17.txt b/parser/testdata/03409_coalescing_merge_tree/explain_17.txt new file mode 100644 index 0000000000..9871520f52 --- /dev/null +++ b/parser/testdata/03409_coalescing_merge_tree/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 03409_users diff --git a/parser/testdata/03409_coalescing_merge_tree/explain_18.txt b/parser/testdata/03409_coalescing_merge_tree/explain_18.txt new file mode 100644 index 0000000000..9871520f52 --- /dev/null +++ b/parser/testdata/03409_coalescing_merge_tree/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 03409_users diff --git a/parser/testdata/03409_coalescing_merge_tree/explain_19.txt b/parser/testdata/03409_coalescing_merge_tree/explain_19.txt new file mode 100644 index 0000000000..9871520f52 --- /dev/null +++ b/parser/testdata/03409_coalescing_merge_tree/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 03409_users diff --git a/parser/testdata/03409_coalescing_merge_tree/explain_4.txt b/parser/testdata/03409_coalescing_merge_tree/explain_4.txt new file mode 100644 index 0000000000..9871520f52 --- /dev/null +++ b/parser/testdata/03409_coalescing_merge_tree/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 03409_users diff --git a/parser/testdata/03409_coalescing_merge_tree/explain_5.txt b/parser/testdata/03409_coalescing_merge_tree/explain_5.txt new file mode 100644 index 0000000000..9871520f52 --- /dev/null +++ b/parser/testdata/03409_coalescing_merge_tree/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 03409_users diff --git a/parser/testdata/03409_coalescing_merge_tree/explain_6.txt b/parser/testdata/03409_coalescing_merge_tree/explain_6.txt new file mode 100644 index 0000000000..9871520f52 --- /dev/null +++ b/parser/testdata/03409_coalescing_merge_tree/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 03409_users diff --git a/parser/testdata/03409_coalescing_merge_tree/explain_7.txt b/parser/testdata/03409_coalescing_merge_tree/explain_7.txt new file mode 100644 index 0000000000..9871520f52 --- /dev/null +++ b/parser/testdata/03409_coalescing_merge_tree/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 03409_users diff --git a/parser/testdata/03409_coalescing_merge_tree/explain_8.txt b/parser/testdata/03409_coalescing_merge_tree/explain_8.txt new file mode 100644 index 0000000000..9871520f52 --- /dev/null +++ b/parser/testdata/03409_coalescing_merge_tree/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 03409_users diff --git a/parser/testdata/03409_coalescing_replicated_merge_tree/explain_15.txt b/parser/testdata/03409_coalescing_replicated_merge_tree/explain_15.txt new file mode 100644 index 0000000000..9871520f52 --- /dev/null +++ b/parser/testdata/03409_coalescing_replicated_merge_tree/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 03409_users diff --git a/parser/testdata/03409_coalescing_replicated_merge_tree/explain_16.txt b/parser/testdata/03409_coalescing_replicated_merge_tree/explain_16.txt new file mode 100644 index 0000000000..9871520f52 --- /dev/null +++ b/parser/testdata/03409_coalescing_replicated_merge_tree/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 03409_users diff --git a/parser/testdata/03409_coalescing_replicated_merge_tree/explain_17.txt b/parser/testdata/03409_coalescing_replicated_merge_tree/explain_17.txt new file mode 100644 index 0000000000..9871520f52 --- /dev/null +++ b/parser/testdata/03409_coalescing_replicated_merge_tree/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 03409_users diff --git a/parser/testdata/03409_coalescing_replicated_merge_tree/explain_18.txt b/parser/testdata/03409_coalescing_replicated_merge_tree/explain_18.txt new file mode 100644 index 0000000000..9871520f52 --- /dev/null +++ b/parser/testdata/03409_coalescing_replicated_merge_tree/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 03409_users diff --git a/parser/testdata/03409_coalescing_replicated_merge_tree/explain_19.txt b/parser/testdata/03409_coalescing_replicated_merge_tree/explain_19.txt new file mode 100644 index 0000000000..9871520f52 --- /dev/null +++ b/parser/testdata/03409_coalescing_replicated_merge_tree/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 03409_users diff --git a/parser/testdata/03409_coalescing_replicated_merge_tree/explain_4.txt b/parser/testdata/03409_coalescing_replicated_merge_tree/explain_4.txt new file mode 100644 index 0000000000..9871520f52 --- /dev/null +++ b/parser/testdata/03409_coalescing_replicated_merge_tree/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 03409_users diff --git a/parser/testdata/03409_coalescing_replicated_merge_tree/explain_5.txt b/parser/testdata/03409_coalescing_replicated_merge_tree/explain_5.txt new file mode 100644 index 0000000000..9871520f52 --- /dev/null +++ b/parser/testdata/03409_coalescing_replicated_merge_tree/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 03409_users diff --git a/parser/testdata/03409_coalescing_replicated_merge_tree/explain_6.txt b/parser/testdata/03409_coalescing_replicated_merge_tree/explain_6.txt new file mode 100644 index 0000000000..9871520f52 --- /dev/null +++ b/parser/testdata/03409_coalescing_replicated_merge_tree/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 03409_users diff --git a/parser/testdata/03409_coalescing_replicated_merge_tree/explain_7.txt b/parser/testdata/03409_coalescing_replicated_merge_tree/explain_7.txt new file mode 100644 index 0000000000..9871520f52 --- /dev/null +++ b/parser/testdata/03409_coalescing_replicated_merge_tree/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 03409_users diff --git a/parser/testdata/03409_coalescing_replicated_merge_tree/explain_8.txt b/parser/testdata/03409_coalescing_replicated_merge_tree/explain_8.txt new file mode 100644 index 0000000000..9871520f52 --- /dev/null +++ b/parser/testdata/03409_coalescing_replicated_merge_tree/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 03409_users diff --git a/parser/testdata/03409_variant_type_values_format_field_conversion/explain_3.txt b/parser/testdata/03409_variant_type_values_format_field_conversion/explain_3.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03409_variant_type_values_format_field_conversion/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03411_summing_merge_tree_dynamic_values/explain_4.txt b/parser/testdata/03411_summing_merge_tree_dynamic_values/explain_4.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/03411_summing_merge_tree_dynamic_values/explain_4.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03411_variant_basic_discriminators_deserialization_bug/explain_4.txt b/parser/testdata/03411_variant_basic_discriminators_deserialization_bug/explain_4.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/03411_variant_basic_discriminators_deserialization_bug/explain_4.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03413_dynamic_in_in/explain.txt b/parser/testdata/03413_dynamic_in_in/explain.txt index ffcb355165..4bb228d438 100644 --- a/parser/testdata/03413_dynamic_in_in/explain.txt +++ b/parser/testdata/03413_dynamic_in_in/explain.txt @@ -9,4 +9,3 @@ SelectWithUnionQuery (children 1) Literal \'42\' Literal \'Dynamic\' Literal UInt64_42 -The query succeeded but the server error '43' was expected (query: EXPLAIN AST select 42::Dynamic in 42; -- {serverError ILLEGAL_TYPE_OF_ARGUMENT}). diff --git a/parser/testdata/03413_group_by_all_in_subquery/explain_5.txt b/parser/testdata/03413_group_by_all_in_subquery/explain_5.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03413_group_by_all_in_subquery/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03432_input_format_parquet_max_block_size_validation/explain.txt b/parser/testdata/03432_input_format_parquet_max_block_size_validation/explain.txt index 3fd56c5e5c..cb1142253f 100644 --- a/parser/testdata/03432_input_format_parquet_max_block_size_validation/explain.txt +++ b/parser/testdata/03432_input_format_parquet_max_block_size_validation/explain.txt @@ -1,2 +1 @@ Set -The query succeeded but the server error '36' was expected (query: EXPLAIN AST SET input_format_parquet_max_block_size = 0; -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/03432_input_format_parquet_max_block_size_validation/explain_4.txt b/parser/testdata/03432_input_format_parquet_max_block_size_validation/explain_4.txt index eaa42e36c6..9286bbaef5 100644 --- a/parser/testdata/03432_input_format_parquet_max_block_size_validation/explain_4.txt +++ b/parser/testdata/03432_input_format_parquet_max_block_size_validation/explain_4.txt @@ -1,9 +1,8 @@ SelectWithUnionQuery (children 4) ExpressionList (children 1) - SelectQuery (children 2) + SelectQuery (children 1) ExpressionList (children 1) Literal \'a\' - Set Literal \'/dev/null\' Identifier Parquet Set diff --git a/parser/testdata/03442_alter_delete_empty_part/explain_9.txt b/parser/testdata/03442_alter_delete_empty_part/explain_9.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03442_alter_delete_empty_part/explain_9.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03442_alter_delete_empty_part_rmt/explain_10.txt b/parser/testdata/03442_alter_delete_empty_part_rmt/explain_10.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03442_alter_delete_empty_part_rmt/explain_10.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03442_json_duplicate_path/explain.txt b/parser/testdata/03442_json_duplicate_path/explain.txt index ae8525e9ac..a763d9f93e 100644 --- a/parser/testdata/03442_json_duplicate_path/explain.txt +++ b/parser/testdata/03442_json_duplicate_path/explain.txt @@ -6,4 +6,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Literal \'{"a" : 42, "a" : {"b" : 42}}\' Literal \'JSON\' -The query succeeded but the server error '117' was expected (query: EXPLAIN AST select '{"a" : 42, "a" : {"b" : 42}}'::JSON; -- {serverError INCORRECT_DATA}). diff --git a/parser/testdata/03442_lightweight_deletes_on_fly/explain_3.txt b/parser/testdata/03442_lightweight_deletes_on_fly/explain_3.txt new file mode 100644 index 0000000000..d2db91d395 --- /dev/null +++ b/parser/testdata/03442_lightweight_deletes_on_fly/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_deletes diff --git a/parser/testdata/03443_alias_with_asterisk/explain.txt b/parser/testdata/03443_alias_with_asterisk/explain.txt index fe8661a6f2..8bf2340962 100644 --- a/parser/testdata/03443_alias_with_asterisk/explain.txt +++ b/parser/testdata/03443_alias_with_asterisk/explain.txt @@ -11,4 +11,3 @@ CreateQuery t0 (children 3) Asterisk Storage definition (children 1) Function Memory -The query succeeded but the server error '47' was expected (query: EXPLAIN AST CREATE TABLE t0 (c0 Int ALIAS if(NULL, 1, *)) ENGINE = Memory; -- { serverError UNKNOWN_IDENTIFIER }). diff --git a/parser/testdata/03443_index_match_alternatives/explain_15.txt b/parser/testdata/03443_index_match_alternatives/explain_15.txt index 7945c40d7c..94566a09b0 100644 --- a/parser/testdata/03443_index_match_alternatives/explain_15.txt +++ b/parser/testdata/03443_index_match_alternatives/explain_15.txt @@ -2,17 +2,10 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 4) ExpressionList (children 1) - Function replaceRegexpOne (children 1) - ExpressionList (children 3) + Function trimLeft (children 1) + ExpressionList (children 2) Identifier explain - Function concat (children 1) - ExpressionList (children 3) - Literal \'^[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \' \' - Literal \']+\' - Literal \'\' + Literal \' \' TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) diff --git a/parser/testdata/03443_index_match_alternatives/explain_17.txt b/parser/testdata/03443_index_match_alternatives/explain_17.txt index 930a509291..56742951e1 100644 --- a/parser/testdata/03443_index_match_alternatives/explain_17.txt +++ b/parser/testdata/03443_index_match_alternatives/explain_17.txt @@ -2,17 +2,10 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 4) ExpressionList (children 1) - Function replaceRegexpOne (children 1) - ExpressionList (children 3) + Function trimLeft (children 1) + ExpressionList (children 2) Identifier explain - Function concat (children 1) - ExpressionList (children 3) - Literal \'^[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \' \' - Literal \']+\' - Literal \'\' + Literal \' \' TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) diff --git a/parser/testdata/03443_index_match_alternatives/explain_19.txt b/parser/testdata/03443_index_match_alternatives/explain_19.txt index 6a02308254..bd1edd2fd3 100644 --- a/parser/testdata/03443_index_match_alternatives/explain_19.txt +++ b/parser/testdata/03443_index_match_alternatives/explain_19.txt @@ -2,17 +2,10 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 4) ExpressionList (children 1) - Function replaceRegexpOne (children 1) - ExpressionList (children 3) + Function trimLeft (children 1) + ExpressionList (children 2) Identifier explain - Function concat (children 1) - ExpressionList (children 3) - Literal \'^[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \' \' - Literal \']+\' - Literal \'\' + Literal \' \' TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) diff --git a/parser/testdata/03443_index_match_alternatives/explain_21.txt b/parser/testdata/03443_index_match_alternatives/explain_21.txt index bf8286b762..1afebd7488 100644 --- a/parser/testdata/03443_index_match_alternatives/explain_21.txt +++ b/parser/testdata/03443_index_match_alternatives/explain_21.txt @@ -2,17 +2,10 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 4) ExpressionList (children 1) - Function replaceRegexpOne (children 1) - ExpressionList (children 3) + Function trimLeft (children 1) + ExpressionList (children 2) Identifier explain - Function concat (children 1) - ExpressionList (children 3) - Literal \'^[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \' \' - Literal \']+\' - Literal \'\' + Literal \' \' TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) diff --git a/parser/testdata/03443_part_starting_offset/explain_10.txt b/parser/testdata/03443_part_starting_offset/explain_10.txt new file mode 100644 index 0000000000..f6232c36be --- /dev/null +++ b/parser/testdata/03443_part_starting_offset/explain_10.txt @@ -0,0 +1,21 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 2) + Asterisk + Function plus (children 1) + ExpressionList (children 2) + Identifier _part_starting_offset + Identifier _part_offset + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test + Function equals (children 1) + ExpressionList (children 2) + Function plus (children 1) + ExpressionList (children 2) + Identifier _part_starting_offset + Identifier _part_offset + Literal UInt64_8 + Set diff --git a/parser/testdata/03443_part_starting_offset/explain_11.txt b/parser/testdata/03443_part_starting_offset/explain_11.txt new file mode 100644 index 0000000000..f66472a7ba --- /dev/null +++ b/parser/testdata/03443_part_starting_offset/explain_11.txt @@ -0,0 +1,21 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 2) + Asterisk + Function plus (children 1) + ExpressionList (children 2) + Identifier _part_offset + Identifier _part_starting_offset + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test + Function equals (children 1) + ExpressionList (children 2) + Function plus (children 1) + ExpressionList (children 2) + Identifier _part_offset + Identifier _part_starting_offset + Literal UInt64_8 + Set diff --git a/parser/testdata/03443_part_starting_offset/explain_12.txt b/parser/testdata/03443_part_starting_offset/explain_12.txt new file mode 100644 index 0000000000..bcc15432fa --- /dev/null +++ b/parser/testdata/03443_part_starting_offset/explain_12.txt @@ -0,0 +1,24 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test + Function equals (children 1) + ExpressionList (children 2) + Literal UInt64_8 + Function plus (children 1) + ExpressionList (children 2) + Identifier _part_offset + Identifier _part_starting_offset + Function equals (children 1) + ExpressionList (children 2) + Literal UInt64_8 + Function plus (children 1) + ExpressionList (children 2) + Identifier _part_offset + Identifier _part_starting_offset + Set diff --git a/parser/testdata/03443_projection_sparse/explain_3.txt b/parser/testdata/03443_projection_sparse/explain_3.txt new file mode 100644 index 0000000000..4ce90fdf83 --- /dev/null +++ b/parser/testdata/03443_projection_sparse/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_projection_sparse diff --git a/parser/testdata/03443_projection_sparse/explain_4.txt b/parser/testdata/03443_projection_sparse/explain_4.txt new file mode 100644 index 0000000000..4ce90fdf83 --- /dev/null +++ b/parser/testdata/03443_projection_sparse/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_projection_sparse diff --git a/parser/testdata/03443_projection_sparse/explain_5.txt b/parser/testdata/03443_projection_sparse/explain_5.txt new file mode 100644 index 0000000000..4ce90fdf83 --- /dev/null +++ b/parser/testdata/03443_projection_sparse/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_projection_sparse diff --git a/parser/testdata/03444_analyzer_resolve_alias_columns/explain.txt b/parser/testdata/03444_analyzer_resolve_alias_columns/explain.txt new file mode 100644 index 0000000000..a96d5712d5 --- /dev/null +++ b/parser/testdata/03444_analyzer_resolve_alias_columns/explain.txt @@ -0,0 +1,27 @@ +CreateQuery users (children 3) + Identifier users + Columns definition (children 1) + ExpressionList (children 4) + ColumnDeclaration uid (children 1) + DataType Int16 + ColumnDeclaration name (children 1) + DataType String + ColumnDeclaration age (children 1) + DataType Int16 + ColumnDeclaration v (children 2) + DataType Array (children 1) + ExpressionList (children 1) + DataType Int16 + Function arrayMap (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Identifier age + Function array (children 1) + ExpressionList (children 1) + Identifier name + Storage definition (children 1) + Function Memory diff --git a/parser/testdata/03444_analyzer_resolve_alias_columns/explain_2.txt b/parser/testdata/03444_analyzer_resolve_alias_columns/explain_2.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03444_analyzer_resolve_alias_columns/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03444_analyzer_resolve_alias_columns/explain_3.txt b/parser/testdata/03444_analyzer_resolve_alias_columns/explain_3.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03444_analyzer_resolve_alias_columns/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03444_analyzer_resolve_alias_columns/explain_4.txt b/parser/testdata/03444_analyzer_resolve_alias_columns/explain_4.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03444_analyzer_resolve_alias_columns/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03444_case_with_expression_exception/explain.txt b/parser/testdata/03444_case_with_expression_exception/explain.txt index d7ba580031..3256ed93d2 100644 --- a/parser/testdata/03444_case_with_expression_exception/explain.txt +++ b/parser/testdata/03444_case_with_expression_exception/explain.txt @@ -9,4 +9,3 @@ SelectWithUnionQuery (children 1) Literal Bool_1 Literal \'B\' Literal Bool_0 -The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT caseWithExpression('C', 'A', true, 'B', false); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/03447_analyzer_correlated_subqueries_tpc_h/explain.txt b/parser/testdata/03447_analyzer_correlated_subqueries_tpc_h/explain.txt new file mode 100644 index 0000000000..9790d1e79c --- /dev/null +++ b/parser/testdata/03447_analyzer_correlated_subqueries_tpc_h/explain.txt @@ -0,0 +1,14 @@ +CreateQuery nation (children 3) + Identifier nation + Columns definition (children 1) + ExpressionList (children 4) + ColumnDeclaration n_nationkey (children 1) + DataType Int32 + ColumnDeclaration n_name (children 1) + DataType String + ColumnDeclaration n_regionkey (children 1) + DataType Int32 + ColumnDeclaration n_comment (children 1) + DataType String + Storage definition (children 1) + Identifier n_nationkey diff --git a/parser/testdata/03447_base32_encode_decode/explain_5.txt b/parser/testdata/03447_base32_encode_decode/explain_5.txt new file mode 100644 index 0000000000..e5fa27d41a --- /dev/null +++ b/parser/testdata/03447_base32_encode_decode/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t3447 diff --git a/parser/testdata/03447_function_reverse_for_tuple/explain_4.txt b/parser/testdata/03447_function_reverse_for_tuple/explain_4.txt new file mode 100644 index 0000000000..75461b080d --- /dev/null +++ b/parser/testdata/03447_function_reverse_for_tuple/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_tuple diff --git a/parser/testdata/03447_function_reverse_for_tuple/explain_6.txt b/parser/testdata/03447_function_reverse_for_tuple/explain_6.txt index 3c09cb997c..2a9f7d92c3 100644 --- a/parser/testdata/03447_function_reverse_for_tuple/explain_6.txt +++ b/parser/testdata/03447_function_reverse_for_tuple/explain_6.txt @@ -7,13 +7,13 @@ SelectWithUnionQuery (children 1) Function reverse (children 1) ExpressionList (children 1) Identifier tuple - Identifier a + Literal \'a\' Function tupleElement (children 1) ExpressionList (children 2) Function reverse (children 1) ExpressionList (children 1) Identifier tuple - Identifier b + Literal \'b\' TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) diff --git a/parser/testdata/03447_order_by_json_and_other_column/explain_3.txt b/parser/testdata/03447_order_by_json_and_other_column/explain_3.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03447_order_by_json_and_other_column/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03447_storage_join_unsupported_keys/explain_10.txt b/parser/testdata/03447_storage_join_unsupported_keys/explain_10.txt new file mode 100644 index 0000000000..e763e84676 --- /dev/null +++ b/parser/testdata/03447_storage_join_unsupported_keys/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier segmented_ctr_cache diff --git a/parser/testdata/03447_storage_join_unsupported_keys/explain_11.txt b/parser/testdata/03447_storage_join_unsupported_keys/explain_11.txt new file mode 100644 index 0000000000..e763e84676 --- /dev/null +++ b/parser/testdata/03447_storage_join_unsupported_keys/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier segmented_ctr_cache diff --git a/parser/testdata/03447_storage_join_unsupported_keys/explain_13.txt b/parser/testdata/03447_storage_join_unsupported_keys/explain_13.txt new file mode 100644 index 0000000000..69eed7a4be --- /dev/null +++ b/parser/testdata/03447_storage_join_unsupported_keys/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier bookmarks_join diff --git a/parser/testdata/03447_storage_join_unsupported_keys/explain_14.txt b/parser/testdata/03447_storage_join_unsupported_keys/explain_14.txt new file mode 100644 index 0000000000..69eed7a4be --- /dev/null +++ b/parser/testdata/03447_storage_join_unsupported_keys/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier bookmarks_join diff --git a/parser/testdata/03447_storage_join_unsupported_keys/explain_15.txt b/parser/testdata/03447_storage_join_unsupported_keys/explain_15.txt new file mode 100644 index 0000000000..69eed7a4be --- /dev/null +++ b/parser/testdata/03447_storage_join_unsupported_keys/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier bookmarks_join diff --git a/parser/testdata/03447_storage_join_unsupported_keys/explain_16.txt b/parser/testdata/03447_storage_join_unsupported_keys/explain_16.txt new file mode 100644 index 0000000000..69eed7a4be --- /dev/null +++ b/parser/testdata/03447_storage_join_unsupported_keys/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier bookmarks_join diff --git a/parser/testdata/03447_storage_join_unsupported_keys/explain_18.txt b/parser/testdata/03447_storage_join_unsupported_keys/explain_18.txt new file mode 100644 index 0000000000..1238782faa --- /dev/null +++ b/parser/testdata/03447_storage_join_unsupported_keys/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier cart_join diff --git a/parser/testdata/03447_storage_join_unsupported_keys/explain_19.txt b/parser/testdata/03447_storage_join_unsupported_keys/explain_19.txt new file mode 100644 index 0000000000..1238782faa --- /dev/null +++ b/parser/testdata/03447_storage_join_unsupported_keys/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier cart_join diff --git a/parser/testdata/03447_storage_join_unsupported_keys/explain_20.txt b/parser/testdata/03447_storage_join_unsupported_keys/explain_20.txt new file mode 100644 index 0000000000..1238782faa --- /dev/null +++ b/parser/testdata/03447_storage_join_unsupported_keys/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier cart_join diff --git a/parser/testdata/03447_storage_join_unsupported_keys/explain_21.txt b/parser/testdata/03447_storage_join_unsupported_keys/explain_21.txt new file mode 100644 index 0000000000..1238782faa --- /dev/null +++ b/parser/testdata/03447_storage_join_unsupported_keys/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier cart_join diff --git a/parser/testdata/03447_storage_join_unsupported_keys/explain_6.txt b/parser/testdata/03447_storage_join_unsupported_keys/explain_6.txt new file mode 100644 index 0000000000..e763e84676 --- /dev/null +++ b/parser/testdata/03447_storage_join_unsupported_keys/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier segmented_ctr_cache diff --git a/parser/testdata/03447_storage_join_unsupported_keys/explain_7.txt b/parser/testdata/03447_storage_join_unsupported_keys/explain_7.txt new file mode 100644 index 0000000000..e763e84676 --- /dev/null +++ b/parser/testdata/03447_storage_join_unsupported_keys/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier segmented_ctr_cache diff --git a/parser/testdata/03447_storage_join_unsupported_keys/explain_8.txt b/parser/testdata/03447_storage_join_unsupported_keys/explain_8.txt new file mode 100644 index 0000000000..e763e84676 --- /dev/null +++ b/parser/testdata/03447_storage_join_unsupported_keys/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier segmented_ctr_cache diff --git a/parser/testdata/03447_storage_join_unsupported_keys/explain_9.txt b/parser/testdata/03447_storage_join_unsupported_keys/explain_9.txt new file mode 100644 index 0000000000..e763e84676 --- /dev/null +++ b/parser/testdata/03447_storage_join_unsupported_keys/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier segmented_ctr_cache diff --git a/parser/testdata/03448_analyzer_correlated_subquery_in_projection/explain_8.txt b/parser/testdata/03448_analyzer_correlated_subquery_in_projection/explain_8.txt new file mode 100644 index 0000000000..3c7de56395 --- /dev/null +++ b/parser/testdata/03448_analyzer_correlated_subquery_in_projection/explain_8.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier B + ExpressionList (children 2) + Identifier id + Identifier A_ids diff --git a/parser/testdata/03449_window_cannot_find_column/explain_5.txt b/parser/testdata/03449_window_cannot_find_column/explain_5.txt new file mode 100644 index 0000000000..fcb2d89148 --- /dev/null +++ b/parser/testdata/03449_window_cannot_find_column/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t0 diff --git a/parser/testdata/03453_parameterized_view_array_of_points/explain_3.txt b/parser/testdata/03453_parameterized_view_array_of_points/explain_3.txt new file mode 100644 index 0000000000..9a329f134c --- /dev/null +++ b/parser/testdata/03453_parameterized_view_array_of_points/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier point_test diff --git a/parser/testdata/03456_match_index_prefix_extraction/explain_4.txt b/parser/testdata/03456_match_index_prefix_extraction/explain_4.txt new file mode 100644 index 0000000000..2b33f6d05c --- /dev/null +++ b/parser/testdata/03456_match_index_prefix_extraction/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier foo diff --git a/parser/testdata/03457_bitmapContains_nullable/explain.txt b/parser/testdata/03457_bitmapContains_nullable/explain.txt index 8cdff35dbe..3775710483 100644 --- a/parser/testdata/03457_bitmapContains_nullable/explain.txt +++ b/parser/testdata/03457_bitmapContains_nullable/explain.txt @@ -31,4 +31,3 @@ SelectWithUnionQuery (children 1) Function numbers (children 1) ExpressionList (children 1) Literal UInt64_10 -The query succeeded but the server error '43' was expected (query: EXPLAIN AST WITH (SELECT groupBitmapState(number::Nullable(UInt8)) as n from numbers(1)) as n SELECT number as x, bitmapContains(n, x) FROM numbers(10); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }). diff --git a/parser/testdata/03457_bug79403_marks_compress_block_is_zero/explain.txt b/parser/testdata/03457_bug79403_marks_compress_block_is_zero/explain.txt index 5446b190f0..c83270599a 100644 --- a/parser/testdata/03457_bug79403_marks_compress_block_is_zero/explain.txt +++ b/parser/testdata/03457_bug79403_marks_compress_block_is_zero/explain.txt @@ -10,4 +10,3 @@ CreateQuery t0 (children 3) Function tuple (children 1) ExpressionList Set -The query succeeded but the server error '36' was expected (query: EXPLAIN AST CREATE TABLE t0 (c0 Int) ENGINE = MergeTree() ORDER BY tuple() SETTINGS marks_compress_block_size = 0; -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/03457_merge_engine_subcolumns/explain_25.txt b/parser/testdata/03457_merge_engine_subcolumns/explain_25.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03457_merge_engine_subcolumns/explain_25.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03457_numeric_indexed_vector_build/explain_4.txt b/parser/testdata/03457_numeric_indexed_vector_build/explain_4.txt new file mode 100644 index 0000000000..5dcea18d9f --- /dev/null +++ b/parser/testdata/03457_numeric_indexed_vector_build/explain_4.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier uin_value_details + ExpressionList (children 3) + Identifier ds + Identifier uin + Identifier value diff --git a/parser/testdata/03457_numeric_indexed_vector_build/explain_5.txt b/parser/testdata/03457_numeric_indexed_vector_build/explain_5.txt new file mode 100644 index 0000000000..5dcea18d9f --- /dev/null +++ b/parser/testdata/03457_numeric_indexed_vector_build/explain_5.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier uin_value_details + ExpressionList (children 3) + Identifier ds + Identifier uin + Identifier value diff --git a/parser/testdata/03458_numeric_indexed_vector_operations_bit_promote/explain_4.txt b/parser/testdata/03458_numeric_indexed_vector_operations_bit_promote/explain_4.txt new file mode 100644 index 0000000000..5dcea18d9f --- /dev/null +++ b/parser/testdata/03458_numeric_indexed_vector_operations_bit_promote/explain_4.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier uin_value_details + ExpressionList (children 3) + Identifier ds + Identifier uin + Identifier value diff --git a/parser/testdata/03458_numeric_indexed_vector_operations_bit_promote/explain_5.txt b/parser/testdata/03458_numeric_indexed_vector_operations_bit_promote/explain_5.txt new file mode 100644 index 0000000000..5dcea18d9f --- /dev/null +++ b/parser/testdata/03458_numeric_indexed_vector_operations_bit_promote/explain_5.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier uin_value_details + ExpressionList (children 3) + Identifier ds + Identifier uin + Identifier value diff --git a/parser/testdata/03458_numeric_indexed_vector_operations_i8f64/explain_4.txt b/parser/testdata/03458_numeric_indexed_vector_operations_i8f64/explain_4.txt new file mode 100644 index 0000000000..5dcea18d9f --- /dev/null +++ b/parser/testdata/03458_numeric_indexed_vector_operations_i8f64/explain_4.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier uin_value_details + ExpressionList (children 3) + Identifier ds + Identifier uin + Identifier value diff --git a/parser/testdata/03458_numeric_indexed_vector_operations_i8f64/explain_5.txt b/parser/testdata/03458_numeric_indexed_vector_operations_i8f64/explain_5.txt new file mode 100644 index 0000000000..5dcea18d9f --- /dev/null +++ b/parser/testdata/03458_numeric_indexed_vector_operations_i8f64/explain_5.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier uin_value_details + ExpressionList (children 3) + Identifier ds + Identifier uin + Identifier value diff --git a/parser/testdata/03458_numeric_indexed_vector_operations_u16f64/explain_4.txt b/parser/testdata/03458_numeric_indexed_vector_operations_u16f64/explain_4.txt new file mode 100644 index 0000000000..5dcea18d9f --- /dev/null +++ b/parser/testdata/03458_numeric_indexed_vector_operations_u16f64/explain_4.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier uin_value_details + ExpressionList (children 3) + Identifier ds + Identifier uin + Identifier value diff --git a/parser/testdata/03458_numeric_indexed_vector_operations_u16f64/explain_5.txt b/parser/testdata/03458_numeric_indexed_vector_operations_u16f64/explain_5.txt new file mode 100644 index 0000000000..5dcea18d9f --- /dev/null +++ b/parser/testdata/03458_numeric_indexed_vector_operations_u16f64/explain_5.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier uin_value_details + ExpressionList (children 3) + Identifier ds + Identifier uin + Identifier value diff --git a/parser/testdata/03458_numeric_indexed_vector_operations_u32f32/explain_4.txt b/parser/testdata/03458_numeric_indexed_vector_operations_u32f32/explain_4.txt new file mode 100644 index 0000000000..5dcea18d9f --- /dev/null +++ b/parser/testdata/03458_numeric_indexed_vector_operations_u32f32/explain_4.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier uin_value_details + ExpressionList (children 3) + Identifier ds + Identifier uin + Identifier value diff --git a/parser/testdata/03458_numeric_indexed_vector_operations_u32f32/explain_5.txt b/parser/testdata/03458_numeric_indexed_vector_operations_u32f32/explain_5.txt new file mode 100644 index 0000000000..5dcea18d9f --- /dev/null +++ b/parser/testdata/03458_numeric_indexed_vector_operations_u32f32/explain_5.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier uin_value_details + ExpressionList (children 3) + Identifier ds + Identifier uin + Identifier value diff --git a/parser/testdata/03458_numeric_indexed_vector_operations_u32f64/explain_4.txt b/parser/testdata/03458_numeric_indexed_vector_operations_u32f64/explain_4.txt new file mode 100644 index 0000000000..5dcea18d9f --- /dev/null +++ b/parser/testdata/03458_numeric_indexed_vector_operations_u32f64/explain_4.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier uin_value_details + ExpressionList (children 3) + Identifier ds + Identifier uin + Identifier value diff --git a/parser/testdata/03458_numeric_indexed_vector_operations_u32f64/explain_5.txt b/parser/testdata/03458_numeric_indexed_vector_operations_u32f64/explain_5.txt new file mode 100644 index 0000000000..5dcea18d9f --- /dev/null +++ b/parser/testdata/03458_numeric_indexed_vector_operations_u32f64/explain_5.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier uin_value_details + ExpressionList (children 3) + Identifier ds + Identifier uin + Identifier value diff --git a/parser/testdata/03458_numeric_indexed_vector_operations_u32i16/explain_4.txt b/parser/testdata/03458_numeric_indexed_vector_operations_u32i16/explain_4.txt new file mode 100644 index 0000000000..5dcea18d9f --- /dev/null +++ b/parser/testdata/03458_numeric_indexed_vector_operations_u32i16/explain_4.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier uin_value_details + ExpressionList (children 3) + Identifier ds + Identifier uin + Identifier value diff --git a/parser/testdata/03458_numeric_indexed_vector_operations_u32i16/explain_5.txt b/parser/testdata/03458_numeric_indexed_vector_operations_u32i16/explain_5.txt new file mode 100644 index 0000000000..5dcea18d9f --- /dev/null +++ b/parser/testdata/03458_numeric_indexed_vector_operations_u32i16/explain_5.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier uin_value_details + ExpressionList (children 3) + Identifier ds + Identifier uin + Identifier value diff --git a/parser/testdata/03458_numeric_indexed_vector_operations_u32i32/explain_4.txt b/parser/testdata/03458_numeric_indexed_vector_operations_u32i32/explain_4.txt new file mode 100644 index 0000000000..5dcea18d9f --- /dev/null +++ b/parser/testdata/03458_numeric_indexed_vector_operations_u32i32/explain_4.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier uin_value_details + ExpressionList (children 3) + Identifier ds + Identifier uin + Identifier value diff --git a/parser/testdata/03458_numeric_indexed_vector_operations_u32i32/explain_5.txt b/parser/testdata/03458_numeric_indexed_vector_operations_u32i32/explain_5.txt new file mode 100644 index 0000000000..5dcea18d9f --- /dev/null +++ b/parser/testdata/03458_numeric_indexed_vector_operations_u32i32/explain_5.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier uin_value_details + ExpressionList (children 3) + Identifier ds + Identifier uin + Identifier value diff --git a/parser/testdata/03458_numeric_indexed_vector_operations_u32i64/explain_4.txt b/parser/testdata/03458_numeric_indexed_vector_operations_u32i64/explain_4.txt new file mode 100644 index 0000000000..5dcea18d9f --- /dev/null +++ b/parser/testdata/03458_numeric_indexed_vector_operations_u32i64/explain_4.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier uin_value_details + ExpressionList (children 3) + Identifier ds + Identifier uin + Identifier value diff --git a/parser/testdata/03458_numeric_indexed_vector_operations_u32i64/explain_5.txt b/parser/testdata/03458_numeric_indexed_vector_operations_u32i64/explain_5.txt new file mode 100644 index 0000000000..5dcea18d9f --- /dev/null +++ b/parser/testdata/03458_numeric_indexed_vector_operations_u32i64/explain_5.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier uin_value_details + ExpressionList (children 3) + Identifier ds + Identifier uin + Identifier value diff --git a/parser/testdata/03458_numeric_indexed_vector_operations_u32i8/explain_4.txt b/parser/testdata/03458_numeric_indexed_vector_operations_u32i8/explain_4.txt new file mode 100644 index 0000000000..5dcea18d9f --- /dev/null +++ b/parser/testdata/03458_numeric_indexed_vector_operations_u32i8/explain_4.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier uin_value_details + ExpressionList (children 3) + Identifier ds + Identifier uin + Identifier value diff --git a/parser/testdata/03458_numeric_indexed_vector_operations_u32i8/explain_5.txt b/parser/testdata/03458_numeric_indexed_vector_operations_u32i8/explain_5.txt new file mode 100644 index 0000000000..5dcea18d9f --- /dev/null +++ b/parser/testdata/03458_numeric_indexed_vector_operations_u32i8/explain_5.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier uin_value_details + ExpressionList (children 3) + Identifier ds + Identifier uin + Identifier value diff --git a/parser/testdata/03458_numeric_indexed_vector_operations_u32u16/explain_4.txt b/parser/testdata/03458_numeric_indexed_vector_operations_u32u16/explain_4.txt new file mode 100644 index 0000000000..5dcea18d9f --- /dev/null +++ b/parser/testdata/03458_numeric_indexed_vector_operations_u32u16/explain_4.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier uin_value_details + ExpressionList (children 3) + Identifier ds + Identifier uin + Identifier value diff --git a/parser/testdata/03458_numeric_indexed_vector_operations_u32u16/explain_5.txt b/parser/testdata/03458_numeric_indexed_vector_operations_u32u16/explain_5.txt new file mode 100644 index 0000000000..5dcea18d9f --- /dev/null +++ b/parser/testdata/03458_numeric_indexed_vector_operations_u32u16/explain_5.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier uin_value_details + ExpressionList (children 3) + Identifier ds + Identifier uin + Identifier value diff --git a/parser/testdata/03458_numeric_indexed_vector_operations_u32u32/explain_4.txt b/parser/testdata/03458_numeric_indexed_vector_operations_u32u32/explain_4.txt new file mode 100644 index 0000000000..5dcea18d9f --- /dev/null +++ b/parser/testdata/03458_numeric_indexed_vector_operations_u32u32/explain_4.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier uin_value_details + ExpressionList (children 3) + Identifier ds + Identifier uin + Identifier value diff --git a/parser/testdata/03458_numeric_indexed_vector_operations_u32u32/explain_5.txt b/parser/testdata/03458_numeric_indexed_vector_operations_u32u32/explain_5.txt new file mode 100644 index 0000000000..5dcea18d9f --- /dev/null +++ b/parser/testdata/03458_numeric_indexed_vector_operations_u32u32/explain_5.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier uin_value_details + ExpressionList (children 3) + Identifier ds + Identifier uin + Identifier value diff --git a/parser/testdata/03458_numeric_indexed_vector_operations_u32u64/explain_4.txt b/parser/testdata/03458_numeric_indexed_vector_operations_u32u64/explain_4.txt new file mode 100644 index 0000000000..5dcea18d9f --- /dev/null +++ b/parser/testdata/03458_numeric_indexed_vector_operations_u32u64/explain_4.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier uin_value_details + ExpressionList (children 3) + Identifier ds + Identifier uin + Identifier value diff --git a/parser/testdata/03458_numeric_indexed_vector_operations_u32u64/explain_5.txt b/parser/testdata/03458_numeric_indexed_vector_operations_u32u64/explain_5.txt new file mode 100644 index 0000000000..5dcea18d9f --- /dev/null +++ b/parser/testdata/03458_numeric_indexed_vector_operations_u32u64/explain_5.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier uin_value_details + ExpressionList (children 3) + Identifier ds + Identifier uin + Identifier value diff --git a/parser/testdata/03458_numeric_indexed_vector_operations_u32u8/explain_4.txt b/parser/testdata/03458_numeric_indexed_vector_operations_u32u8/explain_4.txt new file mode 100644 index 0000000000..5dcea18d9f --- /dev/null +++ b/parser/testdata/03458_numeric_indexed_vector_operations_u32u8/explain_4.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier uin_value_details + ExpressionList (children 3) + Identifier ds + Identifier uin + Identifier value diff --git a/parser/testdata/03458_numeric_indexed_vector_operations_u32u8/explain_5.txt b/parser/testdata/03458_numeric_indexed_vector_operations_u32u8/explain_5.txt new file mode 100644 index 0000000000..5dcea18d9f --- /dev/null +++ b/parser/testdata/03458_numeric_indexed_vector_operations_u32u8/explain_5.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier uin_value_details + ExpressionList (children 3) + Identifier ds + Identifier uin + Identifier value diff --git a/parser/testdata/03458_wkb_function/explain_18.txt b/parser/testdata/03458_wkb_function/explain_18.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/03458_wkb_function/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/03458_wkb_function/explain_19.txt b/parser/testdata/03458_wkb_function/explain_19.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/03458_wkb_function/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/03458_wkb_function/explain_20.txt b/parser/testdata/03458_wkb_function/explain_20.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/03458_wkb_function/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/03458_wkb_function/explain_24.txt b/parser/testdata/03458_wkb_function/explain_24.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/03458_wkb_function/explain_24.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/03458_wkb_function/explain_25.txt b/parser/testdata/03458_wkb_function/explain_25.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/03458_wkb_function/explain_25.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/03458_wkb_function/explain_26.txt b/parser/testdata/03458_wkb_function/explain_26.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/03458_wkb_function/explain_26.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/03458_wkb_function/explain_27.txt b/parser/testdata/03458_wkb_function/explain_27.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/03458_wkb_function/explain_27.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/03458_wkb_function/explain_28.txt b/parser/testdata/03458_wkb_function/explain_28.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/03458_wkb_function/explain_28.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/03458_wkb_function/explain_29.txt b/parser/testdata/03458_wkb_function/explain_29.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/03458_wkb_function/explain_29.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/03458_wkb_function/explain_33.txt b/parser/testdata/03458_wkb_function/explain_33.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/03458_wkb_function/explain_33.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/03458_wkb_function/explain_34.txt b/parser/testdata/03458_wkb_function/explain_34.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/03458_wkb_function/explain_34.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/03458_wkb_function/explain_35.txt b/parser/testdata/03458_wkb_function/explain_35.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/03458_wkb_function/explain_35.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/03459-reverse-sorting-key-stable-result/explain_2.txt b/parser/testdata/03459-reverse-sorting-key-stable-result/explain_2.txt new file mode 100644 index 0000000000..8806d3a675 --- /dev/null +++ b/parser/testdata/03459-reverse-sorting-key-stable-result/explain_2.txt @@ -0,0 +1,37 @@ +CreateQuery t (children 4) + Identifier t + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration A (children 1) + DataType Int64 + Storage definition (children 3) + Function modulo (children 1) + ExpressionList (children 2) + Identifier A + Literal UInt64_64 + StorageOrderByElement (children 1) + Identifier A + Set + SelectWithUnionQuery (children 1) + ExpressionList (children 2) + SelectQuery (children 2) + ExpressionList (children 1) + Function intDiv (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_11111 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal Float64_700000 + SelectQuery (children 2) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal Float64_700000 diff --git a/parser/testdata/03459_join_cannot_add_column/explain_5.txt b/parser/testdata/03459_join_cannot_add_column/explain_5.txt new file mode 100644 index 0000000000..0a90f2ee2e --- /dev/null +++ b/parser/testdata/03459_join_cannot_add_column/explain_5.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 2) + Identifier id + Identifier name diff --git a/parser/testdata/03459_join_cannot_add_column/explain_6.txt b/parser/testdata/03459_join_cannot_add_column/explain_6.txt new file mode 100644 index 0000000000..39f9b85b15 --- /dev/null +++ b/parser/testdata/03459_join_cannot_add_column/explain_6.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t2 + ExpressionList (children 2) + Identifier id + Identifier name diff --git a/parser/testdata/03459_numeric_indexed_vector_decode/explain_24.txt b/parser/testdata/03459_numeric_indexed_vector_decode/explain_24.txt new file mode 100644 index 0000000000..3aace48e01 --- /dev/null +++ b/parser/testdata/03459_numeric_indexed_vector_decode/explain_24.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier numeric_indexed_vector + ExpressionList (children 1) + Identifier ds diff --git a/parser/testdata/03460_normal_projection_index/explain_10.txt b/parser/testdata/03460_normal_projection_index/explain_10.txt new file mode 100644 index 0000000000..e79f8f0b9c --- /dev/null +++ b/parser/testdata/03460_normal_projection_index/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_simple_projection diff --git a/parser/testdata/03460_normal_projection_index/explain_25.txt b/parser/testdata/03460_normal_projection_index/explain_25.txt new file mode 100644 index 0000000000..c2074e353b --- /dev/null +++ b/parser/testdata/03460_normal_projection_index/explain_25.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_projection_granule_edge_cases diff --git a/parser/testdata/03460_normal_projection_index/explain_27.txt b/parser/testdata/03460_normal_projection_index/explain_27.txt new file mode 100644 index 0000000000..c2074e353b --- /dev/null +++ b/parser/testdata/03460_normal_projection_index/explain_27.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_projection_granule_edge_cases diff --git a/parser/testdata/03460_normal_projection_index/explain_29.txt b/parser/testdata/03460_normal_projection_index/explain_29.txt new file mode 100644 index 0000000000..c2074e353b --- /dev/null +++ b/parser/testdata/03460_normal_projection_index/explain_29.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_projection_granule_edge_cases diff --git a/parser/testdata/03460_normal_projection_index/explain_41.txt b/parser/testdata/03460_normal_projection_index/explain_41.txt new file mode 100644 index 0000000000..0cb418ab77 --- /dev/null +++ b/parser/testdata/03460_normal_projection_index/explain_41.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_partial_projection diff --git a/parser/testdata/03460_normal_projection_index/explain_43.txt b/parser/testdata/03460_normal_projection_index/explain_43.txt new file mode 100644 index 0000000000..0cb418ab77 --- /dev/null +++ b/parser/testdata/03460_normal_projection_index/explain_43.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_partial_projection diff --git a/parser/testdata/03460_normal_projection_index/explain_6.txt b/parser/testdata/03460_normal_projection_index/explain_6.txt new file mode 100644 index 0000000000..e79f8f0b9c --- /dev/null +++ b/parser/testdata/03460_normal_projection_index/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_simple_projection diff --git a/parser/testdata/03460_normal_projection_index/explain_7.txt b/parser/testdata/03460_normal_projection_index/explain_7.txt new file mode 100644 index 0000000000..e79f8f0b9c --- /dev/null +++ b/parser/testdata/03460_normal_projection_index/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_simple_projection diff --git a/parser/testdata/03460_normal_projection_index/explain_8.txt b/parser/testdata/03460_normal_projection_index/explain_8.txt new file mode 100644 index 0000000000..e79f8f0b9c --- /dev/null +++ b/parser/testdata/03460_normal_projection_index/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_simple_projection diff --git a/parser/testdata/03460_normal_projection_index/explain_9.txt b/parser/testdata/03460_normal_projection_index/explain_9.txt new file mode 100644 index 0000000000..e79f8f0b9c --- /dev/null +++ b/parser/testdata/03460_normal_projection_index/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_simple_projection diff --git a/parser/testdata/03460_normal_projection_index_bug_race_conditions/explain_7.txt b/parser/testdata/03460_normal_projection_index_bug_race_conditions/explain_7.txt new file mode 100644 index 0000000000..6dd36dbce3 --- /dev/null +++ b/parser/testdata/03460_normal_projection_index_bug_race_conditions/explain_7.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tab + Function equals (children 1) + ExpressionList (children 2) + Identifier text + Literal \'1000\' + Set diff --git a/parser/testdata/03460_numeric_indexed_vector_to_value_map/explain_10.txt b/parser/testdata/03460_numeric_indexed_vector_to_value_map/explain_10.txt new file mode 100644 index 0000000000..750079ace9 --- /dev/null +++ b/parser/testdata/03460_numeric_indexed_vector_to_value_map/explain_10.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier uin_value_details_int32_int64 + ExpressionList (children 3) + Identifier ds + Identifier uin + Identifier value diff --git a/parser/testdata/03460_numeric_indexed_vector_to_value_map/explain_14.txt b/parser/testdata/03460_numeric_indexed_vector_to_value_map/explain_14.txt new file mode 100644 index 0000000000..859d02ddf3 --- /dev/null +++ b/parser/testdata/03460_numeric_indexed_vector_to_value_map/explain_14.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier uin_value_details_int32_float64 + ExpressionList (children 3) + Identifier ds + Identifier uin + Identifier value diff --git a/parser/testdata/03460_numeric_indexed_vector_to_value_map/explain_15.txt b/parser/testdata/03460_numeric_indexed_vector_to_value_map/explain_15.txt new file mode 100644 index 0000000000..859d02ddf3 --- /dev/null +++ b/parser/testdata/03460_numeric_indexed_vector_to_value_map/explain_15.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier uin_value_details_int32_float64 + ExpressionList (children 3) + Identifier ds + Identifier uin + Identifier value diff --git a/parser/testdata/03460_numeric_indexed_vector_to_value_map/explain_4.txt b/parser/testdata/03460_numeric_indexed_vector_to_value_map/explain_4.txt new file mode 100644 index 0000000000..091abe14d2 --- /dev/null +++ b/parser/testdata/03460_numeric_indexed_vector_to_value_map/explain_4.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier uin_value_details_int32_int8 + ExpressionList (children 3) + Identifier ds + Identifier uin + Identifier value diff --git a/parser/testdata/03460_numeric_indexed_vector_to_value_map/explain_5.txt b/parser/testdata/03460_numeric_indexed_vector_to_value_map/explain_5.txt new file mode 100644 index 0000000000..091abe14d2 --- /dev/null +++ b/parser/testdata/03460_numeric_indexed_vector_to_value_map/explain_5.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier uin_value_details_int32_int8 + ExpressionList (children 3) + Identifier ds + Identifier uin + Identifier value diff --git a/parser/testdata/03460_numeric_indexed_vector_to_value_map/explain_9.txt b/parser/testdata/03460_numeric_indexed_vector_to_value_map/explain_9.txt new file mode 100644 index 0000000000..750079ace9 --- /dev/null +++ b/parser/testdata/03460_numeric_indexed_vector_to_value_map/explain_9.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier uin_value_details_int32_int64 + ExpressionList (children 3) + Identifier ds + Identifier uin + Identifier value diff --git a/parser/testdata/03460_projection_part_filtering_and_introspection/explain_3.txt b/parser/testdata/03460_projection_part_filtering_and_introspection/explain_3.txt new file mode 100644 index 0000000000..e79f8f0b9c --- /dev/null +++ b/parser/testdata/03460_projection_part_filtering_and_introspection/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_simple_projection diff --git a/parser/testdata/03460_projection_part_filtering_and_introspection/explain_4.txt b/parser/testdata/03460_projection_part_filtering_and_introspection/explain_4.txt new file mode 100644 index 0000000000..e79f8f0b9c --- /dev/null +++ b/parser/testdata/03460_projection_part_filtering_and_introspection/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_simple_projection diff --git a/parser/testdata/03460_projection_part_filtering_and_introspection/explain_5.txt b/parser/testdata/03460_projection_part_filtering_and_introspection/explain_5.txt new file mode 100644 index 0000000000..e79f8f0b9c --- /dev/null +++ b/parser/testdata/03460_projection_part_filtering_and_introspection/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_simple_projection diff --git a/parser/testdata/03460_projection_part_filtering_and_introspection/explain_6.txt b/parser/testdata/03460_projection_part_filtering_and_introspection/explain_6.txt new file mode 100644 index 0000000000..e79f8f0b9c --- /dev/null +++ b/parser/testdata/03460_projection_part_filtering_and_introspection/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_simple_projection diff --git a/parser/testdata/03460_projection_part_filtering_and_introspection/explain_7.txt b/parser/testdata/03460_projection_part_filtering_and_introspection/explain_7.txt new file mode 100644 index 0000000000..e79f8f0b9c --- /dev/null +++ b/parser/testdata/03460_projection_part_filtering_and_introspection/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_simple_projection diff --git a/parser/testdata/03460_query_condition_cache_with_projections/explain_11.txt b/parser/testdata/03460_query_condition_cache_with_projections/explain_11.txt new file mode 100644 index 0000000000..5eb790134d --- /dev/null +++ b/parser/testdata/03460_query_condition_cache_with_projections/explain_11.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 1) + Identifier j + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t + Function and (children 1) + ExpressionList (children 2) + Function greater (children 1) + ExpressionList (children 2) + Identifier j + Literal UInt64_3 + Function equals (children 1) + ExpressionList (children 2) + Identifier i + Literal UInt64_20 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier j + Set diff --git a/parser/testdata/03460_query_condition_cache_with_projections/explain_8.txt b/parser/testdata/03460_query_condition_cache_with_projections/explain_8.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03460_query_condition_cache_with_projections/explain_8.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03460_query_condition_cache_with_projections/explain_9.txt b/parser/testdata/03460_query_condition_cache_with_projections/explain_9.txt new file mode 100644 index 0000000000..5eb790134d --- /dev/null +++ b/parser/testdata/03460_query_condition_cache_with_projections/explain_9.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 1) + Identifier j + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t + Function and (children 1) + ExpressionList (children 2) + Function greater (children 1) + ExpressionList (children 2) + Identifier j + Literal UInt64_3 + Function equals (children 1) + ExpressionList (children 2) + Identifier i + Literal UInt64_20 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier j + Set diff --git a/parser/testdata/03461_numeric_indexed_vector_chain/explain.txt b/parser/testdata/03461_numeric_indexed_vector_chain/explain.txt new file mode 100644 index 0000000000..928093ebf0 --- /dev/null +++ b/parser/testdata/03461_numeric_indexed_vector_chain/explain.txt @@ -0,0 +1,30 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function numericIndexedVectorBuild (alias vec1) (children 1) + ExpressionList (children 1) + Function mapFromArrays (children 1) + ExpressionList (children 2) + Literal Array_[UInt64_1, UInt64_2, UInt64_3] + Function arrayMap (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function toFloat64 (children 1) + ExpressionList (children 1) + Identifier x + Literal Array_[UInt64_10, UInt64_20, UInt64_30] + ExpressionList (children 1) + Function numericIndexedVectorToMap (children 1) + ExpressionList (children 1) + Function numericIndexedVectorPointwiseAdd (children 1) + ExpressionList (children 2) + Function numericIndexedVectorPointwiseSubtract (children 1) + ExpressionList (children 2) + Identifier vec1 + Literal UInt64_10 + Literal UInt64_3 diff --git a/parser/testdata/03462_numeric_indexed_vector_serialization/explain_3.txt b/parser/testdata/03462_numeric_indexed_vector_serialization/explain_3.txt new file mode 100644 index 0000000000..859d02ddf3 --- /dev/null +++ b/parser/testdata/03462_numeric_indexed_vector_serialization/explain_3.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier uin_value_details_int32_float64 + ExpressionList (children 3) + Identifier ds + Identifier uin + Identifier value diff --git a/parser/testdata/03462_numeric_indexed_vector_serialization/explain_4.txt b/parser/testdata/03462_numeric_indexed_vector_serialization/explain_4.txt new file mode 100644 index 0000000000..859d02ddf3 --- /dev/null +++ b/parser/testdata/03462_numeric_indexed_vector_serialization/explain_4.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier uin_value_details_int32_float64 + ExpressionList (children 3) + Identifier ds + Identifier uin + Identifier value diff --git a/parser/testdata/03463_numeric_indexed_vector_overflow/explain_17.txt b/parser/testdata/03463_numeric_indexed_vector_overflow/explain_17.txt new file mode 100644 index 0000000000..5ebccd7145 --- /dev/null +++ b/parser/testdata/03463_numeric_indexed_vector_overflow/explain_17.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier uin_value_details + ExpressionList (children 2) + Identifier uin + Identifier value diff --git a/parser/testdata/03463_numeric_indexed_vector_overflow/explain_3.txt b/parser/testdata/03463_numeric_indexed_vector_overflow/explain_3.txt new file mode 100644 index 0000000000..5ebccd7145 --- /dev/null +++ b/parser/testdata/03463_numeric_indexed_vector_overflow/explain_3.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier uin_value_details + ExpressionList (children 2) + Identifier uin + Identifier value diff --git a/parser/testdata/03464_projections_with_subcolumns/explain_10.txt b/parser/testdata/03464_projections_with_subcolumns/explain_10.txt new file mode 100644 index 0000000000..f775750a05 --- /dev/null +++ b/parser/testdata/03464_projections_with_subcolumns/explain_10.txt @@ -0,0 +1,16 @@ +Explain EXPLAIN (children 2) + Set + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Identifier t + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test + Function equals (children 1) + ExpressionList (children 2) + Identifier t.a + Literal UInt64_1 + Set diff --git a/parser/testdata/03464_projections_with_subcolumns/explain_13.txt b/parser/testdata/03464_projections_with_subcolumns/explain_13.txt new file mode 100644 index 0000000000..7eaeb158e7 --- /dev/null +++ b/parser/testdata/03464_projections_with_subcolumns/explain_13.txt @@ -0,0 +1,16 @@ +Explain EXPLAIN (children 2) + Set + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Identifier json + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test + Function equals (children 1) + ExpressionList (children 2) + Identifier json.c.:`Array(JSON)`.d.:`Int64` + Literal Array_[UInt64_1] + Set diff --git a/parser/testdata/03464_projections_with_subcolumns/explain_18.txt b/parser/testdata/03464_projections_with_subcolumns/explain_18.txt new file mode 100644 index 0000000000..9bd5d23546 --- /dev/null +++ b/parser/testdata/03464_projections_with_subcolumns/explain_18.txt @@ -0,0 +1,16 @@ +Explain EXPLAIN (children 2) + Set + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Identifier json + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test + Function equals (children 1) + ExpressionList (children 2) + Identifier json.a + Literal UInt64_1 + Set diff --git a/parser/testdata/03464_projections_with_subcolumns/explain_21.txt b/parser/testdata/03464_projections_with_subcolumns/explain_21.txt new file mode 100644 index 0000000000..f775750a05 --- /dev/null +++ b/parser/testdata/03464_projections_with_subcolumns/explain_21.txt @@ -0,0 +1,16 @@ +Explain EXPLAIN (children 2) + Set + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Identifier t + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test + Function equals (children 1) + ExpressionList (children 2) + Identifier t.a + Literal UInt64_1 + Set diff --git a/parser/testdata/03464_projections_with_subcolumns/explain_24.txt b/parser/testdata/03464_projections_with_subcolumns/explain_24.txt new file mode 100644 index 0000000000..7eaeb158e7 --- /dev/null +++ b/parser/testdata/03464_projections_with_subcolumns/explain_24.txt @@ -0,0 +1,16 @@ +Explain EXPLAIN (children 2) + Set + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Identifier json + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test + Function equals (children 1) + ExpressionList (children 2) + Identifier json.c.:`Array(JSON)`.d.:`Int64` + Literal Array_[UInt64_1] + Set diff --git a/parser/testdata/03464_projections_with_subcolumns/explain_46.txt b/parser/testdata/03464_projections_with_subcolumns/explain_46.txt new file mode 100644 index 0000000000..9bd5d23546 --- /dev/null +++ b/parser/testdata/03464_projections_with_subcolumns/explain_46.txt @@ -0,0 +1,16 @@ +Explain EXPLAIN (children 2) + Set + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Identifier json + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test + Function equals (children 1) + ExpressionList (children 2) + Identifier json.a + Literal UInt64_1 + Set diff --git a/parser/testdata/03464_projections_with_subcolumns/explain_49.txt b/parser/testdata/03464_projections_with_subcolumns/explain_49.txt new file mode 100644 index 0000000000..f775750a05 --- /dev/null +++ b/parser/testdata/03464_projections_with_subcolumns/explain_49.txt @@ -0,0 +1,16 @@ +Explain EXPLAIN (children 2) + Set + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Identifier t + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test + Function equals (children 1) + ExpressionList (children 2) + Identifier t.a + Literal UInt64_1 + Set diff --git a/parser/testdata/03464_projections_with_subcolumns/explain_52.txt b/parser/testdata/03464_projections_with_subcolumns/explain_52.txt new file mode 100644 index 0000000000..7eaeb158e7 --- /dev/null +++ b/parser/testdata/03464_projections_with_subcolumns/explain_52.txt @@ -0,0 +1,16 @@ +Explain EXPLAIN (children 2) + Set + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Identifier json + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test + Function equals (children 1) + ExpressionList (children 2) + Identifier json.c.:`Array(JSON)`.d.:`Int64` + Literal Array_[UInt64_1] + Set diff --git a/parser/testdata/03464_projections_with_subcolumns/explain_7.txt b/parser/testdata/03464_projections_with_subcolumns/explain_7.txt new file mode 100644 index 0000000000..9bd5d23546 --- /dev/null +++ b/parser/testdata/03464_projections_with_subcolumns/explain_7.txt @@ -0,0 +1,16 @@ +Explain EXPLAIN (children 2) + Set + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Identifier json + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test + Function equals (children 1) + ExpressionList (children 2) + Identifier json.a + Literal UInt64_1 + Set diff --git a/parser/testdata/03509_stripe_log_compatible_types/explain_3.txt b/parser/testdata/03509_stripe_log_compatible_types/explain_3.txt new file mode 100644 index 0000000000..e4a901d74e --- /dev/null +++ b/parser/testdata/03509_stripe_log_compatible_types/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_tz diff --git a/parser/testdata/03511_formatDateTime_e_space_padding/explain_2.txt b/parser/testdata/03511_formatDateTime_e_space_padding/explain_2.txt new file mode 100644 index 0000000000..73bdd817fd --- /dev/null +++ b/parser/testdata/03511_formatDateTime_e_space_padding/explain_2.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function formatDateTime (alias _date) (children 1) + ExpressionList (children 2) + Function toDate (children 1) + ExpressionList (children 1) + Literal \'2024-05-07\' + Literal \'%e/%m/%Y\' + Function length (children 1) + ExpressionList (children 1) + Identifier _date + Set diff --git a/parser/testdata/03511_formatDateTime_e_space_padding/explain_3.txt b/parser/testdata/03511_formatDateTime_e_space_padding/explain_3.txt new file mode 100644 index 0000000000..73bdd817fd --- /dev/null +++ b/parser/testdata/03511_formatDateTime_e_space_padding/explain_3.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function formatDateTime (alias _date) (children 1) + ExpressionList (children 2) + Function toDate (children 1) + ExpressionList (children 1) + Literal \'2024-05-07\' + Literal \'%e/%m/%Y\' + Function length (children 1) + ExpressionList (children 1) + Identifier _date + Set diff --git a/parser/testdata/03512_bech32_functions/explain_17.txt b/parser/testdata/03512_bech32_functions/explain_17.txt new file mode 100644 index 0000000000..960a12d49a --- /dev/null +++ b/parser/testdata/03512_bech32_functions/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier hex_data diff --git a/parser/testdata/03512_bech32_functions/explain_39.txt b/parser/testdata/03512_bech32_functions/explain_39.txt new file mode 100644 index 0000000000..95ad067854 --- /dev/null +++ b/parser/testdata/03512_bech32_functions/explain_39.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier addresses diff --git a/parser/testdata/03512_join_using_parent_scope_matcher/explain_4.txt b/parser/testdata/03512_join_using_parent_scope_matcher/explain_4.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/03512_join_using_parent_scope_matcher/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/03512_join_using_parent_scope_matcher/explain_6.txt b/parser/testdata/03512_join_using_parent_scope_matcher/explain_6.txt new file mode 100644 index 0000000000..df4a687bc0 --- /dev/null +++ b/parser/testdata/03512_join_using_parent_scope_matcher/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2 diff --git a/parser/testdata/03512_naive_bayes_classifier_general/explain.txt b/parser/testdata/03512_naive_bayes_classifier_general/explain.txt new file mode 100644 index 0000000000..8535e2152f --- /dev/null +++ b/parser/testdata/03512_naive_bayes_classifier_general/explain.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Identifier number + Function naiveBayesClassifier (children 1) + ExpressionList (children 2) + Literal \'lang_byte_2\' + Literal \'She painted the wall a bright yellow\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier number diff --git a/parser/testdata/03512_naive_bayes_classifier_general/explain_4.txt b/parser/testdata/03512_naive_bayes_classifier_general/explain_4.txt new file mode 100644 index 0000000000..336bec4f23 --- /dev/null +++ b/parser/testdata/03512_naive_bayes_classifier_general/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier model_names diff --git a/parser/testdata/03512_naive_bayes_classifier_general/explain_7.txt b/parser/testdata/03512_naive_bayes_classifier_general/explain_7.txt new file mode 100644 index 0000000000..4d6147bed7 --- /dev/null +++ b/parser/testdata/03512_naive_bayes_classifier_general/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier input_texts diff --git a/parser/testdata/03512_settings_max_block_size/explain_3.txt b/parser/testdata/03512_settings_max_block_size/explain_3.txt deleted file mode 100644 index 98b79bd3dd..0000000000 --- a/parser/testdata/03512_settings_max_block_size/explain_3.txt +++ /dev/null @@ -1,6 +0,0 @@ -InsertQuery (children 4) - Literal \'/dev/null\' - Identifier tab - ExpressionList (children 1) - Identifier column - Set diff --git a/parser/testdata/03512_settings_max_block_size/explain_4.txt b/parser/testdata/03512_settings_max_block_size/explain_4.txt deleted file mode 100644 index d131a2824c..0000000000 --- a/parser/testdata/03512_settings_max_block_size/explain_4.txt +++ /dev/null @@ -1,25 +0,0 @@ -SelectWithUnionQuery (children 1) - ExpressionList (children 1) - SelectQuery (children 3) - ExpressionList (children 1) - Function count (children 1) - ExpressionList - TablesInSelectQuery (children 3) - TablesInSelectQueryElement (children 1) - TableExpression (children 1) - Function numbers (alias a) (children 1) - ExpressionList (children 1) - Literal UInt64_10 - TablesInSelectQueryElement (children 2) - TableExpression (children 1) - Function numbers (alias b) (children 1) - ExpressionList (children 1) - Literal UInt64_11 - TableJoin - TablesInSelectQueryElement (children 2) - TableExpression (children 1) - Function numbers (alias c) (children 1) - ExpressionList (children 1) - Literal UInt64_12 - TableJoin - Set diff --git a/parser/testdata/03513_nullsafe_join_storage/explain_3.txt b/parser/testdata/03513_nullsafe_join_storage/explain_3.txt new file mode 100644 index 0000000000..fcb2d89148 --- /dev/null +++ b/parser/testdata/03513_nullsafe_join_storage/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t0 diff --git a/parser/testdata/03513_read_in_order_nullable/explain_14.txt b/parser/testdata/03513_read_in_order_nullable/explain_14.txt new file mode 100644 index 0000000000..da29c697f3 --- /dev/null +++ b/parser/testdata/03513_read_in_order_nullable/explain_14.txt @@ -0,0 +1,14 @@ +CreateQuery t1 (children 3) + Identifier t1 + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration c0 (children 1) + DataType Nullable (children 1) + ExpressionList (children 1) + DataType Int64 + Storage definition (children 3) + Function MergeTree (children 1) + ExpressionList + StorageOrderByElement (children 1) + Identifier c0 + Set diff --git a/parser/testdata/03513_read_in_order_nullable/explain_15.txt b/parser/testdata/03513_read_in_order_nullable/explain_15.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/03513_read_in_order_nullable/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/03513_read_in_order_nullable/explain_16.txt b/parser/testdata/03513_read_in_order_nullable/explain_16.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/03513_read_in_order_nullable/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/03513_read_in_order_nullable/explain_26.txt b/parser/testdata/03513_read_in_order_nullable/explain_26.txt new file mode 100644 index 0000000000..9b56f09e10 --- /dev/null +++ b/parser/testdata/03513_read_in_order_nullable/explain_26.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier f0 diff --git a/parser/testdata/03513_read_in_order_nullable/explain_27.txt b/parser/testdata/03513_read_in_order_nullable/explain_27.txt new file mode 100644 index 0000000000..9b56f09e10 --- /dev/null +++ b/parser/testdata/03513_read_in_order_nullable/explain_27.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier f0 diff --git a/parser/testdata/03513_read_in_order_nullable/explain_36.txt b/parser/testdata/03513_read_in_order_nullable/explain_36.txt new file mode 100644 index 0000000000..d96c426c1d --- /dev/null +++ b/parser/testdata/03513_read_in_order_nullable/explain_36.txt @@ -0,0 +1,12 @@ +CreateQuery f1 (children 3) + Identifier f1 + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration c0 (children 1) + DataType Float64 + Storage definition (children 3) + Function MergeTree (children 1) + ExpressionList + StorageOrderByElement (children 1) + Identifier c0 + Set diff --git a/parser/testdata/03513_read_in_order_nullable/explain_37.txt b/parser/testdata/03513_read_in_order_nullable/explain_37.txt new file mode 100644 index 0000000000..23e8428817 --- /dev/null +++ b/parser/testdata/03513_read_in_order_nullable/explain_37.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier f1 diff --git a/parser/testdata/03513_read_in_order_nullable/explain_38.txt b/parser/testdata/03513_read_in_order_nullable/explain_38.txt new file mode 100644 index 0000000000..23e8428817 --- /dev/null +++ b/parser/testdata/03513_read_in_order_nullable/explain_38.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier f1 diff --git a/parser/testdata/03513_read_in_order_nullable/explain_4.txt b/parser/testdata/03513_read_in_order_nullable/explain_4.txt new file mode 100644 index 0000000000..fcb2d89148 --- /dev/null +++ b/parser/testdata/03513_read_in_order_nullable/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t0 diff --git a/parser/testdata/03513_read_in_order_nullable/explain_49.txt b/parser/testdata/03513_read_in_order_nullable/explain_49.txt new file mode 100644 index 0000000000..fa7ca6ea22 --- /dev/null +++ b/parser/testdata/03513_read_in_order_nullable/explain_49.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier lct0 diff --git a/parser/testdata/03513_read_in_order_nullable/explain_5.txt b/parser/testdata/03513_read_in_order_nullable/explain_5.txt new file mode 100644 index 0000000000..fcb2d89148 --- /dev/null +++ b/parser/testdata/03513_read_in_order_nullable/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t0 diff --git a/parser/testdata/03513_read_in_order_nullable/explain_50.txt b/parser/testdata/03513_read_in_order_nullable/explain_50.txt new file mode 100644 index 0000000000..fa7ca6ea22 --- /dev/null +++ b/parser/testdata/03513_read_in_order_nullable/explain_50.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier lct0 diff --git a/parser/testdata/03513_resize_pipeline_after_totals/explain.txt b/parser/testdata/03513_resize_pipeline_after_totals/explain.txt new file mode 100644 index 0000000000..75c4479f98 --- /dev/null +++ b/parser/testdata/03513_resize_pipeline_after_totals/explain.txt @@ -0,0 +1,17 @@ +Explain EXPLAIN PIPELINE (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function cityHash64 (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers_mt (children 1) + ExpressionList (children 1) + Literal UInt64_100 + ExpressionList (children 1) + Identifier number + Set diff --git a/parser/testdata/03516_comparison_pk_bug/explain_3.txt b/parser/testdata/03516_comparison_pk_bug/explain_3.txt new file mode 100644 index 0000000000..a032fb3bba --- /dev/null +++ b/parser/testdata/03516_comparison_pk_bug/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03516_int_exp2_join/explain_10.txt b/parser/testdata/03516_int_exp2_join/explain_10.txt new file mode 100644 index 0000000000..86f107e55b --- /dev/null +++ b/parser/testdata/03516_int_exp2_join/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t5 diff --git a/parser/testdata/03516_int_exp2_join/explain_11.txt b/parser/testdata/03516_int_exp2_join/explain_11.txt new file mode 100644 index 0000000000..86f107e55b --- /dev/null +++ b/parser/testdata/03516_int_exp2_join/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t5 diff --git a/parser/testdata/03516_int_exp2_join/explain_12.txt b/parser/testdata/03516_int_exp2_join/explain_12.txt new file mode 100644 index 0000000000..86f107e55b --- /dev/null +++ b/parser/testdata/03516_int_exp2_join/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t5 diff --git a/parser/testdata/03516_int_exp2_join/explain_13.txt b/parser/testdata/03516_int_exp2_join/explain_13.txt new file mode 100644 index 0000000000..86f107e55b --- /dev/null +++ b/parser/testdata/03516_int_exp2_join/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t5 diff --git a/parser/testdata/03516_int_exp2_join/explain_14.txt b/parser/testdata/03516_int_exp2_join/explain_14.txt new file mode 100644 index 0000000000..86f107e55b --- /dev/null +++ b/parser/testdata/03516_int_exp2_join/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t5 diff --git a/parser/testdata/03516_int_exp2_join/explain_15.txt b/parser/testdata/03516_int_exp2_join/explain_15.txt new file mode 100644 index 0000000000..86f107e55b --- /dev/null +++ b/parser/testdata/03516_int_exp2_join/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t5 diff --git a/parser/testdata/03516_int_exp2_join/explain_16.txt b/parser/testdata/03516_int_exp2_join/explain_16.txt new file mode 100644 index 0000000000..86f107e55b --- /dev/null +++ b/parser/testdata/03516_int_exp2_join/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t5 diff --git a/parser/testdata/03516_int_exp2_join/explain_17.txt b/parser/testdata/03516_int_exp2_join/explain_17.txt new file mode 100644 index 0000000000..86f107e55b --- /dev/null +++ b/parser/testdata/03516_int_exp2_join/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t5 diff --git a/parser/testdata/03516_int_exp2_join/explain_18.txt b/parser/testdata/03516_int_exp2_join/explain_18.txt new file mode 100644 index 0000000000..86f107e55b --- /dev/null +++ b/parser/testdata/03516_int_exp2_join/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t5 diff --git a/parser/testdata/03516_int_exp2_join/explain_19.txt b/parser/testdata/03516_int_exp2_join/explain_19.txt new file mode 100644 index 0000000000..86f107e55b --- /dev/null +++ b/parser/testdata/03516_int_exp2_join/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t5 diff --git a/parser/testdata/03516_int_exp2_join/explain_20.txt b/parser/testdata/03516_int_exp2_join/explain_20.txt new file mode 100644 index 0000000000..86f107e55b --- /dev/null +++ b/parser/testdata/03516_int_exp2_join/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t5 diff --git a/parser/testdata/03516_int_exp2_join/explain_21.txt b/parser/testdata/03516_int_exp2_join/explain_21.txt new file mode 100644 index 0000000000..86f107e55b --- /dev/null +++ b/parser/testdata/03516_int_exp2_join/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t5 diff --git a/parser/testdata/03516_int_exp2_join/explain_22.txt b/parser/testdata/03516_int_exp2_join/explain_22.txt new file mode 100644 index 0000000000..86f107e55b --- /dev/null +++ b/parser/testdata/03516_int_exp2_join/explain_22.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t5 diff --git a/parser/testdata/03516_int_exp2_join/explain_23.txt b/parser/testdata/03516_int_exp2_join/explain_23.txt new file mode 100644 index 0000000000..86f107e55b --- /dev/null +++ b/parser/testdata/03516_int_exp2_join/explain_23.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t5 diff --git a/parser/testdata/03516_int_exp2_join/explain_24.txt b/parser/testdata/03516_int_exp2_join/explain_24.txt new file mode 100644 index 0000000000..86f107e55b --- /dev/null +++ b/parser/testdata/03516_int_exp2_join/explain_24.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t5 diff --git a/parser/testdata/03516_int_exp2_join/explain_25.txt b/parser/testdata/03516_int_exp2_join/explain_25.txt new file mode 100644 index 0000000000..86f107e55b --- /dev/null +++ b/parser/testdata/03516_int_exp2_join/explain_25.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t5 diff --git a/parser/testdata/03516_int_exp2_join/explain_7.txt b/parser/testdata/03516_int_exp2_join/explain_7.txt new file mode 100644 index 0000000000..fcb2d89148 --- /dev/null +++ b/parser/testdata/03516_int_exp2_join/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t0 diff --git a/parser/testdata/03516_int_exp2_join/explain_8.txt b/parser/testdata/03516_int_exp2_join/explain_8.txt new file mode 100644 index 0000000000..fcb2d89148 --- /dev/null +++ b/parser/testdata/03516_int_exp2_join/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t0 diff --git a/parser/testdata/03516_int_exp2_join/explain_9.txt b/parser/testdata/03516_int_exp2_join/explain_9.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/03516_int_exp2_join/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/03517_logical_join_predicate_push_down_with_pre_expression_bug/explain_5.txt b/parser/testdata/03517_logical_join_predicate_push_down_with_pre_expression_bug/explain_5.txt new file mode 100644 index 0000000000..5d9709441d --- /dev/null +++ b/parser/testdata/03517_logical_join_predicate_push_down_with_pre_expression_bug/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier td diff --git a/parser/testdata/03517_logical_join_predicate_push_down_with_pre_expression_bug/explain_6.txt b/parser/testdata/03517_logical_join_predicate_push_down_with_pre_expression_bug/explain_6.txt new file mode 100644 index 0000000000..d049318db0 --- /dev/null +++ b/parser/testdata/03517_logical_join_predicate_push_down_with_pre_expression_bug/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tdt diff --git a/parser/testdata/03517_s3_plain_rewritable_encrypted_empty_path/explain_3.txt b/parser/testdata/03517_s3_plain_rewritable_encrypted_empty_path/explain_3.txt new file mode 100644 index 0000000000..fcb2d89148 --- /dev/null +++ b/parser/testdata/03517_s3_plain_rewritable_encrypted_empty_path/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t0 diff --git a/parser/testdata/03518_bad_sql_udf/explain.txt b/parser/testdata/03518_bad_sql_udf/explain.txt index 3de91c1796..f516abcccb 100644 --- a/parser/testdata/03518_bad_sql_udf/explain.txt +++ b/parser/testdata/03518_bad_sql_udf/explain.txt @@ -6,4 +6,3 @@ CreateFunctionQuery 03518_bad_sql_udf (children 2) ExpressionList (children 1) Identifier x Identifier x -The query succeeded but the server error '36' was expected (query: EXPLAIN AST CREATE OR REPLACE FUNCTION 03518_bad_sql_udf AS lambda(identity(x), x); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/03518_table_function_remote_no_replicas/explain.txt b/parser/testdata/03518_table_function_remote_no_replicas/explain.txt index 103123f3e3..719b66bb8b 100644 --- a/parser/testdata/03518_table_function_remote_no_replicas/explain.txt +++ b/parser/testdata/03518_table_function_remote_no_replicas/explain.txt @@ -9,4 +9,3 @@ SelectWithUnionQuery (children 1) Function remote (children 1) ExpressionList (children 1) Literal \'|\' -The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT * FROM remote('|'); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/03519_analyzer_tuple_cast/explain_10.txt b/parser/testdata/03519_analyzer_tuple_cast/explain_10.txt new file mode 100644 index 0000000000..37b584e2c2 --- /dev/null +++ b/parser/testdata/03519_analyzer_tuple_cast/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier src diff --git a/parser/testdata/03519_analyzer_tuple_cast/explain_6.txt b/parser/testdata/03519_analyzer_tuple_cast/explain_6.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03519_analyzer_tuple_cast/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03519_cte_allow_push_predicate_ast_for_distributed_subqueries_bug/explain_3.txt b/parser/testdata/03519_cte_allow_push_predicate_ast_for_distributed_subqueries_bug/explain_3.txt new file mode 100644 index 0000000000..60dccf8be7 --- /dev/null +++ b/parser/testdata/03519_cte_allow_push_predicate_ast_for_distributed_subqueries_bug/explain_3.txt @@ -0,0 +1,42 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 1) + WithElement (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1 + ExpressionList (children 1) + Identifier x + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier number (alias x) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.0.0.{1,2}\' + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_2 + Function globalIn (children 1) + ExpressionList (children 2) + Identifier x + Identifier sub + Set diff --git a/parser/testdata/03519_fulter_push_down_duplicate_column_name_bug/explain.txt b/parser/testdata/03519_fulter_push_down_duplicate_column_name_bug/explain.txt new file mode 100644 index 0000000000..857f67e84f --- /dev/null +++ b/parser/testdata/03519_fulter_push_down_duplicate_column_name_bug/explain.txt @@ -0,0 +1,32 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 2) + Identifier number + Function countIf (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Function greater (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_0 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + ExpressionList (children 1) + Identifier number + Function and (children 1) + ExpressionList (children 2) + Function lessOrEquals (children 1) + ExpressionList (children 2) + Function count (children 1) + ExpressionList + Literal UInt64_10 + Literal UInt64_1 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier number + Set diff --git a/parser/testdata/03519_left_to_cross_incorrect/explain_6.txt b/parser/testdata/03519_left_to_cross_incorrect/explain_6.txt new file mode 100644 index 0000000000..a032fb3bba --- /dev/null +++ b/parser/testdata/03519_left_to_cross_incorrect/explain_6.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03519_merge_tree_part_info_coverage/explain_3.txt b/parser/testdata/03519_merge_tree_part_info_coverage/explain_3.txt new file mode 100644 index 0000000000..31c8e6f23c --- /dev/null +++ b/parser/testdata/03519_merge_tree_part_info_coverage/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mt diff --git a/parser/testdata/03519_merge_tree_part_info_coverage/explain_4.txt b/parser/testdata/03519_merge_tree_part_info_coverage/explain_4.txt index 9f0005dffd..f55d1aa182 100644 --- a/parser/testdata/03519_merge_tree_part_info_coverage/explain_4.txt +++ b/parser/testdata/03519_merge_tree_part_info_coverage/explain_4.txt @@ -58,11 +58,11 @@ SelectWithUnionQuery (children 1) Function mergeTreePartInfo (children 1) ExpressionList (children 1) Identifier part_name - Identifier partition_id + Literal \'partition_id\' OrderByElement (children 1) Function tupleElement (children 1) ExpressionList (children 2) Function mergeTreePartInfo (children 1) ExpressionList (children 1) Identifier part_name - Identifier min_block + Literal \'min_block\' diff --git a/parser/testdata/03519_merge_tree_part_info_unpack/explain_10.txt b/parser/testdata/03519_merge_tree_part_info_unpack/explain_10.txt index df4770d38e..ae80b7b2eb 100644 --- a/parser/testdata/03519_merge_tree_part_info_unpack/explain_10.txt +++ b/parser/testdata/03519_merge_tree_part_info_unpack/explain_10.txt @@ -18,4 +18,4 @@ SelectWithUnionQuery (children 1) Function mergeTreePartInfo (children 1) ExpressionList (children 1) Identifier _part - Identifier max_block + Literal \'max_block\' diff --git a/parser/testdata/03519_merge_tree_part_info_unpack/explain_9.txt b/parser/testdata/03519_merge_tree_part_info_unpack/explain_9.txt index 4ebfc4461d..0c4df4b74d 100644 --- a/parser/testdata/03519_merge_tree_part_info_unpack/explain_9.txt +++ b/parser/testdata/03519_merge_tree_part_info_unpack/explain_9.txt @@ -14,4 +14,4 @@ SelectWithUnionQuery (children 1) Function mergeTreePartInfo (children 1) ExpressionList (children 1) Identifier _part - Identifier max_block + Literal \'max_block\' diff --git a/parser/testdata/03519_multiple_join_using/explain_5.txt b/parser/testdata/03519_multiple_join_using/explain_5.txt new file mode 100644 index 0000000000..b82f6e05ed --- /dev/null +++ b/parser/testdata/03519_multiple_join_using/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table0 diff --git a/parser/testdata/03519_multiple_join_using/explain_6.txt b/parser/testdata/03519_multiple_join_using/explain_6.txt new file mode 100644 index 0000000000..05c1b71925 --- /dev/null +++ b/parser/testdata/03519_multiple_join_using/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table1 diff --git a/parser/testdata/03519_multiple_join_using/explain_7.txt b/parser/testdata/03519_multiple_join_using/explain_7.txt new file mode 100644 index 0000000000..c00312da5a --- /dev/null +++ b/parser/testdata/03519_multiple_join_using/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table2 diff --git a/parser/testdata/03519_ttl_extended_data_types/explain_11.txt b/parser/testdata/03519_ttl_extended_data_types/explain_11.txt new file mode 100644 index 0000000000..91d08c690f --- /dev/null +++ b/parser/testdata/03519_ttl_extended_data_types/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl_03519_2 diff --git a/parser/testdata/03519_ttl_extended_data_types/explain_12.txt b/parser/testdata/03519_ttl_extended_data_types/explain_12.txt new file mode 100644 index 0000000000..91d08c690f --- /dev/null +++ b/parser/testdata/03519_ttl_extended_data_types/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl_03519_2 diff --git a/parser/testdata/03519_ttl_extended_data_types/explain_13.txt b/parser/testdata/03519_ttl_extended_data_types/explain_13.txt new file mode 100644 index 0000000000..91d08c690f --- /dev/null +++ b/parser/testdata/03519_ttl_extended_data_types/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl_03519_2 diff --git a/parser/testdata/03519_ttl_extended_data_types/explain_19.txt b/parser/testdata/03519_ttl_extended_data_types/explain_19.txt new file mode 100644 index 0000000000..b14bce7b6e --- /dev/null +++ b/parser/testdata/03519_ttl_extended_data_types/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl_03519_3 diff --git a/parser/testdata/03519_ttl_extended_data_types/explain_20.txt b/parser/testdata/03519_ttl_extended_data_types/explain_20.txt new file mode 100644 index 0000000000..b14bce7b6e --- /dev/null +++ b/parser/testdata/03519_ttl_extended_data_types/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl_03519_3 diff --git a/parser/testdata/03519_ttl_extended_data_types/explain_21.txt b/parser/testdata/03519_ttl_extended_data_types/explain_21.txt new file mode 100644 index 0000000000..b14bce7b6e --- /dev/null +++ b/parser/testdata/03519_ttl_extended_data_types/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl_03519_3 diff --git a/parser/testdata/03519_ttl_extended_data_types/explain_27.txt b/parser/testdata/03519_ttl_extended_data_types/explain_27.txt new file mode 100644 index 0000000000..e431c74d3e --- /dev/null +++ b/parser/testdata/03519_ttl_extended_data_types/explain_27.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl_03519_4 diff --git a/parser/testdata/03519_ttl_extended_data_types/explain_28.txt b/parser/testdata/03519_ttl_extended_data_types/explain_28.txt new file mode 100644 index 0000000000..e431c74d3e --- /dev/null +++ b/parser/testdata/03519_ttl_extended_data_types/explain_28.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl_03519_4 diff --git a/parser/testdata/03519_ttl_extended_data_types/explain_29.txt b/parser/testdata/03519_ttl_extended_data_types/explain_29.txt new file mode 100644 index 0000000000..e431c74d3e --- /dev/null +++ b/parser/testdata/03519_ttl_extended_data_types/explain_29.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl_03519_4 diff --git a/parser/testdata/03519_ttl_extended_data_types/explain_3.txt b/parser/testdata/03519_ttl_extended_data_types/explain_3.txt new file mode 100644 index 0000000000..4da6b4e8b0 --- /dev/null +++ b/parser/testdata/03519_ttl_extended_data_types/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl_03519_1 diff --git a/parser/testdata/03519_ttl_extended_data_types/explain_4.txt b/parser/testdata/03519_ttl_extended_data_types/explain_4.txt new file mode 100644 index 0000000000..4da6b4e8b0 --- /dev/null +++ b/parser/testdata/03519_ttl_extended_data_types/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl_03519_1 diff --git a/parser/testdata/03519_ttl_extended_data_types/explain_5.txt b/parser/testdata/03519_ttl_extended_data_types/explain_5.txt new file mode 100644 index 0000000000..4da6b4e8b0 --- /dev/null +++ b/parser/testdata/03519_ttl_extended_data_types/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl_03519_1 diff --git a/parser/testdata/03519_zero_filesystem_prefetch_max_memory_usage/explain.txt b/parser/testdata/03519_zero_filesystem_prefetch_max_memory_usage/explain.txt index ad1cb68452..cb1142253f 100644 --- a/parser/testdata/03519_zero_filesystem_prefetch_max_memory_usage/explain.txt +++ b/parser/testdata/03519_zero_filesystem_prefetch_max_memory_usage/explain.txt @@ -1,2 +1 @@ Set -The query succeeded but the server error '36' was expected (query: EXPLAIN AST SET filesystem_prefetch_max_memory_usage = 0; -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/03521_long_partition_column_name/explain_3.txt b/parser/testdata/03521_long_partition_column_name/explain_3.txt new file mode 100644 index 0000000000..cb57b2348f --- /dev/null +++ b/parser/testdata/03521_long_partition_column_name/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_long_partition_column_name diff --git a/parser/testdata/03521_long_statistics_name/explain_3.txt b/parser/testdata/03521_long_statistics_name/explain_3.txt new file mode 100644 index 0000000000..f9f44221ae --- /dev/null +++ b/parser/testdata/03521_long_statistics_name/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_long_statistics_name diff --git a/parser/testdata/03522_analyzer_check_correlated_columns/explain_4.txt b/parser/testdata/03522_analyzer_check_correlated_columns/explain_4.txt new file mode 100644 index 0000000000..907b889f90 --- /dev/null +++ b/parser/testdata/03522_analyzer_check_correlated_columns/explain_4.txt @@ -0,0 +1,37 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Subquery (alias a0) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function min (children 1) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Identifier t0.c0 + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Identifier a0 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias t0) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 (alias c0) + Set diff --git a/parser/testdata/03522_function_first_non_default/explain_37.txt b/parser/testdata/03522_function_first_non_default/explain_37.txt new file mode 100644 index 0000000000..002f2d5de1 --- /dev/null +++ b/parser/testdata/03522_function_first_non_default/explain_37.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_first_truthy diff --git a/parser/testdata/03522_join_using_bug_78907/explain_5.txt b/parser/testdata/03522_join_using_bug_78907/explain_5.txt new file mode 100644 index 0000000000..82d5881fa3 --- /dev/null +++ b/parser/testdata/03522_join_using_bug_78907/explain_5.txt @@ -0,0 +1,58 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 3) + Function tuple (children 1) + ExpressionList (children 14) + Asterisk + Literal UInt64_8 + Literal UInt64_8 + Literal UInt64_8 + Function toFixedString (children 1) + ExpressionList (children 2) + Literal \'FirstKey\' + Literal UInt64_8 + Literal UInt64_8 + Literal UInt64_8 + Function isNull (children 1) + ExpressionList (children 1) + Function isNotNull (children 1) + ExpressionList (children 1) + Function toNullable (children 1) + ExpressionList (children 1) + Literal UInt64_8 + Literal UInt64_8 + Function toNullable (children 1) + ExpressionList (children 1) + Function toNullable (children 1) + ExpressionList (children 1) + Function toNullable (children 1) + ExpressionList (children 1) + Literal UInt64_8 + Literal UInt64_8 + Literal UInt64_8 + Literal \'FirstKey\' + Function isNotNull (children 1) + ExpressionList (children 1) + Function isNotNull (children 1) + ExpressionList (children 1) + Literal UInt64_8 + Asterisk + Function plus (alias a) (children 1) + ExpressionList (children 2) + Identifier b + Literal UInt64_1 + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tb__fuzz_0 + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier tabc__fuzz_21 + TableJoin (children 1) + ExpressionList (children 1) + Identifier a + ExpressionList (children 1) + OrderByElement (children 1) + Identifier ALL + Set diff --git a/parser/testdata/03522_nullable_partition_key/explain_2.txt b/parser/testdata/03522_nullable_partition_key/explain_2.txt new file mode 100644 index 0000000000..19ff191931 --- /dev/null +++ b/parser/testdata/03522_nullable_partition_key/explain_2.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03522_nullable_partition_key/explain_6.txt b/parser/testdata/03522_nullable_partition_key/explain_6.txt new file mode 100644 index 0000000000..cfe6460c8c --- /dev/null +++ b/parser/testdata/03522_nullable_partition_key/explain_6.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier taggr + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03522_nullable_partition_key/explain_7.txt b/parser/testdata/03522_nullable_partition_key/explain_7.txt new file mode 100644 index 0000000000..cfe6460c8c --- /dev/null +++ b/parser/testdata/03522_nullable_partition_key/explain_7.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier taggr + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03524_nullable_extremes/explain_11.txt b/parser/testdata/03524_nullable_extremes/explain_11.txt new file mode 100644 index 0000000000..86ea312271 --- /dev/null +++ b/parser/testdata/03524_nullable_extremes/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier single_float diff --git a/parser/testdata/03524_nullable_extremes/explain_15.txt b/parser/testdata/03524_nullable_extremes/explain_15.txt new file mode 100644 index 0000000000..60224f0162 --- /dev/null +++ b/parser/testdata/03524_nullable_extremes/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier multi_float diff --git a/parser/testdata/03524_nullable_extremes/explain_3.txt b/parser/testdata/03524_nullable_extremes/explain_3.txt new file mode 100644 index 0000000000..2f1272ccc3 --- /dev/null +++ b/parser/testdata/03524_nullable_extremes/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier single_int diff --git a/parser/testdata/03524_nullable_extremes/explain_7.txt b/parser/testdata/03524_nullable_extremes/explain_7.txt new file mode 100644 index 0000000000..cf6fd8edd2 --- /dev/null +++ b/parser/testdata/03524_nullable_extremes/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier multi_int diff --git a/parser/testdata/03524_sign_argument/explain_10.txt b/parser/testdata/03524_sign_argument/explain_10.txt new file mode 100644 index 0000000000..8a210485df --- /dev/null +++ b/parser/testdata/03524_sign_argument/explain_10.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier t2 + ExpressionList (children 3) + Identifier c2 + Identifier c0 + Identifier c1 diff --git a/parser/testdata/03524_sign_argument/explain_11.txt b/parser/testdata/03524_sign_argument/explain_11.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/03524_sign_argument/explain_11.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03524_sign_argument/explain_12.txt b/parser/testdata/03524_sign_argument/explain_12.txt new file mode 100644 index 0000000000..86e4208b03 --- /dev/null +++ b/parser/testdata/03524_sign_argument/explain_12.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 1) + Identifier c1 diff --git a/parser/testdata/03524_sign_argument/explain_13.txt b/parser/testdata/03524_sign_argument/explain_13.txt new file mode 100644 index 0000000000..5887195758 --- /dev/null +++ b/parser/testdata/03524_sign_argument/explain_13.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t3 + ExpressionList (children 2) + Identifier c0 + Identifier c2 diff --git a/parser/testdata/03524_sign_argument/explain_8.txt b/parser/testdata/03524_sign_argument/explain_8.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/03524_sign_argument/explain_8.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03524_sign_argument/explain_9.txt b/parser/testdata/03524_sign_argument/explain_9.txt new file mode 100644 index 0000000000..0c957b11c2 --- /dev/null +++ b/parser/testdata/03524_sign_argument/explain_9.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t2 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03525_timezoneof_illegal_type/explain.txt b/parser/testdata/03525_timezoneof_illegal_type/explain.txt index 05c595d256..723e9e3306 100644 --- a/parser/testdata/03525_timezoneof_illegal_type/explain.txt +++ b/parser/testdata/03525_timezoneof_illegal_type/explain.txt @@ -5,4 +5,3 @@ SelectWithUnionQuery (children 1) Function timeZoneOf (children 1) ExpressionList (children 1) Literal UInt64_1 -The query succeeded but the server error '43' was expected (query: EXPLAIN AST SELECT timeZoneOf(1) -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }). diff --git a/parser/testdata/03528_s3_insert_partition_by_whitespaces/explain.txt b/parser/testdata/03528_s3_insert_partition_by_whitespaces/explain.txt new file mode 100644 index 0000000000..d8ae7ad895 --- /dev/null +++ b/parser/testdata/03528_s3_insert_partition_by_whitespaces/explain.txt @@ -0,0 +1,27 @@ +InsertQuery (children 3) + Function s3 (children 1) + ExpressionList (children 3) + Identifier s3_conn + Function equals (children 1) + ExpressionList (children 2) + Identifier filename + Function concat (children 1) + ExpressionList (children 2) + Function currentDatabase (children 1) + ExpressionList + Literal \'/{_partition_id}/test.parquet\' + Function equals (children 1) + ExpressionList (children 2) + Identifier format + Identifier Parquet + Literal UInt64_1 + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_10 diff --git a/parser/testdata/03529_quantile_deterministic_ubsan/explain.txt b/parser/testdata/03529_quantile_deterministic_ubsan/explain.txt index a4c8d1e2cf..4fca5c12a4 100644 --- a/parser/testdata/03529_quantile_deterministic_ubsan/explain.txt +++ b/parser/testdata/03529_quantile_deterministic_ubsan/explain.txt @@ -12,4 +12,3 @@ SelectWithUnionQuery (children 1) Function numbers (children 1) ExpressionList (children 1) Literal UInt64_8193 -The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT quantileDeterministicState(number, 0) FROM numbers(8193); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/03532_create_user_query_on_wrong_parametric_grantees/explain.txt b/parser/testdata/03532_create_user_query_on_wrong_parametric_grantees/explain.txt deleted file mode 100644 index 8b13789179..0000000000 --- a/parser/testdata/03532_create_user_query_on_wrong_parametric_grantees/explain.txt +++ /dev/null @@ -1 +0,0 @@ - diff --git a/parser/testdata/03532_dynamic_column_inside_map_rollback/explain.txt b/parser/testdata/03532_dynamic_column_inside_map_rollback/explain.txt new file mode 100644 index 0000000000..b4053cec55 --- /dev/null +++ b/parser/testdata/03532_dynamic_column_inside_map_rollback/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier c0 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function format (children 1) + ExpressionList (children 3) + Identifier CSV + Literal \'c0 Map(Dynamic, String)\' + Literal \' "{}" "{[\\\'a\\\', \\\'b\\\'] : \\\'a\\\', \\\'\\\'a\\\' : 1}" \' + Set diff --git a/parser/testdata/03532_dynamic_flattened_serialization_bug/explain_5.txt b/parser/testdata/03532_dynamic_flattened_serialization_bug/explain_5.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/03532_dynamic_flattened_serialization_bug/explain_5.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03532_dynamic_flattened_serialization_bug/explain_6.txt b/parser/testdata/03532_dynamic_flattened_serialization_bug/explain_6.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/03532_dynamic_flattened_serialization_bug/explain_6.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03532_dynamic_flattened_serialization_bug/explain_7.txt b/parser/testdata/03532_dynamic_flattened_serialization_bug/explain_7.txt new file mode 100644 index 0000000000..7d05e6285e --- /dev/null +++ b/parser/testdata/03532_dynamic_flattened_serialization_bug/explain_7.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier c0 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t0 + Set diff --git a/parser/testdata/03532_redis_empty_variant_key/explain.txt b/parser/testdata/03532_redis_empty_variant_key/explain.txt index f403d2a63d..4d209af37e 100644 --- a/parser/testdata/03532_redis_empty_variant_key/explain.txt +++ b/parser/testdata/03532_redis_empty_variant_key/explain.txt @@ -14,4 +14,3 @@ CreateQuery t0 (children 3) Literal \':\' Literal UInt64_0 Literal \'\' -The query succeeded but the server error '36' was expected (query: EXPLAIN AST CREATE TABLE t0 (c0 Variant() PRIMARY KEY) ENGINE = Redis(':', 0, ''); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/03532_use_database_syntax/explain_10.txt b/parser/testdata/03532_use_database_syntax/explain_10.txt new file mode 100644 index 0000000000..9b922852e5 --- /dev/null +++ b/parser/testdata/03532_use_database_syntax/explain_10.txt @@ -0,0 +1,2 @@ +UseQuery database (children 1) + Identifier database diff --git a/parser/testdata/03532_use_database_syntax/explain_5.txt b/parser/testdata/03532_use_database_syntax/explain_5.txt new file mode 100644 index 0000000000..3c860356bc --- /dev/null +++ b/parser/testdata/03532_use_database_syntax/explain_5.txt @@ -0,0 +1,2 @@ +UseQuery d1 (children 1) + Identifier d1 diff --git a/parser/testdata/03533_named_tuple_supertype/explain_3.txt b/parser/testdata/03533_named_tuple_supertype/explain_3.txt new file mode 100644 index 0000000000..17a3e9e00d --- /dev/null +++ b/parser/testdata/03533_named_tuple_supertype/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier named_tuples_03533_1 diff --git a/parser/testdata/03533_named_tuple_supertype/explain_6.txt b/parser/testdata/03533_named_tuple_supertype/explain_6.txt new file mode 100644 index 0000000000..269c0c1832 --- /dev/null +++ b/parser/testdata/03533_named_tuple_supertype/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier named_tuples_03533_2 diff --git a/parser/testdata/03533_skip_index_on_data_reading/explain_15.txt b/parser/testdata/03533_skip_index_on_data_reading/explain_15.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03533_skip_index_on_data_reading/explain_15.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03533_skip_index_on_data_reading/explain_23.txt b/parser/testdata/03533_skip_index_on_data_reading/explain_23.txt new file mode 100644 index 0000000000..b94327e946 --- /dev/null +++ b/parser/testdata/03533_skip_index_on_data_reading/explain_23.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_partial_index diff --git a/parser/testdata/03533_skip_index_on_data_reading/explain_25.txt b/parser/testdata/03533_skip_index_on_data_reading/explain_25.txt new file mode 100644 index 0000000000..b94327e946 --- /dev/null +++ b/parser/testdata/03533_skip_index_on_data_reading/explain_25.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_partial_index diff --git a/parser/testdata/03533_skip_index_on_data_reading/explain_27.txt b/parser/testdata/03533_skip_index_on_data_reading/explain_27.txt new file mode 100644 index 0000000000..b94327e946 --- /dev/null +++ b/parser/testdata/03533_skip_index_on_data_reading/explain_27.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_partial_index diff --git a/parser/testdata/03533_skip_index_on_data_reading/explain_32.txt b/parser/testdata/03533_skip_index_on_data_reading/explain_32.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03533_skip_index_on_data_reading/explain_32.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03533_skip_index_on_data_reading/explain_7.txt b/parser/testdata/03533_skip_index_on_data_reading/explain_7.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03533_skip_index_on_data_reading/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03533_skip_index_on_data_reading/explain_8.txt b/parser/testdata/03533_skip_index_on_data_reading/explain_8.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03533_skip_index_on_data_reading/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03533_skip_index_on_data_reading/explain_9.txt b/parser/testdata/03533_skip_index_on_data_reading/explain_9.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03533_skip_index_on_data_reading/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03533_xirr/explain_24.txt b/parser/testdata/03533_xirr/explain_24.txt new file mode 100644 index 0000000000..22546ab151 --- /dev/null +++ b/parser/testdata/03533_xirr/explain_24.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 3533_xirr_test diff --git a/parser/testdata/03534_npy_output_to_url/explain_3.txt b/parser/testdata/03534_npy_output_to_url/explain_3.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/03534_npy_output_to_url/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03535_system_formats/explain.txt b/parser/testdata/03535_system_formats/explain.txt index f63595a38b..5f75f06a70 100644 --- a/parser/testdata/03535_system_formats/explain.txt +++ b/parser/testdata/03535_system_formats/explain.txt @@ -8,113 +8,9 @@ SelectWithUnionQuery (children 2) TableExpression (children 1) TableIdentifier system.formats Function in (children 1) - ExpressionList (children 106) + ExpressionList (children 2) Identifier name - Literal \'Arrow\' - Literal \'ArrowStream\' - Literal \'Avro\' - Literal \'AvroConfluent\' - Literal \'BSONEachRow\' - Literal \'Buffers\' - Literal \'CSV\' - Literal \'CSVWithNames\' - Literal \'CSVWithNamesAndTypes\' - Literal \'CapnProto\' - Literal \'CustomSeparated\' - Literal \'CustomSeparatedIgnoreSpaces\' - Literal \'CustomSeparatedIgnoreSpacesWithNames\' - Literal \'CustomSeparatedIgnoreSpacesWithNamesAndTypes\' - Literal \'CustomSeparatedWithNames\' - Literal \'CustomSeparatedWithNamesAndTypes\' - Literal \'Form\' - Literal \'HiveText\' - Literal \'JSON\' - Literal \'JSONAsObject\' - Literal \'JSONAsString\' - Literal \'JSONColumns\' - Literal \'JSONColumnsWithMetadata\' - Literal \'JSONCompact\' - Literal \'JSONCompactColumns\' - Literal \'JSONCompactEachRow\' - Literal \'JSONCompactEachRowWithNames\' - Literal \'JSONCompactEachRowWithNamesAndTypes\' - Literal \'JSONCompactEachRowWithProgress\' - Literal \'JSONCompactStrings\' - Literal \'JSONCompactStringsEachRow\' - Literal \'JSONCompactStringsEachRowWithNames\' - Literal \'JSONCompactStringsEachRowWithNamesAndTypes\' - Literal \'JSONCompactStringsEachRowWithProgress\' - Literal \'JSONEachRow\' - Literal \'JSONEachRowWithProgress\' - Literal \'JSONLines\' - Literal \'JSONObjectEachRow\' - Literal \'JSONStrings\' - Literal \'JSONStringsEachRow\' - Literal \'JSONStringsEachRowWithProgress\' - Literal \'LineAsString\' - Literal \'LineAsStringWithNames\' - Literal \'LineAsStringWithNamesAndTypes\' - Literal \'Markdown\' - Literal \'MsgPack\' - Literal \'MySQLDump\' - Literal \'MySQLWire\' - Literal \'NDJSON\' - Literal \'Native\' - Literal \'Npy\' - Literal \'Null\' - Literal \'ODBCDriver2\' - Literal \'ORC\' - Literal \'One\' - Literal \'Parquet\' - Literal \'ParquetMetadata\' - Literal \'PostgreSQLWire\' - Literal \'Pretty\' - Literal \'PrettyCompact\' - Literal \'PrettyCompactMonoBlock\' - Literal \'PrettyCompactNoEscapes\' - Literal \'PrettyCompactNoEscapesMonoBlock\' - Literal \'PrettyJSONEachRow\' - Literal \'PrettyJSONLines\' - Literal \'PrettyMonoBlock\' - Literal \'PrettyNDJSON\' - Literal \'PrettyNoEscapes\' - Literal \'PrettyNoEscapesMonoBlock\' - Literal \'PrettySpace\' - Literal \'PrettySpaceMonoBlock\' - Literal \'PrettySpaceNoEscapes\' - Literal \'PrettySpaceNoEscapesMonoBlock\' - Literal \'Prometheus\' - Literal \'Protobuf\' - Literal \'ProtobufList\' - Literal \'ProtobufSingle\' - Literal \'Raw\' - Literal \'RawBLOB\' - Literal \'RawWithNames\' - Literal \'RawWithNamesAndTypes\' - Literal \'Regexp\' - Literal \'RowBinary\' - Literal \'RowBinaryWithDefaults\' - Literal \'RowBinaryWithNames\' - Literal \'RowBinaryWithNamesAndTypes\' - Literal \'SQLInsert\' - Literal \'TSKV\' - Literal \'TSV\' - Literal \'TSVRaw\' - Literal \'TSVRawWithNames\' - Literal \'TSVRawWithNamesAndTypes\' - Literal \'TSVWithNames\' - Literal \'TSVWithNamesAndTypes\' - Literal \'TabSeparated\' - Literal \'TabSeparatedRaw\' - Literal \'TabSeparatedRawWithNames\' - Literal \'TabSeparatedRawWithNamesAndTypes\' - Literal \'TabSeparatedWithNames\' - Literal \'TabSeparatedWithNamesAndTypes\' - Literal \'Template\' - Literal \'TemplateIgnoreSpaces\' - Literal \'Values\' - Literal \'Vertical\' - Literal \'XML\' + Literal Tuple_(\'Arrow\', \'ArrowStream\', \'Avro\', \'AvroConfluent\', \'BSONEachRow\', \'Buffers\', \'CSV\', \'CSVWithNames\', \'CSVWithNamesAndTypes\', \'CapnProto\', \'CustomSeparated\', \'CustomSeparatedIgnoreSpaces\', \'CustomSeparatedIgnoreSpacesWithNames\', \'CustomSeparatedIgnoreSpacesWithNamesAndTypes\', \'CustomSeparatedWithNames\', \'CustomSeparatedWithNamesAndTypes\', \'Form\', \'HiveText\', \'JSON\', \'JSONAsObject\', \'JSONAsString\', \'JSONColumns\', \'JSONColumnsWithMetadata\', \'JSONCompact\', \'JSONCompactColumns\', \'JSONCompactEachRow\', \'JSONCompactEachRowWithNames\', \'JSONCompactEachRowWithNamesAndTypes\', \'JSONCompactEachRowWithProgress\', \'JSONCompactStrings\', \'JSONCompactStringsEachRow\', \'JSONCompactStringsEachRowWithNames\', \'JSONCompactStringsEachRowWithNamesAndTypes\', \'JSONCompactStringsEachRowWithProgress\', \'JSONEachRow\', \'JSONEachRowWithProgress\', \'JSONLines\', \'JSONObjectEachRow\', \'JSONStrings\', \'JSONStringsEachRow\', \'JSONStringsEachRowWithProgress\', \'LineAsString\', \'LineAsStringWithNames\', \'LineAsStringWithNamesAndTypes\', \'Markdown\', \'MsgPack\', \'MySQLDump\', \'MySQLWire\', \'NDJSON\', \'Native\', \'Npy\', \'Null\', \'ODBCDriver2\', \'ORC\', \'One\', \'Parquet\', \'ParquetMetadata\', \'PostgreSQLWire\', \'Pretty\', \'PrettyCompact\', \'PrettyCompactMonoBlock\', \'PrettyCompactNoEscapes\', \'PrettyCompactNoEscapesMonoBlock\', \'PrettyJSONEachRow\', \'PrettyJSONLines\', \'PrettyMonoBlock\', \'PrettyNDJSON\', \'PrettyNoEscapes\', \'PrettyNoEscapesMonoBlock\', \'PrettySpace\', \'PrettySpaceMonoBlock\', \'PrettySpaceNoEscapes\', \'PrettySpaceNoEscapesMonoBlock\', \'Prometheus\', \'Protobuf\', \'ProtobufList\', \'ProtobufSingle\', \'Raw\', \'RawBLOB\', \'RawWithNames\', \'RawWithNamesAndTypes\', \'Regexp\', \'RowBinary\', \'RowBinaryWithDefaults\', \'RowBinaryWithNames\', \'RowBinaryWithNamesAndTypes\', \'SQLInsert\', \'TSKV\', \'TSV\', \'TSVRaw\', \'TSVRawWithNames\', \'TSVRawWithNamesAndTypes\', \'TSVWithNames\', \'TSVWithNamesAndTypes\', \'TabSeparated\', \'TabSeparatedRaw\', \'TabSeparatedRawWithNames\', \'TabSeparatedRawWithNamesAndTypes\', \'TabSeparatedWithNames\', \'TabSeparatedWithNamesAndTypes\', \'Template\', \'TemplateIgnoreSpaces\', \'Values\', \'Vertical\', \'XML\') ExpressionList (children 1) OrderByElement (children 1) Identifier name diff --git a/parser/testdata/03538_analyzer_correlated_query_collect_columns_fix/explain_4.txt b/parser/testdata/03538_analyzer_correlated_query_collect_columns_fix/explain_4.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03538_analyzer_correlated_query_collect_columns_fix/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03538_analyzer_correlated_query_collect_columns_fix/explain_5.txt b/parser/testdata/03538_analyzer_correlated_query_collect_columns_fix/explain_5.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03538_analyzer_correlated_query_collect_columns_fix/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03538_analyzer_correlated_query_collect_columns_fix/explain_6.txt b/parser/testdata/03538_analyzer_correlated_query_collect_columns_fix/explain_6.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03538_analyzer_correlated_query_collect_columns_fix/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03538_analyzer_correlated_query_collect_columns_fix/explain_7.txt b/parser/testdata/03538_analyzer_correlated_query_collect_columns_fix/explain_7.txt new file mode 100644 index 0000000000..24f722b769 --- /dev/null +++ b/parser/testdata/03538_analyzer_correlated_query_collect_columns_fix/explain_7.txt @@ -0,0 +1,30 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 2) + Identifier name + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_50 + Function equals (children 1) + ExpressionList (children 2) + Identifier number + Identifier age + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier users + ExpressionList (children 1) + OrderByElement (children 1) + Identifier name + Set diff --git a/parser/testdata/03538_analyzer_scalar_correlated_subquery_fix/explain_4.txt b/parser/testdata/03538_analyzer_scalar_correlated_subquery_fix/explain_4.txt new file mode 100644 index 0000000000..38e9c53909 --- /dev/null +++ b/parser/testdata/03538_analyzer_scalar_correlated_subquery_fix/explain_4.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier partsupp + ExpressionList (children 3) + Identifier ps_partkey + Identifier ps_suppkey + Identifier ps_availqty diff --git a/parser/testdata/03538_analyzer_scalar_correlated_subquery_fix/explain_6.txt b/parser/testdata/03538_analyzer_scalar_correlated_subquery_fix/explain_6.txt new file mode 100644 index 0000000000..6eb8b67aac --- /dev/null +++ b/parser/testdata/03538_analyzer_scalar_correlated_subquery_fix/explain_6.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier lineitem + ExpressionList (children 3) + Identifier l_partkey + Identifier l_suppkey + Identifier l_quantity diff --git a/parser/testdata/03538_array_except/explain_32.txt b/parser/testdata/03538_array_except/explain_32.txt new file mode 100644 index 0000000000..d3a01e929a --- /dev/null +++ b/parser/testdata/03538_array_except/explain_32.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 3538_array_except1 diff --git a/parser/testdata/03538_array_except/explain_38.txt b/parser/testdata/03538_array_except/explain_38.txt new file mode 100644 index 0000000000..031f2cb59e --- /dev/null +++ b/parser/testdata/03538_array_except/explain_38.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 3538_array_except2 diff --git a/parser/testdata/03538_array_except/explain_44.txt b/parser/testdata/03538_array_except/explain_44.txt new file mode 100644 index 0000000000..121607c3c9 --- /dev/null +++ b/parser/testdata/03538_array_except/explain_44.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 3538_array_except3 diff --git a/parser/testdata/03538_array_except/explain_50.txt b/parser/testdata/03538_array_except/explain_50.txt new file mode 100644 index 0000000000..2ffd8f5f85 --- /dev/null +++ b/parser/testdata/03538_array_except/explain_50.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 3538_array_except4 diff --git a/parser/testdata/03538_array_except/explain_56.txt b/parser/testdata/03538_array_except/explain_56.txt new file mode 100644 index 0000000000..f1b656830d --- /dev/null +++ b/parser/testdata/03538_array_except/explain_56.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 3538_array_except5 diff --git a/parser/testdata/03538_array_except/explain_62.txt b/parser/testdata/03538_array_except/explain_62.txt new file mode 100644 index 0000000000..49dee03ae6 --- /dev/null +++ b/parser/testdata/03538_array_except/explain_62.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 3538_array_except6 diff --git a/parser/testdata/03538_crash_in_parallel_hash_with_empty_using/explain_2.txt b/parser/testdata/03538_crash_in_parallel_hash_with_empty_using/explain_2.txt index 4a6213fcd7..2265871171 100644 --- a/parser/testdata/03538_crash_in_parallel_hash_with_empty_using/explain_2.txt +++ b/parser/testdata/03538_crash_in_parallel_hash_with_empty_using/explain_2.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 2) Identifier n Identifier myfield @@ -30,6 +30,5 @@ SelectWithUnionQuery (children 3) Literal UInt64_1 (alias myfield) TableJoin (children 1) ExpressionList - Set Identifier Null Set diff --git a/parser/testdata/03538_crash_in_parallel_hash_with_empty_using/explain_3.txt b/parser/testdata/03538_crash_in_parallel_hash_with_empty_using/explain_3.txt index 4a6213fcd7..2265871171 100644 --- a/parser/testdata/03538_crash_in_parallel_hash_with_empty_using/explain_3.txt +++ b/parser/testdata/03538_crash_in_parallel_hash_with_empty_using/explain_3.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 2) Identifier n Identifier myfield @@ -30,6 +30,5 @@ SelectWithUnionQuery (children 3) Literal UInt64_1 (alias myfield) TableJoin (children 1) ExpressionList - Set Identifier Null Set diff --git a/parser/testdata/03541_rename_column_start/explain.txt b/parser/testdata/03541_rename_column_start/explain.txt index 1aff7454bc..2a0be979eb 100644 --- a/parser/testdata/03541_rename_column_start/explain.txt +++ b/parser/testdata/03541_rename_column_start/explain.txt @@ -1,4 +1,4 @@ -CreateQuery rmt (children 2) +CreateQuery rmt (children 3) Identifier rmt Columns definition (children 1) ExpressionList (children 2) @@ -6,3 +6,9 @@ CreateQuery rmt (children 2) DataType UInt64 ColumnDeclaration b (children 1) DataType UInt64 + Storage definition (children 2) + Function ReplicatedMergeTree (children 1) + ExpressionList (children 2) + Literal \'/clickhouse/tables/{database}/rmt\' + Literal \'1\' + Identifier a diff --git a/parser/testdata/03541_rename_column_start/explain_2.txt b/parser/testdata/03541_rename_column_start/explain_2.txt new file mode 100644 index 0000000000..c651852bd1 --- /dev/null +++ b/parser/testdata/03541_rename_column_start/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier rmt diff --git a/parser/testdata/03541_table_without_insertable_columns/explain.txt b/parser/testdata/03541_table_without_insertable_columns/explain.txt index 1053a66add..dc64fdc003 100644 --- a/parser/testdata/03541_table_without_insertable_columns/explain.txt +++ b/parser/testdata/03541_table_without_insertable_columns/explain.txt @@ -7,4 +7,3 @@ CreateQuery no_physical (children 3) Function defaultValueOfTypeName Storage definition (children 1) Function Memory -The query succeeded but the server error '90' was expected (query: EXPLAIN AST CREATE TABLE no_physical (a Int EPHEMERAL) Engine=Memory; -- { serverError EMPTY_LIST_OF_COLUMNS_PASSED }). diff --git a/parser/testdata/03542_TTL_dict/explain_5.txt b/parser/testdata/03542_TTL_dict/explain_5.txt new file mode 100644 index 0000000000..b5c494e490 --- /dev/null +++ b/parser/testdata/03542_TTL_dict/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier always_alive_ids diff --git a/parser/testdata/03542_TTL_dict/explain_8.txt b/parser/testdata/03542_TTL_dict/explain_8.txt new file mode 100644 index 0000000000..98f1b2b824 --- /dev/null +++ b/parser/testdata/03542_TTL_dict/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ttl_dict diff --git a/parser/testdata/03545_analyzer_correlated_subqueries_use_equivalence_classes_2/explain_10.txt b/parser/testdata/03545_analyzer_correlated_subqueries_use_equivalence_classes_2/explain_10.txt new file mode 100644 index 0000000000..8c7c316521 --- /dev/null +++ b/parser/testdata/03545_analyzer_correlated_subqueries_use_equivalence_classes_2/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier b diff --git a/parser/testdata/03545_analyzer_correlated_subqueries_use_equivalence_classes_2/explain_9.txt b/parser/testdata/03545_analyzer_correlated_subqueries_use_equivalence_classes_2/explain_9.txt new file mode 100644 index 0000000000..b99677bd61 --- /dev/null +++ b/parser/testdata/03545_analyzer_correlated_subqueries_use_equivalence_classes_2/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier a diff --git a/parser/testdata/03545_analyzer_correlated_subquery_exists_asterisk/explain_8.txt b/parser/testdata/03545_analyzer_correlated_subquery_exists_asterisk/explain_8.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03545_analyzer_correlated_subquery_exists_asterisk/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03545_map_contains_bloom_index_bug/explain_3.txt b/parser/testdata/03545_map_contains_bloom_index_bug/explain_3.txt new file mode 100644 index 0000000000..daa968f6ba --- /dev/null +++ b/parser/testdata/03545_map_contains_bloom_index_bug/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_map_contains_values diff --git a/parser/testdata/03545_map_contains_bloom_index_bug/explain_6.txt b/parser/testdata/03545_map_contains_bloom_index_bug/explain_6.txt new file mode 100644 index 0000000000..b24e3c06ed --- /dev/null +++ b/parser/testdata/03545_map_contains_bloom_index_bug/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_map_contains_keys diff --git a/parser/testdata/03545_number_of_rows_in_ttltransform/explain.txt b/parser/testdata/03545_number_of_rows_in_ttltransform/explain.txt index cff474c1b8..b00290e531 100644 --- a/parser/testdata/03545_number_of_rows_in_ttltransform/explain.txt +++ b/parser/testdata/03545_number_of_rows_in_ttltransform/explain.txt @@ -8,7 +8,7 @@ CreateQuery t (children 3) DataType String ColumnDeclaration value (children 1) DataType UInt16 - Storage definition (children 2) + Storage definition (children 3) Function MergeTree Function tuple (children 1) ExpressionList (children 2) @@ -16,3 +16,11 @@ CreateQuery t (children 3) Function toStartOfDay (children 1) ExpressionList (children 1) Identifier timestamp + ExpressionList (children 1) + TTLElement (children 1) + Function plus (children 1) + ExpressionList (children 2) + Identifier timestamp + Function toIntervalDay (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/03545_number_of_rows_in_ttltransform/explain_14.txt b/parser/testdata/03545_number_of_rows_in_ttltransform/explain_14.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03545_number_of_rows_in_ttltransform/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03545_number_of_rows_in_ttltransform/explain_15.txt b/parser/testdata/03545_number_of_rows_in_ttltransform/explain_15.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03545_number_of_rows_in_ttltransform/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03545_number_of_rows_in_ttltransform/explain_16.txt b/parser/testdata/03545_number_of_rows_in_ttltransform/explain_16.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03545_number_of_rows_in_ttltransform/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03545_number_of_rows_in_ttltransform/explain_3.txt b/parser/testdata/03545_number_of_rows_in_ttltransform/explain_3.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03545_number_of_rows_in_ttltransform/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03545_number_of_rows_in_ttltransform/explain_4.txt b/parser/testdata/03545_number_of_rows_in_ttltransform/explain_4.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03545_number_of_rows_in_ttltransform/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03545_number_of_rows_in_ttltransform/explain_5.txt b/parser/testdata/03545_number_of_rows_in_ttltransform/explain_5.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03545_number_of_rows_in_ttltransform/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03545_number_of_rows_in_ttltransform/explain_6.txt b/parser/testdata/03545_number_of_rows_in_ttltransform/explain_6.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03545_number_of_rows_in_ttltransform/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03545_number_of_rows_in_ttltransform/explain_7.txt b/parser/testdata/03545_number_of_rows_in_ttltransform/explain_7.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03545_number_of_rows_in_ttltransform/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03546_add_distinct_to_in_clause/explain_19.txt b/parser/testdata/03546_add_distinct_to_in_clause/explain_19.txt new file mode 100644 index 0000000000..8567174177 --- /dev/null +++ b/parser/testdata/03546_add_distinct_to_in_clause/explain_19.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Identifier id + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier distributed_table_1 + Function in (children 1) + ExpressionList (children 2) + Identifier id + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier id + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier distributed_table_2 + Set diff --git a/parser/testdata/03546_add_distinct_to_in_clause/explain_20.txt b/parser/testdata/03546_add_distinct_to_in_clause/explain_20.txt new file mode 100644 index 0000000000..8567174177 --- /dev/null +++ b/parser/testdata/03546_add_distinct_to_in_clause/explain_20.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Identifier id + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier distributed_table_1 + Function in (children 1) + ExpressionList (children 2) + Identifier id + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier id + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier distributed_table_2 + Set diff --git a/parser/testdata/03546_add_distinct_to_in_clause/explain_21.txt b/parser/testdata/03546_add_distinct_to_in_clause/explain_21.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03546_add_distinct_to_in_clause/explain_21.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03546_join_key_value_storage_with_casted_key/explain_3.txt b/parser/testdata/03546_join_key_value_storage_with_casted_key/explain_3.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/03546_join_key_value_storage_with_casted_key/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03546_leftover_dependencies/explain_15.txt b/parser/testdata/03546_leftover_dependencies/explain_15.txt new file mode 100644 index 0000000000..36337a4d9e --- /dev/null +++ b/parser/testdata/03546_leftover_dependencies/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data diff --git a/parser/testdata/03546_leftover_dependencies/explain_24.txt b/parser/testdata/03546_leftover_dependencies/explain_24.txt new file mode 100644 index 0000000000..36337a4d9e --- /dev/null +++ b/parser/testdata/03546_leftover_dependencies/explain_24.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data diff --git a/parser/testdata/03546_leftover_dependencies/explain_6.txt b/parser/testdata/03546_leftover_dependencies/explain_6.txt new file mode 100644 index 0000000000..36337a4d9e --- /dev/null +++ b/parser/testdata/03546_leftover_dependencies/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data diff --git a/parser/testdata/03546_merge_tree_projection_shared_snapshot/explain_3.txt b/parser/testdata/03546_merge_tree_projection_shared_snapshot/explain_3.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03546_merge_tree_projection_shared_snapshot/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03546_merge_tree_projection_shared_snapshot/explain_4.txt b/parser/testdata/03546_merge_tree_projection_shared_snapshot/explain_4.txt new file mode 100644 index 0000000000..8119eb5537 --- /dev/null +++ b/parser/testdata/03546_merge_tree_projection_shared_snapshot/explain_4.txt @@ -0,0 +1,26 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function sum (children 1) + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier l._part_offset + Identifier r._parent_part_offset + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test (alias l) + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Function mergeTreeProjection (alias r) (children 1) + ExpressionList (children 3) + Function currentDatabase (children 1) + ExpressionList + Identifier test + Identifier p + TableJoin (children 1) + ExpressionList (children 1) + Identifier a + Set diff --git a/parser/testdata/03546_multiple_join_use_nulls_matcher/explain_7.txt b/parser/testdata/03546_multiple_join_use_nulls_matcher/explain_7.txt new file mode 100644 index 0000000000..ba14b78c24 --- /dev/null +++ b/parser/testdata/03546_multiple_join_use_nulls_matcher/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tableA diff --git a/parser/testdata/03546_multiple_join_use_nulls_matcher/explain_8.txt b/parser/testdata/03546_multiple_join_use_nulls_matcher/explain_8.txt new file mode 100644 index 0000000000..bf5b214b1c --- /dev/null +++ b/parser/testdata/03546_multiple_join_use_nulls_matcher/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tableB diff --git a/parser/testdata/03546_multiple_join_use_nulls_matcher/explain_9.txt b/parser/testdata/03546_multiple_join_use_nulls_matcher/explain_9.txt new file mode 100644 index 0000000000..8542370350 --- /dev/null +++ b/parser/testdata/03546_multiple_join_use_nulls_matcher/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tableC diff --git a/parser/testdata/03547_analyzer_correlated_columns_check_bug/explain_2.txt b/parser/testdata/03547_analyzer_correlated_columns_check_bug/explain_2.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03547_analyzer_correlated_columns_check_bug/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03547_analyzer_correlated_columns_check_bug/explain_3.txt b/parser/testdata/03547_analyzer_correlated_columns_check_bug/explain_3.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03547_analyzer_correlated_columns_check_bug/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03547_analyzer_correlated_columns_check_bug/explain_4.txt b/parser/testdata/03547_analyzer_correlated_columns_check_bug/explain_4.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03547_analyzer_correlated_columns_check_bug/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03547_analyzer_correlated_subqueries/explain_3.txt b/parser/testdata/03547_analyzer_correlated_subqueries/explain_3.txt new file mode 100644 index 0000000000..e1670f16d2 --- /dev/null +++ b/parser/testdata/03547_analyzer_correlated_subqueries/explain_3.txt @@ -0,0 +1,61 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (alias t) (children 1) + ExpressionList (children 1) + Literal UInt64_10 + Function exists (children 1) + ExpressionList (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function multiply (alias number) (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_6 + Function less (children 1) + ExpressionList (children 2) + Function plus (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + Identifier t.number + Function equals (children 1) + ExpressionList (children 2) + Identifier number + Identifier t.number + ExpressionList (children 1) + OrderByElement (children 1) + Identifier number + Set diff --git a/parser/testdata/03547_equals_optimizer_lowcardinality/explain_3.txt b/parser/testdata/03547_equals_optimizer_lowcardinality/explain_3.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03547_equals_optimizer_lowcardinality/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03547_reinterpret_to_array/explain_34.txt b/parser/testdata/03547_reinterpret_to_array/explain_34.txt new file mode 100644 index 0000000000..0b0bc900fb --- /dev/null +++ b/parser/testdata/03547_reinterpret_to_array/explain_34.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab1 diff --git a/parser/testdata/03547_reinterpret_to_array/explain_35.txt b/parser/testdata/03547_reinterpret_to_array/explain_35.txt new file mode 100644 index 0000000000..0b0bc900fb --- /dev/null +++ b/parser/testdata/03547_reinterpret_to_array/explain_35.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab1 diff --git a/parser/testdata/03549_aggregate_arithmetic_logical_error/explain.txt b/parser/testdata/03549_aggregate_arithmetic_logical_error/explain.txt index 1d667773b9..834bebdb29 100644 --- a/parser/testdata/03549_aggregate_arithmetic_logical_error/explain.txt +++ b/parser/testdata/03549_aggregate_arithmetic_logical_error/explain.txt @@ -14,4 +14,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Literal \'1.1.1.1\' Literal \'IPv4\' -The query succeeded but the server error '43' was expected (query: EXPLAIN AST SELECT sumMerge(initializeAggregation('sumState', 1) * CAST('1.1.1.1', 'IPv4')); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }). diff --git a/parser/testdata/03549_keeper_map_column_comments/explain_4.txt b/parser/testdata/03549_keeper_map_column_comments/explain_4.txt new file mode 100644 index 0000000000..4df1be53c2 --- /dev/null +++ b/parser/testdata/03549_keeper_map_column_comments/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 03549_test diff --git a/parser/testdata/03549_wkb_function/explain_10.txt b/parser/testdata/03549_wkb_function/explain_10.txt new file mode 100644 index 0000000000..559d0ed5b6 --- /dev/null +++ b/parser/testdata/03549_wkb_function/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geom2 diff --git a/parser/testdata/03549_wkb_function/explain_14.txt b/parser/testdata/03549_wkb_function/explain_14.txt new file mode 100644 index 0000000000..5213f4e143 --- /dev/null +++ b/parser/testdata/03549_wkb_function/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geom3 diff --git a/parser/testdata/03549_wkb_function/explain_15.txt b/parser/testdata/03549_wkb_function/explain_15.txt new file mode 100644 index 0000000000..5213f4e143 --- /dev/null +++ b/parser/testdata/03549_wkb_function/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geom3 diff --git a/parser/testdata/03549_wkb_function/explain_19.txt b/parser/testdata/03549_wkb_function/explain_19.txt new file mode 100644 index 0000000000..ddbecf4236 --- /dev/null +++ b/parser/testdata/03549_wkb_function/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geom4 diff --git a/parser/testdata/03549_wkb_function/explain_20.txt b/parser/testdata/03549_wkb_function/explain_20.txt new file mode 100644 index 0000000000..ddbecf4236 --- /dev/null +++ b/parser/testdata/03549_wkb_function/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geom4 diff --git a/parser/testdata/03549_wkb_function/explain_24.txt b/parser/testdata/03549_wkb_function/explain_24.txt new file mode 100644 index 0000000000..a64dbf231f --- /dev/null +++ b/parser/testdata/03549_wkb_function/explain_24.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geom5 diff --git a/parser/testdata/03549_wkb_function/explain_25.txt b/parser/testdata/03549_wkb_function/explain_25.txt new file mode 100644 index 0000000000..a64dbf231f --- /dev/null +++ b/parser/testdata/03549_wkb_function/explain_25.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geom5 diff --git a/parser/testdata/03549_wkb_function/explain_3.txt b/parser/testdata/03549_wkb_function/explain_3.txt new file mode 100644 index 0000000000..4d0511e8b4 --- /dev/null +++ b/parser/testdata/03549_wkb_function/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geom1 diff --git a/parser/testdata/03549_wkb_function/explain_4.txt b/parser/testdata/03549_wkb_function/explain_4.txt new file mode 100644 index 0000000000..4d0511e8b4 --- /dev/null +++ b/parser/testdata/03549_wkb_function/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geom1 diff --git a/parser/testdata/03549_wkb_function/explain_5.txt b/parser/testdata/03549_wkb_function/explain_5.txt new file mode 100644 index 0000000000..4d0511e8b4 --- /dev/null +++ b/parser/testdata/03549_wkb_function/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geom1 diff --git a/parser/testdata/03549_wkb_function/explain_9.txt b/parser/testdata/03549_wkb_function/explain_9.txt new file mode 100644 index 0000000000..559d0ed5b6 --- /dev/null +++ b/parser/testdata/03549_wkb_function/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geom2 diff --git a/parser/testdata/03550_analyzer_remote_view_columns/explain_6.txt b/parser/testdata/03550_analyzer_remote_view_columns/explain_6.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03550_analyzer_remote_view_columns/explain_6.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03550_s3queue_no_settings/explain.txt b/parser/testdata/03550_s3queue_no_settings/explain.txt index 331c77726a..7920fca20e 100644 --- a/parser/testdata/03550_s3queue_no_settings/explain.txt +++ b/parser/testdata/03550_s3queue_no_settings/explain.txt @@ -10,4 +10,3 @@ CreateQuery s3_queue (children 3) Function S3Queue (children 1) ExpressionList (children 1) Literal \'http://localhost:11111/test/{a,b,c}.tsv\' -The query succeeded but the server error '36' was expected (query: EXPLAIN AST CREATE TABLE s3_queue (name String, value UInt32) ENGINE = S3Queue('http://localhost:11111/test/{a,b,c}.tsv'); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/03550_union_intersect_except_default_mode_rewrite_exception_safety/explain.txt b/parser/testdata/03550_union_intersect_except_default_mode_rewrite_exception_safety/explain.txt deleted file mode 100644 index 8b13789179..0000000000 --- a/parser/testdata/03550_union_intersect_except_default_mode_rewrite_exception_safety/explain.txt +++ /dev/null @@ -1 +0,0 @@ - diff --git a/parser/testdata/03550_variant_extend_union/explain.txt b/parser/testdata/03550_variant_extend_union/explain.txt index df2c288cf5..64e90f0ec7 100644 --- a/parser/testdata/03550_variant_extend_union/explain.txt +++ b/parser/testdata/03550_variant_extend_union/explain.txt @@ -8,35 +8,40 @@ SelectWithUnionQuery (children 1) TableExpression (children 1) Subquery (children 1) SelectWithUnionQuery (children 1) - ExpressionList (children 3) + ExpressionList (children 2) + SelectIntersectExceptQuery (children 2) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Function CAST (children 1) + ExpressionList (children 2) + Function CAST (children 1) + ExpressionList (children 2) + Literal \'{"a":42}\' + Literal \'JSON\' + Literal \'Variant(JSON, String)\' + Literal \'Variant(JSON, String, Array(String))\' + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Function CAST (children 1) + ExpressionList (children 2) + Literal \'b\' + Literal \'Variant(JSON, String)\' + Literal \'Variant(JSON, String, Array(String))\' SelectQuery (children 1) ExpressionList (children 1) Function CAST (children 1) ExpressionList (children 2) Function CAST (children 1) ExpressionList (children 2) - Function CAST (children 1) - ExpressionList (children 2) - Literal \'{"a":42}\' - Literal \'JSON\' - Literal \'Variant(JSON, String)\' - Literal \'Variant(JSON, String, Array(String))\' - SelectQuery (children 1) - ExpressionList (children 1) - Function CAST (children 1) - ExpressionList (children 2) - Function CAST (children 1) - ExpressionList (children 2) - Literal \'b\' - Literal \'Variant(JSON, String)\' - Literal \'Variant(JSON, String, Array(String))\' - SelectQuery (children 1) - ExpressionList (children 1) - Function CAST (children 1) - ExpressionList (children 2) - Function CAST (children 1) - ExpressionList (children 2) - Literal Array_[\'c\'] + Literal \'[\\\'c\\\']\' Literal \'Array(String)\' Literal \'Variant(JSON, String, Array(String))\' ExpressionList (children 1) diff --git a/parser/testdata/03552_inconsistent_formatting_operator_as_table_function/explain.txt b/parser/testdata/03552_inconsistent_formatting_operator_as_table_function/explain.txt index 18ce9d39f7..4758df132b 100644 --- a/parser/testdata/03552_inconsistent_formatting_operator_as_table_function/explain.txt +++ b/parser/testdata/03552_inconsistent_formatting_operator_as_table_function/explain.txt @@ -10,4 +10,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Literal \'a\' Literal UInt64_1 -The query succeeded but the server error '46' was expected (query: EXPLAIN AST SELECT * FROM globalIn('a', 1); -- { serverError UNKNOWN_FUNCTION }). diff --git a/parser/testdata/03553_inconsistent_formatting_of_dictionary/explain.txt b/parser/testdata/03553_inconsistent_formatting_of_dictionary/explain.txt index 909b7d9eb3..4ddfba0e80 100644 --- a/parser/testdata/03553_inconsistent_formatting_of_dictionary/explain.txt +++ b/parser/testdata/03553_inconsistent_formatting_of_dictionary/explain.txt @@ -8,4 +8,3 @@ CreateQuery d0 (children 3) DataType Int Dictionary definition (children 1) Dictionary range -The query succeeded but the server error '489' was expected (query: EXPLAIN AST CREATE DICTIONARY d0 (c1 Nested(c2 Int)) RANGE(MIN c1 MAX `c1.c2`); -- { serverError INCORRECT_DICTIONARY_DEFINITION }). diff --git a/parser/testdata/03553_json_shared_data_advanced_serialization/explain_4.txt b/parser/testdata/03553_json_shared_data_advanced_serialization/explain_4.txt new file mode 100644 index 0000000000..663a542235 --- /dev/null +++ b/parser/testdata/03553_json_shared_data_advanced_serialization/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier source diff --git a/parser/testdata/03553_json_shared_data_map_serialization/explain_4.txt b/parser/testdata/03553_json_shared_data_map_serialization/explain_4.txt new file mode 100644 index 0000000000..663a542235 --- /dev/null +++ b/parser/testdata/03553_json_shared_data_map_serialization/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier source diff --git a/parser/testdata/03553_json_shared_data_map_with_buckets_serialization/explain_4.txt b/parser/testdata/03553_json_shared_data_map_with_buckets_serialization/explain_4.txt new file mode 100644 index 0000000000..663a542235 --- /dev/null +++ b/parser/testdata/03553_json_shared_data_map_with_buckets_serialization/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier source diff --git a/parser/testdata/03558_no_alias_in_single_expressions/explain.txt b/parser/testdata/03558_no_alias_in_single_expressions/explain.txt deleted file mode 100644 index 8b13789179..0000000000 --- a/parser/testdata/03558_no_alias_in_single_expressions/explain.txt +++ /dev/null @@ -1 +0,0 @@ - diff --git a/parser/testdata/03558_no_alias_in_single_expressions/explain_2.txt b/parser/testdata/03558_no_alias_in_single_expressions/explain_2.txt deleted file mode 100644 index 083da836f0..0000000000 --- a/parser/testdata/03558_no_alias_in_single_expressions/explain_2.txt +++ /dev/null @@ -1,10 +0,0 @@ -CreateQuery t0 (children 3) - Identifier t0 - Columns definition (children 1) - ExpressionList (children 1) - ColumnDeclaration c0 (children 1) - DataType Int - Storage definition (children 2) - Function MergeTree (children 1) - ExpressionList - Identifier c0 (alias x) diff --git a/parser/testdata/03558_no_alias_in_single_expressions/explain_6.txt b/parser/testdata/03558_no_alias_in_single_expressions/explain_6.txt deleted file mode 100644 index bf08ce8abb..0000000000 --- a/parser/testdata/03558_no_alias_in_single_expressions/explain_6.txt +++ /dev/null @@ -1,3 +0,0 @@ -DeleteQuery t0 (children 2) - Literal Bool_1 (alias a0) - Identifier t0 diff --git a/parser/testdata/03559_explain_ast_in_subquery/explain.txt b/parser/testdata/03559_explain_ast_in_subquery/explain.txt deleted file mode 100644 index 64ece0dac0..0000000000 --- a/parser/testdata/03559_explain_ast_in_subquery/explain.txt +++ /dev/null @@ -1,18 +0,0 @@ -SelectWithUnionQuery (children 1) - ExpressionList (children 1) - SelectQuery (children 2) - ExpressionList (children 1) - Subquery (children 1) - Explain AST (children 1) - SelectWithUnionQuery (children 2) - ExpressionList (children 1) - SelectQuery (children 1) - ExpressionList (children 1) - Literal UInt64_1 - Literal \'a\' - TablesInSelectQuery (children 1) - TablesInSelectQueryElement (children 1) - TableExpression (children 1) - Function numbers (children 1) - ExpressionList (children 1) - Literal UInt64_0 diff --git a/parser/testdata/03560_new_analyzer_default_expression/explain_14.txt b/parser/testdata/03560_new_analyzer_default_expression/explain_14.txt new file mode 100644 index 0000000000..1c1d501f75 --- /dev/null +++ b/parser/testdata/03560_new_analyzer_default_expression/explain_14.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier compound_id + ExpressionList (children 1) + Identifier a diff --git a/parser/testdata/03560_parallel_replicas_external_aggregation/explain_9.txt b/parser/testdata/03560_parallel_replicas_external_aggregation/explain_9.txt new file mode 100644 index 0000000000..fbf713ed93 --- /dev/null +++ b/parser/testdata/03560_parallel_replicas_external_aggregation/explain_9.txt @@ -0,0 +1,26 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 4) + Identifier k1 + Identifier k2 + Identifier k3 + Function sum (alias v) (children 1) + ExpressionList (children 1) + Identifier value + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t_proj_external_agg + ExpressionList (children 3) + Identifier k1 + Identifier k2 + Identifier k3 + ExpressionList (children 3) + OrderByElement (children 1) + Identifier k1 + OrderByElement (children 1) + Identifier k2 + OrderByElement (children 1) + Identifier k3 + Set diff --git a/parser/testdata/03560_parallel_replicas_projection/explain_39.txt b/parser/testdata/03560_parallel_replicas_projection/explain_39.txt new file mode 100644 index 0000000000..bf413b55bc --- /dev/null +++ b/parser/testdata/03560_parallel_replicas_projection/explain_39.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function max (children 1) + ExpressionList (children 1) + Identifier i + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier x + Set diff --git a/parser/testdata/03561_analyzer_cte_cycle_resolve_bug/explain_2.txt b/parser/testdata/03561_analyzer_cte_cycle_resolve_bug/explain_2.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03561_analyzer_cte_cycle_resolve_bug/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03561_analyzer_cte_cycle_resolve_bug/explain_3.txt b/parser/testdata/03561_analyzer_cte_cycle_resolve_bug/explain_3.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03561_analyzer_cte_cycle_resolve_bug/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03561_analyzer_cte_cycle_resolve_bug/explain_4.txt b/parser/testdata/03561_analyzer_cte_cycle_resolve_bug/explain_4.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03561_analyzer_cte_cycle_resolve_bug/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03561_materialized_subcolumns_materialized_view/explain_5.txt b/parser/testdata/03561_materialized_subcolumns_materialized_view/explain_5.txt new file mode 100644 index 0000000000..663a542235 --- /dev/null +++ b/parser/testdata/03561_materialized_subcolumns_materialized_view/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier source diff --git a/parser/testdata/03561_two_mvs_bad_select/explain_7.txt b/parser/testdata/03561_two_mvs_bad_select/explain_7.txt new file mode 100644 index 0000000000..0ebd027502 --- /dev/null +++ b/parser/testdata/03561_two_mvs_bad_select/explain_7.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier 03561_t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03562_geometry_type/explain_11.txt b/parser/testdata/03562_geometry_type/explain_11.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/03562_geometry_type/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/03562_geometry_type/explain_12.txt b/parser/testdata/03562_geometry_type/explain_12.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/03562_geometry_type/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/03562_geometry_type/explain_13.txt b/parser/testdata/03562_geometry_type/explain_13.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/03562_geometry_type/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/03562_geometry_type/explain_14.txt b/parser/testdata/03562_geometry_type/explain_14.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/03562_geometry_type/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/03562_geometry_type/explain_15.txt b/parser/testdata/03562_geometry_type/explain_15.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/03562_geometry_type/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/03562_geometry_type/explain_19.txt b/parser/testdata/03562_geometry_type/explain_19.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/03562_geometry_type/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/03562_geometry_type/explain_20.txt b/parser/testdata/03562_geometry_type/explain_20.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/03562_geometry_type/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/03562_geometry_type/explain_21.txt b/parser/testdata/03562_geometry_type/explain_21.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/03562_geometry_type/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/03562_geometry_type/explain_22.txt b/parser/testdata/03562_geometry_type/explain_22.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/03562_geometry_type/explain_22.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/03562_geometry_type/explain_23.txt b/parser/testdata/03562_geometry_type/explain_23.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/03562_geometry_type/explain_23.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/03562_geometry_type/explain_24.txt b/parser/testdata/03562_geometry_type/explain_24.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/03562_geometry_type/explain_24.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/03562_geometry_type/explain_25.txt b/parser/testdata/03562_geometry_type/explain_25.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/03562_geometry_type/explain_25.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/03562_geometry_type/explain_26.txt b/parser/testdata/03562_geometry_type/explain_26.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/03562_geometry_type/explain_26.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/03562_geometry_type/explain_27.txt b/parser/testdata/03562_geometry_type/explain_27.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/03562_geometry_type/explain_27.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/03562_geometry_type/explain_28.txt b/parser/testdata/03562_geometry_type/explain_28.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/03562_geometry_type/explain_28.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/03562_geometry_type/explain_29.txt b/parser/testdata/03562_geometry_type/explain_29.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/03562_geometry_type/explain_29.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/03562_geometry_type/explain_30.txt b/parser/testdata/03562_geometry_type/explain_30.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/03562_geometry_type/explain_30.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/03562_geometry_type/explain_4.txt b/parser/testdata/03562_geometry_type/explain_4.txt new file mode 100644 index 0000000000..4d0511e8b4 --- /dev/null +++ b/parser/testdata/03562_geometry_type/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geom1 diff --git a/parser/testdata/03562_geometry_type/explain_5.txt b/parser/testdata/03562_geometry_type/explain_5.txt new file mode 100644 index 0000000000..4d0511e8b4 --- /dev/null +++ b/parser/testdata/03562_geometry_type/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geom1 diff --git a/parser/testdata/03562_geometry_type/explain_6.txt b/parser/testdata/03562_geometry_type/explain_6.txt new file mode 100644 index 0000000000..4d0511e8b4 --- /dev/null +++ b/parser/testdata/03562_geometry_type/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geom1 diff --git a/parser/testdata/03562_geometry_type/explain_7.txt b/parser/testdata/03562_geometry_type/explain_7.txt new file mode 100644 index 0000000000..4d0511e8b4 --- /dev/null +++ b/parser/testdata/03562_geometry_type/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geom1 diff --git a/parser/testdata/03562_parallel_replicas_remote_with_cluster/explain_9.txt b/parser/testdata/03562_parallel_replicas_remote_with_cluster/explain_9.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03562_parallel_replicas_remote_with_cluster/explain_9.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03562_parallel_replicas_subquery_has_final/explain_3.txt b/parser/testdata/03562_parallel_replicas_subquery_has_final/explain_3.txt new file mode 100644 index 0000000000..fcb2d89148 --- /dev/null +++ b/parser/testdata/03562_parallel_replicas_subquery_has_final/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t0 diff --git a/parser/testdata/03565_union_all_nullptr/explain_2.txt b/parser/testdata/03565_union_all_nullptr/explain_2.txt new file mode 100644 index 0000000000..48542d6362 --- /dev/null +++ b/parser/testdata/03565_union_all_nullptr/explain_2.txt @@ -0,0 +1,14 @@ +InsertQuery (children 2) + Identifier t + SelectWithUnionQuery (children 1) + ExpressionList (children 2) + SelectQuery (children 2) + ExpressionList (children 1) + Literal UInt64_1 + ExpressionList (children 1) + Literal UInt64_2 (alias x) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier x + ExpressionList (children 1) + Literal UInt64_2 (alias x) diff --git a/parser/testdata/03566_low_cardinality_nan_unique/explain_12.txt b/parser/testdata/03566_low_cardinality_nan_unique/explain_12.txt new file mode 100644 index 0000000000..6843200430 --- /dev/null +++ b/parser/testdata/03566_low_cardinality_nan_unique/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_f16 diff --git a/parser/testdata/03566_low_cardinality_nan_unique/explain_4.txt b/parser/testdata/03566_low_cardinality_nan_unique/explain_4.txt new file mode 100644 index 0000000000..9500362b68 --- /dev/null +++ b/parser/testdata/03566_low_cardinality_nan_unique/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_f32 diff --git a/parser/testdata/03566_low_cardinality_nan_unique/explain_8.txt b/parser/testdata/03566_low_cardinality_nan_unique/explain_8.txt new file mode 100644 index 0000000000..8355946fea --- /dev/null +++ b/parser/testdata/03566_low_cardinality_nan_unique/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_f64 diff --git a/parser/testdata/03566_one_row_summing_merge_tree/explain_11.txt b/parser/testdata/03566_one_row_summing_merge_tree/explain_11.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/03566_one_row_summing_merge_tree/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/03566_one_row_summing_merge_tree/explain_13.txt b/parser/testdata/03566_one_row_summing_merge_tree/explain_13.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/03566_one_row_summing_merge_tree/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/03566_one_row_summing_merge_tree/explain_15.txt b/parser/testdata/03566_one_row_summing_merge_tree/explain_15.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/03566_one_row_summing_merge_tree/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/03566_one_row_summing_merge_tree/explain_19.txt b/parser/testdata/03566_one_row_summing_merge_tree/explain_19.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/03566_one_row_summing_merge_tree/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/03566_one_row_summing_merge_tree/explain_20.txt b/parser/testdata/03566_one_row_summing_merge_tree/explain_20.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/03566_one_row_summing_merge_tree/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/03566_one_row_summing_merge_tree/explain_23.txt b/parser/testdata/03566_one_row_summing_merge_tree/explain_23.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/03566_one_row_summing_merge_tree/explain_23.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/03566_one_row_summing_merge_tree/explain_28.txt b/parser/testdata/03566_one_row_summing_merge_tree/explain_28.txt new file mode 100644 index 0000000000..84948d525a --- /dev/null +++ b/parser/testdata/03566_one_row_summing_merge_tree/explain_28.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test_table + ExpressionList (children 2) + Identifier key + Identifier A diff --git a/parser/testdata/03566_one_row_summing_merge_tree/explain_29.txt b/parser/testdata/03566_one_row_summing_merge_tree/explain_29.txt new file mode 100644 index 0000000000..ae1e967b1c --- /dev/null +++ b/parser/testdata/03566_one_row_summing_merge_tree/explain_29.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test_table + ExpressionList (children 2) + Identifier key + Identifier B diff --git a/parser/testdata/03566_one_row_summing_merge_tree/explain_3.txt b/parser/testdata/03566_one_row_summing_merge_tree/explain_3.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/03566_one_row_summing_merge_tree/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/03566_one_row_summing_merge_tree/explain_30.txt b/parser/testdata/03566_one_row_summing_merge_tree/explain_30.txt new file mode 100644 index 0000000000..130630502d --- /dev/null +++ b/parser/testdata/03566_one_row_summing_merge_tree/explain_30.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test_table + ExpressionList (children 2) + Identifier key + Identifier C diff --git a/parser/testdata/03566_one_row_summing_merge_tree/explain_31.txt b/parser/testdata/03566_one_row_summing_merge_tree/explain_31.txt new file mode 100644 index 0000000000..ae1e967b1c --- /dev/null +++ b/parser/testdata/03566_one_row_summing_merge_tree/explain_31.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test_table + ExpressionList (children 2) + Identifier key + Identifier B diff --git a/parser/testdata/03566_one_row_summing_merge_tree/explain_32.txt b/parser/testdata/03566_one_row_summing_merge_tree/explain_32.txt new file mode 100644 index 0000000000..84948d525a --- /dev/null +++ b/parser/testdata/03566_one_row_summing_merge_tree/explain_32.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test_table + ExpressionList (children 2) + Identifier key + Identifier A diff --git a/parser/testdata/03566_one_row_summing_merge_tree/explain_33.txt b/parser/testdata/03566_one_row_summing_merge_tree/explain_33.txt new file mode 100644 index 0000000000..ae1e967b1c --- /dev/null +++ b/parser/testdata/03566_one_row_summing_merge_tree/explain_33.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test_table + ExpressionList (children 2) + Identifier key + Identifier B diff --git a/parser/testdata/03566_one_row_summing_merge_tree/explain_34.txt b/parser/testdata/03566_one_row_summing_merge_tree/explain_34.txt new file mode 100644 index 0000000000..0c0dc30418 --- /dev/null +++ b/parser/testdata/03566_one_row_summing_merge_tree/explain_34.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier test_table + ExpressionList (children 3) + Identifier key + Identifier A + Identifier C diff --git a/parser/testdata/03566_one_row_summing_merge_tree/explain_39.txt b/parser/testdata/03566_one_row_summing_merge_tree/explain_39.txt new file mode 100644 index 0000000000..84948d525a --- /dev/null +++ b/parser/testdata/03566_one_row_summing_merge_tree/explain_39.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test_table + ExpressionList (children 2) + Identifier key + Identifier A diff --git a/parser/testdata/03566_one_row_summing_merge_tree/explain_40.txt b/parser/testdata/03566_one_row_summing_merge_tree/explain_40.txt new file mode 100644 index 0000000000..ae1e967b1c --- /dev/null +++ b/parser/testdata/03566_one_row_summing_merge_tree/explain_40.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test_table + ExpressionList (children 2) + Identifier key + Identifier B diff --git a/parser/testdata/03566_one_row_summing_merge_tree/explain_41.txt b/parser/testdata/03566_one_row_summing_merge_tree/explain_41.txt new file mode 100644 index 0000000000..130630502d --- /dev/null +++ b/parser/testdata/03566_one_row_summing_merge_tree/explain_41.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test_table + ExpressionList (children 2) + Identifier key + Identifier C diff --git a/parser/testdata/03566_one_row_summing_merge_tree/explain_42.txt b/parser/testdata/03566_one_row_summing_merge_tree/explain_42.txt new file mode 100644 index 0000000000..ae1e967b1c --- /dev/null +++ b/parser/testdata/03566_one_row_summing_merge_tree/explain_42.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test_table + ExpressionList (children 2) + Identifier key + Identifier B diff --git a/parser/testdata/03566_one_row_summing_merge_tree/explain_43.txt b/parser/testdata/03566_one_row_summing_merge_tree/explain_43.txt new file mode 100644 index 0000000000..84948d525a --- /dev/null +++ b/parser/testdata/03566_one_row_summing_merge_tree/explain_43.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test_table + ExpressionList (children 2) + Identifier key + Identifier A diff --git a/parser/testdata/03566_one_row_summing_merge_tree/explain_44.txt b/parser/testdata/03566_one_row_summing_merge_tree/explain_44.txt new file mode 100644 index 0000000000..ae1e967b1c --- /dev/null +++ b/parser/testdata/03566_one_row_summing_merge_tree/explain_44.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier test_table + ExpressionList (children 2) + Identifier key + Identifier B diff --git a/parser/testdata/03566_one_row_summing_merge_tree/explain_45.txt b/parser/testdata/03566_one_row_summing_merge_tree/explain_45.txt new file mode 100644 index 0000000000..0c0dc30418 --- /dev/null +++ b/parser/testdata/03566_one_row_summing_merge_tree/explain_45.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier test_table + ExpressionList (children 3) + Identifier key + Identifier A + Identifier C diff --git a/parser/testdata/03566_one_row_summing_merge_tree/explain_48.txt b/parser/testdata/03566_one_row_summing_merge_tree/explain_48.txt new file mode 100644 index 0000000000..523a89668d --- /dev/null +++ b/parser/testdata/03566_one_row_summing_merge_tree/explain_48.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier electric_vehicle_state diff --git a/parser/testdata/03566_one_row_summing_merge_tree/explain_49.txt b/parser/testdata/03566_one_row_summing_merge_tree/explain_49.txt new file mode 100644 index 0000000000..523a89668d --- /dev/null +++ b/parser/testdata/03566_one_row_summing_merge_tree/explain_49.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier electric_vehicle_state diff --git a/parser/testdata/03566_one_row_summing_merge_tree/explain_50.txt b/parser/testdata/03566_one_row_summing_merge_tree/explain_50.txt new file mode 100644 index 0000000000..523a89668d --- /dev/null +++ b/parser/testdata/03566_one_row_summing_merge_tree/explain_50.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier electric_vehicle_state diff --git a/parser/testdata/03566_one_row_summing_merge_tree/explain_51.txt b/parser/testdata/03566_one_row_summing_merge_tree/explain_51.txt new file mode 100644 index 0000000000..523a89668d --- /dev/null +++ b/parser/testdata/03566_one_row_summing_merge_tree/explain_51.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier electric_vehicle_state diff --git a/parser/testdata/03566_one_row_summing_merge_tree/explain_52.txt b/parser/testdata/03566_one_row_summing_merge_tree/explain_52.txt new file mode 100644 index 0000000000..523a89668d --- /dev/null +++ b/parser/testdata/03566_one_row_summing_merge_tree/explain_52.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier electric_vehicle_state diff --git a/parser/testdata/03566_one_row_summing_merge_tree/explain_53.txt b/parser/testdata/03566_one_row_summing_merge_tree/explain_53.txt new file mode 100644 index 0000000000..523a89668d --- /dev/null +++ b/parser/testdata/03566_one_row_summing_merge_tree/explain_53.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier electric_vehicle_state diff --git a/parser/testdata/03566_one_row_summing_merge_tree/explain_57.txt b/parser/testdata/03566_one_row_summing_merge_tree/explain_57.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/03566_one_row_summing_merge_tree/explain_57.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/03566_one_row_summing_merge_tree/explain_58.txt b/parser/testdata/03566_one_row_summing_merge_tree/explain_58.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/03566_one_row_summing_merge_tree/explain_58.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/03566_one_row_summing_merge_tree/explain_7.txt b/parser/testdata/03566_one_row_summing_merge_tree/explain_7.txt new file mode 100644 index 0000000000..9b03b61059 --- /dev/null +++ b/parser/testdata/03566_one_row_summing_merge_tree/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table diff --git a/parser/testdata/03567_finalize_write_buffer_valid_utf8/explain.txt b/parser/testdata/03567_finalize_write_buffer_valid_utf8/explain.txt index a4a28ccd77..f8f61a474f 100644 --- a/parser/testdata/03567_finalize_write_buffer_valid_utf8/explain.txt +++ b/parser/testdata/03567_finalize_write_buffer_valid_utf8/explain.txt @@ -12,4 +12,3 @@ InsertQuery (children 3) Literal Int64_-1 Set Set -The query succeeded but the server error '691' was expected (query: EXPLAIN AST INSERT INTO TABLE FUNCTION file(currentDatabase(), 'JSONColumns', 'c0 Enum(x\'e2\' = 1)') SELECT -1 SETTINGS output_format_json_validate_utf8 = 1; -- { serverError UNKNOWN_ELEMENT_OF_ENUM }). diff --git a/parser/testdata/03567_join_using_projection_distributed/explain_5.txt b/parser/testdata/03567_join_using_projection_distributed/explain_5.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/03567_join_using_projection_distributed/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/03567_join_using_projection_distributed/explain_6.txt b/parser/testdata/03567_join_using_projection_distributed/explain_6.txt new file mode 100644 index 0000000000..df4a687bc0 --- /dev/null +++ b/parser/testdata/03567_join_using_projection_distributed/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2 diff --git a/parser/testdata/03568_ddsketch_merge/explain.txt b/parser/testdata/03568_ddsketch_merge/explain.txt new file mode 100644 index 0000000000..b718aef2a0 --- /dev/null +++ b/parser/testdata/03568_ddsketch_merge/explain.txt @@ -0,0 +1,22 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function notEquals (children 1) + ExpressionList (children 2) + Function quantileDDMerge (children 2) + ExpressionList (children 1) + Identifier state + ExpressionList (children 1) + Literal Float64_0.01 + Literal UInt64_0 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function format (children 1) + ExpressionList (children 3) + Identifier RowBinary + Literal \'state AggregateFunction(quantileDD(0.01), Float64)\' + Function base64Decode (children 1) + ExpressionList (children 1) + Literal \'AgAAAAAAAABAAAAAAAAAAAABDAEPAgAAAAAAAPA/AwwA/v///w8CBAAAAAAAAAAAAs07f2aeoPY/AAAAAAAAAAABDAEjAgAAAAAAAPA/AwwA/v///w8CBAAAAAAAAAAA\' diff --git a/parser/testdata/03568_mutation_affected_rows_counter/explain_7.txt b/parser/testdata/03568_mutation_affected_rows_counter/explain_7.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03568_mutation_affected_rows_counter/explain_7.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03568_udf_memory_tracking/explain_2.txt b/parser/testdata/03568_udf_memory_tracking/explain_2.txt index 92a0b89c2b..7ae5b5a8bb 100644 --- a/parser/testdata/03568_udf_memory_tracking/explain_2.txt +++ b/parser/testdata/03568_udf_memory_tracking/explain_2.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 1) Function test_function (children 1) ExpressionList (children 2) @@ -12,6 +12,5 @@ SelectWithUnionQuery (children 3) Function numbers (children 1) ExpressionList (children 1) Literal UInt64_100 - Set Identifier Null Set diff --git a/parser/testdata/03568_udf_memory_tracking/explain_3.txt b/parser/testdata/03568_udf_memory_tracking/explain_3.txt index 513fd7d23b..3bafb28890 100644 --- a/parser/testdata/03568_udf_memory_tracking/explain_3.txt +++ b/parser/testdata/03568_udf_memory_tracking/explain_3.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 1) Function test_function (children 1) ExpressionList (children 2) @@ -12,6 +12,5 @@ SelectWithUnionQuery (children 3) Function numbers (children 1) ExpressionList (children 1) Literal UInt64_200 - Set Identifier Null Set diff --git a/parser/testdata/03568_udf_memory_tracking/explain_4.txt b/parser/testdata/03568_udf_memory_tracking/explain_4.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03568_udf_memory_tracking/explain_4.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03570_insert_into_simple_alias/explain_10.txt b/parser/testdata/03570_insert_into_simple_alias/explain_10.txt new file mode 100644 index 0000000000..c756306344 --- /dev/null +++ b/parser/testdata/03570_insert_into_simple_alias/explain_10.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier alias_insert_test + ExpressionList (children 3) + Identifier id + Identifier UserName + Identifier value diff --git a/parser/testdata/03570_insert_into_simple_alias/explain_12.txt b/parser/testdata/03570_insert_into_simple_alias/explain_12.txt new file mode 100644 index 0000000000..18b152dca9 --- /dev/null +++ b/parser/testdata/03570_insert_into_simple_alias/explain_12.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier alias_insert_test + ExpressionList (children 3) + Identifier id + Identifier UpperName + Identifier value diff --git a/parser/testdata/03570_insert_into_simple_alias/explain_13.txt b/parser/testdata/03570_insert_into_simple_alias/explain_13.txt new file mode 100644 index 0000000000..a3fc6f2314 --- /dev/null +++ b/parser/testdata/03570_insert_into_simple_alias/explain_13.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier alias_insert_test + ExpressionList (children 3) + Identifier id + Identifier name + Identifier ValuePlusOne diff --git a/parser/testdata/03570_insert_into_simple_alias/explain_3.txt b/parser/testdata/03570_insert_into_simple_alias/explain_3.txt new file mode 100644 index 0000000000..d0c536f25e --- /dev/null +++ b/parser/testdata/03570_insert_into_simple_alias/explain_3.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier alias_insert_test + ExpressionList (children 3) + Identifier id + Identifier name + Identifier value diff --git a/parser/testdata/03570_insert_into_simple_alias/explain_4.txt b/parser/testdata/03570_insert_into_simple_alias/explain_4.txt new file mode 100644 index 0000000000..dd49d9fd2a --- /dev/null +++ b/parser/testdata/03570_insert_into_simple_alias/explain_4.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier alias_insert_test + ExpressionList (children 3) + Identifier UserID + Identifier UserName + Identifier value diff --git a/parser/testdata/03570_insert_into_simple_alias/explain_5.txt b/parser/testdata/03570_insert_into_simple_alias/explain_5.txt new file mode 100644 index 0000000000..c756306344 --- /dev/null +++ b/parser/testdata/03570_insert_into_simple_alias/explain_5.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier alias_insert_test + ExpressionList (children 3) + Identifier id + Identifier UserName + Identifier value diff --git a/parser/testdata/03570_insert_into_simple_alias/explain_6.txt b/parser/testdata/03570_insert_into_simple_alias/explain_6.txt new file mode 100644 index 0000000000..01057d4465 --- /dev/null +++ b/parser/testdata/03570_insert_into_simple_alias/explain_6.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier alias_insert_test + ExpressionList (children 3) + Identifier UserID + Identifier name + Identifier value diff --git a/parser/testdata/03570_insert_into_simple_alias/explain_9.txt b/parser/testdata/03570_insert_into_simple_alias/explain_9.txt new file mode 100644 index 0000000000..dd49d9fd2a --- /dev/null +++ b/parser/testdata/03570_insert_into_simple_alias/explain_9.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier alias_insert_test + ExpressionList (children 3) + Identifier UserID + Identifier UserName + Identifier value diff --git a/parser/testdata/03570_limit_by_all/explain_28.txt b/parser/testdata/03570_limit_by_all/explain_28.txt new file mode 100644 index 0000000000..0c6898e77f --- /dev/null +++ b/parser/testdata/03570_limit_by_all/explain_28.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_limit_by_all_tags diff --git a/parser/testdata/03570_limit_by_all/explain_41.txt b/parser/testdata/03570_limit_by_all/explain_41.txt new file mode 100644 index 0000000000..73aa5a12c5 --- /dev/null +++ b/parser/testdata/03570_limit_by_all/explain_41.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_limit_by_all diff --git a/parser/testdata/03570_limit_by_all/explain_7.txt b/parser/testdata/03570_limit_by_all/explain_7.txt new file mode 100644 index 0000000000..73aa5a12c5 --- /dev/null +++ b/parser/testdata/03570_limit_by_all/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_limit_by_all diff --git a/parser/testdata/03571_limit_by_all_old_planner/explain_21.txt b/parser/testdata/03571_limit_by_all_old_planner/explain_21.txt new file mode 100644 index 0000000000..0eb103821a --- /dev/null +++ b/parser/testdata/03571_limit_by_all_old_planner/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_limit_by_all_old_planner diff --git a/parser/testdata/03571_limit_by_all_old_planner/explain_7.txt b/parser/testdata/03571_limit_by_all_old_planner/explain_7.txt new file mode 100644 index 0000000000..0eb103821a --- /dev/null +++ b/parser/testdata/03571_limit_by_all_old_planner/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_limit_by_all_old_planner diff --git a/parser/testdata/03572_empty_tuple_in_nested_type/explain_4.txt b/parser/testdata/03572_empty_tuple_in_nested_type/explain_4.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/03572_empty_tuple_in_nested_type/explain_4.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03572_pr_remote_in_subquery/explain_7.txt b/parser/testdata/03572_pr_remote_in_subquery/explain_7.txt new file mode 100644 index 0000000000..fcb2d89148 --- /dev/null +++ b/parser/testdata/03572_pr_remote_in_subquery/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t0 diff --git a/parser/testdata/03573_concurrent_hash_scatter_bug/explain_6.txt b/parser/testdata/03573_concurrent_hash_scatter_bug/explain_6.txt new file mode 100644 index 0000000000..d88229a7e9 --- /dev/null +++ b/parser/testdata/03573_concurrent_hash_scatter_bug/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_join_1 diff --git a/parser/testdata/03573_concurrent_hash_scatter_bug/explain_7.txt b/parser/testdata/03573_concurrent_hash_scatter_bug/explain_7.txt new file mode 100644 index 0000000000..0b7b9736ad --- /dev/null +++ b/parser/testdata/03573_concurrent_hash_scatter_bug/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table_join_2 diff --git a/parser/testdata/03573_concurrent_hash_scatter_bug/explain_9.txt b/parser/testdata/03573_concurrent_hash_scatter_bug/explain_9.txt new file mode 100644 index 0000000000..fcb2d89148 --- /dev/null +++ b/parser/testdata/03573_concurrent_hash_scatter_bug/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t0 diff --git a/parser/testdata/03573_linear_regression_timeseries_functions_various_arguments/explain_3.txt b/parser/testdata/03573_linear_regression_timeseries_functions_various_arguments/explain_3.txt new file mode 100644 index 0000000000..5bb71316ed --- /dev/null +++ b/parser/testdata/03573_linear_regression_timeseries_functions_various_arguments/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ts_data diff --git a/parser/testdata/03574_analyzer_merge_filter_into_join_bug/explain_5.txt b/parser/testdata/03574_analyzer_merge_filter_into_join_bug/explain_5.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03574_analyzer_merge_filter_into_join_bug/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03574_analyzer_merge_filter_into_join_bug/explain_6.txt b/parser/testdata/03574_analyzer_merge_filter_into_join_bug/explain_6.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03574_analyzer_merge_filter_into_join_bug/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03574_analyzer_merge_filter_into_join_bug/explain_7.txt b/parser/testdata/03574_analyzer_merge_filter_into_join_bug/explain_7.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03574_analyzer_merge_filter_into_join_bug/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03574_parallel_replicas_last_right_join/explain_10.txt b/parser/testdata/03574_parallel_replicas_last_right_join/explain_10.txt new file mode 100644 index 0000000000..fcb2d89148 --- /dev/null +++ b/parser/testdata/03574_parallel_replicas_last_right_join/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t0 diff --git a/parser/testdata/03574_parallel_replicas_last_right_join/explain_12.txt b/parser/testdata/03574_parallel_replicas_last_right_join/explain_12.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/03574_parallel_replicas_last_right_join/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/03574_parallel_replicas_last_right_join/explain_14.txt b/parser/testdata/03574_parallel_replicas_last_right_join/explain_14.txt new file mode 100644 index 0000000000..df4a687bc0 --- /dev/null +++ b/parser/testdata/03574_parallel_replicas_last_right_join/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2 diff --git a/parser/testdata/03576_analyzer_distributed_correlated_subquery/explain_4.txt b/parser/testdata/03576_analyzer_distributed_correlated_subquery/explain_4.txt new file mode 100644 index 0000000000..a3c9ea88f8 --- /dev/null +++ b/parser/testdata/03576_analyzer_distributed_correlated_subquery/explain_4.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Identifier _shard_num + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t1 + ExpressionList (children 1) + Identifier _shard_num + Set diff --git a/parser/testdata/03576_analyzer_recursive_window/explain.txt b/parser/testdata/03576_analyzer_recursive_window/explain.txt index 8827c47de6..92de09f866 100644 --- a/parser/testdata/03576_analyzer_recursive_window/explain.txt +++ b/parser/testdata/03576_analyzer_recursive_window/explain.txt @@ -1,5 +1,8 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) - SelectQuery (children 1) + SelectQuery (children 3) ExpressionList (children 1) Literal UInt64_1 + ExpressionList (children 1) + WindowListElement + Set diff --git a/parser/testdata/03577_ub_max_column_in_block_size_bytes/explain_2.txt b/parser/testdata/03577_ub_max_column_in_block_size_bytes/explain_2.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/03577_ub_max_column_in_block_size_bytes/explain_2.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03578_distributed_kv_global_in/explain_10.txt b/parser/testdata/03578_distributed_kv_global_in/explain_10.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03578_distributed_kv_global_in/explain_10.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03578_distributed_kv_global_in/explain_22.txt b/parser/testdata/03578_distributed_kv_global_in/explain_22.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03578_distributed_kv_global_in/explain_22.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03578_kv_in_type_casts/explain_20.txt b/parser/testdata/03578_kv_in_type_casts/explain_20.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03578_kv_in_type_casts/explain_20.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03578_kv_in_type_casts/explain_37.txt b/parser/testdata/03578_kv_in_type_casts/explain_37.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03578_kv_in_type_casts/explain_37.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03578_kv_in_type_casts/explain_61.txt b/parser/testdata/03578_kv_in_type_casts/explain_61.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03578_kv_in_type_casts/explain_61.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03578_kv_in_type_casts/explain_78.txt b/parser/testdata/03578_kv_in_type_casts/explain_78.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03578_kv_in_type_casts/explain_78.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03579_mergeTreeIndex_params/explain_3.txt b/parser/testdata/03579_mergeTreeIndex_params/explain_3.txt new file mode 100644 index 0000000000..24f5d55866 --- /dev/null +++ b/parser/testdata/03579_mergeTreeIndex_params/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_mt_params diff --git a/parser/testdata/03579_zero_copy_aggregating_final_anyLast/explain.txt b/parser/testdata/03579_zero_copy_aggregating_final_anyLast/explain.txt new file mode 100644 index 0000000000..f389b4261d --- /dev/null +++ b/parser/testdata/03579_zero_copy_aggregating_final_anyLast/explain.txt @@ -0,0 +1,59 @@ +CreateQuery t_coalesce (children 3) + Identifier t_coalesce + Columns definition (children 1) + ExpressionList (children 8) + ColumnDeclaration k (children 1) + DataType UInt64 + ColumnDeclaration v1 (children 1) + DataType SimpleAggregateFunction (children 1) + ExpressionList (children 2) + Identifier anyLast + DataType Nullable (children 1) + ExpressionList (children 1) + DataType String + ColumnDeclaration v2 (children 1) + DataType SimpleAggregateFunction (children 1) + ExpressionList (children 2) + Identifier anyLast + DataType Nullable (children 1) + ExpressionList (children 1) + DataType FixedString (children 1) + ExpressionList (children 1) + Literal UInt64_20 + ColumnDeclaration v3 (children 1) + DataType SimpleAggregateFunction (children 1) + ExpressionList (children 2) + Identifier anyLast + DataType Array (children 1) + ExpressionList (children 1) + DataType String + ColumnDeclaration v4 (children 1) + DataType SimpleAggregateFunction (children 1) + ExpressionList (children 2) + Identifier anyLast + DataType Map (children 1) + ExpressionList (children 2) + DataType String + DataType String + ColumnDeclaration v5 (children 1) + DataType SimpleAggregateFunction (children 1) + ExpressionList (children 2) + Identifier anyLast + DataType JSON + ColumnDeclaration v6 (children 1) + DataType SimpleAggregateFunction (children 1) + ExpressionList (children 2) + Identifier anyLast + DataType Variant (children 1) + ExpressionList (children 2) + DataType String + DataType UInt64 + ColumnDeclaration v7 (children 1) + DataType SimpleAggregateFunction (children 1) + ExpressionList (children 2) + Identifier anyLast + DataType Dynamic + Storage definition (children 2) + Function AggregatingMergeTree (children 1) + ExpressionList + Identifier k diff --git a/parser/testdata/03579_zero_copy_aggregating_final_anyLast/explain_10.txt b/parser/testdata/03579_zero_copy_aggregating_final_anyLast/explain_10.txt new file mode 100644 index 0000000000..1c5d952c5a --- /dev/null +++ b/parser/testdata/03579_zero_copy_aggregating_final_anyLast/explain_10.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t_coalesce2 + ExpressionList (children 2) + Identifier k + Identifier v2 diff --git a/parser/testdata/03579_zero_copy_aggregating_final_anyLast/explain_2.txt b/parser/testdata/03579_zero_copy_aggregating_final_anyLast/explain_2.txt new file mode 100644 index 0000000000..ad83421335 --- /dev/null +++ b/parser/testdata/03579_zero_copy_aggregating_final_anyLast/explain_2.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t_coalesce + ExpressionList (children 1) + Identifier k diff --git a/parser/testdata/03579_zero_copy_aggregating_final_anyLast/explain_3.txt b/parser/testdata/03579_zero_copy_aggregating_final_anyLast/explain_3.txt new file mode 100644 index 0000000000..8f60ad8446 --- /dev/null +++ b/parser/testdata/03579_zero_copy_aggregating_final_anyLast/explain_3.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t_coalesce + ExpressionList (children 2) + Identifier k + Identifier v1 diff --git a/parser/testdata/03579_zero_copy_aggregating_final_anyLast/explain_4.txt b/parser/testdata/03579_zero_copy_aggregating_final_anyLast/explain_4.txt new file mode 100644 index 0000000000..f24dbae65c --- /dev/null +++ b/parser/testdata/03579_zero_copy_aggregating_final_anyLast/explain_4.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t_coalesce + ExpressionList (children 2) + Identifier k + Identifier v2 diff --git a/parser/testdata/03579_zero_copy_aggregating_final_anyLast/explain_5.txt b/parser/testdata/03579_zero_copy_aggregating_final_anyLast/explain_5.txt new file mode 100644 index 0000000000..4f15ca44d2 --- /dev/null +++ b/parser/testdata/03579_zero_copy_aggregating_final_anyLast/explain_5.txt @@ -0,0 +1,9 @@ +InsertQuery (children 2) + Identifier t_coalesce + ExpressionList (children 6) + Identifier k + Identifier v3 + Identifier v4 + Identifier v5 + Identifier v6 + Identifier v7 diff --git a/parser/testdata/03579_zero_copy_aggregating_final_anyLast/explain_8.txt b/parser/testdata/03579_zero_copy_aggregating_final_anyLast/explain_8.txt new file mode 100644 index 0000000000..f841cae579 --- /dev/null +++ b/parser/testdata/03579_zero_copy_aggregating_final_anyLast/explain_8.txt @@ -0,0 +1,9 @@ +InsertQuery (children 2) + Identifier t_coalesce2 + ExpressionList (children 6) + Identifier k + Identifier v3 + Identifier v4 + Identifier v5 + Identifier v6 + Identifier v7 diff --git a/parser/testdata/03579_zero_copy_aggregating_final_anyLast/explain_9.txt b/parser/testdata/03579_zero_copy_aggregating_final_anyLast/explain_9.txt new file mode 100644 index 0000000000..01d68dfba6 --- /dev/null +++ b/parser/testdata/03579_zero_copy_aggregating_final_anyLast/explain_9.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t_coalesce2 + ExpressionList (children 2) + Identifier k + Identifier v1 diff --git a/parser/testdata/03580_external_merge_sort_with_lazy_columns/explain_4.txt b/parser/testdata/03580_external_merge_sort_with_lazy_columns/explain_4.txt new file mode 100644 index 0000000000..7084093f7c --- /dev/null +++ b/parser/testdata/03580_external_merge_sort_with_lazy_columns/explain_4.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test + ExpressionList (children 1) + OrderByElement (children 1) + Identifier c3 + Literal UInt64_1 + Set diff --git a/parser/testdata/03580_join_runtime_filter/explain_4.txt b/parser/testdata/03580_join_runtime_filter/explain_4.txt new file mode 100644 index 0000000000..0d6fcc22f5 --- /dev/null +++ b/parser/testdata/03580_join_runtime_filter/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nation diff --git a/parser/testdata/03580_join_runtime_filter_column_type/explain.txt b/parser/testdata/03580_join_runtime_filter_column_type/explain.txt deleted file mode 100644 index 18957dd661..0000000000 --- a/parser/testdata/03580_join_runtime_filter_column_type/explain.txt +++ /dev/null @@ -1,20 +0,0 @@ -SelectWithUnionQuery (children 1) - ExpressionList (children 1) - SelectQuery (children 4) - ExpressionList (children 1) - Literal UInt64_1 - TablesInSelectQuery (children 1) - TablesInSelectQueryElement (children 1) - TableExpression (children 1) - Function numbers (alias t0) (children 1) - ExpressionList (children 1) - Literal UInt64_1 - Function exists (children 1) - ExpressionList (children 1) - Subquery (children 1) - SelectWithUnionQuery (children 1) - ExpressionList (children 1) - SelectQuery (children 1) - ExpressionList (children 1) - Identifier t0._table - Set diff --git a/parser/testdata/03580_join_runtime_filter_prewhere/explain_3.txt b/parser/testdata/03580_join_runtime_filter_prewhere/explain_3.txt new file mode 100644 index 0000000000..0d6fcc22f5 --- /dev/null +++ b/parser/testdata/03580_join_runtime_filter_prewhere/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nation diff --git a/parser/testdata/03581_nested_storage_merge_distributed_order_by/explain_12.txt b/parser/testdata/03581_nested_storage_merge_distributed_order_by/explain_12.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/03581_nested_storage_merge_distributed_order_by/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/03581_nested_storage_merge_distributed_order_by/explain_13.txt b/parser/testdata/03581_nested_storage_merge_distributed_order_by/explain_13.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/03581_nested_storage_merge_distributed_order_by/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/03581_parallel_replicas_read_empty_ranges/explain.txt b/parser/testdata/03581_parallel_replicas_read_empty_ranges/explain.txt new file mode 100644 index 0000000000..cb1142253f --- /dev/null +++ b/parser/testdata/03581_parallel_replicas_read_empty_ranges/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03581_parallel_replicas_read_empty_ranges/explain_10.txt b/parser/testdata/03581_parallel_replicas_read_empty_ranges/explain_10.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03581_parallel_replicas_read_empty_ranges/explain_10.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03581_parallel_replicas_task_size/explain_11.txt b/parser/testdata/03581_parallel_replicas_task_size/explain_11.txt index 0d860bb262..2015cb5fa9 100644 --- a/parser/testdata/03581_parallel_replicas_task_size/explain_11.txt +++ b/parser/testdata/03581_parallel_replicas_task_size/explain_11.txt @@ -1,12 +1,11 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) TableIdentifier t - Set Identifier Null Set diff --git a/parser/testdata/03581_parallel_replicas_task_size/explain_12.txt b/parser/testdata/03581_parallel_replicas_task_size/explain_12.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03581_parallel_replicas_task_size/explain_12.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03581_parallel_replicas_task_size/explain_13.txt b/parser/testdata/03581_parallel_replicas_task_size/explain_13.txt new file mode 100644 index 0000000000..4d257fb2e2 --- /dev/null +++ b/parser/testdata/03581_parallel_replicas_task_size/explain_13.txt @@ -0,0 +1,34 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function throwIf (children 1) + ExpressionList (children 1) + Function greater (children 1) + ExpressionList (children 2) + Function arrayElement (children 1) + ExpressionList (children 2) + Identifier ProfileEvents + Literal \'ParallelReplicasNumRequests\' + Literal UInt64_25 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.query_log + Function and (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Identifier current_database + Function currentDatabase (children 1) + ExpressionList + Function equals (children 1) + ExpressionList (children 2) + Identifier log_comment + Literal \'parallel_replicas_task_size_82982938\' + Function equals (children 1) + ExpressionList (children 2) + Identifier type + Literal \'QueryFinish\' + Set + Identifier Null diff --git a/parser/testdata/03581_read_in_order_use_virtual_row_WHERE/explain_5.txt b/parser/testdata/03581_read_in_order_use_virtual_row_WHERE/explain_5.txt new file mode 100644 index 0000000000..b601862620 --- /dev/null +++ b/parser/testdata/03581_read_in_order_use_virtual_row_WHERE/explain_5.txt @@ -0,0 +1,21 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 1) + Identifier x + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tab + Function equals (children 1) + ExpressionList (children 2) + Function bitAnd (children 1) + ExpressionList (children 2) + Identifier y + Literal UInt64_1023 + Literal UInt64_0 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier x + Literal UInt64_10 + Set diff --git a/parser/testdata/03581_read_in_order_use_virtual_row_WHERE/explain_6.txt b/parser/testdata/03581_read_in_order_use_virtual_row_WHERE/explain_6.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03581_read_in_order_use_virtual_row_WHERE/explain_6.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03582_normalize_utf8_empty/explain.txt b/parser/testdata/03582_normalize_utf8_empty/explain.txt new file mode 100644 index 0000000000..f185071cd3 --- /dev/null +++ b/parser/testdata/03582_normalize_utf8_empty/explain.txt @@ -0,0 +1,29 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 9) + Literal \'\' (alias value) + Function normalizeUTF8NFC (alias nfc) (children 1) + ExpressionList (children 1) + Identifier value + Function length (alias nfc_len) (children 1) + ExpressionList (children 1) + Identifier nfc + Function normalizeUTF8NFD (alias nfd) (children 1) + ExpressionList (children 1) + Identifier value + Function length (alias nfd_len) (children 1) + ExpressionList (children 1) + Identifier nfd + Function normalizeUTF8NFKC (alias nfkc) (children 1) + ExpressionList (children 1) + Identifier value + Function length (alias nfkc_len) (children 1) + ExpressionList (children 1) + Identifier nfkc + Function normalizeUTF8NFKD (alias nfkd) (children 1) + ExpressionList (children 1) + Identifier value + Function length (alias nfkd_len) (children 1) + ExpressionList (children 1) + Identifier nfkd diff --git a/parser/testdata/03591_optimize_prewhere_row_policy/explain_7.txt b/parser/testdata/03591_optimize_prewhere_row_policy/explain_7.txt new file mode 100644 index 0000000000..1ef6b40942 --- /dev/null +++ b/parser/testdata/03591_optimize_prewhere_row_policy/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 03591_test diff --git a/parser/testdata/03593_any_join_swap_tables/explain.txt b/parser/testdata/03593_any_join_swap_tables/explain.txt index 4a4482c945..68dbecd1d7 100644 --- a/parser/testdata/03593_any_join_swap_tables/explain.txt +++ b/parser/testdata/03593_any_join_swap_tables/explain.txt @@ -1,6 +1,10 @@ -CreateQuery lhs (children 2) +CreateQuery lhs (children 3) Identifier lhs Columns definition (children 1) ExpressionList (children 1) ColumnDeclaration a (children 1) DataType UInt32 + Storage definition (children 2) + Function MergeTree + Function tuple (children 1) + ExpressionList diff --git a/parser/testdata/03593_any_join_swap_tables/explain_3.txt b/parser/testdata/03593_any_join_swap_tables/explain_3.txt new file mode 100644 index 0000000000..cd5275c835 --- /dev/null +++ b/parser/testdata/03593_any_join_swap_tables/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier lhs diff --git a/parser/testdata/03593_any_join_swap_tables/explain_7.txt b/parser/testdata/03593_any_join_swap_tables/explain_7.txt index 938ade32ae..0d81922407 100644 --- a/parser/testdata/03593_any_join_swap_tables/explain_7.txt +++ b/parser/testdata/03593_any_join_swap_tables/explain_7.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 2) @@ -15,6 +15,5 @@ SelectWithUnionQuery (children 3) ExpressionList (children 2) Identifier lhs.a Identifier rhs.a - Set Identifier Null Set diff --git a/parser/testdata/03593_any_join_swap_tables/explain_8.txt b/parser/testdata/03593_any_join_swap_tables/explain_8.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03593_any_join_swap_tables/explain_8.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03593_backup_with_broken_projection/explain.txt b/parser/testdata/03593_backup_with_broken_projection/explain.txt index a687f7150b..23e375d17b 100644 --- a/parser/testdata/03593_backup_with_broken_projection/explain.txt +++ b/parser/testdata/03593_backup_with_broken_projection/explain.txt @@ -1,6 +1,6 @@ CreateQuery 03593_backup_with_broken_projection (children 3) Identifier 03593_backup_with_broken_projection - Columns definition (children 1) + Columns definition (children 2) ExpressionList (children 4) ColumnDeclaration id (children 1) DataType UInt64 @@ -14,6 +14,19 @@ CreateQuery 03593_backup_with_broken_projection (children 3) DataType DateTime64 (children 1) ExpressionList (children 1) Literal UInt64_6 + ExpressionList (children 1) + Projection (children 1) + ProjectionSelectQuery (children 2) + ExpressionList (children 3) + Identifier string + Function max (children 1) + ExpressionList (children 1) + Identifier time1 + Function max (children 1) + ExpressionList (children 1) + Identifier time2 + ExpressionList (children 1) + Identifier string Storage definition (children 2) Function MergeTree Identifier time1 diff --git a/parser/testdata/03594_coalescing_merge_tree_segfault/explain_3.txt b/parser/testdata/03594_coalescing_merge_tree_segfault/explain_3.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/03594_coalescing_merge_tree_segfault/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03594_constraint_subqery_logical_error/explain_2.txt b/parser/testdata/03594_constraint_subqery_logical_error/explain_2.txt new file mode 100644 index 0000000000..3083b0bdf5 --- /dev/null +++ b/parser/testdata/03594_constraint_subqery_logical_error/explain_2.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier check_constraint + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03594_constraint_subqery_logical_error/explain_4.txt b/parser/testdata/03594_constraint_subqery_logical_error/explain_4.txt new file mode 100644 index 0000000000..3083b0bdf5 --- /dev/null +++ b/parser/testdata/03594_constraint_subqery_logical_error/explain_4.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier check_constraint + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03594_constraint_subqery_logical_error/explain_8.txt b/parser/testdata/03594_constraint_subqery_logical_error/explain_8.txt new file mode 100644 index 0000000000..a7abea6558 --- /dev/null +++ b/parser/testdata/03594_constraint_subqery_logical_error/explain_8.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier assume_constraint + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03594_is_valid_ascii_errors/explain.txt b/parser/testdata/03594_is_valid_ascii_errors/explain.txt index ae2e3b205e..7f576071a2 100644 --- a/parser/testdata/03594_is_valid_ascii_errors/explain.txt +++ b/parser/testdata/03594_is_valid_ascii_errors/explain.txt @@ -5,4 +5,3 @@ SelectWithUnionQuery (children 1) Function isValidASCII (children 1) ExpressionList (children 1) Literal Array_[UInt64_1, UInt64_2, UInt64_3] -The query succeeded but the server error '43' was expected (query: EXPLAIN AST SELECT isValidASCII([1, 2, 3]); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }). diff --git a/parser/testdata/03594_json_extract_decimal_precision/explain_3.txt b/parser/testdata/03594_json_extract_decimal_precision/explain_3.txt new file mode 100644 index 0000000000..4b216d5932 --- /dev/null +++ b/parser/testdata/03594_json_extract_decimal_precision/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_json_decimal_precision diff --git a/parser/testdata/03594_like_perfect_affix_rewrite_pass/explain_5.txt b/parser/testdata/03594_like_perfect_affix_rewrite_pass/explain_5.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/03594_like_perfect_affix_rewrite_pass/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/03594_system_grants_parameters/explain_5.txt b/parser/testdata/03594_system_grants_parameters/explain_5.txt new file mode 100644 index 0000000000..a567738d3d --- /dev/null +++ b/parser/testdata/03594_system_grants_parameters/explain_5.txt @@ -0,0 +1 @@ +GrantQuery diff --git a/parser/testdata/03594_system_grants_parameters/explain_6.txt b/parser/testdata/03594_system_grants_parameters/explain_6.txt new file mode 100644 index 0000000000..a567738d3d --- /dev/null +++ b/parser/testdata/03594_system_grants_parameters/explain_6.txt @@ -0,0 +1 @@ +GrantQuery diff --git a/parser/testdata/03594_system_grants_parameters/explain_7.txt b/parser/testdata/03594_system_grants_parameters/explain_7.txt new file mode 100644 index 0000000000..a567738d3d --- /dev/null +++ b/parser/testdata/03594_system_grants_parameters/explain_7.txt @@ -0,0 +1 @@ +GrantQuery diff --git a/parser/testdata/03594_system_grants_parameters/explain_8.txt b/parser/testdata/03594_system_grants_parameters/explain_8.txt new file mode 100644 index 0000000000..a567738d3d --- /dev/null +++ b/parser/testdata/03594_system_grants_parameters/explain_8.txt @@ -0,0 +1 @@ +GrantQuery diff --git a/parser/testdata/03595_changes_timeseries_functions_various_arguments/explain_3.txt b/parser/testdata/03595_changes_timeseries_functions_various_arguments/explain_3.txt new file mode 100644 index 0000000000..5bb71316ed --- /dev/null +++ b/parser/testdata/03595_changes_timeseries_functions_various_arguments/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ts_data diff --git a/parser/testdata/03595_exists_as_scalar_subquery/explain_11.txt b/parser/testdata/03595_exists_as_scalar_subquery/explain_11.txt new file mode 100644 index 0000000000..ef934a2a0f --- /dev/null +++ b/parser/testdata/03595_exists_as_scalar_subquery/explain_11.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function exists (children 1) + ExpressionList (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Literal UInt64_1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_2 + Function notEquals (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_0 + Set diff --git a/parser/testdata/03595_exists_as_scalar_subquery/explain_4.txt b/parser/testdata/03595_exists_as_scalar_subquery/explain_4.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/03595_exists_as_scalar_subquery/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/03595_exists_as_scalar_subquery/explain_6.txt b/parser/testdata/03595_exists_as_scalar_subquery/explain_6.txt new file mode 100644 index 0000000000..ac51927cb8 --- /dev/null +++ b/parser/testdata/03595_exists_as_scalar_subquery/explain_6.txt @@ -0,0 +1,52 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tab + Function or (children 1) + ExpressionList (children 3) + Function greater (children 1) + ExpressionList (children 2) + Identifier id + Literal UInt64_0 + Function exists (children 1) + ExpressionList (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + Function greater (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 + Function exists (children 1) + ExpressionList (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + Function greater (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 + Set diff --git a/parser/testdata/03595_exists_as_scalar_subquery/explain_7.txt b/parser/testdata/03595_exists_as_scalar_subquery/explain_7.txt new file mode 100644 index 0000000000..e599f3f17a --- /dev/null +++ b/parser/testdata/03595_exists_as_scalar_subquery/explain_7.txt @@ -0,0 +1,52 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tab + Function or (children 1) + ExpressionList (children 3) + Function greater (children 1) + ExpressionList (children 2) + Identifier id + Literal UInt64_2 + Function exists (children 1) + ExpressionList (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + Function greater (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 + Function exists (children 1) + ExpressionList (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + Function greater (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 + Set diff --git a/parser/testdata/03595_exists_as_scalar_subquery/explain_9.txt b/parser/testdata/03595_exists_as_scalar_subquery/explain_9.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03595_exists_as_scalar_subquery/explain_9.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03595_parallel_replicas_join_remote/explain_5.txt b/parser/testdata/03595_parallel_replicas_join_remote/explain_5.txt new file mode 100644 index 0000000000..8d762056d9 --- /dev/null +++ b/parser/testdata/03595_parallel_replicas_join_remote/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_join_remote_l diff --git a/parser/testdata/03595_parallel_replicas_join_remote/explain_6.txt b/parser/testdata/03595_parallel_replicas_join_remote/explain_6.txt new file mode 100644 index 0000000000..b509c8e25f --- /dev/null +++ b/parser/testdata/03595_parallel_replicas_join_remote/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_join_remote_r diff --git a/parser/testdata/03595_pread_threadpool_direct_io/explain_4.txt b/parser/testdata/03595_pread_threadpool_direct_io/explain_4.txt index 7e05696330..217141d0dc 100644 --- a/parser/testdata/03595_pread_threadpool_direct_io/explain_4.txt +++ b/parser/testdata/03595_pread_threadpool_direct_io/explain_4.txt @@ -1,12 +1,11 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) TableIdentifier 03595_data - Set Identifier Null Set diff --git a/parser/testdata/03595_pread_threadpool_direct_io/explain_5.txt b/parser/testdata/03595_pread_threadpool_direct_io/explain_5.txt index 7e05696330..217141d0dc 100644 --- a/parser/testdata/03595_pread_threadpool_direct_io/explain_5.txt +++ b/parser/testdata/03595_pread_threadpool_direct_io/explain_5.txt @@ -1,12 +1,11 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) TableIdentifier 03595_data - Set Identifier Null Set diff --git a/parser/testdata/03595_pread_threadpool_direct_io/explain_6.txt b/parser/testdata/03595_pread_threadpool_direct_io/explain_6.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03595_pread_threadpool_direct_io/explain_6.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03595_set_query_no_eq_set_to_one/explain.txt b/parser/testdata/03595_set_query_no_eq_set_to_one/explain.txt deleted file mode 100644 index 256bac938c..0000000000 --- a/parser/testdata/03595_set_query_no_eq_set_to_one/explain.txt +++ /dev/null @@ -1,17 +0,0 @@ -SelectWithUnionQuery (children 1) - ExpressionList (children 1) - SelectQuery (children 4) - ExpressionList (children 4) - Identifier name - Identifier value - Identifier changed - Identifier default - TablesInSelectQuery (children 1) - TablesInSelectQueryElement (children 1) - TableExpression (children 1) - TableIdentifier system.settings - Function equals (children 1) - ExpressionList (children 2) - Identifier name - Literal \'force_index_by_date\' - Set diff --git a/parser/testdata/03595_set_query_no_eq_set_to_one/explain_32.txt b/parser/testdata/03595_set_query_no_eq_set_to_one/explain_32.txt new file mode 100644 index 0000000000..ba352a692f --- /dev/null +++ b/parser/testdata/03595_set_query_no_eq_set_to_one/explain_32.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier t + Set diff --git a/parser/testdata/03596_parquet_prewhere_page_skip_bug/explain_5.txt b/parser/testdata/03596_parquet_prewhere_page_skip_bug/explain_5.txt new file mode 100644 index 0000000000..f1a2609f0b --- /dev/null +++ b/parser/testdata/03596_parquet_prewhere_page_skip_bug/explain_5.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 1) + Identifier n10 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function file (children 1) + ExpressionList (children 1) + Literal \'03596_parquet_prewhere_page_skip_bug.parquet\' + Function in (children 1) + ExpressionList (children 2) + Identifier n + Literal Tuple_(UInt64_131, UInt64_174, UInt64_175, UInt64_176) + ExpressionList (children 1) + OrderByElement (children 1) + Identifier all + Set diff --git a/parser/testdata/03598_json_enum_default_value_in_typed_path/explain_3.txt b/parser/testdata/03598_json_enum_default_value_in_typed_path/explain_3.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03598_json_enum_default_value_in_typed_path/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03599_lightweight_delete_vertical_merge/explain_15.txt b/parser/testdata/03599_lightweight_delete_vertical_merge/explain_15.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03599_lightweight_delete_vertical_merge/explain_15.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03600_analyzer_setting_bool/explain.txt b/parser/testdata/03600_analyzer_setting_bool/explain.txt deleted file mode 100644 index f58e3fbdaf..0000000000 --- a/parser/testdata/03600_analyzer_setting_bool/explain.txt +++ /dev/null @@ -1,6 +0,0 @@ -SelectWithUnionQuery (children 1) - ExpressionList (children 1) - SelectQuery (children 2) - ExpressionList (children 1) - Literal UInt64_1 - Set diff --git a/parser/testdata/03601_histogram_quantile/explain.txt b/parser/testdata/03601_histogram_quantile/explain.txt index 11d5b92d35..e6444c7e3b 100644 --- a/parser/testdata/03601_histogram_quantile/explain.txt +++ b/parser/testdata/03601_histogram_quantile/explain.txt @@ -29,14 +29,7 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) Function arrayZip (children 1) ExpressionList (children 2) - Function array (children 1) - ExpressionList (children 4) - Literal Float64_0 - Literal Float64_0.5 - Literal Float64_1 - Function + (children 1) - ExpressionList (children 1) - Literal Float64_inf + Literal Array_[Float64_0, Float64_0.5, Float64_1, Float64_inf] Literal Array_[Float64_0, Float64_10, Float64_11, Float64_12] Identifier number TablesInSelectQuery (children 1) diff --git a/parser/testdata/03601_replace_regex_fixedstring_empty_needle/explain.txt b/parser/testdata/03601_replace_regex_fixedstring_empty_needle/explain.txt index d0199664b0..23c79a185e 100644 --- a/parser/testdata/03601_replace_regex_fixedstring_empty_needle/explain.txt +++ b/parser/testdata/03601_replace_regex_fixedstring_empty_needle/explain.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) - SelectQuery (children 1) + SelectQuery (children 2) ExpressionList (children 1) Function replaceRegexpAll (children 1) ExpressionList (children 3) @@ -17,3 +17,9 @@ SelectWithUnionQuery (children 1) Literal UInt64_2 Literal \'\' Literal \'aazzqa\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 diff --git a/parser/testdata/03601_temporary_views/explain_2.txt b/parser/testdata/03601_temporary_views/explain_2.txt new file mode 100644 index 0000000000..bcf53adb08 --- /dev/null +++ b/parser/testdata/03601_temporary_views/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_src diff --git a/parser/testdata/03603_getSubcolumnType_msan/explain.txt b/parser/testdata/03603_getSubcolumnType_msan/explain.txt index 16a38543e8..0dd8b2f73a 100644 --- a/parser/testdata/03603_getSubcolumnType_msan/explain.txt +++ b/parser/testdata/03603_getSubcolumnType_msan/explain.txt @@ -10,4 +10,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Identifier x.^`c0` Literal UInt64_1 -The query succeeded but the server error '[43, 47]' was expected (query: EXPLAIN AST SELECT '{}'::JSON x QUALIFY x.^c0 = 1; -- { serverError ILLEGAL_TYPE_OF_ARGUMENT, UNKNOWN_IDENTIFIER }). diff --git a/parser/testdata/03603_ip_binary_operators/explain.txt b/parser/testdata/03603_ip_binary_operators/explain.txt index 7a5b5fc90d..b526b343e0 100644 --- a/parser/testdata/03603_ip_binary_operators/explain.txt +++ b/parser/testdata/03603_ip_binary_operators/explain.txt @@ -17,4 +17,3 @@ SelectWithUnionQuery (children 1) Literal \'1\' Literal UInt64_1 Literal \'IPv6\' -The query succeeded but the server error '43' was expected (query: EXPLAIN AST SELECT now() + CAST(toFixedString(materialize(toNullable('1')), 1), 'IPv6'); -- {serverError ILLEGAL_TYPE_OF_ARGUMENT}). diff --git a/parser/testdata/03603_reading_s3_cluster_all_nodes_unavailable/explain.txt b/parser/testdata/03603_reading_s3_cluster_all_nodes_unavailable/explain.txt index 1683fe782e..f54b47a74f 100644 --- a/parser/testdata/03603_reading_s3_cluster_all_nodes_unavailable/explain.txt +++ b/parser/testdata/03603_reading_s3_cluster_all_nodes_unavailable/explain.txt @@ -10,4 +10,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Literal \'test_cluster_multiple_nodes_all_unavailable\' Literal \'http://localhost:11111/test/a.tsv\' -The query succeeded but the server error '279' was expected (query: EXPLAIN AST SELECT * FROM s3Cluster('test_cluster_multiple_nodes_all_unavailable', 'http://localhost:11111/test/a.tsv'); -- { serverError ALL_CONNECTION_TRIES_FAILED }). diff --git a/parser/testdata/03604_and_join_use_nulls_bug_83977/explain_2.txt b/parser/testdata/03604_and_join_use_nulls_bug_83977/explain_2.txt new file mode 100644 index 0000000000..df26ef83a8 --- /dev/null +++ b/parser/testdata/03604_and_join_use_nulls_bug_83977/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier AA diff --git a/parser/testdata/03604_and_join_use_nulls_bug_83977/explain_4.txt b/parser/testdata/03604_and_join_use_nulls_bug_83977/explain_4.txt new file mode 100644 index 0000000000..f908690690 --- /dev/null +++ b/parser/testdata/03604_and_join_use_nulls_bug_83977/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier B diff --git a/parser/testdata/03604_and_join_use_nulls_bug_83977/explain_6.txt b/parser/testdata/03604_and_join_use_nulls_bug_83977/explain_6.txt new file mode 100644 index 0000000000..cf5a6d05fc --- /dev/null +++ b/parser/testdata/03604_and_join_use_nulls_bug_83977/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier C diff --git a/parser/testdata/03604_dynamic_key_in_join/explain_6.txt b/parser/testdata/03604_dynamic_key_in_join/explain_6.txt new file mode 100644 index 0000000000..fcb2d89148 --- /dev/null +++ b/parser/testdata/03604_dynamic_key_in_join/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t0 diff --git a/parser/testdata/03604_dynamic_key_in_join/explain_7.txt b/parser/testdata/03604_dynamic_key_in_join/explain_7.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/03604_dynamic_key_in_join/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/03604_functions_to_subcolumns_outer_join/explain_4.txt b/parser/testdata/03604_functions_to_subcolumns_outer_join/explain_4.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03604_functions_to_subcolumns_outer_join/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03604_functions_to_subcolumns_outer_join/explain_6.txt b/parser/testdata/03604_functions_to_subcolumns_outer_join/explain_6.txt new file mode 100644 index 0000000000..248eabef36 --- /dev/null +++ b/parser/testdata/03604_functions_to_subcolumns_outer_join/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users_ext diff --git a/parser/testdata/03604_parallel_with_query_lock/explain_4.txt b/parser/testdata/03604_parallel_with_query_lock/explain_4.txt new file mode 100644 index 0000000000..f90ba204b4 --- /dev/null +++ b/parser/testdata/03604_parallel_with_query_lock/explain_4.txt @@ -0,0 +1,12 @@ +ParallelWithQuery 2 InsertQuery__ (children 2) + InsertQuery (children 3) + Identifier t0 + ExpressionList (children 1) + Identifier c0 + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 + TruncateQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03604_string_with_size_stream/explain_12.txt b/parser/testdata/03604_string_with_size_stream/explain_12.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03604_string_with_size_stream/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03604_string_with_size_stream/explain_3.txt b/parser/testdata/03604_string_with_size_stream/explain_3.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03604_string_with_size_stream/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03604_string_with_size_stream/explain_58.txt b/parser/testdata/03604_string_with_size_stream/explain_58.txt new file mode 100644 index 0000000000..d9ea281dc2 --- /dev/null +++ b/parser/testdata/03604_string_with_size_stream/explain_58.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_column_names diff --git a/parser/testdata/03604_string_with_size_stream/explain_8.txt b/parser/testdata/03604_string_with_size_stream/explain_8.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03604_string_with_size_stream/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03604_test_merge_tree_min_read_task_size_is_zero/explain_5.txt b/parser/testdata/03604_test_merge_tree_min_read_task_size_is_zero/explain_5.txt new file mode 100644 index 0000000000..890671b326 --- /dev/null +++ b/parser/testdata/03604_test_merge_tree_min_read_task_size_is_zero/explain_5.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier 03604_test + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03604_test_merge_tree_min_read_task_size_is_zero/explain_7.txt b/parser/testdata/03604_test_merge_tree_min_read_task_size_is_zero/explain_7.txt new file mode 100644 index 0000000000..1679d49bad --- /dev/null +++ b/parser/testdata/03604_test_merge_tree_min_read_task_size_is_zero/explain_7.txt @@ -0,0 +1,6 @@ +UpdateQuery 03604_test (children 3) + Identifier 03604_test + Literal Bool_1 + ExpressionList (children 1) + Assignment c0 (children 1) + Literal UInt64_3 diff --git a/parser/testdata/03604_test_merge_tree_min_read_task_size_is_zero/explain_8.txt b/parser/testdata/03604_test_merge_tree_min_read_task_size_is_zero/explain_8.txt new file mode 100644 index 0000000000..d6a78cbf81 --- /dev/null +++ b/parser/testdata/03604_test_merge_tree_min_read_task_size_is_zero/explain_8.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier 03604_test + Set diff --git a/parser/testdata/03604_to_date_casts/explain_12.txt b/parser/testdata/03604_to_date_casts/explain_12.txt new file mode 100644 index 0000000000..fe86b95bf3 --- /dev/null +++ b/parser/testdata/03604_to_date_casts/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_date32_casts diff --git a/parser/testdata/03604_to_date_casts/explain_16.txt b/parser/testdata/03604_to_date_casts/explain_16.txt new file mode 100644 index 0000000000..682446147c --- /dev/null +++ b/parser/testdata/03604_to_date_casts/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_date_casts diff --git a/parser/testdata/03604_to_date_casts/explain_20.txt b/parser/testdata/03604_to_date_casts/explain_20.txt new file mode 100644 index 0000000000..682446147c --- /dev/null +++ b/parser/testdata/03604_to_date_casts/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_date_casts diff --git a/parser/testdata/03604_to_date_casts/explain_24.txt b/parser/testdata/03604_to_date_casts/explain_24.txt new file mode 100644 index 0000000000..682446147c --- /dev/null +++ b/parser/testdata/03604_to_date_casts/explain_24.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_date_casts diff --git a/parser/testdata/03604_to_date_casts/explain_28.txt b/parser/testdata/03604_to_date_casts/explain_28.txt new file mode 100644 index 0000000000..4f080fd6d9 --- /dev/null +++ b/parser/testdata/03604_to_date_casts/explain_28.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier fuzz_71531 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03604_to_date_casts/explain_32.txt b/parser/testdata/03604_to_date_casts/explain_32.txt new file mode 100644 index 0000000000..64a87cc0e5 --- /dev/null +++ b/parser/testdata/03604_to_date_casts/explain_32.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier fuzz_86799 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03604_to_date_casts/explain_4.txt b/parser/testdata/03604_to_date_casts/explain_4.txt new file mode 100644 index 0000000000..fe86b95bf3 --- /dev/null +++ b/parser/testdata/03604_to_date_casts/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_date32_casts diff --git a/parser/testdata/03604_to_date_casts/explain_8.txt b/parser/testdata/03604_to_date_casts/explain_8.txt new file mode 100644 index 0000000000..fe86b95bf3 --- /dev/null +++ b/parser/testdata/03604_to_date_casts/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_date32_casts diff --git a/parser/testdata/03605_dynamic_to_nullable_low_cardinality_bug/explain_6.txt b/parser/testdata/03605_dynamic_to_nullable_low_cardinality_bug/explain_6.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/03605_dynamic_to_nullable_low_cardinality_bug/explain_6.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03605_dynamic_to_nullable_low_cardinality_bug/explain_7.txt b/parser/testdata/03605_dynamic_to_nullable_low_cardinality_bug/explain_7.txt new file mode 100644 index 0000000000..a032fb3bba --- /dev/null +++ b/parser/testdata/03605_dynamic_to_nullable_low_cardinality_bug/explain_7.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03610_disjunctions_pushdown_optimization/explain_10.txt b/parser/testdata/03610_disjunctions_pushdown_optimization/explain_10.txt new file mode 100644 index 0000000000..2cb236c07b --- /dev/null +++ b/parser/testdata/03610_disjunctions_pushdown_optimization/explain_10.txt @@ -0,0 +1,78 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function REGEXP_REPLACE (children 1) + ExpressionList (children 3) + Function trimLeft (children 1) + ExpressionList (children 1) + Identifier explain + Literal \'__set_Int32_\\\\d+_\\\\d+\' + Literal \'__set_Int32_UNIQ_ID\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function viewExplain (children 1) + ExpressionList (children 3) + Literal \'EXPLAIN\' + Literal \'actions = 1\' + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 3) + Identifier t1.k + Identifier t1.a + Identifier t2.x + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tp1 (alias t1) + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier tp2 (alias t2) + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier t1.k + Identifier t2.k + Function or (children 1) + ExpressionList (children 2) + Function and (children 1) + ExpressionList (children 2) + Function in (children 1) + ExpressionList (children 2) + Identifier t1.k + Literal Tuple_(UInt64_1, UInt64_2) + Function equals (children 1) + ExpressionList (children 2) + Identifier t2.x + Literal UInt64_100 + Function and (children 1) + ExpressionList (children 2) + Function in (children 1) + ExpressionList (children 2) + Identifier t1.k + Literal Tuple_(UInt64_3, UInt64_4) + Function equals (children 1) + ExpressionList (children 2) + Identifier t2.x + Literal UInt64_200 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier t1.k + Function ilike (children 1) + ExpressionList (children 2) + Identifier explain + Literal \'%Filter column: %\' + Set + Identifier TSV diff --git a/parser/testdata/03610_disjunctions_pushdown_optimization/explain_13.txt b/parser/testdata/03610_disjunctions_pushdown_optimization/explain_13.txt new file mode 100644 index 0000000000..2cb236c07b --- /dev/null +++ b/parser/testdata/03610_disjunctions_pushdown_optimization/explain_13.txt @@ -0,0 +1,78 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function REGEXP_REPLACE (children 1) + ExpressionList (children 3) + Function trimLeft (children 1) + ExpressionList (children 1) + Identifier explain + Literal \'__set_Int32_\\\\d+_\\\\d+\' + Literal \'__set_Int32_UNIQ_ID\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function viewExplain (children 1) + ExpressionList (children 3) + Literal \'EXPLAIN\' + Literal \'actions = 1\' + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 3) + Identifier t1.k + Identifier t1.a + Identifier t2.x + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tp1 (alias t1) + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier tp2 (alias t2) + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier t1.k + Identifier t2.k + Function or (children 1) + ExpressionList (children 2) + Function and (children 1) + ExpressionList (children 2) + Function in (children 1) + ExpressionList (children 2) + Identifier t1.k + Literal Tuple_(UInt64_1, UInt64_2) + Function equals (children 1) + ExpressionList (children 2) + Identifier t2.x + Literal UInt64_100 + Function and (children 1) + ExpressionList (children 2) + Function in (children 1) + ExpressionList (children 2) + Identifier t1.k + Literal Tuple_(UInt64_3, UInt64_4) + Function equals (children 1) + ExpressionList (children 2) + Identifier t2.x + Literal UInt64_200 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier t1.k + Function ilike (children 1) + ExpressionList (children 2) + Identifier explain + Literal \'%Filter column: %\' + Set + Identifier TSV diff --git a/parser/testdata/03610_disjunctions_pushdown_optimization/explain_22.txt b/parser/testdata/03610_disjunctions_pushdown_optimization/explain_22.txt new file mode 100644 index 0000000000..d01d16d36b --- /dev/null +++ b/parser/testdata/03610_disjunctions_pushdown_optimization/explain_22.txt @@ -0,0 +1,66 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function REGEXP_REPLACE (children 1) + ExpressionList (children 3) + Function trimLeft (children 1) + ExpressionList (children 1) + Identifier explain + Literal \'__set_Int32_\\\\d+_\\\\d+\' + Literal \'__set_Int32_UNIQ_ID\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function viewExplain (children 1) + ExpressionList (children 3) + Literal \'EXPLAIN\' + Literal \'actions = 1\' + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 3) + Identifier t1.k + Identifier t1.a + Identifier t2.x + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tp1 (alias t1) + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier tp2 (alias t2) + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier t1.k + Identifier t2.k + Function or (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier t2.x + Literal UInt64_100 + Function equals (children 1) + ExpressionList (children 2) + Identifier t2.x + Literal UInt64_200 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier t1.k + Function ilike (children 1) + ExpressionList (children 2) + Identifier explain + Literal \'%Filter column: %\' + Set + Identifier TSV diff --git a/parser/testdata/03610_disjunctions_pushdown_optimization/explain_25.txt b/parser/testdata/03610_disjunctions_pushdown_optimization/explain_25.txt new file mode 100644 index 0000000000..d01d16d36b --- /dev/null +++ b/parser/testdata/03610_disjunctions_pushdown_optimization/explain_25.txt @@ -0,0 +1,66 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function REGEXP_REPLACE (children 1) + ExpressionList (children 3) + Function trimLeft (children 1) + ExpressionList (children 1) + Identifier explain + Literal \'__set_Int32_\\\\d+_\\\\d+\' + Literal \'__set_Int32_UNIQ_ID\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function viewExplain (children 1) + ExpressionList (children 3) + Literal \'EXPLAIN\' + Literal \'actions = 1\' + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 3) + Identifier t1.k + Identifier t1.a + Identifier t2.x + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tp1 (alias t1) + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier tp2 (alias t2) + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier t1.k + Identifier t2.k + Function or (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier t2.x + Literal UInt64_100 + Function equals (children 1) + ExpressionList (children 2) + Identifier t2.x + Literal UInt64_200 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier t1.k + Function ilike (children 1) + ExpressionList (children 2) + Identifier explain + Literal \'%Filter column: %\' + Set + Identifier TSV diff --git a/parser/testdata/03610_disjunctions_pushdown_optimization/explain_34.txt b/parser/testdata/03610_disjunctions_pushdown_optimization/explain_34.txt new file mode 100644 index 0000000000..fc4517bde8 --- /dev/null +++ b/parser/testdata/03610_disjunctions_pushdown_optimization/explain_34.txt @@ -0,0 +1,66 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function REGEXP_REPLACE (children 1) + ExpressionList (children 3) + Function trimLeft (children 1) + ExpressionList (children 1) + Identifier explain + Literal \'__set_Int32_\\\\d+_\\\\d+\' + Literal \'__set_Int32_UNIQ_ID\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function viewExplain (children 1) + ExpressionList (children 3) + Literal \'EXPLAIN\' + Literal \'actions = 1\' + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 3) + Identifier t1.k + Identifier t1.a + Identifier t2.x + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tp1 (alias t1) + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier tp2 (alias t2) + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier t1.k + Identifier t2.k + Function or (children 1) + ExpressionList (children 2) + Function in (children 1) + ExpressionList (children 2) + Identifier t1.k + Literal Tuple_(UInt64_1, UInt64_2) + Function in (children 1) + ExpressionList (children 2) + Identifier t1.k + Literal Tuple_(UInt64_3, UInt64_4) + ExpressionList (children 1) + OrderByElement (children 1) + Identifier t1.k + Function ilike (children 1) + ExpressionList (children 2) + Identifier explain + Literal \'%Filter column: %\' + Set + Identifier TSV diff --git a/parser/testdata/03610_disjunctions_pushdown_optimization/explain_37.txt b/parser/testdata/03610_disjunctions_pushdown_optimization/explain_37.txt new file mode 100644 index 0000000000..fc4517bde8 --- /dev/null +++ b/parser/testdata/03610_disjunctions_pushdown_optimization/explain_37.txt @@ -0,0 +1,66 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function REGEXP_REPLACE (children 1) + ExpressionList (children 3) + Function trimLeft (children 1) + ExpressionList (children 1) + Identifier explain + Literal \'__set_Int32_\\\\d+_\\\\d+\' + Literal \'__set_Int32_UNIQ_ID\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function viewExplain (children 1) + ExpressionList (children 3) + Literal \'EXPLAIN\' + Literal \'actions = 1\' + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 3) + Identifier t1.k + Identifier t1.a + Identifier t2.x + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tp1 (alias t1) + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier tp2 (alias t2) + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier t1.k + Identifier t2.k + Function or (children 1) + ExpressionList (children 2) + Function in (children 1) + ExpressionList (children 2) + Identifier t1.k + Literal Tuple_(UInt64_1, UInt64_2) + Function in (children 1) + ExpressionList (children 2) + Identifier t1.k + Literal Tuple_(UInt64_3, UInt64_4) + ExpressionList (children 1) + OrderByElement (children 1) + Identifier t1.k + Function ilike (children 1) + ExpressionList (children 2) + Identifier explain + Literal \'%Filter column: %\' + Set + Identifier TSV diff --git a/parser/testdata/03610_disjunctions_pushdown_optimization/explain_50.txt b/parser/testdata/03610_disjunctions_pushdown_optimization/explain_50.txt new file mode 100644 index 0000000000..05c1b71925 --- /dev/null +++ b/parser/testdata/03610_disjunctions_pushdown_optimization/explain_50.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table1 diff --git a/parser/testdata/03610_disjunctions_pushdown_optimization/explain_51.txt b/parser/testdata/03610_disjunctions_pushdown_optimization/explain_51.txt new file mode 100644 index 0000000000..c00312da5a --- /dev/null +++ b/parser/testdata/03610_disjunctions_pushdown_optimization/explain_51.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table2 diff --git a/parser/testdata/03610_disjunctions_pushdown_optimization/explain_54.txt b/parser/testdata/03610_disjunctions_pushdown_optimization/explain_54.txt new file mode 100644 index 0000000000..2c6c1b80e4 --- /dev/null +++ b/parser/testdata/03610_disjunctions_pushdown_optimization/explain_54.txt @@ -0,0 +1,88 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function REGEXP_REPLACE (children 1) + ExpressionList (children 3) + Function trimLeft (children 1) + ExpressionList (children 1) + Identifier explain + Literal \'__set_Int32_\\\\d+_\\\\d+\' + Literal \'__set_Int32_UNIQ_ID\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function viewExplain (children 1) + ExpressionList (children 3) + Literal \'EXPLAIN\' + Literal \'actions = 1\' + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier table1 + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier table2 + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier b + Identifier d + Function and (children 1) + ExpressionList (children 3) + Function greater (children 1) + ExpressionList (children 2) + Identifier a + Literal UInt64_0 + Function greater (children 1) + ExpressionList (children 2) + Identifier c + Literal UInt64_0 + Function or (children 1) + ExpressionList (children 2) + Function and (children 1) + ExpressionList (children 2) + Function greater (children 1) + ExpressionList (children 2) + Identifier a + Literal UInt64_5 + Function less (children 1) + ExpressionList (children 2) + Identifier c + Literal UInt64_10 + Function and (children 1) + ExpressionList (children 2) + Function greater (children 1) + ExpressionList (children 2) + Identifier a + Literal UInt64_6 + Function less (children 1) + ExpressionList (children 2) + Identifier c + Literal UInt64_11 + ExpressionList (children 2) + OrderByElement (children 1) + Identifier a + OrderByElement (children 1) + Identifier c + Function ilike (children 1) + ExpressionList (children 2) + Identifier explain + Literal \'%Filter column: %\' + Set + Identifier TSV diff --git a/parser/testdata/03610_disjunctions_pushdown_optimization/explain_57.txt b/parser/testdata/03610_disjunctions_pushdown_optimization/explain_57.txt new file mode 100644 index 0000000000..2c6c1b80e4 --- /dev/null +++ b/parser/testdata/03610_disjunctions_pushdown_optimization/explain_57.txt @@ -0,0 +1,88 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function REGEXP_REPLACE (children 1) + ExpressionList (children 3) + Function trimLeft (children 1) + ExpressionList (children 1) + Identifier explain + Literal \'__set_Int32_\\\\d+_\\\\d+\' + Literal \'__set_Int32_UNIQ_ID\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function viewExplain (children 1) + ExpressionList (children 3) + Literal \'EXPLAIN\' + Literal \'actions = 1\' + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier table1 + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier table2 + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier b + Identifier d + Function and (children 1) + ExpressionList (children 3) + Function greater (children 1) + ExpressionList (children 2) + Identifier a + Literal UInt64_0 + Function greater (children 1) + ExpressionList (children 2) + Identifier c + Literal UInt64_0 + Function or (children 1) + ExpressionList (children 2) + Function and (children 1) + ExpressionList (children 2) + Function greater (children 1) + ExpressionList (children 2) + Identifier a + Literal UInt64_5 + Function less (children 1) + ExpressionList (children 2) + Identifier c + Literal UInt64_10 + Function and (children 1) + ExpressionList (children 2) + Function greater (children 1) + ExpressionList (children 2) + Identifier a + Literal UInt64_6 + Function less (children 1) + ExpressionList (children 2) + Identifier c + Literal UInt64_11 + ExpressionList (children 2) + OrderByElement (children 1) + Identifier a + OrderByElement (children 1) + Identifier c + Function ilike (children 1) + ExpressionList (children 2) + Identifier explain + Literal \'%Filter column: %\' + Set + Identifier TSV diff --git a/parser/testdata/03610_disjunctions_pushdown_optimization/explain_6.txt b/parser/testdata/03610_disjunctions_pushdown_optimization/explain_6.txt new file mode 100644 index 0000000000..3fb96206f6 --- /dev/null +++ b/parser/testdata/03610_disjunctions_pushdown_optimization/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tp1 diff --git a/parser/testdata/03610_disjunctions_pushdown_optimization/explain_7.txt b/parser/testdata/03610_disjunctions_pushdown_optimization/explain_7.txt new file mode 100644 index 0000000000..4e58defded --- /dev/null +++ b/parser/testdata/03610_disjunctions_pushdown_optimization/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tp2 diff --git a/parser/testdata/03610_disjunctions_pushdown_optimization/explain_74.txt b/parser/testdata/03610_disjunctions_pushdown_optimization/explain_74.txt new file mode 100644 index 0000000000..34982bf791 --- /dev/null +++ b/parser/testdata/03610_disjunctions_pushdown_optimization/explain_74.txt @@ -0,0 +1,96 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function REGEXP_REPLACE (children 1) + ExpressionList (children 3) + Function trimLeft (children 1) + ExpressionList (children 1) + Identifier explain + Literal \'__set_Int32_\\\\d+_\\\\d+\' + Literal \'__set_Int32_UNIQ_ID\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier explain + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function viewExplain (children 1) + ExpressionList (children 3) + Literal \'EXPLAIN\' + Literal \'actions = 1\' + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 3) + Identifier n1.number + Identifier n2.number + Identifier n3.number + TablesInSelectQuery (children 3) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (alias n2) (children 1) + ExpressionList (children 1) + Literal UInt64_3 + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Function numbers (alias n3) (children 1) + ExpressionList (children 1) + Literal UInt64_3 + TableJoin + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Function numbers (alias n1) (children 1) + ExpressionList (children 1) + Literal UInt64_3 + TableJoin + Function or (children 1) + ExpressionList (children 2) + Function and (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier n1.number + Literal UInt64_1 + Function equals (children 1) + ExpressionList (children 2) + Function plus (children 1) + ExpressionList (children 2) + Identifier n2.number + Identifier n3.number + Literal UInt64_3 + Function and (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier n1.number + Literal UInt64_2 + Function equals (children 1) + ExpressionList (children 2) + Function plus (children 1) + ExpressionList (children 2) + Identifier n2.number + Identifier n3.number + Literal UInt64_2 + Function ilike (children 1) + ExpressionList (children 2) + Identifier explain + Literal \'%Filter column: %\' + Set + Identifier TSV diff --git a/parser/testdata/03610_disjunctions_pushdown_optimization/explain_77.txt b/parser/testdata/03610_disjunctions_pushdown_optimization/explain_77.txt new file mode 100644 index 0000000000..34982bf791 --- /dev/null +++ b/parser/testdata/03610_disjunctions_pushdown_optimization/explain_77.txt @@ -0,0 +1,96 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function REGEXP_REPLACE (children 1) + ExpressionList (children 3) + Function trimLeft (children 1) + ExpressionList (children 1) + Identifier explain + Literal \'__set_Int32_\\\\d+_\\\\d+\' + Literal \'__set_Int32_UNIQ_ID\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier explain + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function viewExplain (children 1) + ExpressionList (children 3) + Literal \'EXPLAIN\' + Literal \'actions = 1\' + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 3) + Identifier n1.number + Identifier n2.number + Identifier n3.number + TablesInSelectQuery (children 3) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (alias n2) (children 1) + ExpressionList (children 1) + Literal UInt64_3 + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Function numbers (alias n3) (children 1) + ExpressionList (children 1) + Literal UInt64_3 + TableJoin + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Function numbers (alias n1) (children 1) + ExpressionList (children 1) + Literal UInt64_3 + TableJoin + Function or (children 1) + ExpressionList (children 2) + Function and (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier n1.number + Literal UInt64_1 + Function equals (children 1) + ExpressionList (children 2) + Function plus (children 1) + ExpressionList (children 2) + Identifier n2.number + Identifier n3.number + Literal UInt64_3 + Function and (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier n1.number + Literal UInt64_2 + Function equals (children 1) + ExpressionList (children 2) + Function plus (children 1) + ExpressionList (children 2) + Identifier n2.number + Identifier n3.number + Literal UInt64_2 + Function ilike (children 1) + ExpressionList (children 2) + Identifier explain + Literal \'%Filter column: %\' + Set + Identifier TSV diff --git a/parser/testdata/03611_null_safe_comparsion/explain_20.txt b/parser/testdata/03611_null_safe_comparsion/explain_20.txt new file mode 100644 index 0000000000..f45eae6070 --- /dev/null +++ b/parser/testdata/03611_null_safe_comparsion/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 03611_nscmp_tbl diff --git a/parser/testdata/03611_null_safe_comparsion/explain_70.txt b/parser/testdata/03611_null_safe_comparsion/explain_70.txt new file mode 100644 index 0000000000..a7bae5a8e1 --- /dev/null +++ b/parser/testdata/03611_null_safe_comparsion/explain_70.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier 03611_t_nullsafe diff --git a/parser/testdata/03611_point_in_polygon_key_condition_bug/explain_2.txt b/parser/testdata/03611_point_in_polygon_key_condition_bug/explain_2.txt new file mode 100644 index 0000000000..f229065fd7 --- /dev/null +++ b/parser/testdata/03611_point_in_polygon_key_condition_bug/explain_2.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier p3 diff --git a/parser/testdata/03611_pr_global_join/explain_5.txt b/parser/testdata/03611_pr_global_join/explain_5.txt new file mode 100644 index 0000000000..037f8e5db5 --- /dev/null +++ b/parser/testdata/03611_pr_global_join/explain_5.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 2) + Identifier c1 + Identifier c0 diff --git a/parser/testdata/03611_pr_global_join/explain_6.txt b/parser/testdata/03611_pr_global_join/explain_6.txt new file mode 100644 index 0000000000..3690bd44dc --- /dev/null +++ b/parser/testdata/03611_pr_global_join/explain_6.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t2 + ExpressionList (children 2) + Identifier c0 + Identifier c1 diff --git a/parser/testdata/03611_verify_exception_in_iceberg_iterator/explain.txt b/parser/testdata/03611_verify_exception_in_iceberg_iterator/explain.txt index 38fc43f625..5ec3b29a17 100644 --- a/parser/testdata/03611_verify_exception_in_iceberg_iterator/explain.txt +++ b/parser/testdata/03611_verify_exception_in_iceberg_iterator/explain.txt @@ -12,4 +12,3 @@ SelectWithUnionQuery (children 1) Literal \'clickhouse\' Literal \'clickhouse\' Set -The query succeeded but the server error '117' was expected (query: EXPLAIN AST SELECT * FROM icebergS3('http://localhost:11111/test/corrupted_avro_files_test/', 'clickhouse', 'clickhouse') SETTINGS use_iceberg_metadata_files_cache = False; -- { serverError INCORRECT_DATA}). diff --git a/parser/testdata/03612_explain_indexes_bugs/explain_3.txt b/parser/testdata/03612_explain_indexes_bugs/explain_3.txt new file mode 100644 index 0000000000..6c28add40c --- /dev/null +++ b/parser/testdata/03612_explain_indexes_bugs/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier points diff --git a/parser/testdata/03612_explain_indexes_bugs/explain_9.txt b/parser/testdata/03612_explain_indexes_bugs/explain_9.txt new file mode 100644 index 0000000000..0c66a597f0 --- /dev/null +++ b/parser/testdata/03612_explain_indexes_bugs/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier morton diff --git a/parser/testdata/03620_json_advanced_shared_data_seek_bug/explain_5.txt b/parser/testdata/03620_json_advanced_shared_data_seek_bug/explain_5.txt index c0e452e9a7..f088217ed1 100644 --- a/parser/testdata/03620_json_advanced_shared_data_seek_bug/explain_5.txt +++ b/parser/testdata/03620_json_advanced_shared_data_seek_bug/explain_5.txt @@ -1,12 +1,11 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 1) Identifier json.b.b._1.:`String` TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) TableIdentifier test - Set Identifier Null Set diff --git a/parser/testdata/03622_ttl_infos_where/explain_17.txt b/parser/testdata/03622_ttl_infos_where/explain_17.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03622_ttl_infos_where/explain_17.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03623_header_filtering/explain.txt b/parser/testdata/03623_header_filtering/explain.txt new file mode 100644 index 0000000000..274815cc07 --- /dev/null +++ b/parser/testdata/03623_header_filtering/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function url (children 1) + ExpressionList (children 4) + Literal \'http://google.com\' + Literal \'RawBLOB\' + Literal \'data String\' + Function headers (children 1) + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Literal \'exact_header\' + Literal \'true\' diff --git a/parser/testdata/03623_parquet_bool/explain_2.txt b/parser/testdata/03623_parquet_bool/explain_2.txt new file mode 100644 index 0000000000..b30c18aecb --- /dev/null +++ b/parser/testdata/03623_parquet_bool/explain_2.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function file (children 1) + ExpressionList (children 1) + Literal \'03626_parquet_bool.parquet\' + Function equals (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_1 + Set diff --git a/parser/testdata/03624_csv_empty_array_from_empty_string/explain.txt b/parser/testdata/03624_csv_empty_array_from_empty_string/explain.txt index 95dcb6d34a..5135c30801 100644 --- a/parser/testdata/03624_csv_empty_array_from_empty_string/explain.txt +++ b/parser/testdata/03624_csv_empty_array_from_empty_string/explain.txt @@ -11,4 +11,3 @@ SelectWithUnionQuery (children 1) Identifier CSV Literal \'c0 Array(Int)\' Literal \'""\' -The query succeeded but the server error '130' was expected (query: EXPLAIN AST SELECT * FROM format(CSV, 'c0 Array(Int)', '""'); -- {serverError CANNOT_READ_ARRAY_FROM_TEXT}). diff --git a/parser/testdata/03624_pr_lefl_right_joins_chain/explain_12.txt b/parser/testdata/03624_pr_lefl_right_joins_chain/explain_12.txt new file mode 100644 index 0000000000..c13e587238 --- /dev/null +++ b/parser/testdata/03624_pr_lefl_right_joins_chain/explain_12.txt @@ -0,0 +1,29 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 3) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tab + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier mem + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier k1 + Identifier mem.k + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier mem2 + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier k2 + Identifier mem2.k + ExpressionList (children 1) + OrderByElement (children 1) + Identifier tab.v + Set diff --git a/parser/testdata/03624_pr_lefl_right_joins_chain/explain_14.txt b/parser/testdata/03624_pr_lefl_right_joins_chain/explain_14.txt new file mode 100644 index 0000000000..c13e587238 --- /dev/null +++ b/parser/testdata/03624_pr_lefl_right_joins_chain/explain_14.txt @@ -0,0 +1,29 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 3) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tab + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier mem + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier k1 + Identifier mem.k + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier mem2 + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier k2 + Identifier mem2.k + ExpressionList (children 1) + OrderByElement (children 1) + Identifier tab.v + Set diff --git a/parser/testdata/03624_pr_lefl_right_joins_chain/explain_3.txt b/parser/testdata/03624_pr_lefl_right_joins_chain/explain_3.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/03624_pr_lefl_right_joins_chain/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/03624_pr_lefl_right_joins_chain/explain_6.txt b/parser/testdata/03624_pr_lefl_right_joins_chain/explain_6.txt new file mode 100644 index 0000000000..c08c8e4168 --- /dev/null +++ b/parser/testdata/03624_pr_lefl_right_joins_chain/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mem diff --git a/parser/testdata/03624_pr_lefl_right_joins_chain/explain_9.txt b/parser/testdata/03624_pr_lefl_right_joins_chain/explain_9.txt new file mode 100644 index 0000000000..b59a32fb65 --- /dev/null +++ b/parser/testdata/03624_pr_lefl_right_joins_chain/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier mem2 diff --git a/parser/testdata/03625_auto_statistics_alter/explain_13.txt b/parser/testdata/03625_auto_statistics_alter/explain_13.txt new file mode 100644 index 0000000000..6c05dbfded --- /dev/null +++ b/parser/testdata/03625_auto_statistics_alter/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_alter_auto_statistics diff --git a/parser/testdata/03625_auto_statistics_alter/explain_5.txt b/parser/testdata/03625_auto_statistics_alter/explain_5.txt new file mode 100644 index 0000000000..6c05dbfded --- /dev/null +++ b/parser/testdata/03625_auto_statistics_alter/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_alter_auto_statistics diff --git a/parser/testdata/03625_auto_statistics_alter_rmt/explain_13.txt b/parser/testdata/03625_auto_statistics_alter_rmt/explain_13.txt new file mode 100644 index 0000000000..6c05dbfded --- /dev/null +++ b/parser/testdata/03625_auto_statistics_alter_rmt/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_alter_auto_statistics diff --git a/parser/testdata/03625_auto_statistics_alter_rmt/explain_5.txt b/parser/testdata/03625_auto_statistics_alter_rmt/explain_5.txt new file mode 100644 index 0000000000..6c05dbfded --- /dev/null +++ b/parser/testdata/03625_auto_statistics_alter_rmt/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_alter_auto_statistics diff --git a/parser/testdata/03626_case_function_with_dynamic_argument/explain_3.txt b/parser/testdata/03626_case_function_with_dynamic_argument/explain_3.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/03626_case_function_with_dynamic_argument/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03628_named_tuple_element_in_order_by_key/explain_13.txt b/parser/testdata/03628_named_tuple_element_in_order_by_key/explain_13.txt new file mode 100644 index 0000000000..0b99d30160 --- /dev/null +++ b/parser/testdata/03628_named_tuple_element_in_order_by_key/explain_13.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Identifier x.a + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test + Function equals (children 1) + ExpressionList (children 2) + Identifier x.b + Literal \'World\' + Set diff --git a/parser/testdata/03628_named_tuple_element_in_order_by_key/explain_18.txt b/parser/testdata/03628_named_tuple_element_in_order_by_key/explain_18.txt new file mode 100644 index 0000000000..8952abaf8a --- /dev/null +++ b/parser/testdata/03628_named_tuple_element_in_order_by_key/explain_18.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Identifier x.b + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test + Function equals (children 1) + ExpressionList (children 2) + Identifier x.b + Literal \'World\' + Set diff --git a/parser/testdata/03628_named_tuple_element_in_order_by_key/explain_3.txt b/parser/testdata/03628_named_tuple_element_in_order_by_key/explain_3.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03628_named_tuple_element_in_order_by_key/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03628_named_tuple_element_in_order_by_key/explain_8.txt b/parser/testdata/03628_named_tuple_element_in_order_by_key/explain_8.txt new file mode 100644 index 0000000000..93e19f7b29 --- /dev/null +++ b/parser/testdata/03628_named_tuple_element_in_order_by_key/explain_8.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test + Function equals (children 1) + ExpressionList (children 2) + Identifier x.b + Literal \'World\' + Set diff --git a/parser/testdata/03629_duplicate_partition_keys_crash/explain_12.txt b/parser/testdata/03629_duplicate_partition_keys_crash/explain_12.txt new file mode 100644 index 0000000000..90053c15cc --- /dev/null +++ b/parser/testdata/03629_duplicate_partition_keys_crash/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_triple_duplicate diff --git a/parser/testdata/03629_duplicate_partition_keys_crash/explain_16.txt b/parser/testdata/03629_duplicate_partition_keys_crash/explain_16.txt new file mode 100644 index 0000000000..c21ed0ac00 --- /dev/null +++ b/parser/testdata/03629_duplicate_partition_keys_crash/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_mixed_duplicates diff --git a/parser/testdata/03629_duplicate_partition_keys_crash/explain_20.txt b/parser/testdata/03629_duplicate_partition_keys_crash/explain_20.txt new file mode 100644 index 0000000000..bc55099f1f --- /dev/null +++ b/parser/testdata/03629_duplicate_partition_keys_crash/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_type_duplicates diff --git a/parser/testdata/03629_duplicate_partition_keys_crash/explain_24.txt b/parser/testdata/03629_duplicate_partition_keys_crash/explain_24.txt new file mode 100644 index 0000000000..d34f1bed8e --- /dev/null +++ b/parser/testdata/03629_duplicate_partition_keys_crash/explain_24.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_hash_duplicates diff --git a/parser/testdata/03629_duplicate_partition_keys_crash/explain_28.txt b/parser/testdata/03629_duplicate_partition_keys_crash/explain_28.txt new file mode 100644 index 0000000000..9da6351926 --- /dev/null +++ b/parser/testdata/03629_duplicate_partition_keys_crash/explain_28.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_extreme_repeats diff --git a/parser/testdata/03629_duplicate_partition_keys_crash/explain_3.txt b/parser/testdata/03629_duplicate_partition_keys_crash/explain_3.txt new file mode 100644 index 0000000000..4f9744157c --- /dev/null +++ b/parser/testdata/03629_duplicate_partition_keys_crash/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_duplicate_partition_keys diff --git a/parser/testdata/03629_duplicate_partition_keys_crash/explain_8.txt b/parser/testdata/03629_duplicate_partition_keys_crash/explain_8.txt new file mode 100644 index 0000000000..f9535b9a0c --- /dev/null +++ b/parser/testdata/03629_duplicate_partition_keys_crash/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_duplicate_partition_keys2 diff --git a/parser/testdata/03629_starts_endswith_caseinsensitive/explain_30.txt b/parser/testdata/03629_starts_endswith_caseinsensitive/explain_30.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/03629_starts_endswith_caseinsensitive/explain_30.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/03630_join_blocks_with_different_constness/explain.txt b/parser/testdata/03630_join_blocks_with_different_constness/explain.txt new file mode 100644 index 0000000000..95b8c1764e --- /dev/null +++ b/parser/testdata/03630_join_blocks_with_different_constness/explain.txt @@ -0,0 +1,151 @@ +SelectWithUnionQuery (children 3) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 7) + WithElement (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 3) + Function CAST (alias parent_id) (children 1) + ExpressionList (children 2) + Identifier number + Literal \'String\' + Function CAST (alias id) (children 1) + ExpressionList (children 2) + Identifier number + Literal \'String\' + Function CAST (alias value) (children 1) + ExpressionList (children 2) + Identifier number + Literal \'String\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers_mt (children 1) + ExpressionList (children 1) + Literal Float64_1000000 + WithElement (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function CAST (alias value_id) (children 1) + ExpressionList (children 2) + Identifier number + Literal \'String\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers_mt (children 1) + ExpressionList (children 1) + Literal Float64_1000000 + WithElement (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function CAST (alias value_id) (children 1) + ExpressionList (children 2) + Identifier number + Literal \'String\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers_mt (children 1) + ExpressionList (children 1) + Literal Float64_1000000 + WithElement (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Literal \'foo\' (alias type) + Identifier parent_id + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier input_1 + ExpressionList (children 1) + Identifier parent_id + WithElement (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 3) + Identifier type + Identifier parent_id + Identifier t.value + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier parents + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier input_1 (alias t) + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier t.id + Identifier parents.parent_id + WithElement (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 3) + Literal \'foo\' (alias type) + Literal \'\' (alias parent_id) + Identifier value + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier input_1 + WithElement (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 2) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier parents_with_value + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier values + ExpressionList (children 2) + Identifier type + Identifier value + TablesInSelectQuery (children 3) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier all + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier dimensions_1 (alias dim1) + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier all.value + Identifier dim1.value_id + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier dimensions_2 (alias dim2) + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier all.value + Identifier dim2.value_id + Identifier Null + Set diff --git a/parser/testdata/03630_parquet_bool_bug/explain_2.txt b/parser/testdata/03630_parquet_bool_bug/explain_2.txt new file mode 100644 index 0000000000..544c669f84 --- /dev/null +++ b/parser/testdata/03630_parquet_bool_bug/explain_2.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function sum (children 1) + ExpressionList (children 1) + Identifier tags + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function file (children 1) + ExpressionList (children 1) + Literal \'03630_parquet_bool_bug.parquet\' + TablesInSelectQueryElement (children 1) + ArrayJoin (children 1) + ExpressionList (children 1) + Identifier tags + Set diff --git a/parser/testdata/03630_parquet_bool_bug/explain_4.txt b/parser/testdata/03630_parquet_bool_bug/explain_4.txt new file mode 100644 index 0000000000..ac72495057 --- /dev/null +++ b/parser/testdata/03630_parquet_bool_bug/explain_4.txt @@ -0,0 +1,38 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function sum (alias ok) (children 1) + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier n + Function arraySum (children 1) + ExpressionList (children 1) + Function arrayMap (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier i + Function bitShiftLeft (children 1) + ExpressionList (children 2) + Function arrayElement (children 1) + ExpressionList (children 2) + Identifier bits + Function plus (children 1) + ExpressionList (children 2) + Identifier i + Literal UInt64_1 + Identifier i + Function range (children 1) + ExpressionList (children 1) + Literal UInt64_8 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function file (children 1) + ExpressionList (children 1) + Literal \'03630_parquet_bool_bug.parquet\' + Set diff --git a/parser/testdata/03631_hive_columns_not_in_format_header/explain.txt b/parser/testdata/03631_hive_columns_not_in_format_header/explain.txt new file mode 100644 index 0000000000..57893472ed --- /dev/null +++ b/parser/testdata/03631_hive_columns_not_in_format_header/explain.txt @@ -0,0 +1,31 @@ +InsertQuery (children 3) + Function s3 (children 1) + ExpressionList (children 5) + Identifier s3_conn + Function equals (children 1) + ExpressionList (children 2) + Identifier filename + Literal \'03631\' + Function equals (children 1) + ExpressionList (children 2) + Identifier format + Identifier Parquet + Function equals (children 1) + ExpressionList (children 2) + Identifier partition_strategy + Literal \'hive\' + Function equals (children 1) + ExpressionList (children 2) + Identifier partition_columns_in_data_file + Literal UInt64_1 + Function tuple (children 1) + ExpressionList (children 2) + Identifier year + Identifier country + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 3) + Literal \'Brazil\' (alias country) + Literal UInt64_2025 (alias year) + Literal UInt64_1 (alias id) diff --git a/parser/testdata/03631_select_replace_comprehensive/explain_13.txt b/parser/testdata/03631_select_replace_comprehensive/explain_13.txt new file mode 100644 index 0000000000..4f481d0055 --- /dev/null +++ b/parser/testdata/03631_select_replace_comprehensive/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_arith diff --git a/parser/testdata/03631_select_replace_comprehensive/explain_19.txt b/parser/testdata/03631_select_replace_comprehensive/explain_19.txt new file mode 100644 index 0000000000..9096293d7b --- /dev/null +++ b/parser/testdata/03631_select_replace_comprehensive/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_replace_str diff --git a/parser/testdata/03631_select_replace_comprehensive/explain_32.txt b/parser/testdata/03631_select_replace_comprehensive/explain_32.txt new file mode 100644 index 0000000000..f4c85305ca --- /dev/null +++ b/parser/testdata/03631_select_replace_comprehensive/explain_32.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_limit_by diff --git a/parser/testdata/03631_select_replace_comprehensive/explain_5.txt b/parser/testdata/03631_select_replace_comprehensive/explain_5.txt new file mode 100644 index 0000000000..202291c024 --- /dev/null +++ b/parser/testdata/03631_select_replace_comprehensive/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_replace_main diff --git a/parser/testdata/03631_select_replace_comprehensive/explain_52.txt b/parser/testdata/03631_select_replace_comprehensive/explain_52.txt new file mode 100644 index 0000000000..0b9f26760a --- /dev/null +++ b/parser/testdata/03631_select_replace_comprehensive/explain_52.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_group_by diff --git a/parser/testdata/03631_select_replace_comprehensive/explain_58.txt b/parser/testdata/03631_select_replace_comprehensive/explain_58.txt new file mode 100644 index 0000000000..acb3257ef6 --- /dev/null +++ b/parser/testdata/03631_select_replace_comprehensive/explain_58.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_group_by_sub diff --git a/parser/testdata/03631_select_replace_comprehensive/explain_64.txt b/parser/testdata/03631_select_replace_comprehensive/explain_64.txt new file mode 100644 index 0000000000..d4dfb62dc4 --- /dev/null +++ b/parser/testdata/03631_select_replace_comprehensive/explain_64.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_group_by_direct diff --git a/parser/testdata/03631_select_replace_comprehensive/explain_7.txt b/parser/testdata/03631_select_replace_comprehensive/explain_7.txt new file mode 100644 index 0000000000..f452b20317 --- /dev/null +++ b/parser/testdata/03631_select_replace_comprehensive/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_replace_merge diff --git a/parser/testdata/03631_select_replace_comprehensive/explain_70.txt b/parser/testdata/03631_select_replace_comprehensive/explain_70.txt new file mode 100644 index 0000000000..f69b397fee --- /dev/null +++ b/parser/testdata/03631_select_replace_comprehensive/explain_70.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_having diff --git a/parser/testdata/03631_select_replace_comprehensive/explain_76.txt b/parser/testdata/03631_select_replace_comprehensive/explain_76.txt new file mode 100644 index 0000000000..5d5dbae611 --- /dev/null +++ b/parser/testdata/03631_select_replace_comprehensive/explain_76.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_having_sub diff --git a/parser/testdata/03631_select_replace_comprehensive/explain_82.txt b/parser/testdata/03631_select_replace_comprehensive/explain_82.txt new file mode 100644 index 0000000000..302f529563 --- /dev/null +++ b/parser/testdata/03631_select_replace_comprehensive/explain_82.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_having_direct diff --git a/parser/testdata/03632_temporary_table_not_allowed_columns/explain.txt b/parser/testdata/03632_temporary_table_not_allowed_columns/explain.txt index 5a8ff31b74..0df0b0109c 100644 --- a/parser/testdata/03632_temporary_table_not_allowed_columns/explain.txt +++ b/parser/testdata/03632_temporary_table_not_allowed_columns/explain.txt @@ -8,4 +8,3 @@ CreateQuery test (children 3) Function MergeTree Function tuple (children 1) ExpressionList -The query succeeded but the server error '44' was expected (query: EXPLAIN AST create temporary table test (_row_exists UInt32) engine=MergeTree order by tuple(); -- {serverError ILLEGAL_COLUMN}). diff --git a/parser/testdata/03633_keeepr_host_server_setting/explain.txt b/parser/testdata/03633_keeepr_host_server_setting/explain.txt index e1034b25ba..cd4b927200 100644 --- a/parser/testdata/03633_keeepr_host_server_setting/explain.txt +++ b/parser/testdata/03633_keeepr_host_server_setting/explain.txt @@ -1,6 +1,6 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) - SelectQuery (children 1) + SelectQuery (children 3) ExpressionList (children 1) Function or (children 1) ExpressionList (children 2) @@ -12,3 +12,11 @@ SelectWithUnionQuery (children 1) ExpressionList (children 2) Identifier value Literal \'localhost:9181,localhost:19181,localhost:29181\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.server_settings + Function equals (children 1) + ExpressionList (children 2) + Identifier name + Literal \'keeper_hosts\' diff --git a/parser/testdata/03633_set_index_bulk_filtering/explain_3.txt b/parser/testdata/03633_set_index_bulk_filtering/explain_3.txt new file mode 100644 index 0000000000..dd505adf08 --- /dev/null +++ b/parser/testdata/03633_set_index_bulk_filtering/explain_3.txt @@ -0,0 +1,22 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function count (children 1) + ExpressionList (children 1) + Identifier x + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tbulk + Function and (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier g + Literal UInt64_1 + Function equals (children 1) + ExpressionList (children 2) + Identifier k + Literal UInt64_1 + Set diff --git a/parser/testdata/03633_set_index_bulk_filtering/explain_4.txt b/parser/testdata/03633_set_index_bulk_filtering/explain_4.txt new file mode 100644 index 0000000000..dd505adf08 --- /dev/null +++ b/parser/testdata/03633_set_index_bulk_filtering/explain_4.txt @@ -0,0 +1,22 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function count (children 1) + ExpressionList (children 1) + Identifier x + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tbulk + Function and (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier g + Literal UInt64_1 + Function equals (children 1) + ExpressionList (children 2) + Identifier k + Literal UInt64_1 + Set diff --git a/parser/testdata/03634_subcolumns_in_temporary_table_parallel_replicas/explain_4.txt b/parser/testdata/03634_subcolumns_in_temporary_table_parallel_replicas/explain_4.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/03634_subcolumns_in_temporary_table_parallel_replicas/explain_4.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03636_empty_projection_block/explain.txt b/parser/testdata/03636_empty_projection_block/explain.txt index 11563fd09d..99164671ba 100644 --- a/parser/testdata/03636_empty_projection_block/explain.txt +++ b/parser/testdata/03636_empty_projection_block/explain.txt @@ -1,17 +1,45 @@ CreateQuery post_state (children 3) Identifier post_state - Columns definition (children 1) + Columns definition (children 2) ExpressionList (children 3) ColumnDeclaration ts (children 1) DataType DateTime ColumnDeclaration id (children 1) DataType Int64 - ColumnDeclaration state (children 1) + ColumnDeclaration state (children 2) DataType Nullable (children 1) ExpressionList (children 1) DataType UInt8 - Storage definition (children 3) + Function plus (children 1) + ExpressionList (children 2) + Identifier ts + Function toIntervalMonth (children 1) + ExpressionList (children 1) + Literal UInt64_1 + ExpressionList (children 1) + Projection (children 1) + ProjectionSelectQuery (children 2) + ExpressionList (children 2) + Identifier id + Function argMax (alias state) (children 1) + ExpressionList (children 2) + Identifier state + Identifier ts + ExpressionList (children 1) + Identifier id + Storage definition (children 4) Function MergeTree (children 1) ExpressionList Identifier id + ExpressionList (children 1) + TTLElement (children 2) + Function plus (children 1) + ExpressionList (children 2) + Identifier ts + Function toIntervalSecond (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function isNull (children 1) + ExpressionList (children 1) + Identifier state Set diff --git a/parser/testdata/03636_empty_projection_block/explain_3.txt b/parser/testdata/03636_empty_projection_block/explain_3.txt new file mode 100644 index 0000000000..8f1267ad9a --- /dev/null +++ b/parser/testdata/03636_empty_projection_block/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier post_state diff --git a/parser/testdata/03636_empty_projection_block/explain_4.txt b/parser/testdata/03636_empty_projection_block/explain_4.txt new file mode 100644 index 0000000000..8f1267ad9a --- /dev/null +++ b/parser/testdata/03636_empty_projection_block/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier post_state diff --git a/parser/testdata/03636_empty_projection_block/explain_5.txt b/parser/testdata/03636_empty_projection_block/explain_5.txt new file mode 100644 index 0000000000..8f1267ad9a --- /dev/null +++ b/parser/testdata/03636_empty_projection_block/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier post_state diff --git a/parser/testdata/03636_empty_projection_block/explain_6.txt b/parser/testdata/03636_empty_projection_block/explain_6.txt new file mode 100644 index 0000000000..8f1267ad9a --- /dev/null +++ b/parser/testdata/03636_empty_projection_block/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier post_state diff --git a/parser/testdata/03636_storage_alias_basic/explain_105.txt b/parser/testdata/03636_storage_alias_basic/explain_105.txt new file mode 100644 index 0000000000..992bba0ea4 --- /dev/null +++ b/parser/testdata/03636_storage_alias_basic/explain_105.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier source_attach diff --git a/parser/testdata/03636_storage_alias_basic/explain_114.txt b/parser/testdata/03636_storage_alias_basic/explain_114.txt new file mode 100644 index 0000000000..513191b558 --- /dev/null +++ b/parser/testdata/03636_storage_alias_basic/explain_114.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier alias_attach diff --git a/parser/testdata/03636_storage_alias_basic/explain_124.txt b/parser/testdata/03636_storage_alias_basic/explain_124.txt new file mode 100644 index 0000000000..d43bbd80b4 --- /dev/null +++ b/parser/testdata/03636_storage_alias_basic/explain_124.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier metadata_target diff --git a/parser/testdata/03636_storage_alias_basic/explain_129.txt b/parser/testdata/03636_storage_alias_basic/explain_129.txt new file mode 100644 index 0000000000..ef3e0f73a6 --- /dev/null +++ b/parser/testdata/03636_storage_alias_basic/explain_129.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier metadata_alias diff --git a/parser/testdata/03636_storage_alias_basic/explain_135.txt b/parser/testdata/03636_storage_alias_basic/explain_135.txt new file mode 100644 index 0000000000..ef3e0f73a6 --- /dev/null +++ b/parser/testdata/03636_storage_alias_basic/explain_135.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier metadata_alias diff --git a/parser/testdata/03636_storage_alias_basic/explain_140.txt b/parser/testdata/03636_storage_alias_basic/explain_140.txt new file mode 100644 index 0000000000..ef3e0f73a6 --- /dev/null +++ b/parser/testdata/03636_storage_alias_basic/explain_140.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier metadata_alias diff --git a/parser/testdata/03636_storage_alias_basic/explain_148.txt b/parser/testdata/03636_storage_alias_basic/explain_148.txt new file mode 100644 index 0000000000..fd86d065cb --- /dev/null +++ b/parser/testdata/03636_storage_alias_basic/explain_148.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier temp_target diff --git a/parser/testdata/03636_storage_alias_basic/explain_16.txt b/parser/testdata/03636_storage_alias_basic/explain_16.txt new file mode 100644 index 0000000000..7e12f3cd8b --- /dev/null +++ b/parser/testdata/03636_storage_alias_basic/explain_16.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier alias_1 diff --git a/parser/testdata/03636_storage_alias_basic/explain_19.txt b/parser/testdata/03636_storage_alias_basic/explain_19.txt new file mode 100644 index 0000000000..d4f85a0679 --- /dev/null +++ b/parser/testdata/03636_storage_alias_basic/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier alias_2 diff --git a/parser/testdata/03636_storage_alias_basic/explain_25.txt b/parser/testdata/03636_storage_alias_basic/explain_25.txt new file mode 100644 index 0000000000..7e12f3cd8b --- /dev/null +++ b/parser/testdata/03636_storage_alias_basic/explain_25.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier alias_1 diff --git a/parser/testdata/03636_storage_alias_basic/explain_30.txt b/parser/testdata/03636_storage_alias_basic/explain_30.txt new file mode 100644 index 0000000000..afef4051d6 --- /dev/null +++ b/parser/testdata/03636_storage_alias_basic/explain_30.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier source_table diff --git a/parser/testdata/03636_storage_alias_basic/explain_42.txt b/parser/testdata/03636_storage_alias_basic/explain_42.txt new file mode 100644 index 0000000000..79a7d1e19e --- /dev/null +++ b/parser/testdata/03636_storage_alias_basic/explain_42.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier alias_4 diff --git a/parser/testdata/03636_storage_alias_basic/explain_43.txt b/parser/testdata/03636_storage_alias_basic/explain_43.txt new file mode 100644 index 0000000000..79a7d1e19e --- /dev/null +++ b/parser/testdata/03636_storage_alias_basic/explain_43.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier alias_4 diff --git a/parser/testdata/03636_storage_alias_basic/explain_44.txt b/parser/testdata/03636_storage_alias_basic/explain_44.txt new file mode 100644 index 0000000000..79a7d1e19e --- /dev/null +++ b/parser/testdata/03636_storage_alias_basic/explain_44.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier alias_4 diff --git a/parser/testdata/03636_storage_alias_basic/explain_62.txt b/parser/testdata/03636_storage_alias_basic/explain_62.txt new file mode 100644 index 0000000000..ab22cdbd15 --- /dev/null +++ b/parser/testdata/03636_storage_alias_basic/explain_62.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier alias_part diff --git a/parser/testdata/03636_storage_alias_basic/explain_8.txt b/parser/testdata/03636_storage_alias_basic/explain_8.txt new file mode 100644 index 0000000000..afef4051d6 --- /dev/null +++ b/parser/testdata/03636_storage_alias_basic/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier source_table diff --git a/parser/testdata/03636_storage_alias_basic/explain_82.txt b/parser/testdata/03636_storage_alias_basic/explain_82.txt new file mode 100644 index 0000000000..e891535dd3 --- /dev/null +++ b/parser/testdata/03636_storage_alias_basic/explain_82.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_a_exchange diff --git a/parser/testdata/03636_storage_alias_basic/explain_83.txt b/parser/testdata/03636_storage_alias_basic/explain_83.txt new file mode 100644 index 0000000000..9bbad7071e --- /dev/null +++ b/parser/testdata/03636_storage_alias_basic/explain_83.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier table_b_exchange diff --git a/parser/testdata/03636_storage_alias_syntax/explain_14.txt b/parser/testdata/03636_storage_alias_syntax/explain_14.txt new file mode 100644 index 0000000000..6456f791f7 --- /dev/null +++ b/parser/testdata/03636_storage_alias_syntax/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier alias_syntax_1 diff --git a/parser/testdata/03636_storage_alias_syntax/explain_18.txt b/parser/testdata/03636_storage_alias_syntax/explain_18.txt new file mode 100644 index 0000000000..1e861b0cf8 --- /dev/null +++ b/parser/testdata/03636_storage_alias_syntax/explain_18.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier alias_syntax_2 diff --git a/parser/testdata/03636_storage_alias_syntax/explain_6.txt b/parser/testdata/03636_storage_alias_syntax/explain_6.txt new file mode 100644 index 0000000000..afef4051d6 --- /dev/null +++ b/parser/testdata/03636_storage_alias_syntax/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier source_table diff --git a/parser/testdata/03639_hash_of_json_column/explain_22.txt b/parser/testdata/03639_hash_of_json_column/explain_22.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03639_hash_of_json_column/explain_22.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03639_hash_of_json_column/explain_26.txt b/parser/testdata/03639_hash_of_json_column/explain_26.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03639_hash_of_json_column/explain_26.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03639_hash_of_json_column/explain_30.txt b/parser/testdata/03639_hash_of_json_column/explain_30.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03639_hash_of_json_column/explain_30.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03640_load_marks_synchronously/explain_7.txt b/parser/testdata/03640_load_marks_synchronously/explain_7.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03640_load_marks_synchronously/explain_7.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03640_multiple_mutations_with_error_with_rewrite_parts/explain_3.txt b/parser/testdata/03640_multiple_mutations_with_error_with_rewrite_parts/explain_3.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/03640_multiple_mutations_with_error_with_rewrite_parts/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03641_analyzer_issue_85834/explain_3.txt b/parser/testdata/03641_analyzer_issue_85834/explain_3.txt new file mode 100644 index 0000000000..dd14086b83 --- /dev/null +++ b/parser/testdata/03641_analyzer_issue_85834/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_generic_events_all diff --git a/parser/testdata/03644_min_level_for_wide_part/explain_15.txt b/parser/testdata/03644_min_level_for_wide_part/explain_15.txt new file mode 100644 index 0000000000..655c578025 --- /dev/null +++ b/parser/testdata/03644_min_level_for_wide_part/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_03644_min_level_for_wide_part_rmt diff --git a/parser/testdata/03644_min_level_for_wide_part/explain_6.txt b/parser/testdata/03644_min_level_for_wide_part/explain_6.txt new file mode 100644 index 0000000000..110ce53450 --- /dev/null +++ b/parser/testdata/03644_min_level_for_wide_part/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_03644_min_level_for_wide_part diff --git a/parser/testdata/03644_min_level_for_wide_part/explain_8.txt b/parser/testdata/03644_min_level_for_wide_part/explain_8.txt new file mode 100644 index 0000000000..110ce53450 --- /dev/null +++ b/parser/testdata/03644_min_level_for_wide_part/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_03644_min_level_for_wide_part diff --git a/parser/testdata/03644_object_storage_correlated_subqueries/explain_3.txt b/parser/testdata/03644_object_storage_correlated_subqueries/explain_3.txt new file mode 100644 index 0000000000..850b601fbd --- /dev/null +++ b/parser/testdata/03644_object_storage_correlated_subqueries/explain_3.txt @@ -0,0 +1,40 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 1) + Identifier n1.c1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function s3 (alias n1) (children 1) + ExpressionList (children 3) + Literal \'http://localhost:11111/test/test-data-03644_object_storage.csv\' + Literal \'test\' + Literal \'testtest\' + Function greater (children 1) + ExpressionList (children 2) + Identifier n1.c1 + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function AVG (children 1) + ExpressionList (children 1) + Identifier n2.c1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function s3 (alias n2) (children 1) + ExpressionList (children 3) + Literal \'http://localhost:11111/test/test-data-03644_object_storage.csv\' + Literal \'test\' + Literal \'testtest\' + Function less (children 1) + ExpressionList (children 2) + Identifier n2.c1 + Identifier n1.c1 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier n1.c1 + Set diff --git a/parser/testdata/03646_array_join_empty/explain_4.txt b/parser/testdata/03646_array_join_empty/explain_4.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/03646_array_join_empty/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/03647_morton_encode_empty_tuple/explain.txt b/parser/testdata/03647_morton_encode_empty_tuple/explain.txt index 06dd504ad6..af15f57618 100644 --- a/parser/testdata/03647_morton_encode_empty_tuple/explain.txt +++ b/parser/testdata/03647_morton_encode_empty_tuple/explain.txt @@ -6,4 +6,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) Function tuple (children 1) ExpressionList -The query succeeded but the server error '43' was expected (query: EXPLAIN AST SELECT mortonEncode(()); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }). diff --git a/parser/testdata/03651_merge_tree_compact_read_string_size_subcolumn/explain_3.txt b/parser/testdata/03651_merge_tree_compact_read_string_size_subcolumn/explain_3.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/03651_merge_tree_compact_read_string_size_subcolumn/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03652_coalescing_merge_tree_fix_empty_tuple/explain_10.txt b/parser/testdata/03652_coalescing_merge_tree_fix_empty_tuple/explain_10.txt new file mode 100644 index 0000000000..fcb2d89148 --- /dev/null +++ b/parser/testdata/03652_coalescing_merge_tree_fix_empty_tuple/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t0 diff --git a/parser/testdata/03652_coalescing_merge_tree_fix_empty_tuple/explain_14.txt b/parser/testdata/03652_coalescing_merge_tree_fix_empty_tuple/explain_14.txt new file mode 100644 index 0000000000..fcb2d89148 --- /dev/null +++ b/parser/testdata/03652_coalescing_merge_tree_fix_empty_tuple/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t0 diff --git a/parser/testdata/03652_coalescing_merge_tree_fix_empty_tuple/explain_15.txt b/parser/testdata/03652_coalescing_merge_tree_fix_empty_tuple/explain_15.txt new file mode 100644 index 0000000000..fcb2d89148 --- /dev/null +++ b/parser/testdata/03652_coalescing_merge_tree_fix_empty_tuple/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t0 diff --git a/parser/testdata/03652_coalescing_merge_tree_fix_empty_tuple/explain_19.txt b/parser/testdata/03652_coalescing_merge_tree_fix_empty_tuple/explain_19.txt new file mode 100644 index 0000000000..fcb2d89148 --- /dev/null +++ b/parser/testdata/03652_coalescing_merge_tree_fix_empty_tuple/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t0 diff --git a/parser/testdata/03652_coalescing_merge_tree_fix_empty_tuple/explain_20.txt b/parser/testdata/03652_coalescing_merge_tree_fix_empty_tuple/explain_20.txt new file mode 100644 index 0000000000..fcb2d89148 --- /dev/null +++ b/parser/testdata/03652_coalescing_merge_tree_fix_empty_tuple/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t0 diff --git a/parser/testdata/03652_coalescing_merge_tree_fix_empty_tuple/explain_24.txt b/parser/testdata/03652_coalescing_merge_tree_fix_empty_tuple/explain_24.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/03652_coalescing_merge_tree_fix_empty_tuple/explain_24.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03652_coalescing_merge_tree_fix_empty_tuple/explain_28.txt b/parser/testdata/03652_coalescing_merge_tree_fix_empty_tuple/explain_28.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/03652_coalescing_merge_tree_fix_empty_tuple/explain_28.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03652_coalescing_merge_tree_fix_empty_tuple/explain_4.txt b/parser/testdata/03652_coalescing_merge_tree_fix_empty_tuple/explain_4.txt new file mode 100644 index 0000000000..fcb2d89148 --- /dev/null +++ b/parser/testdata/03652_coalescing_merge_tree_fix_empty_tuple/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t0 diff --git a/parser/testdata/03652_coalescing_merge_tree_fix_empty_tuple/explain_5.txt b/parser/testdata/03652_coalescing_merge_tree_fix_empty_tuple/explain_5.txt new file mode 100644 index 0000000000..fcb2d89148 --- /dev/null +++ b/parser/testdata/03652_coalescing_merge_tree_fix_empty_tuple/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t0 diff --git a/parser/testdata/03652_coalescing_merge_tree_fix_empty_tuple/explain_9.txt b/parser/testdata/03652_coalescing_merge_tree_fix_empty_tuple/explain_9.txt new file mode 100644 index 0000000000..fcb2d89148 --- /dev/null +++ b/parser/testdata/03652_coalescing_merge_tree_fix_empty_tuple/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t0 diff --git a/parser/testdata/03652_explain_input_header/explain_7.txt b/parser/testdata/03652_explain_input_header/explain_7.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/03652_explain_input_header/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/03652_explain_input_header/explain_8.txt b/parser/testdata/03652_explain_input_header/explain_8.txt new file mode 100644 index 0000000000..df4a687bc0 --- /dev/null +++ b/parser/testdata/03652_explain_input_header/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2 diff --git a/parser/testdata/03652_join_using_legacy_step/explain_10.txt b/parser/testdata/03652_join_using_legacy_step/explain_10.txt new file mode 100644 index 0000000000..df4a687bc0 --- /dev/null +++ b/parser/testdata/03652_join_using_legacy_step/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2 diff --git a/parser/testdata/03652_join_using_legacy_step/explain_12.txt b/parser/testdata/03652_join_using_legacy_step/explain_12.txt new file mode 100644 index 0000000000..ffa366159a --- /dev/null +++ b/parser/testdata/03652_join_using_legacy_step/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t3 diff --git a/parser/testdata/03652_join_using_legacy_step/explain_14.txt b/parser/testdata/03652_join_using_legacy_step/explain_14.txt new file mode 100644 index 0000000000..a16e5147b1 --- /dev/null +++ b/parser/testdata/03652_join_using_legacy_step/explain_14.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t4 diff --git a/parser/testdata/03652_join_using_legacy_step/explain_8.txt b/parser/testdata/03652_join_using_legacy_step/explain_8.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/03652_join_using_legacy_step/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/03653_keeper_histogram_metrics/explain.txt b/parser/testdata/03653_keeper_histogram_metrics/explain.txt index a353aae48c..017a429e67 100644 --- a/parser/testdata/03653_keeper_histogram_metrics/explain.txt +++ b/parser/testdata/03653_keeper_histogram_metrics/explain.txt @@ -11,20 +11,18 @@ SelectWithUnionQuery (children 1) TableExpression (children 1) TableIdentifier system.histogram_metrics Function and (children 1) - ExpressionList (children 2) - Function and (children 1) + ExpressionList (children 3) + Function equals (children 1) ExpressionList (children 2) - Function equals (children 1) - ExpressionList (children 2) - Identifier name - Literal \'keeper_response_time_ms\' - Function equals (children 1) + Identifier name + Literal \'keeper_response_time_ms\' + Function equals (children 1) + ExpressionList (children 2) + Function arrayElement (children 1) ExpressionList (children 2) - Function arrayElement (children 1) - ExpressionList (children 2) - Identifier labels - Literal \'operation_type\' - Literal \'readonly\' + Identifier labels + Literal \'operation_type\' + Literal \'readonly\' Function equals (children 1) ExpressionList (children 2) Function arrayElement (children 1) diff --git a/parser/testdata/03653_updating_minmax_idx_after_mutation/explain_3.txt b/parser/testdata/03653_updating_minmax_idx_after_mutation/explain_3.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03653_updating_minmax_idx_after_mutation/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03654_case_non_constant_null/explain_3.txt b/parser/testdata/03654_case_non_constant_null/explain_3.txt new file mode 100644 index 0000000000..42958894ce --- /dev/null +++ b/parser/testdata/03654_case_non_constant_null/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test1 diff --git a/parser/testdata/03654_grouping_sets_any_min_max/explain_10.txt b/parser/testdata/03654_grouping_sets_any_min_max/explain_10.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03654_grouping_sets_any_min_max/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03654_grouping_sets_any_min_max/explain_5.txt b/parser/testdata/03654_grouping_sets_any_min_max/explain_5.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03654_grouping_sets_any_min_max/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03654_grouping_sets_any_min_max/explain_6.txt b/parser/testdata/03654_grouping_sets_any_min_max/explain_6.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03654_grouping_sets_any_min_max/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03654_grouping_sets_any_min_max/explain_7.txt b/parser/testdata/03654_grouping_sets_any_min_max/explain_7.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03654_grouping_sets_any_min_max/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03654_grouping_sets_any_min_max/explain_8.txt b/parser/testdata/03654_grouping_sets_any_min_max/explain_8.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03654_grouping_sets_any_min_max/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03654_grouping_sets_any_min_max/explain_9.txt b/parser/testdata/03654_grouping_sets_any_min_max/explain_9.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03654_grouping_sets_any_min_max/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03656_nan_comparison/explain_3.txt b/parser/testdata/03656_nan_comparison/explain_3.txt new file mode 100644 index 0000000000..add1a9b63b --- /dev/null +++ b/parser/testdata/03656_nan_comparison/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t7 diff --git a/parser/testdata/03657_hash_vs_full_sorting_merge_join/explain_10.txt b/parser/testdata/03657_hash_vs_full_sorting_merge_join/explain_10.txt new file mode 100644 index 0000000000..d5708f998c --- /dev/null +++ b/parser/testdata/03657_hash_vs_full_sorting_merge_join/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tn1 diff --git a/parser/testdata/03657_hash_vs_full_sorting_merge_join/explain_11.txt b/parser/testdata/03657_hash_vs_full_sorting_merge_join/explain_11.txt new file mode 100644 index 0000000000..df4a687bc0 --- /dev/null +++ b/parser/testdata/03657_hash_vs_full_sorting_merge_join/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2 diff --git a/parser/testdata/03657_hash_vs_full_sorting_merge_join/explain_12.txt b/parser/testdata/03657_hash_vs_full_sorting_merge_join/explain_12.txt new file mode 100644 index 0000000000..d0b47306fc --- /dev/null +++ b/parser/testdata/03657_hash_vs_full_sorting_merge_join/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tn2 diff --git a/parser/testdata/03657_hash_vs_full_sorting_merge_join/explain_9.txt b/parser/testdata/03657_hash_vs_full_sorting_merge_join/explain_9.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/03657_hash_vs_full_sorting_merge_join/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/03657_merge_tree_disk_support_transaction/explain_11.txt b/parser/testdata/03657_merge_tree_disk_support_transaction/explain_11.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03657_merge_tree_disk_support_transaction/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03657_merge_tree_disk_support_transaction/explain_15.txt b/parser/testdata/03657_merge_tree_disk_support_transaction/explain_15.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03657_merge_tree_disk_support_transaction/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03657_merge_tree_disk_support_transaction/explain_19.txt b/parser/testdata/03657_merge_tree_disk_support_transaction/explain_19.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03657_merge_tree_disk_support_transaction/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03657_merge_tree_disk_support_transaction/explain_23.txt b/parser/testdata/03657_merge_tree_disk_support_transaction/explain_23.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03657_merge_tree_disk_support_transaction/explain_23.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03657_merge_tree_disk_support_transaction/explain_27.txt b/parser/testdata/03657_merge_tree_disk_support_transaction/explain_27.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03657_merge_tree_disk_support_transaction/explain_27.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03657_merge_tree_disk_support_transaction/explain_3.txt b/parser/testdata/03657_merge_tree_disk_support_transaction/explain_3.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03657_merge_tree_disk_support_transaction/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03657_merge_tree_disk_support_transaction/explain_31.txt b/parser/testdata/03657_merge_tree_disk_support_transaction/explain_31.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03657_merge_tree_disk_support_transaction/explain_31.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03657_merge_tree_disk_support_transaction/explain_35.txt b/parser/testdata/03657_merge_tree_disk_support_transaction/explain_35.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03657_merge_tree_disk_support_transaction/explain_35.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03657_merge_tree_disk_support_transaction/explain_39.txt b/parser/testdata/03657_merge_tree_disk_support_transaction/explain_39.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03657_merge_tree_disk_support_transaction/explain_39.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03657_merge_tree_disk_support_transaction/explain_43.txt b/parser/testdata/03657_merge_tree_disk_support_transaction/explain_43.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03657_merge_tree_disk_support_transaction/explain_43.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03657_merge_tree_disk_support_transaction/explain_47.txt b/parser/testdata/03657_merge_tree_disk_support_transaction/explain_47.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03657_merge_tree_disk_support_transaction/explain_47.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03657_merge_tree_disk_support_transaction/explain_51.txt b/parser/testdata/03657_merge_tree_disk_support_transaction/explain_51.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03657_merge_tree_disk_support_transaction/explain_51.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03657_merge_tree_disk_support_transaction/explain_7.txt b/parser/testdata/03657_merge_tree_disk_support_transaction/explain_7.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03657_merge_tree_disk_support_transaction/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03657_rollup_constant/explain_3.txt b/parser/testdata/03657_rollup_constant/explain_3.txt new file mode 100644 index 0000000000..055df53c82 --- /dev/null +++ b/parser/testdata/03657_rollup_constant/explain_3.txt @@ -0,0 +1,8 @@ +InsertQuery (children 2) + Identifier my_first_table + ExpressionList (children 5) + Identifier user_id + Identifier job_id + Identifier message + Identifier timestamp + Identifier metric diff --git a/parser/testdata/03667_insert_columns_description/explain_10.txt b/parser/testdata/03667_insert_columns_description/explain_10.txt new file mode 100644 index 0000000000..07f320f070 --- /dev/null +++ b/parser/testdata/03667_insert_columns_description/explain_10.txt @@ -0,0 +1,10 @@ +InsertQuery (children 1) + Function file (children 1) + ExpressionList (children 3) + Function concat (children 1) + ExpressionList (children 2) + Function database (children 1) + ExpressionList + Literal \'_test.csv\' + Identifier CSV + Literal \'a Int, b Int DEFAULT 77\' diff --git a/parser/testdata/03667_insert_columns_description/explain_3.txt b/parser/testdata/03667_insert_columns_description/explain_3.txt new file mode 100644 index 0000000000..fa714c299c --- /dev/null +++ b/parser/testdata/03667_insert_columns_description/explain_3.txt @@ -0,0 +1,9 @@ +InsertQuery (children 1) + Function remote (children 1) + ExpressionList (children 5) + Literal \'localhost:9000\' + Function database (children 1) + ExpressionList + Literal \'t0\' + Literal \'default\' + Literal \'\' diff --git a/parser/testdata/03667_insert_columns_description/explain_4.txt b/parser/testdata/03667_insert_columns_description/explain_4.txt new file mode 100644 index 0000000000..fcb2d89148 --- /dev/null +++ b/parser/testdata/03667_insert_columns_description/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t0 diff --git a/parser/testdata/03667_insert_columns_description/explain_7.txt b/parser/testdata/03667_insert_columns_description/explain_7.txt new file mode 100644 index 0000000000..005d471bd6 --- /dev/null +++ b/parser/testdata/03667_insert_columns_description/explain_7.txt @@ -0,0 +1,9 @@ +InsertQuery (children 1) + Function remote (children 1) + ExpressionList (children 5) + Literal \'localhost:9000\' + Function database (children 1) + ExpressionList + Literal \'fuzz_87972\' + Literal \'default\' + Literal \'\' diff --git a/parser/testdata/03668_shard_join_in_reverse_order/explain_2.txt b/parser/testdata/03668_shard_join_in_reverse_order/explain_2.txt new file mode 100644 index 0000000000..9f1d6ffe4a --- /dev/null +++ b/parser/testdata/03668_shard_join_in_reverse_order/explain_2.txt @@ -0,0 +1,11 @@ +CreateQuery t0 (children 3) + Identifier t0 + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration c0 (children 1) + DataType Int + Storage definition (children 3) + Function MergeTree (children 1) + ExpressionList + Function tuple + Set diff --git a/parser/testdata/03668_shard_join_in_reverse_order/explain_4.txt b/parser/testdata/03668_shard_join_in_reverse_order/explain_4.txt new file mode 100644 index 0000000000..8fb70d3f63 --- /dev/null +++ b/parser/testdata/03668_shard_join_in_reverse_order/explain_4.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Identifier c0 + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t0 + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier t0 (alias tx) + TableJoin (children 1) + ExpressionList (children 1) + Identifier c0 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier c0 + Set diff --git a/parser/testdata/03669_min_max_projection_with_reverse_order_key/explain_2.txt b/parser/testdata/03669_min_max_projection_with_reverse_order_key/explain_2.txt new file mode 100644 index 0000000000..d2f775d2bb --- /dev/null +++ b/parser/testdata/03669_min_max_projection_with_reverse_order_key/explain_2.txt @@ -0,0 +1,10 @@ +CreateQuery desc_pk (children 3) + Identifier desc_pk + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration a (children 1) + DataType UInt32 + Storage definition (children 3) + Function MergeTree + Function tuple + Set diff --git a/parser/testdata/03671_dict_in_subquery_in_index_analysis_context_expired/explain_5.txt b/parser/testdata/03671_dict_in_subquery_in_index_analysis_context_expired/explain_5.txt new file mode 100644 index 0000000000..4117231bab --- /dev/null +++ b/parser/testdata/03671_dict_in_subquery_in_index_analysis_context_expired/explain_5.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier info + ExpressionList (children 1) + Identifier iid diff --git a/parser/testdata/03671_dict_in_subquery_in_index_analysis_context_expired/explain_7.txt b/parser/testdata/03671_dict_in_subquery_in_index_analysis_context_expired/explain_7.txt new file mode 100644 index 0000000000..a103965442 --- /dev/null +++ b/parser/testdata/03671_dict_in_subquery_in_index_analysis_context_expired/explain_7.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier ids + ExpressionList (children 1) + Identifier id diff --git a/parser/testdata/03671_dict_in_subquery_in_index_analysis_context_expired/explain_8.txt b/parser/testdata/03671_dict_in_subquery_in_index_analysis_context_expired/explain_8.txt new file mode 100644 index 0000000000..4e70c08a2a --- /dev/null +++ b/parser/testdata/03671_dict_in_subquery_in_index_analysis_context_expired/explain_8.txt @@ -0,0 +1,18 @@ +CreateQuery dict (children 3) + Identifier dict + ExpressionList (children 2) + DictionaryAttributeDeclaration id (children 1) + DataType Int64 + DictionaryAttributeDeclaration children (children 1) + DataType Array (children 1) + ExpressionList (children 1) + DataType Int64 + Dictionary definition (children 3) + ExpressionList (children 1) + Identifier id + FunctionWithKeyValueArguments clickhouse (children 1) + ExpressionList (children 1) + pair (children 1) + Literal \'SELECT 1 id, [1] children\' + Dictionary layout (children 1) + ExpressionList diff --git a/parser/testdata/03671_pk_in_subquery_context_expired/explain_4.txt b/parser/testdata/03671_pk_in_subquery_context_expired/explain_4.txt new file mode 100644 index 0000000000..fded649204 --- /dev/null +++ b/parser/testdata/03671_pk_in_subquery_context_expired/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tbl diff --git a/parser/testdata/03671_pk_in_subquery_context_expired/explain_6.txt b/parser/testdata/03671_pk_in_subquery_context_expired/explain_6.txt new file mode 100644 index 0000000000..8e89959ea2 --- /dev/null +++ b/parser/testdata/03671_pk_in_subquery_context_expired/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier join_engine diff --git a/parser/testdata/03672_nested_array_nested_tuple/explain_3.txt b/parser/testdata/03672_nested_array_nested_tuple/explain_3.txt new file mode 100644 index 0000000000..7af2a11e61 --- /dev/null +++ b/parser/testdata/03672_nested_array_nested_tuple/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier nest + ExpressionList (children 1) + Identifier nested_field.e1 diff --git a/parser/testdata/03672_nested_array_nested_tuple/explain_9.txt b/parser/testdata/03672_nested_array_nested_tuple/explain_9.txt new file mode 100644 index 0000000000..b9845dccc2 --- /dev/null +++ b/parser/testdata/03672_nested_array_nested_tuple/explain_9.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier nest_2 + ExpressionList (children 1) + Identifier nested_field.e1 diff --git a/parser/testdata/03673_columns_description_cache/explain_10.txt b/parser/testdata/03673_columns_description_cache/explain_10.txt new file mode 100644 index 0000000000..1eada98309 --- /dev/null +++ b/parser/testdata/03673_columns_description_cache/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_mt diff --git a/parser/testdata/03673_columns_description_cache/explain_13.txt b/parser/testdata/03673_columns_description_cache/explain_13.txt new file mode 100644 index 0000000000..1eada98309 --- /dev/null +++ b/parser/testdata/03673_columns_description_cache/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_mt diff --git a/parser/testdata/03673_columns_description_cache/explain_15.txt b/parser/testdata/03673_columns_description_cache/explain_15.txt new file mode 100644 index 0000000000..1eada98309 --- /dev/null +++ b/parser/testdata/03673_columns_description_cache/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_mt diff --git a/parser/testdata/03673_columns_description_cache/explain_3.txt b/parser/testdata/03673_columns_description_cache/explain_3.txt new file mode 100644 index 0000000000..75e89c806a --- /dev/null +++ b/parser/testdata/03673_columns_description_cache/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_mem diff --git a/parser/testdata/03673_columns_description_cache/explain_8.txt b/parser/testdata/03673_columns_description_cache/explain_8.txt new file mode 100644 index 0000000000..1eada98309 --- /dev/null +++ b/parser/testdata/03673_columns_description_cache/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_mt diff --git a/parser/testdata/03680_mergetree_shrink_const_from_prewhere/explain_4.txt b/parser/testdata/03680_mergetree_shrink_const_from_prewhere/explain_4.txt new file mode 100644 index 0000000000..16c5d792e5 --- /dev/null +++ b/parser/testdata/03680_mergetree_shrink_const_from_prewhere/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier const_node diff --git a/parser/testdata/03680_mergetree_shrink_const_from_prewhere/explain_5.txt b/parser/testdata/03680_mergetree_shrink_const_from_prewhere/explain_5.txt new file mode 100644 index 0000000000..16c5d792e5 --- /dev/null +++ b/parser/testdata/03680_mergetree_shrink_const_from_prewhere/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier const_node diff --git a/parser/testdata/03680_mergetree_shrink_const_from_prewhere/explain_6.txt b/parser/testdata/03680_mergetree_shrink_const_from_prewhere/explain_6.txt new file mode 100644 index 0000000000..16c5d792e5 --- /dev/null +++ b/parser/testdata/03680_mergetree_shrink_const_from_prewhere/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier const_node diff --git a/parser/testdata/03681_lazy_materialization_with_read_in_order/explain_27.txt b/parser/testdata/03681_lazy_materialization_with_read_in_order/explain_27.txt new file mode 100644 index 0000000000..a4fdca7dd5 --- /dev/null +++ b/parser/testdata/03681_lazy_materialization_with_read_in_order/explain_27.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_correctness diff --git a/parser/testdata/03681_lazy_materialization_with_read_in_order/explain_35.txt b/parser/testdata/03681_lazy_materialization_with_read_in_order/explain_35.txt new file mode 100644 index 0000000000..d6c2622176 --- /dev/null +++ b/parser/testdata/03681_lazy_materialization_with_read_in_order/explain_35.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 3) + Identifier id + Identifier value + Identifier score + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test_correctness + ExpressionList (children 1) + OrderByElement (children 1) + Identifier id + Literal UInt64_5 + Set diff --git a/parser/testdata/03700_vertical_format_pretty_print_json/explain_3.txt b/parser/testdata/03700_vertical_format_pretty_print_json/explain_3.txt new file mode 100644 index 0000000000..96933fca09 --- /dev/null +++ b/parser/testdata/03700_vertical_format_pretty_print_json/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_vertical_json diff --git a/parser/testdata/03700_vertical_format_pretty_print_json/explain_4.txt b/parser/testdata/03700_vertical_format_pretty_print_json/explain_4.txt new file mode 100644 index 0000000000..96933fca09 --- /dev/null +++ b/parser/testdata/03700_vertical_format_pretty_print_json/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_vertical_json diff --git a/parser/testdata/03701_column_ttl_fully_expired/explain_13.txt b/parser/testdata/03701_column_ttl_fully_expired/explain_13.txt new file mode 100644 index 0000000000..cd76eec2c4 --- /dev/null +++ b/parser/testdata/03701_column_ttl_fully_expired/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier x diff --git a/parser/testdata/03701_column_ttl_fully_expired/explain_21.txt b/parser/testdata/03701_column_ttl_fully_expired/explain_21.txt new file mode 100644 index 0000000000..cd76eec2c4 --- /dev/null +++ b/parser/testdata/03701_column_ttl_fully_expired/explain_21.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier x diff --git a/parser/testdata/03701_column_ttl_fully_expired/explain_4.txt b/parser/testdata/03701_column_ttl_fully_expired/explain_4.txt new file mode 100644 index 0000000000..cd76eec2c4 --- /dev/null +++ b/parser/testdata/03701_column_ttl_fully_expired/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier x diff --git a/parser/testdata/03701_create_or_replace_temporary_table/explain.txt b/parser/testdata/03701_create_or_replace_temporary_table/explain.txt deleted file mode 100644 index 69ae832e06..0000000000 --- a/parser/testdata/03701_create_or_replace_temporary_table/explain.txt +++ /dev/null @@ -1,17 +0,0 @@ -CreateQuery tmp (children 3) - Identifier tmp - Columns definition (children 1) - ExpressionList (children 1) - ColumnDeclaration n (children 1) - DataType UInt32 - SelectWithUnionQuery (children 1) - ExpressionList (children 1) - SelectQuery (children 2) - ExpressionList (children 1) - Asterisk - TablesInSelectQuery (children 1) - TablesInSelectQueryElement (children 1) - TableExpression (children 1) - Function numbers (children 1) - ExpressionList (children 1) - Literal UInt64_10 diff --git a/parser/testdata/03701_limit_by_in_order/explain_10.txt b/parser/testdata/03701_limit_by_in_order/explain_10.txt index 449f789ebc..2ff3cc5710 100644 --- a/parser/testdata/03701_limit_by_in_order/explain_10.txt +++ b/parser/testdata/03701_limit_by_in_order/explain_10.txt @@ -5,21 +5,10 @@ SelectWithUnionQuery (children 1) Function concat (children 1) ExpressionList (children 2) Literal \'Unsorted ORDER BY val LIMIT BY key: \' - Function replaceRegexpAll (children 1) - ExpressionList (children 3) + Function trimBoth (children 1) + ExpressionList (children 2) Identifier explain - Function concat (children 1) - ExpressionList (children 5) - Literal \'^[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \' \' - Literal \']+|[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \' \' - Literal \']+$\' - Literal \'\' + Literal \' \' TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) diff --git a/parser/testdata/03701_limit_by_in_order/explain_11.txt b/parser/testdata/03701_limit_by_in_order/explain_11.txt index 5454e68873..1ef451eacb 100644 --- a/parser/testdata/03701_limit_by_in_order/explain_11.txt +++ b/parser/testdata/03701_limit_by_in_order/explain_11.txt @@ -5,21 +5,10 @@ SelectWithUnionQuery (children 1) Function concat (children 1) ExpressionList (children 2) Literal \'Unsorted ORDER BY val, key LIMIT BY key: \' - Function replaceRegexpAll (children 1) - ExpressionList (children 3) + Function trimBoth (children 1) + ExpressionList (children 2) Identifier explain - Function concat (children 1) - ExpressionList (children 5) - Literal \'^[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \' \' - Literal \']+|[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \' \' - Literal \']+$\' - Literal \'\' + Literal \' \' TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) diff --git a/parser/testdata/03701_limit_by_in_order/explain_12.txt b/parser/testdata/03701_limit_by_in_order/explain_12.txt index b9d8db9daf..e40059817b 100644 --- a/parser/testdata/03701_limit_by_in_order/explain_12.txt +++ b/parser/testdata/03701_limit_by_in_order/explain_12.txt @@ -5,21 +5,10 @@ SelectWithUnionQuery (children 1) Function concat (children 1) ExpressionList (children 2) Literal \'Unsorted ORDER BY key LIMIT BY key, val: \' - Function replaceRegexpAll (children 1) - ExpressionList (children 3) + Function trimBoth (children 1) + ExpressionList (children 2) Identifier explain - Function concat (children 1) - ExpressionList (children 5) - Literal \'^[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \' \' - Literal \']+|[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \' \' - Literal \']+$\' - Literal \'\' + Literal \' \' TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) diff --git a/parser/testdata/03701_limit_by_in_order/explain_13.txt b/parser/testdata/03701_limit_by_in_order/explain_13.txt index 3c875c0d4a..697d1ef49f 100644 --- a/parser/testdata/03701_limit_by_in_order/explain_13.txt +++ b/parser/testdata/03701_limit_by_in_order/explain_13.txt @@ -5,21 +5,10 @@ SelectWithUnionQuery (children 1) Function concat (children 1) ExpressionList (children 2) Literal \'Unsorted ORDER BY key, dt LIMIT BY key, val: \' - Function replaceRegexpAll (children 1) - ExpressionList (children 3) + Function trimBoth (children 1) + ExpressionList (children 2) Identifier explain - Function concat (children 1) - ExpressionList (children 5) - Literal \'^[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \' \' - Literal \']+|[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \' \' - Literal \']+$\' - Literal \'\' + Literal \' \' TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) diff --git a/parser/testdata/03701_limit_by_in_order/explain_14.txt b/parser/testdata/03701_limit_by_in_order/explain_14.txt index 8d801a68b6..fc626df85a 100644 --- a/parser/testdata/03701_limit_by_in_order/explain_14.txt +++ b/parser/testdata/03701_limit_by_in_order/explain_14.txt @@ -5,21 +5,10 @@ SelectWithUnionQuery (children 1) Function concat (children 1) ExpressionList (children 2) Literal \'Unsorted w/o ORDER BY: \' - Function replaceRegexpAll (children 1) - ExpressionList (children 3) + Function trimBoth (children 1) + ExpressionList (children 2) Identifier explain - Function concat (children 1) - ExpressionList (children 5) - Literal \'^[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \' \' - Literal \']+|[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \' \' - Literal \']+$\' - Literal \'\' + Literal \' \' TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) diff --git a/parser/testdata/03701_limit_by_in_order/explain_26.txt b/parser/testdata/03701_limit_by_in_order/explain_26.txt index e9acaf4e01..a1f0857008 100644 --- a/parser/testdata/03701_limit_by_in_order/explain_26.txt +++ b/parser/testdata/03701_limit_by_in_order/explain_26.txt @@ -5,21 +5,10 @@ SelectWithUnionQuery (children 1) Function concat (children 1) ExpressionList (children 2) Literal \'Sorted ORDER BY key LIMIT BY key: \' - Function replaceRegexpAll (children 1) - ExpressionList (children 3) + Function trimBoth (children 1) + ExpressionList (children 2) Identifier explain - Function concat (children 1) - ExpressionList (children 5) - Literal \'^[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \' \' - Literal \']+|[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \' \' - Literal \']+$\' - Literal \'\' + Literal \' \' TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) diff --git a/parser/testdata/03701_limit_by_in_order/explain_27.txt b/parser/testdata/03701_limit_by_in_order/explain_27.txt index 31c4a27a09..989d7a56f6 100644 --- a/parser/testdata/03701_limit_by_in_order/explain_27.txt +++ b/parser/testdata/03701_limit_by_in_order/explain_27.txt @@ -5,21 +5,10 @@ SelectWithUnionQuery (children 1) Function concat (children 1) ExpressionList (children 2) Literal \'Sorted ORDER BY key DESC LIMIT BY key: \' - Function replaceRegexpAll (children 1) - ExpressionList (children 3) + Function trimBoth (children 1) + ExpressionList (children 2) Identifier explain - Function concat (children 1) - ExpressionList (children 5) - Literal \'^[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \' \' - Literal \']+|[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \' \' - Literal \']+$\' - Literal \'\' + Literal \' \' TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) diff --git a/parser/testdata/03701_limit_by_in_order/explain_28.txt b/parser/testdata/03701_limit_by_in_order/explain_28.txt index 023d1ee762..bcf932c5c7 100644 --- a/parser/testdata/03701_limit_by_in_order/explain_28.txt +++ b/parser/testdata/03701_limit_by_in_order/explain_28.txt @@ -5,21 +5,10 @@ SelectWithUnionQuery (children 1) Function concat (children 1) ExpressionList (children 2) Literal \'Sorted ORDER BY key, val LIMIT BY key: \' - Function replaceRegexpAll (children 1) - ExpressionList (children 3) + Function trimBoth (children 1) + ExpressionList (children 2) Identifier explain - Function concat (children 1) - ExpressionList (children 5) - Literal \'^[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \' \' - Literal \']+|[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \' \' - Literal \']+$\' - Literal \'\' + Literal \' \' TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) diff --git a/parser/testdata/03701_limit_by_in_order/explain_29.txt b/parser/testdata/03701_limit_by_in_order/explain_29.txt index 37cca088b9..77ab5d0724 100644 --- a/parser/testdata/03701_limit_by_in_order/explain_29.txt +++ b/parser/testdata/03701_limit_by_in_order/explain_29.txt @@ -5,21 +5,10 @@ SelectWithUnionQuery (children 1) Function concat (children 1) ExpressionList (children 2) Literal \'Sorted ORDER BY val LIMIT BY key: \' - Function replaceRegexpAll (children 1) - ExpressionList (children 3) + Function trimBoth (children 1) + ExpressionList (children 2) Identifier explain - Function concat (children 1) - ExpressionList (children 5) - Literal \'^[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \' \' - Literal \']+|[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \' \' - Literal \']+$\' - Literal \'\' + Literal \' \' TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) diff --git a/parser/testdata/03701_limit_by_in_order/explain_30.txt b/parser/testdata/03701_limit_by_in_order/explain_30.txt index 554616fcfa..811c668ef6 100644 --- a/parser/testdata/03701_limit_by_in_order/explain_30.txt +++ b/parser/testdata/03701_limit_by_in_order/explain_30.txt @@ -5,21 +5,10 @@ SelectWithUnionQuery (children 1) Function concat (children 1) ExpressionList (children 2) Literal \'Sorted ORDER BY val, key LIMIT BY key: \' - Function replaceRegexpAll (children 1) - ExpressionList (children 3) + Function trimBoth (children 1) + ExpressionList (children 2) Identifier explain - Function concat (children 1) - ExpressionList (children 5) - Literal \'^[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \' \' - Literal \']+|[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \' \' - Literal \']+$\' - Literal \'\' + Literal \' \' TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) diff --git a/parser/testdata/03701_limit_by_in_order/explain_31.txt b/parser/testdata/03701_limit_by_in_order/explain_31.txt index 89838083b9..74e3ffb0d1 100644 --- a/parser/testdata/03701_limit_by_in_order/explain_31.txt +++ b/parser/testdata/03701_limit_by_in_order/explain_31.txt @@ -5,21 +5,10 @@ SelectWithUnionQuery (children 1) Function concat (children 1) ExpressionList (children 2) Literal \'Sorted ORDER BY key LIMIT BY key, val: \' - Function replaceRegexpAll (children 1) - ExpressionList (children 3) + Function trimBoth (children 1) + ExpressionList (children 2) Identifier explain - Function concat (children 1) - ExpressionList (children 5) - Literal \'^[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \' \' - Literal \']+|[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \' \' - Literal \']+$\' - Literal \'\' + Literal \' \' TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) diff --git a/parser/testdata/03701_limit_by_in_order/explain_32.txt b/parser/testdata/03701_limit_by_in_order/explain_32.txt index 4bbc3cf0d8..22fba5b3b1 100644 --- a/parser/testdata/03701_limit_by_in_order/explain_32.txt +++ b/parser/testdata/03701_limit_by_in_order/explain_32.txt @@ -5,21 +5,10 @@ SelectWithUnionQuery (children 1) Function concat (children 1) ExpressionList (children 2) Literal \'Sorted ORDER BY key, dt LIMIT BY key, val: \' - Function replaceRegexpAll (children 1) - ExpressionList (children 3) + Function trimBoth (children 1) + ExpressionList (children 2) Identifier explain - Function concat (children 1) - ExpressionList (children 5) - Literal \'^[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \' \' - Literal \']+|[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \' \' - Literal \']+$\' - Literal \'\' + Literal \' \' TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) diff --git a/parser/testdata/03701_limit_by_in_order/explain_33.txt b/parser/testdata/03701_limit_by_in_order/explain_33.txt index e1a2ad1458..2b3b0759c9 100644 --- a/parser/testdata/03701_limit_by_in_order/explain_33.txt +++ b/parser/testdata/03701_limit_by_in_order/explain_33.txt @@ -5,21 +5,10 @@ SelectWithUnionQuery (children 1) Function concat (children 1) ExpressionList (children 2) Literal \'Sorted w/o ORDER BY: \' - Function replaceRegexpAll (children 1) - ExpressionList (children 3) + Function trimBoth (children 1) + ExpressionList (children 2) Identifier explain - Function concat (children 1) - ExpressionList (children 5) - Literal \'^[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \' \' - Literal \']+|[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \' \' - Literal \']+$\' - Literal \'\' + Literal \' \' TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) diff --git a/parser/testdata/03701_limit_by_in_order/explain_7.txt b/parser/testdata/03701_limit_by_in_order/explain_7.txt index b5b85e58db..ce76485652 100644 --- a/parser/testdata/03701_limit_by_in_order/explain_7.txt +++ b/parser/testdata/03701_limit_by_in_order/explain_7.txt @@ -5,21 +5,10 @@ SelectWithUnionQuery (children 1) Function concat (children 1) ExpressionList (children 2) Literal \'Unsorted ORDER BY key LIMIT BY key: \' - Function replaceRegexpAll (children 1) - ExpressionList (children 3) + Function trimBoth (children 1) + ExpressionList (children 2) Identifier explain - Function concat (children 1) - ExpressionList (children 5) - Literal \'^[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \' \' - Literal \']+|[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \' \' - Literal \']+$\' - Literal \'\' + Literal \' \' TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) diff --git a/parser/testdata/03701_limit_by_in_order/explain_8.txt b/parser/testdata/03701_limit_by_in_order/explain_8.txt index d2e3641d42..d41a2b4d22 100644 --- a/parser/testdata/03701_limit_by_in_order/explain_8.txt +++ b/parser/testdata/03701_limit_by_in_order/explain_8.txt @@ -5,21 +5,10 @@ SelectWithUnionQuery (children 1) Function concat (children 1) ExpressionList (children 2) Literal \'Unsorted ORDER BY key DESC LIMIT BY key: \' - Function replaceRegexpAll (children 1) - ExpressionList (children 3) + Function trimBoth (children 1) + ExpressionList (children 2) Identifier explain - Function concat (children 1) - ExpressionList (children 5) - Literal \'^[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \' \' - Literal \']+|[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \' \' - Literal \']+$\' - Literal \'\' + Literal \' \' TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) diff --git a/parser/testdata/03701_limit_by_in_order/explain_9.txt b/parser/testdata/03701_limit_by_in_order/explain_9.txt index 8303bf5adb..e0dcbdd9ab 100644 --- a/parser/testdata/03701_limit_by_in_order/explain_9.txt +++ b/parser/testdata/03701_limit_by_in_order/explain_9.txt @@ -5,21 +5,10 @@ SelectWithUnionQuery (children 1) Function concat (children 1) ExpressionList (children 2) Literal \'Unsorted ORDER BY key, val LIMIT BY key: \' - Function replaceRegexpAll (children 1) - ExpressionList (children 3) + Function trimBoth (children 1) + ExpressionList (children 2) Identifier explain - Function concat (children 1) - ExpressionList (children 5) - Literal \'^[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \' \' - Literal \']+|[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \' \' - Literal \']+$\' - Literal \'\' + Literal \' \' TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) diff --git a/parser/testdata/03701_optimize_inverse_dictionary_lookup_basic/explain_12.txt b/parser/testdata/03701_optimize_inverse_dictionary_lookup_basic/explain_12.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03701_optimize_inverse_dictionary_lookup_basic/explain_12.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03701_optimize_inverse_dictionary_lookup_basic/explain_7.txt b/parser/testdata/03701_optimize_inverse_dictionary_lookup_basic/explain_7.txt new file mode 100644 index 0000000000..1283a03ba7 --- /dev/null +++ b/parser/testdata/03701_optimize_inverse_dictionary_lookup_basic/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ref_colors diff --git a/parser/testdata/03701_parallel_replicas_in_shard_scope/explain_8.txt b/parser/testdata/03701_parallel_replicas_in_shard_scope/explain_8.txt new file mode 100644 index 0000000000..43f76adaa7 --- /dev/null +++ b/parser/testdata/03701_parallel_replicas_in_shard_scope/explain_8.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test_shard_scope + ExpressionList (children 1) + Identifier time_col diff --git a/parser/testdata/03701_replicated_column_short_circuit_filter/explain.txt b/parser/testdata/03701_replicated_column_short_circuit_filter/explain.txt deleted file mode 100644 index 672afa9079..0000000000 --- a/parser/testdata/03701_replicated_column_short_circuit_filter/explain.txt +++ /dev/null @@ -1,29 +0,0 @@ -SelectWithUnionQuery (children 1) - ExpressionList (children 1) - SelectQuery (children 4) - ExpressionList (children 2) - Identifier number - Function intDiv (children 1) - ExpressionList (children 2) - Literal UInt64_1 - Function minus (children 1) - ExpressionList (children 2) - Identifier number - Literal UInt64_2 - TablesInSelectQuery (children 2) - TablesInSelectQueryElement (children 1) - TableExpression (children 1) - Function numbers (children 1) - ExpressionList (children 1) - Literal UInt64_4 - TablesInSelectQueryElement (children 1) - ArrayJoin (children 1) - ExpressionList (children 1) - Function range (alias x) (children 1) - ExpressionList (children 1) - Identifier number - Function notEquals (children 1) - ExpressionList (children 2) - Identifier number - Literal UInt64_2 - Set diff --git a/parser/testdata/03701_temporary_files_buffer_size/explain_2.txt b/parser/testdata/03701_temporary_files_buffer_size/explain_2.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/03701_temporary_files_buffer_size/explain_2.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03702_alter_codec_index/explain_13.txt b/parser/testdata/03702_alter_codec_index/explain_13.txt new file mode 100644 index 0000000000..8f853674c9 --- /dev/null +++ b/parser/testdata/03702_alter_codec_index/explain_13.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test_alter_codec_index + ExpressionList (children 1) + Identifier value diff --git a/parser/testdata/03702_alter_codec_index/explain_18.txt b/parser/testdata/03702_alter_codec_index/explain_18.txt new file mode 100644 index 0000000000..8f853674c9 --- /dev/null +++ b/parser/testdata/03702_alter_codec_index/explain_18.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test_alter_codec_index + ExpressionList (children 1) + Identifier value diff --git a/parser/testdata/03702_alter_codec_pk/explain_13.txt b/parser/testdata/03702_alter_codec_pk/explain_13.txt new file mode 100644 index 0000000000..cd52948ddd --- /dev/null +++ b/parser/testdata/03702_alter_codec_pk/explain_13.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test_alter_codec_pk + ExpressionList (children 1) + Identifier value diff --git a/parser/testdata/03702_alter_codec_pk/explain_9.txt b/parser/testdata/03702_alter_codec_pk/explain_9.txt new file mode 100644 index 0000000000..cd52948ddd --- /dev/null +++ b/parser/testdata/03702_alter_codec_pk/explain_9.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier test_alter_codec_pk + ExpressionList (children 1) + Identifier value diff --git a/parser/testdata/03702_alter_column_modify_secondary_index_general/explain_8.txt b/parser/testdata/03702_alter_column_modify_secondary_index_general/explain_8.txt new file mode 100644 index 0000000000..1ccfec8ab7 --- /dev/null +++ b/parser/testdata/03702_alter_column_modify_secondary_index_general/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_compact diff --git a/parser/testdata/03702_alter_column_modify_secondary_index_general/explain_9.txt b/parser/testdata/03702_alter_column_modify_secondary_index_general/explain_9.txt new file mode 100644 index 0000000000..216dd98bc8 --- /dev/null +++ b/parser/testdata/03702_alter_column_modify_secondary_index_general/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_wide diff --git a/parser/testdata/03702_alter_column_update_and_delete_secondary_index_general/explain_20.txt b/parser/testdata/03702_alter_column_update_and_delete_secondary_index_general/explain_20.txt new file mode 100644 index 0000000000..1ccfec8ab7 --- /dev/null +++ b/parser/testdata/03702_alter_column_update_and_delete_secondary_index_general/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_compact diff --git a/parser/testdata/03702_alter_column_update_and_delete_secondary_index_general/explain_22.txt b/parser/testdata/03702_alter_column_update_and_delete_secondary_index_general/explain_22.txt new file mode 100644 index 0000000000..216dd98bc8 --- /dev/null +++ b/parser/testdata/03702_alter_column_update_and_delete_secondary_index_general/explain_22.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_wide diff --git a/parser/testdata/03702_alter_column_update_and_delete_secondary_index_general/explain_41.txt b/parser/testdata/03702_alter_column_update_and_delete_secondary_index_general/explain_41.txt new file mode 100644 index 0000000000..1ccfec8ab7 --- /dev/null +++ b/parser/testdata/03702_alter_column_update_and_delete_secondary_index_general/explain_41.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_compact diff --git a/parser/testdata/03702_alter_column_update_and_delete_secondary_index_general/explain_43.txt b/parser/testdata/03702_alter_column_update_and_delete_secondary_index_general/explain_43.txt new file mode 100644 index 0000000000..216dd98bc8 --- /dev/null +++ b/parser/testdata/03702_alter_column_update_and_delete_secondary_index_general/explain_43.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_wide diff --git a/parser/testdata/03702_alter_column_update_and_delete_secondary_index_general/explain_62.txt b/parser/testdata/03702_alter_column_update_and_delete_secondary_index_general/explain_62.txt new file mode 100644 index 0000000000..1ccfec8ab7 --- /dev/null +++ b/parser/testdata/03702_alter_column_update_and_delete_secondary_index_general/explain_62.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_compact diff --git a/parser/testdata/03702_alter_column_update_and_delete_secondary_index_general/explain_64.txt b/parser/testdata/03702_alter_column_update_and_delete_secondary_index_general/explain_64.txt new file mode 100644 index 0000000000..216dd98bc8 --- /dev/null +++ b/parser/testdata/03702_alter_column_update_and_delete_secondary_index_general/explain_64.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_wide diff --git a/parser/testdata/03702_alter_column_update_and_delete_secondary_index_general/explain_8.txt b/parser/testdata/03702_alter_column_update_and_delete_secondary_index_general/explain_8.txt new file mode 100644 index 0000000000..1ccfec8ab7 --- /dev/null +++ b/parser/testdata/03702_alter_column_update_and_delete_secondary_index_general/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_compact diff --git a/parser/testdata/03702_alter_column_update_and_delete_secondary_index_general/explain_9.txt b/parser/testdata/03702_alter_column_update_and_delete_secondary_index_general/explain_9.txt new file mode 100644 index 0000000000..216dd98bc8 --- /dev/null +++ b/parser/testdata/03702_alter_column_update_and_delete_secondary_index_general/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_wide diff --git a/parser/testdata/03702_function_dict_get_keys_basic/explain_119.txt b/parser/testdata/03702_function_dict_get_keys_basic/explain_119.txt new file mode 100644 index 0000000000..c1cf0b82a0 --- /dev/null +++ b/parser/testdata/03702_function_dict_get_keys_basic/explain_119.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dict_src_match diff --git a/parser/testdata/03702_function_dict_get_keys_basic/explain_19.txt b/parser/testdata/03702_function_dict_get_keys_basic/explain_19.txt new file mode 100644 index 0000000000..c25e1f8757 --- /dev/null +++ b/parser/testdata/03702_function_dict_get_keys_basic/explain_19.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dict_src_simple_kv diff --git a/parser/testdata/03702_function_dict_get_keys_basic/explain_27.txt b/parser/testdata/03702_function_dict_get_keys_basic/explain_27.txt new file mode 100644 index 0000000000..45bcd04e08 --- /dev/null +++ b/parser/testdata/03702_function_dict_get_keys_basic/explain_27.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dict_src_complex2_kv diff --git a/parser/testdata/03702_function_dict_get_keys_basic/explain_35.txt b/parser/testdata/03702_function_dict_get_keys_basic/explain_35.txt new file mode 100644 index 0000000000..9c27888e17 --- /dev/null +++ b/parser/testdata/03702_function_dict_get_keys_basic/explain_35.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dict_src_complex1_kv diff --git a/parser/testdata/03702_function_dict_get_keys_basic/explain_43.txt b/parser/testdata/03702_function_dict_get_keys_basic/explain_43.txt new file mode 100644 index 0000000000..2e2da7a427 --- /dev/null +++ b/parser/testdata/03702_function_dict_get_keys_basic/explain_43.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dict_src_complex_wide_kv diff --git a/parser/testdata/03702_function_dict_get_keys_basic/explain_5.txt b/parser/testdata/03702_function_dict_get_keys_basic/explain_5.txt new file mode 100644 index 0000000000..9e92ace1ac --- /dev/null +++ b/parser/testdata/03702_function_dict_get_keys_basic/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dict_src_neg diff --git a/parser/testdata/03702_function_dict_get_keys_basic/explain_51.txt b/parser/testdata/03702_function_dict_get_keys_basic/explain_51.txt new file mode 100644 index 0000000000..ccc02f5c06 --- /dev/null +++ b/parser/testdata/03702_function_dict_get_keys_basic/explain_51.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dict_src_types diff --git a/parser/testdata/03702_function_dict_get_keys_basic/explain_94.txt b/parser/testdata/03702_function_dict_get_keys_basic/explain_94.txt new file mode 100644 index 0000000000..fe88aed0d3 --- /dev/null +++ b/parser/testdata/03702_function_dict_get_keys_basic/explain_94.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dict_src_valexpr diff --git a/parser/testdata/03702_geometry_functions/explain_10.txt b/parser/testdata/03702_geometry_functions/explain_10.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/03702_geometry_functions/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/03702_geometry_functions/explain_11.txt b/parser/testdata/03702_geometry_functions/explain_11.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/03702_geometry_functions/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/03702_geometry_functions/explain_13.txt b/parser/testdata/03702_geometry_functions/explain_13.txt new file mode 100644 index 0000000000..a77591f4e6 --- /dev/null +++ b/parser/testdata/03702_geometry_functions/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo_dst diff --git a/parser/testdata/03702_geometry_functions/explain_17.txt b/parser/testdata/03702_geometry_functions/explain_17.txt new file mode 100644 index 0000000000..8745bce94a --- /dev/null +++ b/parser/testdata/03702_geometry_functions/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier variant_table diff --git a/parser/testdata/03702_geometry_functions/explain_7.txt b/parser/testdata/03702_geometry_functions/explain_7.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/03702_geometry_functions/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/03702_geometry_functions/explain_8.txt b/parser/testdata/03702_geometry_functions/explain_8.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/03702_geometry_functions/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/03702_geometry_functions/explain_9.txt b/parser/testdata/03702_geometry_functions/explain_9.txt new file mode 100644 index 0000000000..156b634fd8 --- /dev/null +++ b/parser/testdata/03702_geometry_functions/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier geo diff --git a/parser/testdata/03702_optimize_inverse_dictionary_lookup_composite_and_layouts/explain_15.txt b/parser/testdata/03702_optimize_inverse_dictionary_lookup_composite_and_layouts/explain_15.txt new file mode 100644 index 0000000000..eb1013e76a --- /dev/null +++ b/parser/testdata/03702_optimize_inverse_dictionary_lookup_composite_and_layouts/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ref_prices_ckh diff --git a/parser/testdata/03702_optimize_inverse_dictionary_lookup_composite_and_layouts/explain_17.txt b/parser/testdata/03702_optimize_inverse_dictionary_lookup_composite_and_layouts/explain_17.txt new file mode 100644 index 0000000000..084b4c6d40 --- /dev/null +++ b/parser/testdata/03702_optimize_inverse_dictionary_lookup_composite_and_layouts/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ref_items_flat diff --git a/parser/testdata/03702_optimize_inverse_dictionary_lookup_composite_and_layouts/explain_26.txt b/parser/testdata/03702_optimize_inverse_dictionary_lookup_composite_and_layouts/explain_26.txt new file mode 100644 index 0000000000..6133bf61c1 --- /dev/null +++ b/parser/testdata/03702_optimize_inverse_dictionary_lookup_composite_and_layouts/explain_26.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier f diff --git a/parser/testdata/03702_text_index_hint_events/explain_10.txt b/parser/testdata/03702_text_index_hint_events/explain_10.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03702_text_index_hint_events/explain_10.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03702_text_index_hint_low_cardinality/explain_4.txt b/parser/testdata/03702_text_index_hint_low_cardinality/explain_4.txt new file mode 100644 index 0000000000..c1ba583cbc --- /dev/null +++ b/parser/testdata/03702_text_index_hint_low_cardinality/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t_direct_read_lc diff --git a/parser/testdata/03703_optimize_inverse_dictionary_lookup_dictget_family/explain_11.txt b/parser/testdata/03703_optimize_inverse_dictionary_lookup_dictget_family/explain_11.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/03703_optimize_inverse_dictionary_lookup_dictget_family/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/03703_optimize_inverse_dictionary_lookup_dictget_family/explain_8.txt b/parser/testdata/03703_optimize_inverse_dictionary_lookup_dictget_family/explain_8.txt new file mode 100644 index 0000000000..be0e1b01af --- /dev/null +++ b/parser/testdata/03703_optimize_inverse_dictionary_lookup_dictget_family/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ref_table_all diff --git a/parser/testdata/03703_statistics_low_cardinality/explain_3.txt b/parser/testdata/03703_statistics_low_cardinality/explain_3.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03703_statistics_low_cardinality/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03704_fractional_limit_with_ties/explain_3.txt b/parser/testdata/03704_fractional_limit_with_ties/explain_3.txt new file mode 100644 index 0000000000..08442391f3 --- /dev/null +++ b/parser/testdata/03704_fractional_limit_with_ties/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ties diff --git a/parser/testdata/03704_function_dict_get_keys_cache_type/explain_20.txt b/parser/testdata/03704_function_dict_get_keys_cache_type/explain_20.txt new file mode 100644 index 0000000000..0c6b698f5a --- /dev/null +++ b/parser/testdata/03704_function_dict_get_keys_cache_type/explain_20.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier src_products diff --git a/parser/testdata/03704_function_dict_get_keys_cache_type/explain_23.txt b/parser/testdata/03704_function_dict_get_keys_cache_type/explain_23.txt new file mode 100644 index 0000000000..4ac111b0c8 --- /dev/null +++ b/parser/testdata/03704_function_dict_get_keys_cache_type/explain_23.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier inputs diff --git a/parser/testdata/03704_function_dict_get_keys_cache_type/explain_5.txt b/parser/testdata/03704_function_dict_get_keys_cache_type/explain_5.txt new file mode 100644 index 0000000000..3cde8e1169 --- /dev/null +++ b/parser/testdata/03704_function_dict_get_keys_cache_type/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dict_src diff --git a/parser/testdata/03704_function_dict_get_keys_cache_type/explain_9.txt b/parser/testdata/03704_function_dict_get_keys_cache_type/explain_9.txt new file mode 100644 index 0000000000..3cde8e1169 --- /dev/null +++ b/parser/testdata/03704_function_dict_get_keys_cache_type/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier dict_src diff --git a/parser/testdata/03705_function_dict_get_keys_multiple_dict_and_no_caching/explain_13.txt b/parser/testdata/03705_function_dict_get_keys_multiple_dict_and_no_caching/explain_13.txt new file mode 100644 index 0000000000..4ac111b0c8 --- /dev/null +++ b/parser/testdata/03705_function_dict_get_keys_multiple_dict_and_no_caching/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier inputs diff --git a/parser/testdata/03705_function_dict_get_keys_multiple_dict_and_no_caching/explain_7.txt b/parser/testdata/03705_function_dict_get_keys_multiple_dict_and_no_caching/explain_7.txt new file mode 100644 index 0000000000..0c6b698f5a --- /dev/null +++ b/parser/testdata/03705_function_dict_get_keys_multiple_dict_and_no_caching/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier src_products diff --git a/parser/testdata/03705_function_dict_get_keys_multiple_dict_and_no_caching/explain_9.txt b/parser/testdata/03705_function_dict_get_keys_multiple_dict_and_no_caching/explain_9.txt new file mode 100644 index 0000000000..a1a4d5e99d --- /dev/null +++ b/parser/testdata/03705_function_dict_get_keys_multiple_dict_and_no_caching/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier src_geo diff --git a/parser/testdata/03707_analyzer_convert_outer_any_to_inner/explain_5.txt b/parser/testdata/03707_analyzer_convert_outer_any_to_inner/explain_5.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03707_analyzer_convert_outer_any_to_inner/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03707_analyzer_convert_outer_any_to_inner/explain_6.txt b/parser/testdata/03707_analyzer_convert_outer_any_to_inner/explain_6.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03707_analyzer_convert_outer_any_to_inner/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03707_analyzer_convert_outer_any_to_inner/explain_7.txt b/parser/testdata/03707_analyzer_convert_outer_any_to_inner/explain_7.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03707_analyzer_convert_outer_any_to_inner/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03707_function_array_remove/explain_32.txt b/parser/testdata/03707_function_array_remove/explain_32.txt new file mode 100644 index 0000000000..c65d7e1d99 --- /dev/null +++ b/parser/testdata/03707_function_array_remove/explain_32.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test diff --git a/parser/testdata/03707_function_array_remove/explain_48.txt b/parser/testdata/03707_function_array_remove/explain_48.txt new file mode 100644 index 0000000000..a44d100b82 --- /dev/null +++ b/parser/testdata/03707_function_array_remove/explain_48.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier arr_test diff --git a/parser/testdata/03707_function_array_remove/explain_51.txt b/parser/testdata/03707_function_array_remove/explain_51.txt new file mode 100644 index 0000000000..960a6ab60a --- /dev/null +++ b/parser/testdata/03707_function_array_remove/explain_51.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier elem_test diff --git a/parser/testdata/03707_function_array_remove/explain_54.txt b/parser/testdata/03707_function_array_remove/explain_54.txt new file mode 100644 index 0000000000..f649d53d02 --- /dev/null +++ b/parser/testdata/03707_function_array_remove/explain_54.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nullable_arr diff --git a/parser/testdata/03707_statistics_cache/explain_19.txt b/parser/testdata/03707_statistics_cache/explain_19.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03707_statistics_cache/explain_19.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03707_statistics_cache/explain_27.txt b/parser/testdata/03707_statistics_cache/explain_27.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03707_statistics_cache/explain_27.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03707_statistics_cache/explain_40.txt b/parser/testdata/03707_statistics_cache/explain_40.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03707_statistics_cache/explain_40.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03708_analyzer_convert_any_outer_to_inner_2/explain_5.txt b/parser/testdata/03708_analyzer_convert_any_outer_to_inner_2/explain_5.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03708_analyzer_convert_any_outer_to_inner_2/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03708_analyzer_convert_any_outer_to_inner_2/explain_6.txt b/parser/testdata/03708_analyzer_convert_any_outer_to_inner_2/explain_6.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03708_analyzer_convert_any_outer_to_inner_2/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03708_analyzer_convert_any_outer_to_inner_2/explain_7.txt b/parser/testdata/03708_analyzer_convert_any_outer_to_inner_2/explain_7.txt new file mode 100644 index 0000000000..f9fc43e7d0 --- /dev/null +++ b/parser/testdata/03708_analyzer_convert_any_outer_to_inner_2/explain_7.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier users diff --git a/parser/testdata/03708_flush_async_insert_queue_for_table/explain_17.txt b/parser/testdata/03708_flush_async_insert_queue_for_table/explain_17.txt new file mode 100644 index 0000000000..9788e2c904 --- /dev/null +++ b/parser/testdata/03708_flush_async_insert_queue_for_table/explain_17.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier this.is.a.valid.databasename + Identifier test_table with spaces diff --git a/parser/testdata/03708_flush_async_insert_queue_for_table/explain_18.txt b/parser/testdata/03708_flush_async_insert_queue_for_table/explain_18.txt new file mode 100644 index 0000000000..9788e2c904 --- /dev/null +++ b/parser/testdata/03708_flush_async_insert_queue_for_table/explain_18.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier this.is.a.valid.databasename + Identifier test_table with spaces diff --git a/parser/testdata/03708_flush_async_insert_queue_for_table/explain_5.txt b/parser/testdata/03708_flush_async_insert_queue_for_table/explain_5.txt new file mode 100644 index 0000000000..c3aaf8bd3e --- /dev/null +++ b/parser/testdata/03708_flush_async_insert_queue_for_table/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table with spaces diff --git a/parser/testdata/03708_flush_async_insert_queue_for_table/explain_6.txt b/parser/testdata/03708_flush_async_insert_queue_for_table/explain_6.txt new file mode 100644 index 0000000000..c3aaf8bd3e --- /dev/null +++ b/parser/testdata/03708_flush_async_insert_queue_for_table/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table with spaces diff --git a/parser/testdata/03708_flush_async_insert_queue_for_table/explain_9.txt b/parser/testdata/03708_flush_async_insert_queue_for_table/explain_9.txt new file mode 100644 index 0000000000..c3aaf8bd3e --- /dev/null +++ b/parser/testdata/03708_flush_async_insert_queue_for_table/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_table with spaces diff --git a/parser/testdata/03708_statistics_estimator_cast_type/explain_3.txt b/parser/testdata/03708_statistics_estimator_cast_type/explain_3.txt new file mode 100644 index 0000000000..44f82ce618 --- /dev/null +++ b/parser/testdata/03708_statistics_estimator_cast_type/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier dt64test + ExpressionList (children 1) + Identifier dt64_column diff --git a/parser/testdata/03708_statistics_estimator_cast_type/explain_6.txt b/parser/testdata/03708_statistics_estimator_cast_type/explain_6.txt new file mode 100644 index 0000000000..a032fb3bba --- /dev/null +++ b/parser/testdata/03708_statistics_estimator_cast_type/explain_6.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03709_anti_join_runtime_filters/explain_5.txt b/parser/testdata/03709_anti_join_runtime_filters/explain_5.txt new file mode 100644 index 0000000000..0d6fcc22f5 --- /dev/null +++ b/parser/testdata/03709_anti_join_runtime_filters/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nation diff --git a/parser/testdata/03709_replicated_columns_right_join/explain.txt b/parser/testdata/03709_replicated_columns_right_join/explain.txt deleted file mode 100644 index e713db59ee..0000000000 --- a/parser/testdata/03709_replicated_columns_right_join/explain.txt +++ /dev/null @@ -1,47 +0,0 @@ -SelectWithUnionQuery (children 1) - ExpressionList (children 1) - SelectQuery (children 4) - ExpressionList (children 1) - Asterisk - TablesInSelectQuery (children 2) - TablesInSelectQueryElement (children 1) - TableExpression (children 1) - Function numbers (alias left) (children 1) - ExpressionList (children 2) - Literal UInt64_10 - Literal UInt64_10 - TablesInSelectQueryElement (children 2) - TableExpression (children 1) - Subquery (alias right) (children 1) - SelectWithUnionQuery (children 1) - ExpressionList (children 1) - SelectQuery (children 2) - ExpressionList (children 4) - Identifier number - Identifier number (alias x) - Function concat (alias str) (children 1) - ExpressionList (children 2) - Literal \'str\' - Identifier number - Function arrayJoin (alias i) (children 1) - ExpressionList (children 1) - Function range (children 1) - ExpressionList (children 1) - Identifier number - TablesInSelectQuery (children 1) - TablesInSelectQueryElement (children 1) - TableExpression (children 1) - Function numbers (children 1) - ExpressionList (children 1) - Literal UInt64_10 - TableJoin (children 1) - Function equals (children 1) - ExpressionList (children 2) - Identifier left.number - Identifier right.number - ExpressionList (children 2) - OrderByElement (children 1) - Identifier right.number - OrderByElement (children 1) - Identifier i - Set diff --git a/parser/testdata/03710_analyzer_limit_by_aggregate_validation/explain_4.txt b/parser/testdata/03710_analyzer_limit_by_aggregate_validation/explain_4.txt new file mode 100644 index 0000000000..d71a6d7e02 --- /dev/null +++ b/parser/testdata/03710_analyzer_limit_by_aggregate_validation/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_limit_by_validation diff --git a/parser/testdata/03710_empty_tuple_lhs_in_function/explain_15.txt b/parser/testdata/03710_empty_tuple_lhs_in_function/explain_15.txt new file mode 100644 index 0000000000..729694c91d --- /dev/null +++ b/parser/testdata/03710_empty_tuple_lhs_in_function/explain_15.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_empty_tuple diff --git a/parser/testdata/03710_empty_tuple_lhs_in_function/explain_39.txt b/parser/testdata/03710_empty_tuple_lhs_in_function/explain_39.txt new file mode 100644 index 0000000000..729694c91d --- /dev/null +++ b/parser/testdata/03710_empty_tuple_lhs_in_function/explain_39.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_empty_tuple diff --git a/parser/testdata/03710_midpoint/explain_3.txt b/parser/testdata/03710_midpoint/explain_3.txt new file mode 100644 index 0000000000..28d91388f6 --- /dev/null +++ b/parser/testdata/03710_midpoint/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier midpoint_test diff --git a/parser/testdata/03710_pr_insert_into_mv_with_join/explain_11.txt b/parser/testdata/03710_pr_insert_into_mv_with_join/explain_11.txt new file mode 100644 index 0000000000..096fc6d4fd --- /dev/null +++ b/parser/testdata/03710_pr_insert_into_mv_with_join/explain_11.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier n1 diff --git a/parser/testdata/03711_deduplication_blocks_part_log/explain_27.txt b/parser/testdata/03711_deduplication_blocks_part_log/explain_27.txt new file mode 100644 index 0000000000..edcf22a8e7 --- /dev/null +++ b/parser/testdata/03711_deduplication_blocks_part_log/explain_27.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 03710_database + Identifier 03711_table diff --git a/parser/testdata/03711_deduplication_blocks_part_log/explain_28.txt b/parser/testdata/03711_deduplication_blocks_part_log/explain_28.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03711_deduplication_blocks_part_log/explain_28.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03711_deduplication_blocks_part_log/explain_6.txt b/parser/testdata/03711_deduplication_blocks_part_log/explain_6.txt new file mode 100644 index 0000000000..97aed224ee --- /dev/null +++ b/parser/testdata/03711_deduplication_blocks_part_log/explain_6.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 03710_database + Identifier 03711_join_with diff --git a/parser/testdata/03711_deduplication_blocks_part_log/explain_7.txt b/parser/testdata/03711_deduplication_blocks_part_log/explain_7.txt new file mode 100644 index 0000000000..97aed224ee --- /dev/null +++ b/parser/testdata/03711_deduplication_blocks_part_log/explain_7.txt @@ -0,0 +1,3 @@ +InsertQuery (children 2) + Identifier 03710_database + Identifier 03711_join_with diff --git a/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_10.txt b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_10.txt new file mode 100644 index 0000000000..db5a8b9288 --- /dev/null +++ b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_10.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_11.txt b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_11.txt new file mode 100644 index 0000000000..db5a8b9288 --- /dev/null +++ b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_11.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_12.txt b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_12.txt new file mode 100644 index 0000000000..db5a8b9288 --- /dev/null +++ b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_12.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_13.txt b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_13.txt new file mode 100644 index 0000000000..db5a8b9288 --- /dev/null +++ b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_13.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_16.txt b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_16.txt new file mode 100644 index 0000000000..db5a8b9288 --- /dev/null +++ b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_16.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_17.txt b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_17.txt new file mode 100644 index 0000000000..db5a8b9288 --- /dev/null +++ b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_17.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_18.txt b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_18.txt new file mode 100644 index 0000000000..db5a8b9288 --- /dev/null +++ b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_18.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_19.txt b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_19.txt new file mode 100644 index 0000000000..db5a8b9288 --- /dev/null +++ b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_19.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_22.txt b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_22.txt new file mode 100644 index 0000000000..db5a8b9288 --- /dev/null +++ b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_22.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_23.txt b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_23.txt new file mode 100644 index 0000000000..db5a8b9288 --- /dev/null +++ b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_23.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_24.txt b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_24.txt new file mode 100644 index 0000000000..db5a8b9288 --- /dev/null +++ b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_24.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_25.txt b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_25.txt new file mode 100644 index 0000000000..db5a8b9288 --- /dev/null +++ b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_25.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_26.txt b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_26.txt new file mode 100644 index 0000000000..db5a8b9288 --- /dev/null +++ b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_26.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_27.txt b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_27.txt new file mode 100644 index 0000000000..db5a8b9288 --- /dev/null +++ b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_27.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_28.txt b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_28.txt new file mode 100644 index 0000000000..db5a8b9288 --- /dev/null +++ b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_28.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_29.txt b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_29.txt new file mode 100644 index 0000000000..db5a8b9288 --- /dev/null +++ b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_29.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_33.txt b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_33.txt new file mode 100644 index 0000000000..db5a8b9288 --- /dev/null +++ b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_33.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_36.txt b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_36.txt new file mode 100644 index 0000000000..db5a8b9288 --- /dev/null +++ b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_36.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_41.txt b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_41.txt new file mode 100644 index 0000000000..db5a8b9288 --- /dev/null +++ b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_41.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_42.txt b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_42.txt new file mode 100644 index 0000000000..db5a8b9288 --- /dev/null +++ b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_42.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_46.txt b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_46.txt new file mode 100644 index 0000000000..dd6f8a58c5 --- /dev/null +++ b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_46.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 3) + Identifier key + Identifier value + Identifier part diff --git a/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_48.txt b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_48.txt new file mode 100644 index 0000000000..dd6f8a58c5 --- /dev/null +++ b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_48.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 3) + Identifier key + Identifier value + Identifier part diff --git a/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_49.txt b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_49.txt new file mode 100644 index 0000000000..db5a8b9288 --- /dev/null +++ b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_49.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_5.txt b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_5.txt new file mode 100644 index 0000000000..db5a8b9288 --- /dev/null +++ b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_5.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_53.txt b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_53.txt new file mode 100644 index 0000000000..dd6f8a58c5 --- /dev/null +++ b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_53.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 3) + Identifier key + Identifier value + Identifier part diff --git a/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_54.txt b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_54.txt new file mode 100644 index 0000000000..dd6f8a58c5 --- /dev/null +++ b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_54.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 3) + Identifier key + Identifier value + Identifier part diff --git a/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_55.txt b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_55.txt new file mode 100644 index 0000000000..dd6f8a58c5 --- /dev/null +++ b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_55.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 3) + Identifier key + Identifier value + Identifier part diff --git a/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_56.txt b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_56.txt new file mode 100644 index 0000000000..dd6f8a58c5 --- /dev/null +++ b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_56.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 3) + Identifier key + Identifier value + Identifier part diff --git a/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_60.txt b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_60.txt new file mode 100644 index 0000000000..dd6f8a58c5 --- /dev/null +++ b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_60.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 3) + Identifier key + Identifier value + Identifier part diff --git a/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_61.txt b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_61.txt new file mode 100644 index 0000000000..dd6f8a58c5 --- /dev/null +++ b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_61.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 3) + Identifier key + Identifier value + Identifier part diff --git a/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_67.txt b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_67.txt new file mode 100644 index 0000000000..dd6f8a58c5 --- /dev/null +++ b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_67.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 3) + Identifier key + Identifier value + Identifier part diff --git a/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_7.txt b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_7.txt new file mode 100644 index 0000000000..db5a8b9288 --- /dev/null +++ b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_7.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_70.txt b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_70.txt new file mode 100644 index 0000000000..dd6f8a58c5 --- /dev/null +++ b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_70.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 3) + Identifier key + Identifier value + Identifier part diff --git a/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_71.txt b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_71.txt new file mode 100644 index 0000000000..dd6f8a58c5 --- /dev/null +++ b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_71.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 3) + Identifier key + Identifier value + Identifier part diff --git a/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_72.txt b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_72.txt new file mode 100644 index 0000000000..dd6f8a58c5 --- /dev/null +++ b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_72.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 3) + Identifier key + Identifier value + Identifier part diff --git a/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_73.txt b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_73.txt new file mode 100644 index 0000000000..dd6f8a58c5 --- /dev/null +++ b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_73.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 3) + Identifier key + Identifier value + Identifier part diff --git a/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_74.txt b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_74.txt new file mode 100644 index 0000000000..dd6f8a58c5 --- /dev/null +++ b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_74.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Identifier merge_tree_deduplication + ExpressionList (children 3) + Identifier key + Identifier value + Identifier part diff --git a/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_82.txt b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_82.txt new file mode 100644 index 0000000000..ad266197c3 --- /dev/null +++ b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_82.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_no_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_83.txt b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_83.txt new file mode 100644 index 0000000000..ad266197c3 --- /dev/null +++ b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_83.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_no_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_87.txt b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_87.txt new file mode 100644 index 0000000000..ad266197c3 --- /dev/null +++ b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_87.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_no_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_88.txt b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_88.txt new file mode 100644 index 0000000000..ad266197c3 --- /dev/null +++ b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_88.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_no_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_89.txt b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_89.txt new file mode 100644 index 0000000000..ad266197c3 --- /dev/null +++ b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_89.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_no_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_92.txt b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_92.txt new file mode 100644 index 0000000000..ad266197c3 --- /dev/null +++ b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_92.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_no_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_93.txt b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_93.txt new file mode 100644 index 0000000000..ad266197c3 --- /dev/null +++ b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain_93.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier merge_tree_no_deduplication + ExpressionList (children 2) + Identifier key + Identifier value diff --git a/parser/testdata/03713_data_types_binary_deserialization_stack_overflow/explain.txt b/parser/testdata/03713_data_types_binary_deserialization_stack_overflow/explain.txt index 421f2198a7..f91a8c6bf2 100644 --- a/parser/testdata/03713_data_types_binary_deserialization_stack_overflow/explain.txt +++ b/parser/testdata/03713_data_types_binary_deserialization_stack_overflow/explain.txt @@ -17,4 +17,3 @@ SelectWithUnionQuery (children 1) Literal \'\' Literal UInt64_1000000 Set -The query succeeded but the server error '636' was expected (query: EXPLAIN AST select * from format(RowBinaryWithNamesAndTypes, x'010178' || repeat(x'1e', 1000000)) settings input_format_binary_decode_types_in_binary_format=1; -- {serverError CANNOT_EXTRACT_TABLE_STRUCTURE}). diff --git a/parser/testdata/03713_group_by_injective_function_old_analyzer/explain.txt b/parser/testdata/03713_group_by_injective_function_old_analyzer/explain.txt new file mode 100644 index 0000000000..ed03a2f688 --- /dev/null +++ b/parser/testdata/03713_group_by_injective_function_old_analyzer/explain.txt @@ -0,0 +1,36 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 2) + Function concat (alias a) (children 1) + ExpressionList (children 2) + Literal \'a_\' + Function toString (children 1) + ExpressionList (children 1) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_3 + Function modulo (alias b) (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_5 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_50 + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList (children 2) + Identifier a + Identifier b + ExpressionList (children 1) + OrderByElement (children 1) + Function tuple (children 1) + ExpressionList (children 2) + Identifier a + Identifier b + Literal UInt64_1 + Set diff --git a/parser/testdata/03713_optimize_inverse_dictionary_lookup_setting_rewrite_in_to_join/explain_13.txt b/parser/testdata/03713_optimize_inverse_dictionary_lookup_setting_rewrite_in_to_join/explain_13.txt new file mode 100644 index 0000000000..2f7b427d85 --- /dev/null +++ b/parser/testdata/03713_optimize_inverse_dictionary_lookup_setting_rewrite_in_to_join/explain_13.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t diff --git a/parser/testdata/03713_optimize_inverse_dictionary_lookup_setting_rewrite_in_to_join/explain_8.txt b/parser/testdata/03713_optimize_inverse_dictionary_lookup_setting_rewrite_in_to_join/explain_8.txt new file mode 100644 index 0000000000..1283a03ba7 --- /dev/null +++ b/parser/testdata/03713_optimize_inverse_dictionary_lookup_setting_rewrite_in_to_join/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier ref_colors diff --git a/parser/testdata/03715_empty_tuple_functions_conversion/explain_12.txt b/parser/testdata/03715_empty_tuple_functions_conversion/explain_12.txt new file mode 100644 index 0000000000..4d9b4d2b2a --- /dev/null +++ b/parser/testdata/03715_empty_tuple_functions_conversion/explain_12.txt @@ -0,0 +1,7 @@ +UpdateQuery t1 (children 3) + Identifier t1 + Literal Bool_1 + ExpressionList (children 1) + Assignment c0 (children 1) + Function tuple (children 1) + ExpressionList diff --git a/parser/testdata/03715_empty_tuple_functions_conversion/explain_13.txt b/parser/testdata/03715_empty_tuple_functions_conversion/explain_13.txt new file mode 100644 index 0000000000..a032fb3bba --- /dev/null +++ b/parser/testdata/03715_empty_tuple_functions_conversion/explain_13.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t1 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03715_empty_tuple_functions_conversion/explain_14.txt b/parser/testdata/03715_empty_tuple_functions_conversion/explain_14.txt new file mode 100644 index 0000000000..4d9b4d2b2a --- /dev/null +++ b/parser/testdata/03715_empty_tuple_functions_conversion/explain_14.txt @@ -0,0 +1,7 @@ +UpdateQuery t1 (children 3) + Identifier t1 + Literal Bool_1 + ExpressionList (children 1) + Assignment c0 (children 1) + Function tuple (children 1) + ExpressionList diff --git a/parser/testdata/03715_empty_tuple_functions_conversion/explain_4.txt b/parser/testdata/03715_empty_tuple_functions_conversion/explain_4.txt new file mode 100644 index 0000000000..ecdbb0aa23 --- /dev/null +++ b/parser/testdata/03715_empty_tuple_functions_conversion/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier tab diff --git a/parser/testdata/03715_empty_tuple_functions_conversion/explain_8.txt b/parser/testdata/03715_empty_tuple_functions_conversion/explain_8.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/03715_empty_tuple_functions_conversion/explain_8.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03716_anti_join_runtime_filters_2/explain_5.txt b/parser/testdata/03716_anti_join_runtime_filters_2/explain_5.txt new file mode 100644 index 0000000000..0d6fcc22f5 --- /dev/null +++ b/parser/testdata/03716_anti_join_runtime_filters_2/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nation diff --git a/parser/testdata/03716_join_duplicate_columns_89411/explain.txt b/parser/testdata/03716_join_duplicate_columns_89411/explain.txt index f98fcd2ac8..c238a06748 100644 --- a/parser/testdata/03716_join_duplicate_columns_89411/explain.txt +++ b/parser/testdata/03716_join_duplicate_columns_89411/explain.txt @@ -26,7 +26,7 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 2) ExpressionList (children 2) - Function CAST (children 1) + Function CAST (alias k) (children 1) ExpressionList (children 2) Literal UInt64_0 Literal \'UInt64\' diff --git a/parser/testdata/03716_multiple_joins_using_top_level_identifier/explain_10.txt b/parser/testdata/03716_multiple_joins_using_top_level_identifier/explain_10.txt new file mode 100644 index 0000000000..ffa366159a --- /dev/null +++ b/parser/testdata/03716_multiple_joins_using_top_level_identifier/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t3 diff --git a/parser/testdata/03716_multiple_joins_using_top_level_identifier/explain_8.txt b/parser/testdata/03716_multiple_joins_using_top_level_identifier/explain_8.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/03716_multiple_joins_using_top_level_identifier/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/03716_multiple_joins_using_top_level_identifier/explain_9.txt b/parser/testdata/03716_multiple_joins_using_top_level_identifier/explain_9.txt new file mode 100644 index 0000000000..df4a687bc0 --- /dev/null +++ b/parser/testdata/03716_multiple_joins_using_top_level_identifier/explain_9.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t2 diff --git a/parser/testdata/03716_text_index_drop_caches/explain_15.txt b/parser/testdata/03716_text_index_drop_caches/explain_15.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03716_text_index_drop_caches/explain_15.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03716_topk_bad_data/explain.txt b/parser/testdata/03716_topk_bad_data/explain.txt index ac0ce535b1..3caa559879 100644 --- a/parser/testdata/03716_topk_bad_data/explain.txt +++ b/parser/testdata/03716_topk_bad_data/explain.txt @@ -10,4 +10,3 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) Literal \'012A0300000000000000030000000000000043434303000000000000004141410400000000000000414141410100800200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\' Literal \'AggregateFunction(approx_top_k(3), Array(Array(String)))\' -The query succeeded but the server error '190' was expected (query: EXPLAIN AST SELECT finalizeAggregation(CAST(unhex('012A0300000000000000030000000000000043434303000000000000004141410400000000000000414141410100800200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'), 'AggregateFunction(approx_top_k(3), Array(Array(String)))')); -- { serverError SIZES_OF_ARRAYS_DONT_MATCH }). diff --git a/parser/testdata/03720_file_engine_second_crash/explain.txt b/parser/testdata/03720_file_engine_second_crash/explain.txt index 490628c72a..a89c4de10a 100644 --- a/parser/testdata/03720_file_engine_second_crash/explain.txt +++ b/parser/testdata/03720_file_engine_second_crash/explain.txt @@ -58,4 +58,3 @@ CreateQuery t141 (children 3) Literal \'Time64(3)\' Literal \'Time64(3)\' Literal UInt64_0 -The query succeeded but the server error '36' was expected (query: EXPLAIN AST CREATE TABLE `t141` (`c0` Date) ENGINE = File(`c0`, (+`c0`.2) >= ANY(SELECT '307:21:40.753024937'::Time64(3)::Time64(3) OFFSET 0 ROWS)); -- {serverError BAD_ARGUMENTS}). diff --git a/parser/testdata/03720_ntile_double_order_by_check/explain.txt b/parser/testdata/03720_ntile_double_order_by_check/explain.txt new file mode 100644 index 0000000000..ca798d9135 --- /dev/null +++ b/parser/testdata/03720_ntile_double_order_by_check/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function ntile (alias a) (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Function ntile (alias b) (children 1) + ExpressionList (children 1) + Literal UInt64_2 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias t) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 (alias id) diff --git a/parser/testdata/03720_ntile_double_order_by_check/explain_6.txt b/parser/testdata/03720_ntile_double_order_by_check/explain_6.txt new file mode 100644 index 0000000000..ae47539534 --- /dev/null +++ b/parser/testdata/03720_ntile_double_order_by_check/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_ntile diff --git a/parser/testdata/03720_ubsan_dictionary_parameters/explain.txt b/parser/testdata/03720_ubsan_dictionary_parameters/explain.txt new file mode 100644 index 0000000000..d693234fe1 --- /dev/null +++ b/parser/testdata/03720_ubsan_dictionary_parameters/explain.txt @@ -0,0 +1,24 @@ +CreateQuery d55 (children 3) + Identifier d55 + ExpressionList (children 1) + DictionaryAttributeDeclaration c0 (children 2) + DataType SimpleAggregateFunction (children 1) + ExpressionList (children 2) + Identifier anyLast + DataType Date + Literal \'75942d37-37c4-8ea0-4175-1a4e0cb18c3b\' + Dictionary definition (children 4) + ExpressionList (children 1) + Identifier c0 + FunctionWithKeyValueArguments clickhouse (children 1) + ExpressionList (children 2) + pair (children 1) + Function currentDatabase (children 1) + ExpressionList + pair (children 1) + Literal \'t13\' + Dictionary lifetime + Dictionary layout (children 1) + ExpressionList (children 1) + pair (children 1) + Literal UInt64_2147483648 diff --git a/parser/testdata/03721_right_join_logical_step/explain_3.txt b/parser/testdata/03721_right_join_logical_step/explain_3.txt new file mode 100644 index 0000000000..24d272effa --- /dev/null +++ b/parser/testdata/03721_right_join_logical_step/explain_3.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 2) + Identifier c0 + Identifier c1 diff --git a/parser/testdata/03721_right_join_logical_step/explain_4.txt b/parser/testdata/03721_right_join_logical_step/explain_4.txt new file mode 100644 index 0000000000..a5616e7314 --- /dev/null +++ b/parser/testdata/03721_right_join_logical_step/explain_4.txt @@ -0,0 +1,30 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier ty.c0 + TablesInSelectQuery (children 3) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t0 + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Function numbers (alias tx) (children 1) + ExpressionList (children 1) + Literal UInt64_1 + TableJoin (children 1) + Function and (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier number + Identifier t0.c1 + Function equals (children 1) + ExpressionList (children 2) + Identifier tx.number + Identifier t0.c0 + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier t0 (alias ty) + TableJoin + Set diff --git a/parser/testdata/03721_statistics_alter_type_bug/explain_10.txt b/parser/testdata/03721_statistics_alter_type_bug/explain_10.txt new file mode 100644 index 0000000000..2ff1795d0d --- /dev/null +++ b/parser/testdata/03721_statistics_alter_type_bug/explain_10.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier column_modify_test diff --git a/parser/testdata/03721_statistics_alter_type_bug/explain_4.txt b/parser/testdata/03721_statistics_alter_type_bug/explain_4.txt new file mode 100644 index 0000000000..2ff1795d0d --- /dev/null +++ b/parser/testdata/03721_statistics_alter_type_bug/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier column_modify_test diff --git a/parser/testdata/03722_function_trim_ltrim_rtrim_alias/explain_10.txt b/parser/testdata/03722_function_trim_ltrim_rtrim_alias/explain_10.txt index f66bd19e81..636b61f862 100644 --- a/parser/testdata/03722_function_trim_ltrim_rtrim_alias/explain_10.txt +++ b/parser/testdata/03722_function_trim_ltrim_rtrim_alias/explain_10.txt @@ -2,17 +2,10 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 1) ExpressionList (children 2) - Function replaceRegexpOne (children 1) - ExpressionList (children 3) + Function trimRight (children 1) + ExpressionList (children 2) Literal \'$$both$$\' - Function concat (children 1) - ExpressionList (children 3) - Literal \'[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \'$\' - Literal \']+$\' - Literal \'\' + Literal \'$\' Function trimRight (children 1) ExpressionList (children 2) Literal \'$$both$$\' diff --git a/parser/testdata/03722_function_trim_ltrim_rtrim_alias/explain_11.txt b/parser/testdata/03722_function_trim_ltrim_rtrim_alias/explain_11.txt index 9d18fc2c5e..b933aa5e61 100644 --- a/parser/testdata/03722_function_trim_ltrim_rtrim_alias/explain_11.txt +++ b/parser/testdata/03722_function_trim_ltrim_rtrim_alias/explain_11.txt @@ -2,21 +2,7 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 1) ExpressionList (children 2) - Function replaceRegexpAll (children 1) - ExpressionList (children 3) - Literal \'xx\' - Function concat (children 1) - ExpressionList (children 5) - Literal \'^[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \'\' - Literal \']+|[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \'\' - Literal \']+$\' - Literal \'\' + Literal \'xx\' Function trimBoth (children 1) ExpressionList (children 2) Literal \'xx\' diff --git a/parser/testdata/03722_function_trim_ltrim_rtrim_alias/explain_12.txt b/parser/testdata/03722_function_trim_ltrim_rtrim_alias/explain_12.txt index ca967f2ffa..00152f93ea 100644 --- a/parser/testdata/03722_function_trim_ltrim_rtrim_alias/explain_12.txt +++ b/parser/testdata/03722_function_trim_ltrim_rtrim_alias/explain_12.txt @@ -2,17 +2,7 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 1) ExpressionList (children 2) - Function replaceRegexpOne (children 1) - ExpressionList (children 3) - Literal \'xx\' - Function concat (children 1) - ExpressionList (children 3) - Literal \'^[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \'\' - Literal \']+\' - Literal \'\' + Literal \'xx\' Function trimLeft (children 1) ExpressionList (children 2) Literal \'xx\' diff --git a/parser/testdata/03722_function_trim_ltrim_rtrim_alias/explain_13.txt b/parser/testdata/03722_function_trim_ltrim_rtrim_alias/explain_13.txt index 358ad923b6..f4c6a81f34 100644 --- a/parser/testdata/03722_function_trim_ltrim_rtrim_alias/explain_13.txt +++ b/parser/testdata/03722_function_trim_ltrim_rtrim_alias/explain_13.txt @@ -2,17 +2,7 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 1) ExpressionList (children 2) - Function replaceRegexpOne (children 1) - ExpressionList (children 3) - Literal \'xx\' - Function concat (children 1) - ExpressionList (children 3) - Literal \'[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \'\' - Literal \']+$\' - Literal \'\' + Literal \'xx\' Function trimRight (children 1) ExpressionList (children 2) Literal \'xx\' diff --git a/parser/testdata/03722_function_trim_ltrim_rtrim_alias/explain_14.txt b/parser/testdata/03722_function_trim_ltrim_rtrim_alias/explain_14.txt index b95f6887d8..3ca4d33caf 100644 --- a/parser/testdata/03722_function_trim_ltrim_rtrim_alias/explain_14.txt +++ b/parser/testdata/03722_function_trim_ltrim_rtrim_alias/explain_14.txt @@ -2,27 +2,13 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 1) ExpressionList (children 2) - Function replaceRegexpAll (children 1) - ExpressionList (children 3) + Function trimBoth (children 1) + ExpressionList (children 2) Literal \'$$both$$\' Function concat (children 1) - ExpressionList (children 5) - Literal \'^[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Function concat (children 1) - ExpressionList (children 2) - Literal \'$\' - Literal \'$\' - Literal \']+|[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Function concat (children 1) - ExpressionList (children 2) - Literal \'$\' - Literal \'$\' - Literal \']+$\' - Literal \'\' + ExpressionList (children 2) + Literal \'$\' + Literal \'$\' Function trimBoth (children 1) ExpressionList (children 2) Literal \'$$both$$\' diff --git a/parser/testdata/03722_function_trim_ltrim_rtrim_alias/explain_8.txt b/parser/testdata/03722_function_trim_ltrim_rtrim_alias/explain_8.txt index e74ac91157..dbdd994b09 100644 --- a/parser/testdata/03722_function_trim_ltrim_rtrim_alias/explain_8.txt +++ b/parser/testdata/03722_function_trim_ltrim_rtrim_alias/explain_8.txt @@ -2,21 +2,10 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 1) ExpressionList (children 2) - Function replaceRegexpAll (children 1) - ExpressionList (children 3) + Function trimBoth (children 1) + ExpressionList (children 2) Literal \'$$both$$\' - Function concat (children 1) - ExpressionList (children 5) - Literal \'^[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \'$\' - Literal \']+|[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \'$\' - Literal \']+$\' - Literal \'\' + Literal \'$\' Function trimBoth (children 1) ExpressionList (children 2) Literal \'$$both$$\' diff --git a/parser/testdata/03722_function_trim_ltrim_rtrim_alias/explain_9.txt b/parser/testdata/03722_function_trim_ltrim_rtrim_alias/explain_9.txt index 08d2d41751..ae20bf40db 100644 --- a/parser/testdata/03722_function_trim_ltrim_rtrim_alias/explain_9.txt +++ b/parser/testdata/03722_function_trim_ltrim_rtrim_alias/explain_9.txt @@ -2,17 +2,10 @@ SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 1) ExpressionList (children 2) - Function replaceRegexpOne (children 1) - ExpressionList (children 3) + Function trimLeft (children 1) + ExpressionList (children 2) Literal \'$$both$$\' - Function concat (children 1) - ExpressionList (children 3) - Literal \'^[\' - Function regexpQuoteMeta (children 1) - ExpressionList (children 1) - Literal \'$\' - Literal \']+\' - Literal \'\' + Literal \'$\' Function trimLeft (children 1) ExpressionList (children 2) Literal \'$$both$$\' diff --git a/parser/testdata/03722_random_utf8_bug/explain.txt b/parser/testdata/03722_random_utf8_bug/explain.txt index 457cbefa8f..ea7534ba9c 100644 --- a/parser/testdata/03722_random_utf8_bug/explain.txt +++ b/parser/testdata/03722_random_utf8_bug/explain.txt @@ -20,4 +20,3 @@ SelectWithUnionQuery (children 1) Function numbers (children 1) ExpressionList (children 1) Literal UInt64_2 -The query succeeded but the server error '131' was expected (query: EXPLAIN AST select randomStringUTF8(18446744073709551615-1000+number*2003) from numbers(2); -- { serverError TOO_LARGE_STRING_SIZE }). diff --git a/parser/testdata/03724_to_date_time_or_null_negative_arg_bug/explain_22.txt b/parser/testdata/03724_to_date_time_or_null_negative_arg_bug/explain_22.txt new file mode 100644 index 0000000000..b30161c69b --- /dev/null +++ b/parser/testdata/03724_to_date_time_or_null_negative_arg_bug/explain_22.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Literal \'1960-01-01\' (alias input) + Function accurateCastOrNull (alias result) (children 1) + ExpressionList (children 2) + Literal \'1960-01-01\' + Literal \'DateTime\' + Set diff --git a/parser/testdata/03724_to_date_time_or_null_negative_arg_bug/explain_23.txt b/parser/testdata/03724_to_date_time_or_null_negative_arg_bug/explain_23.txt new file mode 100644 index 0000000000..024c4be632 --- /dev/null +++ b/parser/testdata/03724_to_date_time_or_null_negative_arg_bug/explain_23.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Literal \'1800-01-01\' (alias input) + Function accurateCastOrNull (alias result) (children 1) + ExpressionList (children 2) + Literal \'1800-01-01\' + Literal \'DateTime\' + Set diff --git a/parser/testdata/03724_to_date_time_or_null_negative_arg_bug/explain_24.txt b/parser/testdata/03724_to_date_time_or_null_negative_arg_bug/explain_24.txt new file mode 100644 index 0000000000..00be11969b --- /dev/null +++ b/parser/testdata/03724_to_date_time_or_null_negative_arg_bug/explain_24.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Literal \'3000-01-01\' (alias input) + Function accurateCastOrNull (alias result) (children 1) + ExpressionList (children 2) + Literal \'3000-01-01\' + Literal \'DateTime\' + Set diff --git a/parser/testdata/03724_to_date_time_or_null_negative_arg_bug/explain_26.txt b/parser/testdata/03724_to_date_time_or_null_negative_arg_bug/explain_26.txt new file mode 100644 index 0000000000..b30161c69b --- /dev/null +++ b/parser/testdata/03724_to_date_time_or_null_negative_arg_bug/explain_26.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Literal \'1960-01-01\' (alias input) + Function accurateCastOrNull (alias result) (children 1) + ExpressionList (children 2) + Literal \'1960-01-01\' + Literal \'DateTime\' + Set diff --git a/parser/testdata/03724_to_date_time_or_null_negative_arg_bug/explain_27.txt b/parser/testdata/03724_to_date_time_or_null_negative_arg_bug/explain_27.txt new file mode 100644 index 0000000000..024c4be632 --- /dev/null +++ b/parser/testdata/03724_to_date_time_or_null_negative_arg_bug/explain_27.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Literal \'1800-01-01\' (alias input) + Function accurateCastOrNull (alias result) (children 1) + ExpressionList (children 2) + Literal \'1800-01-01\' + Literal \'DateTime\' + Set diff --git a/parser/testdata/03724_to_date_time_or_null_negative_arg_bug/explain_28.txt b/parser/testdata/03724_to_date_time_or_null_negative_arg_bug/explain_28.txt new file mode 100644 index 0000000000..00be11969b --- /dev/null +++ b/parser/testdata/03724_to_date_time_or_null_negative_arg_bug/explain_28.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Literal \'3000-01-01\' (alias input) + Function accurateCastOrNull (alias result) (children 1) + ExpressionList (children 2) + Literal \'3000-01-01\' + Literal \'DateTime\' + Set diff --git a/parser/testdata/03724_to_date_time_or_null_negative_arg_bug/explain_33.txt b/parser/testdata/03724_to_date_time_or_null_negative_arg_bug/explain_33.txt new file mode 100644 index 0000000000..fd1547d01e --- /dev/null +++ b/parser/testdata/03724_to_date_time_or_null_negative_arg_bug/explain_33.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Literal \'1960-01-01\' (alias input) + Function accurateCastOrNull (alias result) (children 1) + ExpressionList (children 2) + Literal \'1960-01-01\' + Literal \'DateTime64\' + Set diff --git a/parser/testdata/03724_to_date_time_or_null_negative_arg_bug/explain_34.txt b/parser/testdata/03724_to_date_time_or_null_negative_arg_bug/explain_34.txt new file mode 100644 index 0000000000..b1704d0763 --- /dev/null +++ b/parser/testdata/03724_to_date_time_or_null_negative_arg_bug/explain_34.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Literal \'1800-01-01\' (alias input) + Function accurateCastOrNull (alias result) (children 1) + ExpressionList (children 2) + Literal \'1800-01-01\' + Literal \'DateTime64\' + Set diff --git a/parser/testdata/03724_to_date_time_or_null_negative_arg_bug/explain_35.txt b/parser/testdata/03724_to_date_time_or_null_negative_arg_bug/explain_35.txt new file mode 100644 index 0000000000..caf64815a3 --- /dev/null +++ b/parser/testdata/03724_to_date_time_or_null_negative_arg_bug/explain_35.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Literal \'3000-01-01\' (alias input) + Function accurateCastOrNull (alias result) (children 1) + ExpressionList (children 2) + Literal \'3000-01-01\' + Literal \'DateTime64\' + Set diff --git a/parser/testdata/03724_to_date_time_or_null_negative_arg_bug/explain_37.txt b/parser/testdata/03724_to_date_time_or_null_negative_arg_bug/explain_37.txt new file mode 100644 index 0000000000..fd1547d01e --- /dev/null +++ b/parser/testdata/03724_to_date_time_or_null_negative_arg_bug/explain_37.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Literal \'1960-01-01\' (alias input) + Function accurateCastOrNull (alias result) (children 1) + ExpressionList (children 2) + Literal \'1960-01-01\' + Literal \'DateTime64\' + Set diff --git a/parser/testdata/03724_to_date_time_or_null_negative_arg_bug/explain_38.txt b/parser/testdata/03724_to_date_time_or_null_negative_arg_bug/explain_38.txt new file mode 100644 index 0000000000..b1704d0763 --- /dev/null +++ b/parser/testdata/03724_to_date_time_or_null_negative_arg_bug/explain_38.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Literal \'1800-01-01\' (alias input) + Function accurateCastOrNull (alias result) (children 1) + ExpressionList (children 2) + Literal \'1800-01-01\' + Literal \'DateTime64\' + Set diff --git a/parser/testdata/03724_to_date_time_or_null_negative_arg_bug/explain_39.txt b/parser/testdata/03724_to_date_time_or_null_negative_arg_bug/explain_39.txt new file mode 100644 index 0000000000..caf64815a3 --- /dev/null +++ b/parser/testdata/03724_to_date_time_or_null_negative_arg_bug/explain_39.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Literal \'3000-01-01\' (alias input) + Function accurateCastOrNull (alias result) (children 1) + ExpressionList (children 2) + Literal \'3000-01-01\' + Literal \'DateTime64\' + Set diff --git a/parser/testdata/03725_empty_tuple_some_limit_with_ties_distinct/explain_5.txt b/parser/testdata/03725_empty_tuple_some_limit_with_ties_distinct/explain_5.txt new file mode 100644 index 0000000000..fcb2d89148 --- /dev/null +++ b/parser/testdata/03725_empty_tuple_some_limit_with_ties_distinct/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t0 diff --git a/parser/testdata/03727_alter_with_localhost_remote/explain_5.txt b/parser/testdata/03727_alter_with_localhost_remote/explain_5.txt new file mode 100644 index 0000000000..83cc0fda44 --- /dev/null +++ b/parser/testdata/03727_alter_with_localhost_remote/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier normal diff --git a/parser/testdata/03727_alter_with_localhost_remote/explain_6.txt b/parser/testdata/03727_alter_with_localhost_remote/explain_6.txt new file mode 100644 index 0000000000..5dfe49af34 --- /dev/null +++ b/parser/testdata/03727_alter_with_localhost_remote/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier secret diff --git a/parser/testdata/03727_alter_with_localhost_remote/explain_8.txt b/parser/testdata/03727_alter_with_localhost_remote/explain_8.txt new file mode 100644 index 0000000000..a567738d3d --- /dev/null +++ b/parser/testdata/03727_alter_with_localhost_remote/explain_8.txt @@ -0,0 +1 @@ +GrantQuery diff --git a/parser/testdata/03727_rename_nested_and_modify_in_one_later/explain_3.txt b/parser/testdata/03727_rename_nested_and_modify_in_one_later/explain_3.txt new file mode 100644 index 0000000000..fcb2d89148 --- /dev/null +++ b/parser/testdata/03727_rename_nested_and_modify_in_one_later/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t0 diff --git a/parser/testdata/03727_tolowcardinality_nullable_cast/explain_17.txt b/parser/testdata/03727_tolowcardinality_nullable_cast/explain_17.txt new file mode 100644 index 0000000000..893618fbe5 --- /dev/null +++ b/parser/testdata/03727_tolowcardinality_nullable_cast/explain_17.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_tolowcardinality_where diff --git a/parser/testdata/03727_tolowcardinality_nullable_cast/explain_4.txt b/parser/testdata/03727_tolowcardinality_nullable_cast/explain_4.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/03727_tolowcardinality_nullable_cast/explain_4.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03727_tolowcardinality_nullable_cast/explain_8.txt b/parser/testdata/03727_tolowcardinality_nullable_cast/explain_8.txt new file mode 100644 index 0000000000..8d747e8303 --- /dev/null +++ b/parser/testdata/03727_tolowcardinality_nullable_cast/explain_8.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier test_tolowcardinality_nullable diff --git a/parser/testdata/03729_function_hmac/explain.txt b/parser/testdata/03729_function_hmac/explain.txt new file mode 100644 index 0000000000..9eb8e13acd --- /dev/null +++ b/parser/testdata/03729_function_hmac/explain.txt @@ -0,0 +1,47 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 6) + Function hex (alias hmac_md5) (children 1) + ExpressionList (children 1) + Function hmac (children 1) + ExpressionList (children 3) + Literal \'md5\' + Literal \'The quick brown fox jumps over the lazy dog\' + Literal \'secret_key\' + Function hex (alias hmac_sha1) (children 1) + ExpressionList (children 1) + Function Hmac (children 1) + ExpressionList (children 3) + Literal \'sha1\' + Literal \'The quick brown fox jumps over the lazy dog\' + Literal \'secret_key\' + Function hex (alias hmac_sha224) (children 1) + ExpressionList (children 1) + Function HMac (children 1) + ExpressionList (children 3) + Literal \'sha224\' + Literal \'The quick brown fox jumps over the lazy dog\' + Literal \'secret_key\' + Function hex (alias hmac_sha256) (children 1) + ExpressionList (children 1) + Function HMAc (children 1) + ExpressionList (children 3) + Literal \'sha256\' + Literal \'The quick brown fox jumps over the lazy dog\' + Literal \'secret_key\' + Function hex (alias hmac_sha384) (children 1) + ExpressionList (children 1) + Function hmAc (children 1) + ExpressionList (children 3) + Literal \'sha384\' + Literal \'The quick brown fox jumps over the lazy dog\' + Literal \'secret_key\' + Function hex (alias hmac_sha512) (children 1) + ExpressionList (children 1) + Function HMAC (children 1) + ExpressionList (children 3) + Literal \'sha512\' + Literal \'The quick brown fox jumps over the lazy dog\' + Literal \'secret_key\' + Identifier Vertical diff --git a/parser/testdata/03729_function_hmac/explain_28.txt b/parser/testdata/03729_function_hmac/explain_28.txt new file mode 100644 index 0000000000..9d949f9786 --- /dev/null +++ b/parser/testdata/03729_function_hmac/explain_28.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier hmac_test diff --git a/parser/testdata/03731_null_parts_in_storage_snapshot_with_only_analyze/explain_5.txt b/parser/testdata/03731_null_parts_in_storage_snapshot_with_only_analyze/explain_5.txt new file mode 100644 index 0000000000..fcb2d89148 --- /dev/null +++ b/parser/testdata/03731_null_parts_in_storage_snapshot_with_only_analyze/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t0 diff --git a/parser/testdata/03731_null_parts_in_storage_snapshot_with_only_analyze/explain_6.txt b/parser/testdata/03731_null_parts_in_storage_snapshot_with_only_analyze/explain_6.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/03731_null_parts_in_storage_snapshot_with_only_analyze/explain_6.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/03731_query_condition_cache_folded_constants/explain.txt b/parser/testdata/03731_query_condition_cache_folded_constants/explain.txt new file mode 100644 index 0000000000..cb1142253f --- /dev/null +++ b/parser/testdata/03731_query_condition_cache_folded_constants/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03732_join_on_exists_bug/explain_3.txt b/parser/testdata/03732_join_on_exists_bug/explain_3.txt new file mode 100644 index 0000000000..fcb2d89148 --- /dev/null +++ b/parser/testdata/03732_join_on_exists_bug/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t0 diff --git a/parser/testdata/03732_join_on_exists_bug/explain_5.txt b/parser/testdata/03732_join_on_exists_bug/explain_5.txt new file mode 100644 index 0000000000..3a6842c1f9 --- /dev/null +++ b/parser/testdata/03732_join_on_exists_bug/explain_5.txt @@ -0,0 +1,30 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Literal UInt64_1 + TablesInSelectQuery (children 3) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t0 + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier t0 (alias tx) + TableJoin (children 1) + Function exists (children 1) + ExpressionList (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier t0 (alias ty) + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier t0.c0 + Identifier ty.c0 + Set diff --git a/parser/testdata/03732_join_on_exists_bug/explain_6.txt b/parser/testdata/03732_join_on_exists_bug/explain_6.txt new file mode 100644 index 0000000000..3a6842c1f9 --- /dev/null +++ b/parser/testdata/03732_join_on_exists_bug/explain_6.txt @@ -0,0 +1,30 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Literal UInt64_1 + TablesInSelectQuery (children 3) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier t0 + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier t0 (alias tx) + TableJoin (children 1) + Function exists (children 1) + ExpressionList (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier t0 (alias ty) + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier t0.c0 + Identifier ty.c0 + Set diff --git a/parser/testdata/03733_anti_join_runtime_filter_3/explain_5.txt b/parser/testdata/03733_anti_join_runtime_filter_3/explain_5.txt new file mode 100644 index 0000000000..0d6fcc22f5 --- /dev/null +++ b/parser/testdata/03733_anti_join_runtime_filter_3/explain_5.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier nation diff --git a/parser/testdata/03733_join_order_dp/explain_10.txt b/parser/testdata/03733_join_order_dp/explain_10.txt new file mode 100644 index 0000000000..119db16199 --- /dev/null +++ b/parser/testdata/03733_join_order_dp/explain_10.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier R4 + ExpressionList (children 2) + Identifier D_ID + Identifier D_LookupCode diff --git a/parser/testdata/03733_join_order_dp/explain_9.txt b/parser/testdata/03733_join_order_dp/explain_9.txt new file mode 100644 index 0000000000..a0fdb569f2 --- /dev/null +++ b/parser/testdata/03733_join_order_dp/explain_9.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier R1 + ExpressionList (children 2) + Identifier A_ID + Identifier A_Description diff --git a/parser/testdata/03733_summing_merge_tree_nested_low_cardinality/explain_2.txt b/parser/testdata/03733_summing_merge_tree_nested_low_cardinality/explain_2.txt new file mode 100644 index 0000000000..3e98d4c10f --- /dev/null +++ b/parser/testdata/03733_summing_merge_tree_nested_low_cardinality/explain_2.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier sums + ExpressionList (children 4) + Identifier key + Identifier sumOfSums + Identifier sumsMap.key + Identifier sumsMap.sum diff --git a/parser/testdata/03733_summing_merge_tree_nested_low_cardinality/explain_3.txt b/parser/testdata/03733_summing_merge_tree_nested_low_cardinality/explain_3.txt new file mode 100644 index 0000000000..3e98d4c10f --- /dev/null +++ b/parser/testdata/03733_summing_merge_tree_nested_low_cardinality/explain_3.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Identifier sums + ExpressionList (children 4) + Identifier key + Identifier sumOfSums + Identifier sumsMap.key + Identifier sumsMap.sum diff --git a/parser/testdata/03735_excessive_buffer_flush/explain_26.txt b/parser/testdata/03735_excessive_buffer_flush/explain_26.txt new file mode 100644 index 0000000000..1f7363e762 --- /dev/null +++ b/parser/testdata/03735_excessive_buffer_flush/explain_26.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier buffer_flush_by_flush_time diff --git a/parser/testdata/03735_excessive_buffer_flush/explain_29.txt b/parser/testdata/03735_excessive_buffer_flush/explain_29.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03735_excessive_buffer_flush/explain_29.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03741_adaptive_write_buffer_initial_size_zero/explain_4.txt b/parser/testdata/03741_adaptive_write_buffer_initial_size_zero/explain_4.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/03741_adaptive_write_buffer_initial_size_zero/explain_4.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03741_dict_get_in_cte_with_no_arguments_old_analyzer/explain.txt b/parser/testdata/03741_dict_get_in_cte_with_no_arguments_old_analyzer/explain.txt index b4e47aab38..04ca450aa4 100644 --- a/parser/testdata/03741_dict_get_in_cte_with_no_arguments_old_analyzer/explain.txt +++ b/parser/testdata/03741_dict_get_in_cte_with_no_arguments_old_analyzer/explain.txt @@ -10,4 +10,3 @@ SelectWithUnionQuery (children 1) Function dictGet (children 1) ExpressionList Set -The query succeeded but the server error '42' was expected (query: EXPLAIN AST SELECT ( SELECT dictGet() ) settings enable_analyzer=0; -- {serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH}). diff --git a/parser/testdata/03741_s3_glob_table_path_pushdown/explain.txt b/parser/testdata/03741_s3_glob_table_path_pushdown/explain.txt new file mode 100644 index 0000000000..cb1142253f --- /dev/null +++ b/parser/testdata/03741_s3_glob_table_path_pushdown/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03741_s3_glob_table_path_pushdown/explain_33.txt b/parser/testdata/03741_s3_glob_table_path_pushdown/explain_33.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03741_s3_glob_table_path_pushdown/explain_33.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03742_array_join_empty_tuple/explain_2.txt b/parser/testdata/03742_array_join_empty_tuple/explain_2.txt new file mode 100644 index 0000000000..24d272effa --- /dev/null +++ b/parser/testdata/03742_array_join_empty_tuple/explain_2.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 2) + Identifier c0 + Identifier c1 diff --git a/parser/testdata/03742_lazy_materialization_of_array_after_alter_add_column/explain_5.txt b/parser/testdata/03742_lazy_materialization_of_array_after_alter_add_column/explain_5.txt new file mode 100644 index 0000000000..8e674daa3b --- /dev/null +++ b/parser/testdata/03742_lazy_materialization_of_array_after_alter_add_column/explain_5.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 2) + Identifier id + Identifier array + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test_lazy + Function equals (children 1) + ExpressionList (children 2) + Identifier id + Literal UInt64_42 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier id + Literal UInt64_10 + Set diff --git a/parser/testdata/03743_fix_estimator_crash/explain_4.txt b/parser/testdata/03743_fix_estimator_crash/explain_4.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/03743_fix_estimator_crash/explain_4.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03747_optimize_functions_to_subcolumns_columns_as_substreams/explain_67.txt b/parser/testdata/03747_optimize_functions_to_subcolumns_columns_as_substreams/explain_67.txt deleted file mode 100644 index 370359435a..0000000000 --- a/parser/testdata/03747_optimize_functions_to_subcolumns_columns_as_substreams/explain_67.txt +++ /dev/null @@ -1,12 +0,0 @@ -SelectWithUnionQuery (children 1) - ExpressionList (children 1) - SelectQuery (children 3) - ExpressionList (children 1) - Function count (children 1) - ExpressionList (children 1) - Identifier n - TablesInSelectQuery (children 1) - TablesInSelectQueryElement (children 1) - TableExpression (children 1) - TableIdentifier test_count_nullable - Set diff --git a/parser/testdata/03747_optimize_functions_to_subcolumns_columns_as_substreams/explain_68.txt b/parser/testdata/03747_optimize_functions_to_subcolumns_columns_as_substreams/explain_68.txt deleted file mode 100644 index c3deb9f783..0000000000 --- a/parser/testdata/03747_optimize_functions_to_subcolumns_columns_as_substreams/explain_68.txt +++ /dev/null @@ -1,2 +0,0 @@ -DropQuery test_tupleelement (children 1) - Identifier test_tupleelement diff --git a/parser/testdata/03747_optimize_functions_to_subcolumns_columns_as_substreams/explain_69.txt b/parser/testdata/03747_optimize_functions_to_subcolumns_columns_as_substreams/explain_69.txt deleted file mode 100644 index 2121a2a9c3..0000000000 --- a/parser/testdata/03747_optimize_functions_to_subcolumns_columns_as_substreams/explain_69.txt +++ /dev/null @@ -1,19 +0,0 @@ -CreateQuery test_tupleelement (children 3) - Identifier test_tupleelement - Columns definition (children 1) - ExpressionList (children 3) - ColumnDeclaration id (children 1) - DataType UInt64 - ColumnDeclaration t.a (children 1) - DataType UInt64 - ColumnDeclaration t (children 1) - DataType Tuple (children 1) - ExpressionList (children 2) - NameTypePair a (children 1) - DataType UInt64 - NameTypePair b (children 1) - DataType String - Storage definition (children 2) - Function MergeTree - Function tuple (children 1) - ExpressionList diff --git a/parser/testdata/03748_tuple_of_sparse_elements_bug/explain_4.txt b/parser/testdata/03748_tuple_of_sparse_elements_bug/explain_4.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/03748_tuple_of_sparse_elements_bug/explain_4.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03748_tuple_of_sparse_elements_bug/explain_6.txt b/parser/testdata/03748_tuple_of_sparse_elements_bug/explain_6.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/03748_tuple_of_sparse_elements_bug/explain_6.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03748_tuple_of_sparse_elements_bug/explain_7.txt b/parser/testdata/03748_tuple_of_sparse_elements_bug/explain_7.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/03748_tuple_of_sparse_elements_bug/explain_7.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03748_tuple_of_sparse_elements_bug/explain_8.txt b/parser/testdata/03748_tuple_of_sparse_elements_bug/explain_8.txt new file mode 100644 index 0000000000..b4ef6b94be --- /dev/null +++ b/parser/testdata/03748_tuple_of_sparse_elements_bug/explain_8.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t0 + ExpressionList (children 1) + Identifier c0 diff --git a/parser/testdata/03753_replacing_empty_order_by/explain_10.txt b/parser/testdata/03753_replacing_empty_order_by/explain_10.txt new file mode 100644 index 0000000000..73159a63eb --- /dev/null +++ b/parser/testdata/03753_replacing_empty_order_by/explain_10.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t_empty_order_key + ExpressionList (children 2) + Identifier c0 + Identifier c1 diff --git a/parser/testdata/03753_replacing_empty_order_by/explain_5.txt b/parser/testdata/03753_replacing_empty_order_by/explain_5.txt new file mode 100644 index 0000000000..73159a63eb --- /dev/null +++ b/parser/testdata/03753_replacing_empty_order_by/explain_5.txt @@ -0,0 +1,5 @@ +InsertQuery (children 2) + Identifier t_empty_order_key + ExpressionList (children 2) + Identifier c0 + Identifier c1 diff --git a/parser/testdata/03754_h3_polygon_to_cells_const/explain.txt b/parser/testdata/03754_h3_polygon_to_cells_const/explain.txt new file mode 100644 index 0000000000..8f9f77dab7 --- /dev/null +++ b/parser/testdata/03754_h3_polygon_to_cells_const/explain.txt @@ -0,0 +1,35 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 3) + Literal UInt64_7 (alias resolution) + Function array (alias ring) (children 1) + ExpressionList (children 3) + Literal Tuple_(Float64_-122.40898669999721, Float64_37.81331899998324) + Literal Tuple_(Float64_-122.35447369999936, Float64_37.71980619999785) + Literal Tuple_(Float64_-122.4798767000009, Float64_37.815157199999845) + Literal Array_[\'872830820ffffff\', \'872830828ffffff\', \'87283082affffff\', \'87283082bffffff\', \'87283082effffff\', \'872830870ffffff\', \'872830876ffffff\'] (alias reference) + ExpressionList (children 2) + Function h3PolygonToCells (children 1) + ExpressionList (children 2) + Identifier ring + Identifier resolution + Function equals (children 1) + ExpressionList (children 2) + Function arraySort (children 1) + ExpressionList (children 1) + Function arrayMap (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function h3ToString (children 1) + ExpressionList (children 1) + Identifier x + Function h3PolygonToCells (children 1) + ExpressionList (children 2) + Identifier ring + Identifier resolution + Identifier reference diff --git a/parser/testdata/03755_circular_dictionary/explain_52.txt b/parser/testdata/03755_circular_dictionary/explain_52.txt deleted file mode 100644 index e7776d2541..0000000000 --- a/parser/testdata/03755_circular_dictionary/explain_52.txt +++ /dev/null @@ -1,2 +0,0 @@ -DropQuery kafka_metrics (children 1) - Identifier kafka_metrics diff --git a/parser/testdata/03755_circular_dictionary/explain_53.txt b/parser/testdata/03755_circular_dictionary/explain_53.txt deleted file mode 100644 index d8eb2a0bb0..0000000000 --- a/parser/testdata/03755_circular_dictionary/explain_53.txt +++ /dev/null @@ -1,2 +0,0 @@ -DropQuery mergetree_metrics (children 1) - Identifier mergetree_metrics diff --git a/parser/testdata/03755_circular_dictionary/explain_54.txt b/parser/testdata/03755_circular_dictionary/explain_54.txt deleted file mode 100644 index 302cf27ae8..0000000000 --- a/parser/testdata/03755_circular_dictionary/explain_54.txt +++ /dev/null @@ -1,2 +0,0 @@ -DropQuery ddlworker_metrics (children 1) - Identifier ddlworker_metrics diff --git a/parser/testdata/03755_circular_dictionary/explain_55.txt b/parser/testdata/03755_circular_dictionary/explain_55.txt deleted file mode 100644 index ff466b0f47..0000000000 --- a/parser/testdata/03755_circular_dictionary/explain_55.txt +++ /dev/null @@ -1,2 +0,0 @@ -DropQuery storages3_metrics (children 1) - Identifier storages3_metrics diff --git a/parser/testdata/03755_circular_dictionary/explain_56.txt b/parser/testdata/03755_circular_dictionary/explain_56.txt deleted file mode 100644 index 4cdd1d69e8..0000000000 --- a/parser/testdata/03755_circular_dictionary/explain_56.txt +++ /dev/null @@ -1,2 +0,0 @@ -DropQuery background_metrics (children 1) - Identifier background_metrics diff --git a/parser/testdata/03755_circular_dictionary/explain_57.txt b/parser/testdata/03755_circular_dictionary/explain_57.txt deleted file mode 100644 index 16a5f5e875..0000000000 --- a/parser/testdata/03755_circular_dictionary/explain_57.txt +++ /dev/null @@ -1,2 +0,0 @@ -DropQuery temporaryfiles_metrics (children 1) - Identifier temporaryfiles_metrics diff --git a/parser/testdata/03755_circular_dictionary/explain_58.txt b/parser/testdata/03755_circular_dictionary/explain_58.txt deleted file mode 100644 index 8b9bb60de2..0000000000 --- a/parser/testdata/03755_circular_dictionary/explain_58.txt +++ /dev/null @@ -1,2 +0,0 @@ -DropQuery parts_metrics (children 1) - Identifier parts_metrics diff --git a/parser/testdata/03755_circular_dictionary/explain_59.txt b/parser/testdata/03755_circular_dictionary/explain_59.txt deleted file mode 100644 index 20c762bfac..0000000000 --- a/parser/testdata/03755_circular_dictionary/explain_59.txt +++ /dev/null @@ -1,2 +0,0 @@ -DropQuery distrcache_metrics (children 1) - Identifier distrcache_metrics diff --git a/parser/testdata/03755_circular_dictionary/explain_60.txt b/parser/testdata/03755_circular_dictionary/explain_60.txt deleted file mode 100644 index 54fd94d342..0000000000 --- a/parser/testdata/03755_circular_dictionary/explain_60.txt +++ /dev/null @@ -1,2 +0,0 @@ -DropQuery drop_metrics (children 1) - Identifier drop_metrics diff --git a/parser/testdata/03755_circular_dictionary/explain_61.txt b/parser/testdata/03755_circular_dictionary/explain_61.txt deleted file mode 100644 index eeb76d9038..0000000000 --- a/parser/testdata/03755_circular_dictionary/explain_61.txt +++ /dev/null @@ -1,2 +0,0 @@ -DropQuery filesystem_dict (children 1) - Identifier filesystem_dict diff --git a/parser/testdata/03755_circular_dictionary/explain_62.txt b/parser/testdata/03755_circular_dictionary/explain_62.txt deleted file mode 100644 index a02e2bf066..0000000000 --- a/parser/testdata/03755_circular_dictionary/explain_62.txt +++ /dev/null @@ -1,2 +0,0 @@ -DropQuery kafka_dict (children 1) - Identifier kafka_dict diff --git a/parser/testdata/03755_circular_dictionary/explain_63.txt b/parser/testdata/03755_circular_dictionary/explain_63.txt deleted file mode 100644 index de3c377f2a..0000000000 --- a/parser/testdata/03755_circular_dictionary/explain_63.txt +++ /dev/null @@ -1,2 +0,0 @@ -DropQuery mergetree_dict (children 1) - Identifier mergetree_dict diff --git a/parser/testdata/03755_circular_dictionary/explain_64.txt b/parser/testdata/03755_circular_dictionary/explain_64.txt deleted file mode 100644 index d53c7202e0..0000000000 --- a/parser/testdata/03755_circular_dictionary/explain_64.txt +++ /dev/null @@ -1,2 +0,0 @@ -DropQuery ddlworker_dict (children 1) - Identifier ddlworker_dict diff --git a/parser/testdata/03755_circular_dictionary/explain_65.txt b/parser/testdata/03755_circular_dictionary/explain_65.txt deleted file mode 100644 index 5e968ea114..0000000000 --- a/parser/testdata/03755_circular_dictionary/explain_65.txt +++ /dev/null @@ -1,2 +0,0 @@ -DropQuery storages3_dict (children 1) - Identifier storages3_dict diff --git a/parser/testdata/03755_circular_dictionary/explain_66.txt b/parser/testdata/03755_circular_dictionary/explain_66.txt deleted file mode 100644 index 96ebbc1cf8..0000000000 --- a/parser/testdata/03755_circular_dictionary/explain_66.txt +++ /dev/null @@ -1,2 +0,0 @@ -DropQuery background_dict (children 1) - Identifier background_dict diff --git a/parser/testdata/03755_circular_dictionary/explain_67.txt b/parser/testdata/03755_circular_dictionary/explain_67.txt deleted file mode 100644 index 6e875e129a..0000000000 --- a/parser/testdata/03755_circular_dictionary/explain_67.txt +++ /dev/null @@ -1,2 +0,0 @@ -DropQuery temporaryfiles_dict (children 1) - Identifier temporaryfiles_dict diff --git a/parser/testdata/03755_circular_dictionary/explain_68.txt b/parser/testdata/03755_circular_dictionary/explain_68.txt deleted file mode 100644 index b0ffaae973..0000000000 --- a/parser/testdata/03755_circular_dictionary/explain_68.txt +++ /dev/null @@ -1,2 +0,0 @@ -DropQuery parts_dict (children 1) - Identifier parts_dict diff --git a/parser/testdata/03755_circular_dictionary/explain_69.txt b/parser/testdata/03755_circular_dictionary/explain_69.txt deleted file mode 100644 index 6e50fc1d7e..0000000000 --- a/parser/testdata/03755_circular_dictionary/explain_69.txt +++ /dev/null @@ -1,2 +0,0 @@ -DropQuery distrcache_dict (children 1) - Identifier distrcache_dict diff --git a/parser/testdata/03755_circular_dictionary/explain_70.txt b/parser/testdata/03755_circular_dictionary/explain_70.txt deleted file mode 100644 index ccb198323a..0000000000 --- a/parser/testdata/03755_circular_dictionary/explain_70.txt +++ /dev/null @@ -1,2 +0,0 @@ -DropQuery drop_dict (children 1) - Identifier drop_dict diff --git a/parser/testdata/03755_enable_sparse_nullable_consistently/explain_3.txt b/parser/testdata/03755_enable_sparse_nullable_consistently/explain_3.txt new file mode 100644 index 0000000000..655c508eb3 --- /dev/null +++ b/parser/testdata/03755_enable_sparse_nullable_consistently/explain_3.txt @@ -0,0 +1,4 @@ +InsertQuery (children 2) + Identifier t + ExpressionList (children 1) + Identifier id diff --git a/parser/testdata/03755_nested_recursive_cte/explain_3.txt b/parser/testdata/03755_nested_recursive_cte/explain_3.txt new file mode 100644 index 0000000000..fcb2d89148 --- /dev/null +++ b/parser/testdata/03755_nested_recursive_cte/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t0 diff --git a/parser/testdata/03756_capn_proto_message_size_limit/explain_2.txt b/parser/testdata/03756_capn_proto_message_size_limit/explain_2.txt new file mode 100644 index 0000000000..69d8811898 --- /dev/null +++ b/parser/testdata/03756_capn_proto_message_size_limit/explain_2.txt @@ -0,0 +1,11 @@ +InsertQuery (children 1) + Function url (children 1) + ExpressionList (children 3) + Function concat (children 1) + ExpressionList (children 3) + Literal \'http://localhost:8123/?query=INSERT+INTO+\' + Function currentDatabase (children 1) + ExpressionList + Literal \'.03756_capn_proto_message_size_limit+(c0)+FORMAT+CapnProto\' + Literal \'BSONEachRow\' + Literal \'c0 Decimal32(8)\' diff --git a/parser/testdata/03756_mongodb_secret_arguments/explain.txt b/parser/testdata/03756_mongodb_secret_arguments/explain.txt deleted file mode 100644 index d4f23399ad..0000000000 --- a/parser/testdata/03756_mongodb_secret_arguments/explain.txt +++ /dev/null @@ -1,14 +0,0 @@ -SelectWithUnionQuery (children 1) - ExpressionList (children 1) - SelectQuery (children 2) - ExpressionList (children 1) - Asterisk - TablesInSelectQuery (children 1) - TablesInSelectQueryElement (children 1) - TableExpression (children 1) - Function mongodb (children 1) - ExpressionList (children 2) - Identifier some_named_collection - Function now (children 1) - ExpressionList -The query succeeded but the server error '42' was expected (query: EXPLAIN AST SELECT * FROM mongodb(some_named_collection, now()); -- { serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH }). diff --git a/parser/testdata/03757_optimize_skip_unused_shards_with_type_cast/explain_3.txt b/parser/testdata/03757_optimize_skip_unused_shards_with_type_cast/explain_3.txt new file mode 100644 index 0000000000..c3b1a1c88e --- /dev/null +++ b/parser/testdata/03757_optimize_skip_unused_shards_with_type_cast/explain_3.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier t1 diff --git a/parser/testdata/03759_marks_cache_events/explain_10.txt b/parser/testdata/03759_marks_cache_events/explain_10.txt index 264f328c2e..5d8f01bce6 100644 --- a/parser/testdata/03759_marks_cache_events/explain_10.txt +++ b/parser/testdata/03759_marks_cache_events/explain_10.txt @@ -1,12 +1,11 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) TableIdentifier data - Set Identifier Null Set diff --git a/parser/testdata/03759_marks_cache_events/explain_11.txt b/parser/testdata/03759_marks_cache_events/explain_11.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03759_marks_cache_events/explain_11.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03759_marks_cache_events/explain_17.txt b/parser/testdata/03759_marks_cache_events/explain_17.txt new file mode 100644 index 0000000000..1684cb9d82 --- /dev/null +++ b/parser/testdata/03759_marks_cache_events/explain_17.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03759_marks_cache_events/explain_4.txt b/parser/testdata/03759_marks_cache_events/explain_4.txt new file mode 100644 index 0000000000..36337a4d9e --- /dev/null +++ b/parser/testdata/03759_marks_cache_events/explain_4.txt @@ -0,0 +1,2 @@ +InsertQuery (children 1) + Identifier data diff --git a/parser/testdata/03759_marks_cache_events/explain_5.txt b/parser/testdata/03759_marks_cache_events/explain_5.txt index 264f328c2e..5d8f01bce6 100644 --- a/parser/testdata/03759_marks_cache_events/explain_5.txt +++ b/parser/testdata/03759_marks_cache_events/explain_5.txt @@ -1,12 +1,11 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) TableIdentifier data - Set Identifier Null Set diff --git a/parser/testdata/03759_marks_cache_events/explain_6.txt b/parser/testdata/03759_marks_cache_events/explain_6.txt index 264f328c2e..5d8f01bce6 100644 --- a/parser/testdata/03759_marks_cache_events/explain_6.txt +++ b/parser/testdata/03759_marks_cache_events/explain_6.txt @@ -1,12 +1,11 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) TableIdentifier data - Set Identifier Null Set diff --git a/parser/testdata/03759_marks_cache_events/explain_9.txt b/parser/testdata/03759_marks_cache_events/explain_9.txt index 264f328c2e..5d8f01bce6 100644 --- a/parser/testdata/03759_marks_cache_events/explain_9.txt +++ b/parser/testdata/03759_marks_cache_events/explain_9.txt @@ -1,12 +1,11 @@ SelectWithUnionQuery (children 3) ExpressionList (children 1) - SelectQuery (children 3) + SelectQuery (children 2) ExpressionList (children 1) Asterisk TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) TableIdentifier data - Set Identifier Null Set