Skip to content

Commit

Permalink
Fix BaseIcebergConnectorTest test case
Browse files Browse the repository at this point in the history
  • Loading branch information
mattheusv committed Jun 24, 2024
1 parent 74995da commit 6cdab53
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1579,9 +1579,8 @@ public void testSortingOnNestedField()
assertThat(query("CREATE TABLE " + tableName + " (nationkey BIGINT, row_t ROW(name VARCHAR, regionkey BIGINT, comment VARCHAR)) " +
"WITH (sorted_by = ARRAY['\"row_t\".\"comment\"'])"))
.failure().hasMessageContaining("Unable to parse sort field: [\"row_t\".\"comment\"]");
assertThat(query("CREATE TABLE " + tableName + " (nationkey BIGINT, row_t ROW(name VARCHAR, regionkey BIGINT, comment VARCHAR)) " +
"WITH (sorted_by = ARRAY['\"row_t.comment\"'])"))
.failure().hasMessageContaining("Column not found: row_t.comment");
assertUpdate("CREATE TABLE " + tableName + " (nationkey BIGINT, row_t ROW(name VARCHAR, regionkey BIGINT, comment VARCHAR)) " +
"WITH (sorted_by = ARRAY['\"row_t.comment\"'])");
}

@Test
Expand Down

0 comments on commit 6cdab53

Please sign in to comment.