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

Default value is not correctly parsed

    XMLWordPrintable

Details

      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)

      Attachments

        1. ProductProject.zip
          26 kB
        2. screenshot1.png
          screenshot1.png
          50 kB
        3. screenshot2.png
          screenshot2.png
          159 kB
        4. TeiidModelToDdlGeneratort.patch
          2 kB

        Issue Links

          Activity

            People

              blafond Barry LaFond
              mkralik@redhat.com Matej Kralik
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: