hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-4615) Invalid column names allowed when created dynamically by a SerDe
Date Tue, 04 Jun 2013 04:09:25 GMT

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

Hudson commented on HIVE-4615:
------------------------------

Integrated in Hive-trunk-h0.21 #2126 (See [https://builds.apache.org/job/Hive-trunk-h0.21/2126/])
    HIVE-4615 : Invalid column names allowed when created dynamically by a SerDe (Gabriel
Reid via Ashutosh Chauhan) (Revision 1489013)

     Result = FAILURE
hashutosh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1489013
Files : 
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/metadata/Table.java
* /hive/trunk/ql/src/test/queries/clientnegative/invalid_columns.q
* /hive/trunk/ql/src/test/results/clientnegative/invalid_columns.q.out

                
> 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
>            Assignee: Gabriel Reid
>             Fix For: 0.12.0
>
>         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