You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Kai Jiang (JIRA)" <ji...@apache.org> on 2019/05/01 12:00:00 UTC

[jira] [Comment Edited] (CALCITE-3040) Avatica drops exception messages starting in 1.14.0

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

Kai Jiang edited comment on CALCITE-3040 at 5/1/19 11:59 AM:
-------------------------------------------------------------

[~apilloud] I think we should not only assert error message, but also assert exception / throwable.
W


was (Author: vectorijk):
[~apilloud] I think we should not only assert error message, but also assert exception / throwable.

[~zabetak] we might consider modifying the test on our side.

> Avatica drops exception messages starting in 1.14.0
> ---------------------------------------------------
>
>                 Key: CALCITE-3040
>                 URL: https://issues.apache.org/jira/browse/CALCITE-3040
>             Project: Calcite
>          Issue Type: Bug
>          Components: avatica
>    Affects Versions: avatica-1.14.0
>         Environment: Beam 2.13.0-SNAPSHOT
>  Avatica 1.14.0
> [https://github.com/apache/beam/pull/8437]
>            Reporter: Andrew Pilloud
>            Priority: Major
>             Fix For: avatica-1.15.0
>
>
> With Avatica 1.13.0 we get detailed exceptions:
> {code:java}
> Welcome to Beam SQL 2.13.0-SNAPSHOT (based on sqlline version 1.4.0)
> 0: BeamSQL> create external table testing (a int) type text location '/tmp/test';
> No rows affected (0.246 seconds)
> 0: BeamSQL> set runner = bogus;
> No rows affected (0.009 seconds)
> 0: BeamSQL> select * from testing;
> Error: Error while executing SQL "select * from testing": Unknown 'runner' specified 'bogus', supported pipeline runners [DirectRunner] (state=,code=0)
> 0: BeamSQL>
> {code}
> In 1.14.0 the details of the failure are missing:
> {code:java}
> Welcome to Beam SQL 2.13.0-SNAPSHOT (based on sqlline version 1.4.0)
> 0: BeamSQL> create external table testing (a int) type text location '/tmp/test';
> No rows affected (0.244 seconds)
> 0: BeamSQL> set runner = bogus;
> No rows affected (0.009 seconds)
> 0: BeamSQL> select * from testing;
> Error: Error while executing SQL "select * from testing" (state=,code=0)
> 0: BeamSQL>
> {code}
> This appears to be caused by CALCITE-2845



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)