hive-issues mailing list archives

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


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:
>             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

View raw message