Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-12381

QueryParser: propagate H2 ErrorCode to IgniteSQLException

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.7.6
    • Fix Version/s: None
    • Component/s: sql
    • Labels:
    • Ignite Flags:
      Release Notes Required

      Description

      QueryParser#parseH2 method generalizes all h2 error codes as IgniteQueryErrorCode.PARSING

      Whereas the actual error code could be more specific, like 

      TABLE_OR_VIEW_NOT_FOUND_1 = 42102

      Let's try to convert those codes into the appropriate IgniteQueryErrorCode values as well.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ashapkin Alexandr Shapkin
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: