Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-1985

Teiid DDL parser throws exception parsing column with object datatype

    XMLWordPrintable

Details

    Description

      The TeiidDDL parser throws an exception when parsing the following DDL statement:

      CREATE FOREIGN TABLE "gp_toolkit.gp_log_command_timings" (
      	logduration object(49) OPTIONS (NAMEINSOURCE '"logduration"', NATIVE_TYPE 'interval')
      ) OPTIONS (NAMEINSOURCE '"gp_toolkit"."gp_log_command_timings"', UPDATABLE TRUE);
      

      The problem is encountered parsing the logduration column of type object, with the TeiidDdlParsingException(Unparsable table body) being thrown at line 368 of org.modeshape.sequencer.ddl.dialect.teiid.CreateTableParser.

      will link the related teiid issue.

      Attachments

        Issue Links

          Activity

            People

              dflorian@redhat.com Daniel Florian (Inactive)
              mdrillin1@redhat.com Mark Drilling (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: