[ 
https://issues.apache.org/jira/browse/HIVE-21177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16756350#comment-16756350
 ] 

Eugene Koifman commented on HIVE-21177:
---------------------------------------

        ParsedDeltaLight pd = 
ParsedDeltaLight.parse(fs.getFileStatus(baseOrDeltaDir));

{{fs.getFileStatus(baseOrDeltaDir)}} is counted - it wasn't performed before.

I removed some of the comments since they were clearly out of date (even before 
the current patch)


> Optimize AcidUtils.getLogicalLength()
> -------------------------------------
>
>                 Key: HIVE-21177
>                 URL: https://issues.apache.org/jira/browse/HIVE-21177
>             Project: Hive
>          Issue Type: Bug
>          Components: Transactions
>    Affects Versions: 3.0.0
>            Reporter: Eugene Koifman
>            Assignee: Eugene Koifman
>            Priority: Major
>         Attachments: HIVE-21177.01.patch, HIVE-21177.02.patch
>
>
> {{AcidUtils.getLogicalLength()}} - tries look for the side file 
> {{OrcAcidUtils.getSideFile()}} on the file system even when the file couldn't 
> possibly be there, e.g. when the path is delta_x_x or base_x.  It could only 
> be there in delta_x_y, x != y.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to