You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ashutosh Chauhan (JIRA)" <ji...@apache.org> on 2013/06/03 01:06:20 UTC

[jira] [Commented] (HIVE-4615) Invalid column names allowed when created dynamically by a SerDe

    [ https://issues.apache.org/jira/browse/HIVE-4615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13672709#comment-13672709 ] 

Ashutosh Chauhan commented on HIVE-4615:
----------------------------------------

+1
                
> Invalid column names allowed when created dynamically by a SerDe
> ----------------------------------------------------------------
>
>                 Key: HIVE-4615
>                 URL: https://issues.apache.org/jira/browse/HIVE-4615
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Gabriel Reid
>         Attachments: HIVE-4615.1.patch.txt
>
>
> When a SerDe creates columns dynamically during table creation, there is no checking done on the validity of the created column names. This means that it's possible to create a table that contains columns that can't be queried, and will lead to issues when trying to query the created table.
> The same column name validation should be performed for dynamically-created columns as for other column names.
> This behavior can be easily tested using the TestSerDe, and including a column name that includes an invalid identifier character (e.g. a period) in the list of columns to create.

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