You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Peter Vary (Jira)" <ji...@apache.org> on 2020/07/06 17:48:00 UTC
[jira] [Resolved] (HIVE-23799) Fix
AcidUtils.parseBaseOrDeltaBucketFilename handling of data loaded by LOAD
DATA
[ https://issues.apache.org/jira/browse/HIVE-23799?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Vary resolved HIVE-23799.
-------------------------------
Fix Version/s: 4.0.0
Resolution: Fixed
Pushed to master.
Thanks for the review [~kuczoram]!
> Fix AcidUtils.parseBaseOrDeltaBucketFilename handling of data loaded by LOAD DATA
> ---------------------------------------------------------------------------------
>
> Key: HIVE-23799
> URL: https://issues.apache.org/jira/browse/HIVE-23799
> Project: Hive
> Issue Type: Bug
> Components: Transactions
> Reporter: Peter Vary
> Assignee: Peter Vary
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.0.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Currently the {{AcidUtils.parseBaseOrDeltaBucketFilename}} considers files loaded to the table as original base files. We should fix that.
> Also by checking the code for {{AcidUtils.parseBaseOrDeltaBucketFilename}}, I have found 2 things:
> * The attribute {{copyNumber}} is not used anymore, so we should remove it
> * The version of the {{parsedDelta}} we use here tries to check if the files are in raw format, or not. We do not need this information here, so we can use a different implementation of {{parseDelta}}, and avoid a remote call and file read.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)