Commit ee42e81
committed
Fix parser tests to use first line only, fix empty ast.json files
- Updated parser_test.go to parse only first line of query.sql
(matches how ast.json was generated)
- Fixed empty ast.json files by marking them as error: true
- Tests now complete in ~4 seconds instead of timing out1 parent 91a1ab6 commit ee42e81
26 files changed
Lines changed: 29 additions & 2 deletions
File tree
- parser
- testdata
- 01559_misplaced_codec_diagnostics
- 01604_explain_ast_of_nonselect_query
- 01715_table_function_view_fix
- 01732_union_and_union_all
- 02128_apply_lambda_parsing
- 02155_create_table_w_timezone
- 02294_decimal_second_errors
- 02469_fix_aliases_parser
- 02472_segfault_expression_parser
- 02474_create_user_query_fuzzer_bug
- 02474_fix_function_parser_bug
- 02476_fix_cast_parser_bug
- 02481_fix_parameters_parsing
- 02515_tuple_lambda_parsing
- 02554_invalid_create_view_syntax
- 02922_respect_nulls_parser
- 03000_too_big_max_execution_time_setting
- 03003_compatibility_setting_bad_value
- 03144_fuzz_quoted_type_name
- 03168_inconsistent_ast_formatting
- 03280_aliases_for_selects_and_views
- 03532_create_user_query_on_wrong_parametric_grantees
- 03550_union_intersect_except_default_mode_rewrite_exception_safety
- 03558_no_alias_in_single_expressions
- 03559_explain_ast_in_subquery
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
73 | 75 | | |
74 | 76 | | |
75 | 77 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments