Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-6048

'CIRCULAR REFERENCE' exception is throwed in ServerTest#testTruncateTable method

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.37.0
    • None

    Description

      When I submit my pr,and there is a pipeline job's exception,the exception stack is :

      java.sql.SQLException: Error while executing SQL "create table t (i int not null)": 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.testTruncateTable(ServerTest.java:283)
              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:565)
                  at org.apache.calcite.util.ReflectUtil$2.invoke(ReflectUtil.java:529)
                  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:653)
                  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:702)
                  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] 

      The complete exception could see:

      This looks like a multithreading Bug, but I'm not sure.
      The pipeline job link:https://ci-builds.apache.org/blue/organizations/jenkins/Calcite%2FCalcite-sonar/detail/PR-3465/1/pipeline/

      Attachments

        Issue Links

          Activity

            People

              libenchao Benchao Li
              shenlang LakeShen
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: