[ 
https://issues.apache.org/jira/browse/CALCITE-4828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

duan xiong updated CALCITE-4828:
--------------------------------
    Description: 
When build Avatica In Idea, A lot of message been output in console. The error 
doesn't affect the proceeding of the test suite, and doesn't fail the test. For 
example:
{noformat}
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)
{noformat}

  was:
When build Avatica In Idea, A lot of message been output in console. The error 
doesn't affect the proceeding of the test suite, and doesn't fail the test. For 
example:
{noformat}
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)
{noformat}


> Standard Avatica build exception console output
> -----------------------------------------------
>
>                 Key: CALCITE-4828
>                 URL: https://issues.apache.org/jira/browse/CALCITE-4828
>             Project: Calcite
>          Issue Type: Bug
>          Components: avatica
>    Affects Versions: avatica-1.18.0
>            Reporter: duan xiong
>            Assignee: duan xiong
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: avatica-1.19.0
>
>         Attachments: Build Avatica Apply the PR after.png, Build Avatica 
> Apply this PR before.png
>
>
> When build Avatica In Idea, A lot of message been output in console. The 
> error doesn't affect the proceeding of the test suite, and doesn't fail the 
> test. For example:
> {noformat}
> 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)
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to