[ https://issues.apache.org/jira/browse/HIVE-4615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13674229#comment-13674229 ]
Hudson commented on HIVE-4615: ------------------------------ Integrated in Hive-trunk-hadoop2 #224 (See [https://builds.apache.org/job/Hive-trunk-hadoop2/224/]) 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