Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-4052

Dynamic SQL exception should include evaluated sql

XMLWordPrintable

    • Icon: Quality Risk Quality Risk
    • Resolution: Done
    • Icon: Major Major
    • 9.0, 8.12.5, 8.13.2
    • 8.7
    • Query Engine
    • None

      When dynamic sql fails to plan correctly the exception message is simply re-displaying the expression form of the sql, rather than the evaluated form:

      TEIID30168 Couldn't execute the dynamic SQL command "EXECUTE IMMEDIATE x" with the SQL statement "x" due to: ...

      Should be the evaluated value of x, such as:

      statement "select something that doesn't work"

              rhn-engineering-shawkins Steven Hawkins
              rhn-engineering-shawkins Steven Hawkins
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: