You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "sivabalan narayanan (Jira)" <ji...@apache.org> on 2025/02/01 05:11:01 UTC
[jira] [Updated] (HUDI-7952) Incorrect partition pruning when TimestampBasedKeyGenerator is used in partition column
[ https://issues.apache.org/jira/browse/HUDI-7952?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
sivabalan narayanan updated HUDI-7952:
--------------------------------------
Fix Version/s: 1.0.2
> Incorrect partition pruning when TimestampBasedKeyGenerator is used in partition column
> ---------------------------------------------------------------------------------------
>
> Key: HUDI-7952
> URL: https://issues.apache.org/jira/browse/HUDI-7952
> Project: Apache Hudi
> Issue Type: Sub-task
> Reporter: Geser Dugarov
> Assignee: Danny Chen
> Priority: Critical
> Fix For: 1.0.1, 1.0.2
>
>
> Fix of ClassCastException in https://issues.apache.org/jira/browse/HUDI-7709 with nulls as partition columns values could lead to an empty query results.
> HoodieFileIndex.listFiles() would return Seq of {color:#000000}PartitionDirectory with null values.{color}
>
> {color:#000000}But there is another problem with range filters on partition column.{color}
> {color:#000000}For instance, we have UNIX_TIMESTAMP in column ts.{color}
> And the table is also partitioned by ts with
> hoodie.keygen.timebased.output.dateformat = "yyyy-MM-dd HH"
> {color:#000000}For execution of query like:{color}
> SELECT ... WHERE ts BETWEEN 1078016000 and 1718953003 ...
> it's not possible to filter rows properly.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)