You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Zhaojing Yu (Jira)" <ji...@apache.org> on 2022/10/17 08:43:00 UTC

[jira] [Updated] (HUDI-4613) Avoid the use of regex expressions when call hoodieFileGroup#addLogFile function

     [ https://issues.apache.org/jira/browse/HUDI-4613?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhaojing Yu updated HUDI-4613:
------------------------------
    Fix Version/s: 0.12.2
                       (was: 0.12.1)

> Avoid the use of regex expressions when call hoodieFileGroup#addLogFile function
> --------------------------------------------------------------------------------
>
>                 Key: HUDI-4613
>                 URL: https://issues.apache.org/jira/browse/HUDI-4613
>             Project: Apache Hudi
>          Issue Type: Improvement
>          Components: core
>            Reporter: lei w
>            Assignee: lei w
>            Priority: Critical
>              Labels: pull-request-available
>             Fix For: 0.12.2
>
>
> When the number of logFile files exceeds a certain amount of data, the construction of fsview will become very time-consuming. The reason is that the LogFileComparator#compare method is frequently called when constructing a filegroup, and regular expressions are used in this method.
> {panel:title=build FileSystemView Log }
>  INFO view.AbstractTableFileSystemView: addFilesToView: NumFiles=60801, NumFileGroups=200, FileGroupsCreationTime=34036, StoreTimeTaken=2
> {panel}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)