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

Standard Avatica build exception console output

    XMLWordPrintableJSON

Details

    Description

      When building Avatica In Idea, A lot of messages have been output in the console. The error doesn't affect the proceeding of the test suite and doesn't fail the test. It's not standard. For example:

      org.apache.calcite.avatica.RemoteDriverTest > 
      testPrepareBindExecuteFetch[PROTOBUF] 
      STANDARD_ERRORorg.apache.calcite.avatica.RemoteDriverTest > 
      testPrepareBindExecuteFetch[PROTOBUF] STANDARD_ERROR 
      java.lang.RuntimeException: java.lang.RuntimeException: java.sql.SQLException: exception while executing query: unbound parameter
      at org.apache.calcite.avatica.RemoteDriverTest$LoggingLocalProtobufService._apply(RemoteDriverTest.java:1875)     
      at org.apache.calcite.avatica.remote.ProtobufService.apply(ProtobufService.java:97)    
      at org.apache.calcite.avatica.remote.RemoteMeta$15.call(RemoteMeta.java:345)  at org.apache.calcite.avatica.remote.RemoteMeta$15.call(RemoteMeta.java:343)  at org.apache.calcite.avatica.AvaticaConnection.invokeWithRetries(AvaticaConnection.java:793)
      at org.apache.calcite.avatica.remote.RemoteMeta.execute(RemoteMeta.java:342)  at org.apache.calcite.avatica.AvaticaConnection.executeQueryInternal(AvaticaConnection.java:548)
      at org.apache.calcite.avatica.AvaticaPreparedStatement.executeQuery(AvaticaPreparedStatement.java:137)
      at org.apache.calcite.avatica.RemoteDriverTest.checkPrepareBindExecuteFetch(RemoteDriverTest.java:913)
      at org.apache.calcite.avatica.RemoteDriverTest.testPrepareBindExecuteFetch(RemoteDriverTest.java:892)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      

      Attachments

        1. Build Avatica Apply this PR before.png
          318 kB
          xiong duan
        2. Build Avatica Apply the PR after.png
          30 kB
          xiong duan

        Issue Links

          Activity

            People

              nobigo xiong duan
              nobigo xiong duan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m