[
https://issues.apache.org/jira/browse/HUDI-4476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ethan Guo updated HUDI-4476:
----------------------------
Description: For an empty relative partition path in non-partitioned table,
we use "." as the partition path identifier in the metadata table records. In
the code, there are various ways of doing such conversion, which makes it hard
to reason about. There is one bug caused by such complexity:
[https://github.com/apache/hudi/pull/6113|https://github.com/apache/hudi/pull/6113#discussion_r929275152].
We should standardize the way of such handling and make the code more
readable. (was: For an empty relative partition path in non-partitioned table,
we use "." as the partition path identifier in the metadata table records. In
the code, there are various ways of doing such conversion, which makes it hard
to reason about. We should standardize the way of such handling and make the
code more readable.)
> Improve code quality around partition path extraction and identifier
> --------------------------------------------------------------------
>
> Key: HUDI-4476
> URL: https://issues.apache.org/jira/browse/HUDI-4476
> Project: Apache Hudi
> Issue Type: Improvement
> Components: metadata
> Reporter: Ethan Guo
> Priority: Major
> Fix For: 0.13.0
>
>
> For an empty relative partition path in non-partitioned table, we use "." as
> the partition path identifier in the metadata table records. In the code,
> there are various ways of doing such conversion, which makes it hard to
> reason about. There is one bug caused by such complexity:
> [https://github.com/apache/hudi/pull/6113|https://github.com/apache/hudi/pull/6113#discussion_r929275152].
> We should standardize the way of such handling and make the code more
> readable.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)