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

Josh Elser commented on CALCITE-645:
------------------------------------

bq. The data model is basically the same as JDBC returning a list of 
SQLException objects, so the data passing over the Avatica protocol should look 
similar.

Great. Thanks for that pointer. I've been a little mystified about what ODBC 
actually looks like (aside from what I can see in Hive) :)

bq. Note that Bruno Dumon's patch to CALCITE-912 does some work on exception 
handling.

Thanks, I hadn't paid close enough attention to the changes there. I'll take a 
look.

> Pass server-side exceptions back to the client
> ----------------------------------------------
>
>                 Key: CALCITE-645
>                 URL: https://issues.apache.org/jira/browse/CALCITE-645
>             Project: Calcite
>          Issue Type: Improvement
>          Components: avatica
>            Reporter: Nick Dimiduk
>            Assignee: Josh Elser
>
> Avatica RPC response objects should contain an exception field that can be 
> deserialized and re-thrown on the client side. That way client sees stack 
> traces that are more meaningful than "500 error".



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to