Skip to content

Commit

Permalink
moar changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-batur committed Jan 10, 2025
1 parent ea1911f commit 8135708
Showing 1 changed file with 60 additions and 18 deletions.
78 changes: 60 additions & 18 deletions tests/ast/data/DataFrame.create_or_replace.test
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,10 @@ body {
expr {
sp_table {
name {
sp_table_name_flat {
name: "table1"
name {
sp_name_flat {
name: "table1"
}
}
}
src {
Expand Down Expand Up @@ -95,9 +97,15 @@ body {
}
}
}
name: "test_db"
name: "test_schema"
name: "test_view"
name {
name {
sp_name_structured {
name: "test_db"
name: "test_schema"
name: "test_view"
}
}
}
src {
file: "SRC_POSITION_TEST_MODE"
start_line: 27
Expand All @@ -123,7 +131,13 @@ body {
}
}
}
name: "test_view"
name {
name {
sp_name_flat {
name: "test_view"
}
}
}
src {
file: "SRC_POSITION_TEST_MODE"
start_line: 29
Expand Down Expand Up @@ -157,9 +171,15 @@ body {
}
}
is_temp: true
name: "test_db"
name: "test_schema"
name: "test_view"
name {
name {
sp_name_structured {
name: "test_db"
name: "test_schema"
name: "test_view"
}
}
}
src {
file: "SRC_POSITION_TEST_MODE"
start_line: 31
Expand All @@ -186,7 +206,13 @@ body {
}
}
is_temp: true
name: "test_view"
name {
name {
sp_name_flat {
name: "test_view"
}
}
}
src {
file: "SRC_POSITION_TEST_MODE"
start_line: 33
Expand Down Expand Up @@ -265,9 +291,15 @@ body {
_1: "foo"
_2: "bar"
}
table_name: "test_db"
table_name: "test_schema"
table_name: "table2"
table_name {
name {
sp_name_structured {
name: "test_db"
name: "test_schema"
name: "table2"
}
}
}
target_columns: "n"
target_columns: "str"
transformations {
Expand All @@ -277,8 +309,10 @@ body {
fn {
builtin_fn {
name {
fn_name_flat {
name: "col"
name {
sp_name_flat {
name: "col"
}
}
}
}
Expand Down Expand Up @@ -318,8 +352,10 @@ body {
fn {
builtin_fn {
name {
fn_name_flat {
name: "col"
name {
sp_name_flat {
name: "col"
}
}
}
}
Expand Down Expand Up @@ -434,7 +470,13 @@ body {
mode {
sp_save_mode_overwrite: true
}
name: "test_dyn_table"
name {
name {
sp_name_flat {
name: "test_dyn_table"
}
}
}
src {
file: "SRC_POSITION_TEST_MODE"
start_line: 55
Expand Down

0 comments on commit 8135708

Please sign in to comment.