Skip to content

Commit

Permalink
Enable Delta Lake tests about partition ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
ebyhr committed Oct 7, 2022
1 parent 6dab3e6 commit 4c930e3
Showing 1 changed file with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -739,8 +739,7 @@ public Object[][] targetWithDifferentPartitioning()
{"CREATE TABLE %s (customer VARCHAR, purchases INT, address VARCHAR) WITH (location = 's3://%s/%s')"},
{"CREATE TABLE %s (customer VARCHAR, purchases INT, address VARCHAR) WITH (location = 's3://%s/%s', partitioned_by = ARRAY['customer'])"},
{"CREATE TABLE %s (customer VARCHAR, address VARCHAR, purchases INT) WITH (location = 's3://%s/%s', partitioned_by = ARRAY['address'])"},
// TODO: enable when https://github.com/trinodb/trino/issues/13505 is fixed
// {"CREATE TABLE %s (purchases INT, customer VARCHAR, address VARCHAR) WITH (location = 's3://%s/%s', partitioned_by = ARRAY['address', 'customer'])"}
{"CREATE TABLE %s (purchases INT, customer VARCHAR, address VARCHAR) WITH (location = 's3://%s/%s', partitioned_by = ARRAY['address', 'customer'])"},
{"CREATE TABLE %s (purchases INT, address VARCHAR, customer VARCHAR) WITH (location = 's3://%s/%s', partitioned_by = ARRAY['address', 'customer'])"}
};
}
Expand Down Expand Up @@ -775,12 +774,11 @@ public void testMergeWithDifferentPartitioning(String testDescription, String cr
public Object[][] targetAndSourceWithDifferentPartitioning()
{
return new Object[][] {
// TODO: enable when https://github.com/trinodb/trino/issues/13505 is fixed
// {
// "target_partitioned_source_and_target_partitioned",
// "CREATE TABLE %s (customer VARCHAR, purchases INT, address VARCHAR) WITH (location = 's3://%s/%s', partitioned_by = ARRAY['address', 'customer'])",
// "CREATE TABLE %s (customer VARCHAR, purchases INT, address VARCHAR) WITH (location = 's3://%s/%s', partitioned_by = ARRAY['address'])",
// },
{
"target_partitioned_source_and_target_partitioned",
"CREATE TABLE %s (customer VARCHAR, purchases INT, address VARCHAR) WITH (location = 's3://%s/%s', partitioned_by = ARRAY['address', 'customer'])",
"CREATE TABLE %s (customer VARCHAR, purchases INT, address VARCHAR) WITH (location = 's3://%s/%s', partitioned_by = ARRAY['address'])",
},
{
"target_partitioned_source_and_target_partitioned",
"CREATE TABLE %s (customer VARCHAR, purchases INT, address VARCHAR) WITH (location = 's3://%s/%s', partitioned_by = ARRAY['customer', 'address'])",
Expand Down

0 comments on commit 4c930e3

Please sign in to comment.