hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <>
Subject [jira] [Commented] (HIVE-6945) issues with dropping partitions on Oracle
Date Thu, 24 Apr 2014 06:39:18 GMT


Ashutosh Chauhan commented on HIVE-6945:


> issues with dropping partitions on Oracle
> -----------------------------------------
>                 Key: HIVE-6945
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.13.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>         Attachments: HIVE-6945.01.patch, HIVE-6945.02.patch, HIVE-6945.patch
> 1) Direct SQL is broken on Oracle due to the usage of NUMBER type which is translated
by DN into decimal rather than long. This appears to be specific to some cases because it
seemed to have worked before (different version of Oracle? JDBC? DN? Maybe depends on whether
db was auto-created).
> 2) When partition dropping code falls back to JDO, it creates objects to return, then
drops partitions. It appears that dropping makes DN objects invalid. We create metastore partition
objects out of DN objects before drop, however the list of partition column values is re-used,
rather than copied, into these. DN appears to clear this list during drop, so the returned
object becomes invalid and the exception is thrown.

This message was sent by Atlassian JIRA

View raw message