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

[jira] [Updated] (HUDI-3532) Refactor FileSystemBackedTableMetadata and related classes to support getColumnStats directly

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

Sagar Sumit updated HUDI-3532:
------------------------------
    Fix Version/s: 0.12.1
                       (was: 0.12.0)

> Refactor FileSystemBackedTableMetadata and related classes to support getColumnStats directly
> ---------------------------------------------------------------------------------------------
>
>                 Key: HUDI-3532
>                 URL: https://issues.apache.org/jira/browse/HUDI-3532
>             Project: Apache Hudi
>          Issue Type: Improvement
>          Components: code-quality, writer-core
>            Reporter: Ethan Guo
>            Priority: Minor
>             Fix For: 0.12.1
>
>
> The api {{getColumnStats}} is not supported in FileSystemBackedTableMetadata:
> {code:java}
> @Override
>   public Map<Pair<String, String>, HoodieMetadataColumnStats> getColumnStats(final List<Pair<String, String>> partitionNameFileNameList, final String columnName)
>       throws HoodieMetadataException {
>     throw new HoodieMetadataException("Unsupported operation: getColumnsStats!");
>   } {code}
> It's better to support column stats without metadata table from FileSystemBackedTableMetadata as well to unify the logic around col stats and reduce the special-cased logic for col stats between metadata table vs file system backed metadata.



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