[ https://issues.apache.org/jira/browse/HIVE-4350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13646150#comment-13646150 ]
Hudson commented on HIVE-4350: ------------------------------ Integrated in Hive-trunk-h0.21 #2086 (See [https://builds.apache.org/job/Hive-trunk-h0.21/2086/]) HIVE-4350 : support AS keyword for table alias (Matthew Weaver via Ashutosh Chauhan) (Revision 1477481) Result = FAILURE hashutosh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1477481 Files : * /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/FromClauseParser.g * /hive/trunk/ql/src/test/queries/clientpositive/input4.q * /hive/trunk/ql/src/test/results/clientpositive/input4.q.out > support AS keyword for table alias > ---------------------------------- > > Key: HIVE-4350 > URL: https://issues.apache.org/jira/browse/HIVE-4350 > Project: Hive > Issue Type: Bug > Components: SQL > Affects Versions: 0.10.0, 0.11.0 > Reporter: Thejas M Nair > Assignee: Matthew Weaver > Fix For: 0.12.0 > > Attachments: HIVE-4350.D10503.1.patch, HIVE-4350.D10503.2.patch, > HIVE-4350.D10503.3.patch > > > SQL standard supports AS optional keyword, while creating an table alias. > http://savage.net.au/SQL/sql-92.bnf.html#table reference > Hive gives a error when the optional keyword is used - > select * from tiny as t1; > org.apache.hive.service.cli.HiveSQLException: Error while processing > statement: FAILED: ParseException line 1:19 mismatched input 'as' expecting > EOF near 'tiny' -- 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