hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Gates (JIRA)" <>
Subject [jira] [Commented] (HIVE-14726) delete statement fails when spdo is on
Date Fri, 09 Sep 2016 23:35:21 GMT


Alan Gates commented on HIVE-14726:

I think the issue is that SortDynPartitionOptimizer is using the bucket column numbers to
index into the array of columns.  UpdateDeleteSemanticAnalyzer is rewriting a delete query
into an insert that contains only partition columns (see around line 150ff).  This means the
bucket columns aren't in the rewritten query.  The bucket id is present since it's part of
the ROW__ID, but we may need to write special code in SDPO to fetch it from there rather than
look for the column.

> delete statement fails when spdo is on
> --------------------------------------
>                 Key: HIVE-14726
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: Logical Optimizer
>    Affects Versions: 2.1.0
>            Reporter: Deepesh Khandelwal
>            Assignee: Ashutosh Chauhan
>         Attachments: HIVE-14726.patch

This message was sent by Atlassian JIRA

View raw message