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

Avatica JDBC methods should throw SQLFeatureNotSupportedException

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.0-incubating
    • Component/s: None
    • Labels:
      None

      Description

      The unsupported JDBC method are throwing UnsupportedOperationException.

      This cause calcite jdbc client program fail to catch the exception and goes to unhandled exception routine.

      For example
      AvaticaStatement.java
      public boolean getMoreResults() throws SQLException

      { throw new UnsupportedOperationException(); }

      The expected exception for this is SQLFeatureNotSupportedException (a subclass of SQLException).

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              julianhyde Julian Hyde
              Reporter:
              jiunnjye Ng Jiunn Jye

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment