Uploaded image for project: 'Teiid Designer'
  1. Teiid Designer
  2. TEIIDDES-2888

Default value is not correctly parsed

    XMLWordPrintable

    Details

    • Steps to Reproduce:
      1. Open any relational table
      2. set default value to ('Stock') (screenshot1) for any column
      3. preview this table

      Description

      When I want preview data from my table (productdata in the project which is in the attachment), server shows me this error:
      TEIID31100 Parsing error: Encountered ") DEFAULT '('[*]Stock[*]')' OPTIONS"

      In one column I have default value ('Stock') (screenshot1)
      I am not sure whether it is the correct form of default value or not but in the old version of teiid designer preview this table works fine. I think that ddl parser is not able to parse this. (screenshot2)

        Gliffy Diagrams

          Attachments

          1. screenshot1.png
            50 kB
            Matej Kralik
          2. screenshot2.png
            159 kB
            Matej Kralik
          3. TeiidModelToDdlGeneratort.patch
            2 kB
            Barry LaFond

            Issue Links

              Activity

                People

                • Assignee:
                  blafond Barry LaFond
                  Reporter:
                  mkralik Matej Kralik
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: