Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-3040

Avatica drops exception messages starting in 1.14.0

    XMLWordPrintableJSON

    Details

      Description

      With Avatica 1.13.0 we get detailed exceptions:

      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>
      

      In 1.14.0 the details of the failure are missing:

      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>
      

      This appears to be caused by CALCITE-2845

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                apilloud Andrew Pilloud
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: