You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Peter Vary (Jira)" <ji...@apache.org> on 2020/07/03 12:27:00 UTC
[jira] [Created] (HIVE-23799) Fix
AcidUtils.parseBaseOrDeltaBucketFilename handling of data loaded by LOAD
DATA
Peter Vary created HIVE-23799:
---------------------------------
Summary: 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
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)