[jira] [Commented] (HIVE-2003) LOAD compilation does not set the outputs during semantic analysis resulting in no authorization checks being done for it.
[ https://issues.apache.org/jira/browse/HIVE-2003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13009772#comment-13009772 ] Namit Jain commented on HIVE-2003: -- Instead of adding a new configuration parameter which is being checked in EnforceReadOnlyTables, it might be easier to remove EnforceReadOnlyTables from the hive.exec.pre.hooks at creation time. But, this can be done in a follow-up also (if other things look good). Will commit if tests pass, please file a follow-up jira for the cleanup mentioned above. > LOAD compilation does not set the outputs during semantic analysis resulting > in no authorization checks being done for it. > -- > > Key: HIVE-2003 > URL: https://issues.apache.org/jira/browse/HIVE-2003 > Project: Hive > Issue Type: Bug > Components: Query Processor >Reporter: Krishna Kumar >Assignee: Krishna Kumar >Priority: Minor > Attachments: HIVE-2003.patch.1.txt, HIVE-2003.patch.txt > > > The table/partition being loaded is not being added to outputs in the > LoadSemanticAnalyzer. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-2003) LOAD compilation does not set the outputs during semantic analysis resulting in no authorization checks being done for it.
[ https://issues.apache.org/jira/browse/HIVE-2003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13009739#comment-13009739 ] Namit Jain commented on HIVE-2003: -- I will take a look right away > LOAD compilation does not set the outputs during semantic analysis resulting > in no authorization checks being done for it. > -- > > Key: HIVE-2003 > URL: https://issues.apache.org/jira/browse/HIVE-2003 > Project: Hive > Issue Type: Bug > Components: Query Processor >Reporter: Krishna Kumar >Assignee: Krishna Kumar >Priority: Minor > Attachments: HIVE-2003.patch.1.txt, HIVE-2003.patch.txt > > > The table/partition being loaded is not being added to outputs in the > LoadSemanticAnalyzer. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-2003) LOAD compilation does not set the outputs during semantic analysis resulting in no authorization checks being done for it.
[ https://issues.apache.org/jira/browse/HIVE-2003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13009203#comment-13009203 ] Krishna Kumar commented on HIVE-2003: - For #4 above, I have taken now the same approach as in TestCliDriver/TestNegativeCliDriver, reusing the QTestUtil instance. Needed to clear out inputs/outputs for this to work. > LOAD compilation does not set the outputs during semantic analysis resulting > in no authorization checks being done for it. > -- > > Key: HIVE-2003 > URL: https://issues.apache.org/jira/browse/HIVE-2003 > Project: Hive > Issue Type: Bug > Components: Query Processor >Reporter: Krishna Kumar >Assignee: Krishna Kumar >Priority: Minor > Attachments: HIVE-2003.patch.1.txt, HIVE-2003.patch.txt > > > The table/partition being loaded is not being added to outputs in the > LoadSemanticAnalyzer. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-2003) LOAD compilation does not set the outputs during semantic analysis resulting in no authorization checks being done for it.
[ https://issues.apache.org/jira/browse/HIVE-2003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13009202#comment-13009202 ] Krishna Kumar commented on HIVE-2003: - Added to review board: https://reviews.apache.org/r/518/ > LOAD compilation does not set the outputs during semantic analysis resulting > in no authorization checks being done for it. > -- > > Key: HIVE-2003 > URL: https://issues.apache.org/jira/browse/HIVE-2003 > Project: Hive > Issue Type: Bug > Components: Query Processor >Reporter: Krishna Kumar >Assignee: Krishna Kumar >Priority: Minor > Attachments: HIVE-2003.patch.1.txt, HIVE-2003.patch.txt > > > The table/partition being loaded is not being added to outputs in the > LoadSemanticAnalyzer. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (HIVE-2003) LOAD compilation does not set the outputs during semantic analysis resulting in no authorization checks being done for it.
[ https://issues.apache.org/jira/browse/HIVE-2003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13008697#comment-13008697 ] Namit Jain commented on HIVE-2003: -- Can you regenerate the patch ? I was having trouble applying it ? Also, can you create a review-board request ? > LOAD compilation does not set the outputs during semantic analysis resulting > in no authorization checks being done for it. > -- > > Key: HIVE-2003 > URL: https://issues.apache.org/jira/browse/HIVE-2003 > Project: Hive > Issue Type: Bug > Components: Query Processor >Reporter: Krishna Kumar >Assignee: Krishna Kumar >Priority: Minor > Attachments: HIVE-2003.patch.txt > > > The table/partition being loaded is not being added to outputs in the > LoadSemanticAnalyzer. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (HIVE-2003) LOAD compilation does not set the outputs during semantic analysis resulting in no authorization checks being done for it.
[ https://issues.apache.org/jira/browse/HIVE-2003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12998276#comment-12998276 ] Krishna Kumar commented on HIVE-2003: - 6. Loading a partitioned table without specifying partitions was being validated only if OVERWRITE was specified. This is not right IMO, so fixed this as well. > LOAD compilation does not set the outputs during semantic analysis resulting > in no authorization checks being done for it. > -- > > Key: HIVE-2003 > URL: https://issues.apache.org/jira/browse/HIVE-2003 > Project: Hive > Issue Type: Bug > Components: Query Processor >Reporter: Krishna Kumar >Assignee: Krishna Kumar >Priority: Minor > Attachments: HIVE-2003.patch.txt > > > The table/partition being loaded is not being added to outputs in the > LoadSemanticAnalyzer. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira