Open danhuawang opened 1 month ago
@danhuawang It's still in the current version of gravitino-trino-connector
@danhuawang It's still in the current version of gravitino-trino-connector
Yes, the issue still exists in the latest version of gravitino-trino-connector.
2024-06-12 10:58:53 ERROR [pool-2-thread-1] TrinoQueryIT:225 - Execute sql in the tester jdbc-mysql/00008_alter_catalog.sql under catalog mysql failed.
java.lang.RuntimeException: Failed to execute test org.opentest4j.AssertionFailedError: Execute sql in the tester jdbc-mysql/00008_alter_catalog.sql under catalog mysql failed.
Sql:
select * from gravitino.system.catalog where name = 'gt_mysql_xxx1';
Expect:
"gt_mysql_xxx1","jdbc-mysql","{""jdbc-url"":""jdbc:mysql://%/?useSSL=false"",""jdbc-user"":""trino"",""jdbc-password"":""ds123"",""jdbc-driver"":""com.mysql.cj.jdbc.Driver""}"
Actual:
Failed to execute test org.opentest4j.AssertionFailedError: Execute sql in the tester jdbc-mysql/00008_alter_catalog.sql under catalog mysql failed.
Sql:
select * from gravitino.system.catalog where name = 'gt_mysql_xxx1';
Expect:
"gt_mysql_xxx1","jdbc-mysql","{""jdbc-url"":""jdbc:mysql://%/?useSSL=false"",""jdbc-user"":""trino"",""jdbc-password"":""ds123"",""jdbc-driver"":""com.mysql.cj.jdbc.Driver""}"
Actual:
Sql:
select * from gravitino.system.catalog where name = 'gt_mysql_xxx1';
Expect:
"gt_mysql_xxx1","jdbc-mysql","{""jdbc-url"":""jdbc:mysql://%/?useSSL=false"",""jdbc-user"":""trino"",""jdbc-password"":""ds123"",""jdbc-driver"":""com.mysql.cj.jdbc.Driver""}"
Actual:
at com.datastrato.gravitino.integration.test.trino.TrinoQueryIT.waitForCompleted(TrinoQueryIT.java:342)
at com.datastrato.gravitino.integration.test.trino.TrinoQueryIT.testSql(TrinoQueryIT.java:329)
at com.datastrato.gravitino.integration.test.trino.TrinoQueryTestTool.main(TrinoQueryTestTool.java:175)
Caused by: java.util.concurrent.ExecutionException: org.opentest4j.AssertionFailedError: Execute sql in the tester jdbc-mysql/00008_alter_catalog.sql under catalog mysql failed.
Sql:
select * from gravitino.system.catalog where name = 'gt_mysql_xxx1';
Expect:
"gt_mysql_xxx1","jdbc-mysql","{""jdbc-url"":""jdbc:mysql://%/?useSSL=false"",""jdbc-user"":""trino"",""jdbc-password"":""ds123"",""jdbc-driver"":""com.mysql.cj.jdbc.Driver""}"
Actual:
at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)
at com.datastrato.gravitino.integration.test.trino.TrinoQueryIT.waitForCompleted(TrinoQueryIT.java:339)
... 2 more
Caused by: org.opentest4j.AssertionFailedError: Execute sql in the tester jdbc-mysql/00008_alter_catalog.sql under catalog mysql failed.
Sql:
select * from gravitino.system.catalog where name = 'gt_mysql_xxx1';
Expect:
"gt_mysql_xxx1","jdbc-mysql","{""jdbc-url"":""jdbc:mysql://%/?useSSL=false"",""jdbc-user"":""trino"",""jdbc-password"":""ds123"",""jdbc-driver"":""com.mysql.cj.jdbc.Driver""}"
Actual:
at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:39)
at org.junit.jupiter.api.Assertions.fail(Assertions.java:134)
at com.datastrato.gravitino.integration.test.trino.TrinoQueryIT.executeSqlFileWithCheckResult(TrinoQueryIT.java:226)
at com.datastrato.gravitino.integration.test.trino.TrinoQueryIT.runOneTestSetWithCatalog(TrinoQueryIT.java:116)
at com.datastrato.gravitino.integration.test.trino.TrinoQueryIT.lambda$runOneTestset$5(TrinoQueryIT.java:364)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
Version
main branch
Describe what's wrong
Error message and/or stacktrace
2024-05-30 15:41:17 ERROR [pool-2-thread-1] TrinoQueryIT:225 - Execute sql in the tester jdbc-mysql/00008_alter_catalog.sql under catalog mysql failed. Sql: select * from gravitino.system.catalog where name = 'gt_mysql_xxx1'; Expect: "gt_mysql_xxx1","jdbc-mysql","{""jdbc-url"":""jdbc:mysql://%/?useSSL=false"",""jdbc-user"":""trino"",""jdbc-password"":""ds123"",""jdbc-driver"":""com.mysql.cj.jdbc.Driver""}" Actual:
Failed to execute test org.opentest4j.AssertionFailedError: Execute sql in the tester jdbc-mysql/00008_alter_catalog.sql under catalog mysql failed. Sql: select from gravitino.system.catalog where name = 'gt_mysql_xxx1'; Expect: java.lang.RuntimeException: Failed to execute test org.opentest4j.AssertionFailedError: Execute sql in the tester jdbc-mysql/00008_alter_catalog.sql under catalog mysql failed. Sql: select from gravitino.system.catalog where name = 'gt_mysql_xxx1'; Expect: "gt_mysql_xxx1","jdbc-mysql","{""jdbc-url"":""jdbc:mysql://%/?useSSL=false"",""jdbc-user"":""trino"",""jdbc-password"":""ds123"",""jdbc-driver"":""com.mysql.cj.jdbc.Driver""}" Actual:
"gt_mysql_xxx1","jdbc-mysql","{""jdbc-url"":""jdbc:mysql://%/?useSSL=false"",""jdbc-user"":""trino"",""jdbc-password"":""ds123"",""jdbc-driver"":""com.mysql.cj.jdbc.Driver""}" Actual:
Caused by: java.util.concurrent.ExecutionException: org.opentest4j.AssertionFailedError: Execute sql in the tester jdbc-mysql/00008_alter_catalog.sql under catalog mysql failed.
How to reproduce
Additional context
No response