[teiid-issues] [JBoss JIRA] (TEIID-2565) Problem with DDL returned via admin api - column has erroneous datatype

Steven Hawkins (JIRA) jira-events at lists.jboss.org
Tue Jul 2 11:30:21 EDT 2013


    [ https://issues.jboss.org/browse/TEIID-2565?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12787008#comment-12787008 ] 

Steven Hawkins commented on TEIID-2565:
---------------------------------------

I think it's fine to have length on the object type.  We should instead update the parser to accept the length for object as well.
                
> Problem with DDL returned via admin api - column has erroneous datatype
> -----------------------------------------------------------------------
>
>                 Key: TEIID-2565
>                 URL: https://issues.jboss.org/browse/TEIID-2565
>             Project: Teiid
>          Issue Type: Bug
>          Components: AdminApi
>    Affects Versions: 8.4
>            Reporter: Mark Drilling
>            Assignee: Ramesh Reddy
>
> Deployed a greenplum datasource, then deployed a dynamic vdb and did a getSchema via the admin api.  One of the tables in the ddl contains a column as shown in the following ddl snippet:
> 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 logduration type of object erroneously has a length.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the teiid-issues mailing list