[ https://issues.apache.org/jira/browse/CALCITE-5868?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benchao Li resolved CALCITE-5868. --------------------------------- Fix Version/s: 1.37.0 Resolution: Fixed Fixed via CALCITE-6048 > ServerTest#testCreateSchema is unstable > --------------------------------------- > > Key: CALCITE-5868 > URL: https://issues.apache.org/jira/browse/CALCITE-5868 > Project: Calcite > Issue Type: Improvement > Components: tests > Affects Versions: 1.35.0 > Reporter: Benchao Li > Priority: Minor > Fix For: 1.37.0 > > > The stack trace is below, it reproduced on my mac M2 laptop, and I also see > this happened in CI sometimes. > {code:java} > FAILURE 7.7sec, org.apache.calcite.test.ServerTest > testCreateSchema() > java.sql.SQLException: Error while executing SQL "create schema s": > Method not found: execute([class org.apache.calcite.sql.SqlNode, interface > org.apache.calcite.jdbc.CalcitePrepare$Context]) > at org.apache.calcite.avatica.Helper.createException(Helper.java:56) > at org.apache.calcite.avatica.Helper.createException(Helper.java:41) > at > org.apache.calcite.avatica.AvaticaStatement.executeInternal(AvaticaStatement.java:164) > at > org.apache.calcite.avatica.AvaticaStatement.execute(AvaticaStatement.java:218) > at > org.apache.calcite.test.ServerTest.testCreateSchema(ServerTest.java:123) > Next exception 1: [CIRCULAR REFERENCE SQLException] > Next exception 2: java.lang.IllegalArgumentException: Method not > found: execute([class org.apache.calcite.sql.SqlNode, interface > org.apache.calcite.jdbc.CalcitePrepare$Context]) > at > org.apache.calcite.util.ReflectUtil$2.lookupMethod(ReflectUtil.java:564) > at > org.apache.calcite.util.ReflectUtil$2.invoke(ReflectUtil.java:528) > at > org.apache.calcite.server.DdlExecutorImpl.executeDdl(DdlExecutorImpl.java:41) > at > org.apache.calcite.prepare.CalcitePrepareImpl.executeDdl(CalcitePrepareImpl.java:372) > at > org.apache.calcite.prepare.CalcitePrepareImpl.prepare2_(CalcitePrepareImpl.java:652) > at > org.apache.calcite.prepare.CalcitePrepareImpl.prepare_(CalcitePrepareImpl.java:519) > at > org.apache.calcite.prepare.CalcitePrepareImpl.prepareSql(CalcitePrepareImpl.java:487) > at > org.apache.calcite.jdbc.CalciteConnectionImpl.parseQuery(CalciteConnectionImpl.java:236) > at > org.apache.calcite.jdbc.CalciteMetaImpl.prepareAndExecute(CalciteMetaImpl.java:630) > at > org.apache.calcite.avatica.AvaticaConnection.prepareAndExecuteInternal(AvaticaConnection.java:677) > at > org.apache.calcite.avatica.AvaticaStatement.executeInternal(AvaticaStatement.java:157) > ... 2 more > Caused by: [CIRCULAR REFERENCE IllegalArgumentException] > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)