hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thejas M Nair (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-14262) Inherit writetype from partition WriteEntity for table WriteEntity
Date Mon, 18 Jul 2016 19:59:20 GMT

    [ https://issues.apache.org/jira/browse/HIVE-14262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15382952#comment-15382952
] 

Thejas M Nair commented on HIVE-14262:
--------------------------------------

The 2.patch won't need the .q.out files to be updated. In 1.patch, I changed the WriteEntity.equals
method thinking that it is necessary to prevent any writeentity getting added as part of the
loop over partitions from overwriting ones already added by SemanticAnalyzer, just in case
it has the more accurate writeType.
But on taking a closer look at the Sets.union method, that wasn't necessary, and I added comment
around that in 2.patch.


> Inherit writetype from partition WriteEntity for table WriteEntity
> ------------------------------------------------------------------
>
>                 Key: HIVE-14262
>                 URL: https://issues.apache.org/jira/browse/HIVE-14262
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>         Attachments: HIVE-14262.1.patch, HIVE-14262.2.patch
>
>
> For partitioned table operations, a Table WriteEntity is being added to the list to be
authorized if there is a partition in the output list from semantic analyzer. 
> However, it is being added with a default WriteType of DDL_NO_TASK.
> The new Table WriteEntity should be created with the WriteType of the partition WriteEntity.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message