Uploaded image for project: 'Apache Trafodion (Retired)'
  1. Apache Trafodion (Retired)
  2. TRAFODION-803

LP Bug: 1398896 - Odd output when selecting a non-existent column

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.2-incubating
    • sql-cmp
    • None

    Description

      When running from sqlci, the compiler emits some odd output when you select a column that doesn't exist in a Trafodion table. Here's an example:

      >>create table temp (a integer not null, b integer, primary key (a));

      — SQL operation complete.
      >>select turkey from temp;
      TURKEY ( -99 -99) ( -99 -99) ( -99 -99)
      TURKEY ( -99 -99) ( -99 -99) ( -99 -99)

          • ERROR[4001] Column TURKEY is not found. Tables in scope: TRAFODION.SCH.TEMP. Default schema: TRAFODION.SCH.
          • ERROR[8822] The statement was not prepared.

      >>

      Attachments

        Activity

          People

            dbirdsall Dave Birdsall
            dbirdsall Dave Birdsall
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: