[teiid-issues] [JBoss JIRA] (TEIID-2524) Hive metadata import leaves whitespace characters in column names

Steven Hawkins (JIRA) jira-events at lists.jboss.org
Tue Jun 4 10:29:54 EDT 2013


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

Steven Hawkins commented on TEIID-2524:
---------------------------------------

I'll go ahead and add an import property to trim column names so that we can workaround this on our side until their fix is in.
                
> Hive metadata import leaves whitespace characters in column names
> -----------------------------------------------------------------
>
>                 Key: TEIID-2524
>                 URL: https://issues.jboss.org/browse/TEIID-2524
>             Project: Teiid
>          Issue Type: Bug
>          Components: Misc. Connectors
>    Affects Versions: 8.4
>            Reporter: Filip Nguyen
>            Assignee: Steven Hawkins
>
> When hive translator starts with the newest Hive it runs "describe" command which returns Hive column names with white spaces.
> Maybe just use trim() in HiveMetadataProcessor.java?  
>   String name = rs.getString(1).trim();

--
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