You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "yihua (via GitHub)" <gi...@apache.org> on 2023/02/22 01:41:21 UTC

[GitHub] [hudi] yihua commented on issue #8009: [SUPPORT Hive Sync error : Could not sync using the meta sync class org.apache.hudi.hive.HiveSyncTool]

yihua commented on issue #8009:
URL: https://github.com/apache/hudi/issues/8009#issuecomment-1439317857

   Hi @aswin-mp thanks for raising this.  Based on your description, the issue you encountered is similar to this one: #6281.  The root cause is that, when `TimestampBasedKeyGenerator` is used and the dateformat contains slashes, e.g., `yyyy/MM/dd` as what you use, the meta sync fails (in 0.11.0 release).  There's a fix on this #6851, which is included since 0.12.2 release.
   
   In your use case, if you stick to 0.11.0 release, you need to specify the partition value extractor for meta sync to work: `hoodie.datasource.hive_sync.partition_value_extractor= SlashEncodedDayPartitionValueExtractor `. 
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org