Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-1758

Impala ODBC Driver returns incorrect SQLState for "Table does not exist"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • Impala 2.1.1
    • None
    • Clients

    Description

      ODBC specification states that an ODBC driver should return SQLState 42S02 for a "Table does not exist" condition, but the Impala ODBC driver (version 2.5.23 on Windows 7) is currently returning HY000 instead. Applications check for specific SQLStates to make better code choices and rely on those SQLStates to be accurate. The HY000 SQLState only indicates "General error".

      This can be reproduced with any ODBC application that displays detailed error messages by simply executing:

      SELECT * FROM tablethatdoesnotexist

      Attachments

        Activity

          People

            Unassigned Unassigned
            viji_r Viji
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: