hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gabriel Reid (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-4615) Invalid column names allowed when created dynamically by a SerDe
Date Mon, 27 May 2013 07:14:19 GMT

     [ https://issues.apache.org/jira/browse/HIVE-4615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gabriel Reid updated HIVE-4615:
-------------------------------

    Attachment: HIVE-4615.1.patch.txt

Patch with fix and test to demonstrate issue.
                
> 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

Mime
View raw message