From a30acde217e97b4f236397251713d541de724117 Mon Sep 17 00:00:00 2001 From: "Mateusz \"Serafin\" Gajewski" Date: Sat, 9 Sep 2023 23:44:11 +0200 Subject: [PATCH] Use unique non-clashing view name in test --- .../java/io/trino/plugin/mysql/BaseMySqlConnectorTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugin/trino-mysql/src/test/java/io/trino/plugin/mysql/BaseMySqlConnectorTest.java b/plugin/trino-mysql/src/test/java/io/trino/plugin/mysql/BaseMySqlConnectorTest.java index b154c8576bc45..674ddfb756023 100644 --- a/plugin/trino-mysql/src/test/java/io/trino/plugin/mysql/BaseMySqlConnectorTest.java +++ b/plugin/trino-mysql/src/test/java/io/trino/plugin/mysql/BaseMySqlConnectorTest.java @@ -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")