[
https://issues.apache.org/jira/browse/CALCITE-4828?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17430768#comment-17430768
]
duan xiong commented on CALCITE-4828:
-------------------------------------
Fixed in
[95c1eb06|https://github.com/apache/calcite-avatica/commit/95c1eb06ecb9dbc85de6d12142b013271965c594].
> 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.19.0
> Reporter: duan xiong
> Assignee: duan xiong
> Priority: Major
> Labels: pull-request-available
> Fix For: avatica-1.20.0
>
> Attachments: Build Avatica Apply the PR after.png, Build Avatica
> Apply this PR before.png
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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:
> {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)