You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Eric Lomore (JIRA)" <ji...@apache.org> on 2016/10/03 20:38:21 UTC
[jira] [Commented] (PHOENIX-3345) SQLException code's not
propagating as expected
[ https://issues.apache.org/jira/browse/PHOENIX-3345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15543352#comment-15543352 ]
Eric Lomore commented on PHOENIX-3345:
--------------------------------------
Here's a test case that demonstrates this issue.
!variablestate.png!
> SQLException code's not propagating as expected
> -----------------------------------------------
>
> Key: PHOENIX-3345
> URL: https://issues.apache.org/jira/browse/PHOENIX-3345
> Project: Phoenix
> Issue Type: Sub-task
> Reporter: Eric Lomore
> Attachments: variablestate.png
>
>
> Perhaps this is intended by Calcite, but when errors are thrown by execute() functions the error code that is initially thrown (say 1000) does not make its way to the final SQLException on top.
> Particularly prevalent in those test cases in QueryCompilerTest.java
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)