[
https://issues.apache.org/jira/browse/HIVE-103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12652643#action_12652643
]
Zheng Shao commented on HIVE-103:
---------------------------------
I guess you mean that Parser needs to distinguish queries that produce results
and those that does not? Like functions with or without returning values?
how do you compare that with doing the check in the compiler step?
> 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.