You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "voon (Jira)" <ji...@apache.org> on 2023/03/27 05:23:00 UTC

[jira] [Created] (HUDI-5989) Fix the date convert issue when fetching paition path & file slice for HoodieFileIndex is used

voon created HUDI-5989:
--------------------------

             Summary: Fix the date convert issue when fetching paition path & file slice for HoodieFileIndex is used
                 Key: HUDI-5989
                 URL: https://issues.apache.org/jira/browse/HUDI-5989
             Project: Apache Hudi
          Issue Type: Bug
            Reporter: voon


For partition filter like date column, spark internally will convert it to day numbers after timestamp 0, but hudi lazy fetching doesn't respect this behavior, this pr tries to fix it.

 
{code:java}
INFO DataSourceStrategy: Pruning directories with: isnotnull(country#80), isnotnull(date#81),(country#80 = ID),(date#81=19415){code}
 

This will fix the partition pruning bug introduced in: [https://github.com/apache/hudi/pull/6680]
h3.  



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