File tree
18 files changed
+202
-115
lines changed- tests/unit/core/compile/sqlglot/expressions
- snapshots
- test_binary_compiler
- test_add_numeric_w_scalar
- test_add_numeric
- test_add_string
- test_json_set
- test_unary_compiler
- test_array_index
- test_array_slice_with_only_start
- test_array_slice_with_start_and_stop
- test_array_to_string
- test_json_extract_array
- test_json_extract_string_array
- test_json_extract
- test_json_query_array
- test_json_query
- test_json_value
- test_parse_json
- test_to_json_string
18 files changed
+202
-115
lines changedtests/unit/core/compile/sqlglot/expressions/snapshots/test_binary_compiler/test_add_numeric/out.sql
Lines changed: 3 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 |
| - | |
4 |
| - | |
| 3 | + | |
5 | 4 |
| |
6 | 5 |
| |
7 | 6 |
| |
8 | 7 |
| |
9 |
| - | |
10 |
| - | |
| 8 | + | |
11 | 9 |
| |
12 | 10 |
| |
13 | 11 |
| |
14 |
| - | |
15 |
| - | |
| 12 | + | |
16 | 13 |
|
Lines changed: 3 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 |
| - | |
4 |
| - | |
| 3 | + | |
5 | 4 |
| |
6 | 5 |
| |
7 | 6 |
| |
8 | 7 |
| |
9 |
| - | |
10 |
| - | |
| 8 | + | |
11 | 9 |
| |
12 | 10 |
| |
13 | 11 |
| |
14 |
| - | |
15 |
| - | |
| 12 | + | |
16 | 13 |
|
Lines changed: 3 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 |
| - | |
4 |
| - | |
| 3 | + | |
5 | 4 |
| |
6 | 5 |
| |
7 | 6 |
| |
8 | 7 |
| |
9 |
| - | |
10 |
| - | |
| 8 | + | |
11 | 9 |
| |
12 | 10 |
| |
13 | 11 |
| |
14 |
| - | |
15 |
| - | |
| 12 | + | |
16 | 13 |
|
Lines changed: 4 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 |
| - | |
4 |
| - | |
| 3 | + | |
5 | 4 |
| |
6 | 5 |
| |
7 | 6 |
| |
8 | 7 |
| |
9 |
| - | |
| 8 | + | |
10 | 9 |
| |
11 |
| - | |
12 |
| - | |
13 |
| - | |
14 |
| - | |
15 |
| - | |
16 | 10 |
| |
17 | 11 |
| |
18 |
| - | |
19 |
| - | |
20 |
| - | |
| 12 | + | |
| 13 | + |
Lines changed: 3 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 |
| - | |
4 |
| - | |
| 3 | + | |
5 | 4 |
| |
6 | 5 |
| |
7 | 6 |
| |
8 | 7 |
| |
9 |
| - | |
| 8 | + | |
10 | 9 |
| |
11 | 10 |
| |
12 | 11 |
| |
13 |
| - | |
14 |
| - | |
| 12 | + | |
15 | 13 |
|
Lines changed: 4 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 |
| - | |
4 |
| - | |
| 3 | + | |
5 | 4 |
| |
6 | 5 |
| |
7 | 6 |
| |
8 | 7 |
| |
9 | 8 |
| |
10 | 9 |
| |
11 | 10 |
| |
12 |
| - | |
| 11 | + | |
13 | 12 |
| |
14 | 13 |
| |
15 |
| - | |
| 14 | + | |
16 | 15 |
| |
17 | 16 |
| |
18 | 17 |
| |
19 |
| - | |
20 |
| - | |
| 18 | + | |
21 | 19 |
|
Lines changed: 4 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 |
| - | |
4 |
| - | |
| 3 | + | |
5 | 4 |
| |
6 | 5 |
| |
7 | 6 |
| |
8 | 7 |
| |
9 | 8 |
| |
10 | 9 |
| |
11 | 10 |
| |
12 |
| - | |
| 11 | + | |
13 | 12 |
| |
14 | 13 |
| |
15 |
| - | |
| 14 | + | |
16 | 15 |
| |
17 | 16 |
| |
18 | 17 |
| |
19 |
| - | |
20 |
| - | |
| 18 | + | |
21 | 19 |
|
Lines changed: 3 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 |
| - | |
4 |
| - | |
| 3 | + | |
5 | 4 |
| |
6 | 5 |
| |
7 | 6 |
| |
8 | 7 |
| |
9 |
| - | |
| 8 | + | |
10 | 9 |
| |
11 | 10 |
| |
12 | 11 |
| |
13 |
| - | |
14 |
| - | |
| 12 | + | |
15 | 13 |
|
tests/unit/core/compile/sqlglot/expressions/snapshots/test_unary_compiler/test_json_extract/out.sql
Lines changed: 3 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 |
| - | |
4 |
| - | |
| 3 | + | |
5 | 4 |
| |
6 | 5 |
| |
7 | 6 |
| |
8 | 7 |
| |
9 |
| - | |
| 8 | + | |
10 | 9 |
| |
11 | 10 |
| |
12 | 11 |
| |
13 |
| - | |
14 |
| - | |
| 12 | + | |
15 | 13 |
|
Lines changed: 13 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + |
0 commit comments