You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "John Bodley (Jira)" <ji...@apache.org> on 2021/08/11 21:23:00 UTC

[jira] [Comment Edited] (CALCITE-4727) Possible incorrect RpcMetadata JSON reference

    [ https://issues.apache.org/jira/browse/CALCITE-4727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17397644#comment-17397644 ] 

John Bodley edited comment on CALCITE-4727 at 8/11/21, 9:22 PM:
----------------------------------------------------------------

I was testing using {{avatica-1.17.0.jar}} (somewhat akin to [these|https://community.tableau.com/s/question/0D54T00000OPNZtSAP/how-to-connect-tableau-with-druid-latest-version-of-tableau-2020] instructions) and Tableau was inoperable without including a `response` field within the RpcMetadata object. Maybe this logic has changed.

That said [~elserj] per your comment the code snippet does say {{RpcMetadataResponse}}, i.e., includes the term `response` for the JSON messages, and per [here|https://github.com/apache/calcite-avatica/blob/89e0deb510311b85b8c8bacde6d2ff70c309930e/core/src/main/java/org/apache/calcite/avatica/remote/Service.java#L2668-L2678] (as mentioned in the issue description) it seems like the RpcMetdaata is somewhat of an atypical [miscellaneous|https://calcite.apache.org/avatica/docs/json_reference.html#miscellaneous] type.


was (Author: john.bodley@gmail.com):
I was testing using {{avatica-1.17.0.jar}} (somewhat akin to [these|https://community.tableau.com/s/question/0D54T00000OPNZtSAP/how-to-connect-tableau-with-druid-latest-version-of-tableau-2020] instructions) and Tableau was inoperable without including a `response` field within the RpcMetadata object. Maybe this logic has changed.

That said [~elserj] per your comment the code snippet does say {{RpcMetadataResponse}}, i.e., includes the term `response` and per [here|https://github.com/apache/calcite-avatica/blob/89e0deb510311b85b8c8bacde6d2ff70c309930e/core/src/main/java/org/apache/calcite/avatica/remote/Service.java#L2668-L2678] (as mentioned in the issue description) it seems like the RpcMetdaata is somewhat of an atypical [miscellaneous|https://calcite.apache.org/avatica/docs/json_reference.html#miscellaneous] type.

> Possible incorrect RpcMetadata JSON reference
> ---------------------------------------------
>
>                 Key: CALCITE-4727
>                 URL: https://issues.apache.org/jira/browse/CALCITE-4727
>             Project: Calcite
>          Issue Type: Bug
>          Components: avatica
>            Reporter: John Bodley
>            Priority: Trivial
>
> Per [CALCITE-4367|https://issues.apache.org/jira/browse/CALCITE-4367] the RpMetadata JSON reference is missing the required `response` field. As discussed in the issue and per [here|https://github.com/apache/calcite-avatica/blob/89e0deb510311b85b8c8bacde6d2ff70c309930e/core/src/main/java/org/apache/calcite/avatica/remote/Service.java#L2668-L2678], though this isn't an actual response is does seem to expect a response type signature. 



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