Skip to content

Commit

Permalink
Use unique non-clashing view name in test
Browse files Browse the repository at this point in the history
  • Loading branch information
wendigo committed Sep 11, 2023
1 parent 2ebdd81 commit a30acde
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -371,9 +371,9 @@ public void testPredicatePushdown()
@Test(dataProvider = "charsetAndCollation")
public void testPredicatePushdownWithCollationView(String charset, String collation)
{
onRemoteDatabase().execute(format("CREATE OR REPLACE VIEW tpch.test_view AS SELECT regionkey, nationkey, CONVERT(name USING %s) COLLATE %s AS name FROM tpch.nation;", charset, collation));
testNationCollationQueries("test_view");
onRemoteDatabase().execute("DROP VIEW tpch.test_view");
onRemoteDatabase().execute(format("CREATE OR REPLACE VIEW tpch.test_view_pushdown AS SELECT regionkey, nationkey, CONVERT(name USING %s) COLLATE %s AS name FROM tpch.nation;", charset, collation));
testNationCollationQueries("test_view_pushdown");
onRemoteDatabase().execute("DROP VIEW tpch.test_view_pushdown");
}

@Test(dataProvider = "charsetAndCollation")
Expand Down

0 comments on commit a30acde

Please sign in to comment.