[
https://issues.apache.org/jira/browse/HIVE-103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12653456#action_12653456
]
Zheng Shao commented on HIVE-103:
---------------------------------
One good thing about doing the check in compiler is that it's easier to output
some meaningful error message to the user.
The parser's error message probably won't be easy to understand, for this case.
> inserts allowed in subqueries by the parser
> -------------------------------------------
>
> Key: HIVE-103
> URL: https://issues.apache.org/jira/browse/HIVE-103
> Project: Hadoop Hive
> Issue Type: Bug
> Components: Query Processor
> Reporter: Namit Jain
> Assignee: Namit Jain
>
> SELECT * FROM (INSERT OVERWRITE TABLE T1 SELECT * FROM A ) y
> parses successfully. Parser needs to distinguish between top level and sub
> queries and act accordingly
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.