Skip to content

Commit

Permalink
Update expectation tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-oplaton committed Dec 21, 2024
1 parent 94822f6 commit 754bd65
Show file tree
Hide file tree
Showing 102 changed files with 6,247 additions and 3,205 deletions.
24 changes: 16 additions & 8 deletions tests/ast/data/DataFrame.agg.test
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,10 @@ body {
fn {
builtin_fn {
name {
sp_obj_name_flat {
name: "stddev"
name {
sp_name_flat {
name: "stddev"
}
}
}
}
Expand All @@ -157,8 +159,10 @@ body {
fn {
builtin_fn {
name {
sp_obj_name_flat {
name: "col"
name {
sp_name_flat {
name: "col"
}
}
}
}
Expand Down Expand Up @@ -189,8 +193,10 @@ body {
fn {
builtin_fn {
name {
sp_obj_name_flat {
name: "stddev_pop"
name {
sp_name_flat {
name: "stddev_pop"
}
}
}
}
Expand All @@ -200,8 +206,10 @@ body {
fn {
builtin_fn {
name {
sp_obj_name_flat {
name: "col"
name {
sp_name_flat {
name: "col"
}
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion tests/ast/data/DataFrame.collect.test
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ body {
sp_table {
name {
name {
sp_obj_name_flat {
sp_name_flat {
name: "table1"
}
}
Expand Down
2 changes: 1 addition & 1 deletion tests/ast/data/DataFrame.count.test
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ body {
sp_table {
name {
name {
sp_obj_name_flat {
sp_name_flat {
name: "table1"
}
}
Expand Down
26 changes: 15 additions & 11 deletions tests/ast/data/DataFrame.create_or_replace.test
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ body {
sp_table {
name {
name {
sp_obj_name_flat {
sp_name_flat {
name: "table1"
}
}
Expand Down Expand Up @@ -103,7 +103,7 @@ body {
}
name {
name {
sp_obj_name_structured {
sp_name_structured {
name: "test_db"
name: "test_schema"
name: "test_view"
Expand Down Expand Up @@ -137,7 +137,7 @@ body {
}
name {
name {
sp_obj_name_flat {
sp_name_flat {
name: "test_view"
}
}
Expand Down Expand Up @@ -177,7 +177,7 @@ body {
is_temp: true
name {
name {
sp_obj_name_structured {
sp_name_structured {
name: "test_db"
name: "test_schema"
name: "test_view"
Expand Down Expand Up @@ -212,7 +212,7 @@ body {
is_temp: true
name {
name {
sp_obj_name_flat {
sp_name_flat {
name: "test_view"
}
}
Expand Down Expand Up @@ -297,7 +297,7 @@ body {
}
table_name {
name {
sp_obj_name_structured {
sp_name_structured {
name: "test_db"
name: "test_schema"
name: "table2"
Expand All @@ -313,8 +313,10 @@ body {
fn {
builtin_fn {
name {
sp_obj_name_flat {
name: "col"
name {
sp_name_flat {
name: "col"
}
}
}
}
Expand Down Expand Up @@ -354,8 +356,10 @@ body {
fn {
builtin_fn {
name {
sp_obj_name_flat {
name: "col"
name {
sp_name_flat {
name: "col"
}
}
}
}
Expand Down Expand Up @@ -524,7 +528,7 @@ body {
}
name {
name {
sp_obj_name_flat {
sp_name_flat {
name: "test_dyn_table"
}
}
Expand Down
4 changes: 2 additions & 2 deletions tests/ast/data/DataFrame.cross_join.lsuffix.test
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ body {
sp_table {
name {
name {
sp_obj_name_flat {
sp_name_flat {
name: "table1"
}
}
Expand Down Expand Up @@ -51,7 +51,7 @@ body {
sp_table {
name {
name {
sp_obj_name_flat {
sp_name_flat {
name: "table1"
}
}
Expand Down
4 changes: 2 additions & 2 deletions tests/ast/data/DataFrame.cross_join.rsuffix.test
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ body {
sp_table {
name {
name {
sp_obj_name_flat {
sp_name_flat {
name: "table1"
}
}
Expand Down Expand Up @@ -51,7 +51,7 @@ body {
sp_table {
name {
name {
sp_obj_name_flat {
sp_name_flat {
name: "table1"
}
}
Expand Down
4 changes: 2 additions & 2 deletions tests/ast/data/DataFrame.cross_join.suffix.test
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ body {
sp_table {
name {
name {
sp_obj_name_flat {
sp_name_flat {
name: "table1"
}
}
Expand Down Expand Up @@ -51,7 +51,7 @@ body {
sp_table {
name {
name {
sp_obj_name_flat {
sp_name_flat {
name: "table1"
}
}
Expand Down
2 changes: 1 addition & 1 deletion tests/ast/data/DataFrame.describe.test
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ body {
sp_table {
name {
name {
sp_obj_name_flat {
sp_name_flat {
name: "table1"
}
}
Expand Down
8 changes: 5 additions & 3 deletions tests/ast/data/DataFrame.flatten.test
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ body {
sp_table {
name {
name {
sp_obj_name_flat {
sp_name_flat {
name: "table1"
}
}
Expand Down Expand Up @@ -103,8 +103,10 @@ body {
fn {
builtin_fn {
name {
sp_obj_name_flat {
name: "col"
name {
sp_name_flat {
name: "col"
}
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion tests/ast/data/DataFrame.indexers.test
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ body {
sp_table {
name {
name {
sp_obj_name_flat {
sp_name_flat {
name: "table1"
}
}
Expand Down
4 changes: 2 additions & 2 deletions tests/ast/data/DataFrame.join.inner.column.test
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ body {
sp_table {
name {
name {
sp_obj_name_flat {
sp_name_flat {
name: "table1"
}
}
Expand Down Expand Up @@ -53,7 +53,7 @@ body {
sp_table {
name {
name {
sp_obj_name_flat {
sp_name_flat {
name: "table1"
}
}
Expand Down
4 changes: 2 additions & 2 deletions tests/ast/data/DataFrame.join.inner.column_list.test
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ body {
sp_table {
name {
name {
sp_obj_name_flat {
sp_name_flat {
name: "table1"
}
}
Expand Down Expand Up @@ -53,7 +53,7 @@ body {
sp_table {
name {
name {
sp_obj_name_flat {
sp_name_flat {
name: "table1"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ body {
sp_table {
name {
name {
sp_obj_name_flat {
sp_name_flat {
name: "table1"
}
}
Expand Down Expand Up @@ -53,7 +53,7 @@ body {
sp_table {
name {
name {
sp_obj_name_flat {
sp_name_flat {
name: "table1"
}
}
Expand Down
4 changes: 2 additions & 2 deletions tests/ast/data/DataFrame.join.inner.predicate.test
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ body {
sp_table {
name {
name {
sp_obj_name_flat {
sp_name_flat {
name: "table1"
}
}
Expand Down Expand Up @@ -53,7 +53,7 @@ body {
sp_table {
name {
name {
sp_obj_name_flat {
sp_name_flat {
name: "table1"
}
}
Expand Down
4 changes: 2 additions & 2 deletions tests/ast/data/DataFrame.join.inner.predicate_rsuffix.test
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ body {
sp_table {
name {
name {
sp_obj_name_flat {
sp_name_flat {
name: "table1"
}
}
Expand Down Expand Up @@ -53,7 +53,7 @@ body {
sp_table {
name {
name {
sp_obj_name_flat {
sp_name_flat {
name: "table1"
}
}
Expand Down
4 changes: 2 additions & 2 deletions tests/ast/data/DataFrame.join.left_outer.column.test
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ body {
sp_table {
name {
name {
sp_obj_name_flat {
sp_name_flat {
name: "table1"
}
}
Expand Down Expand Up @@ -53,7 +53,7 @@ body {
sp_table {
name {
name {
sp_obj_name_flat {
sp_name_flat {
name: "table1"
}
}
Expand Down
4 changes: 2 additions & 2 deletions tests/ast/data/DataFrame.join.right_outer.predicate.test
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ body {
sp_table {
name {
name {
sp_obj_name_flat {
sp_name_flat {
name: "table1"
}
}
Expand Down Expand Up @@ -53,7 +53,7 @@ body {
sp_table {
name {
name {
sp_obj_name_flat {
sp_name_flat {
name: "table1"
}
}
Expand Down
4 changes: 2 additions & 2 deletions tests/ast/data/DataFrame.natural_join.test
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ body {
sp_table {
name {
name {
sp_obj_name_flat {
sp_name_flat {
name: "table1"
}
}
Expand Down Expand Up @@ -51,7 +51,7 @@ body {
sp_table {
name {
name {
sp_obj_name_flat {
sp_name_flat {
name: "table1"
}
}
Expand Down
Loading

0 comments on commit 754bd65

Please sign in to comment.