You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Andrew Pilloud (JIRA)" <ji...@apache.org> on 2019/04/30 18:36:00 UTC

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

Andrew Pilloud created CALCITE-3040:
---------------------------------------

             Summary: 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: SQLline 1.4.0
Beam 2.13.0-SNAPSHOT
Avatica 1.14.0

[https://github.com/apache/beam/pull/8437]
            Reporter: Andrew Pilloud


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)