[jira] [Work logged] (HIVE-23799) Fix AcidUtils.parseBaseOrDeltaBucketFilename handling of data loaded by LOAD DATA

2020-07-06 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/HIVE-23799?focusedWorklogId=454981=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-454981
 ]

ASF GitHub Bot logged work on HIVE-23799:
-

Author: ASF GitHub Bot
Created on: 06/Jul/20 17:43
Start Date: 06/Jul/20 17:43
Worklog Time Spent: 10m 
  Work Description: pvary merged pull request #1204:
URL: https://github.com/apache/hive/pull/1204


   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 454981)
Time Spent: 20m  (was: 10m)

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


[jira] [Work logged] (HIVE-23799) Fix AcidUtils.parseBaseOrDeltaBucketFilename handling of data loaded by LOAD DATA

2020-07-03 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/HIVE-23799?focusedWorklogId=454416=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-454416
 ]

ASF GitHub Bot logged work on HIVE-23799:
-

Author: ASF GitHub Bot
Created on: 03/Jul/20 12:32
Start Date: 03/Jul/20 12:32
Worklog Time Spent: 10m 
  Work Description: pvary opened a new pull request #1204:
URL: https://github.com/apache/hive/pull/1204


   * Removed copyNumber attribute
   * Used parseDelta which does not try to access the actual file
   * Fixed handling of files like "table/delta_002_002_/12_0"
   * Added test for this case
   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 454416)
Remaining Estimate: 0h
Time Spent: 10m

> 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
>  Time Spent: 10m
>  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)