You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2022/07/01 07:16:22 UTC

[GitHub] [hudi] txl2017 commented on issue #6007: spark query partition field error

txl2017 commented on issue #6007:
URL: https://github.com/apache/hudi/issues/6007#issuecomment-1172021461

   > @txl2017 could you also provide the full commands for Hive sync and spark-submit/spark-shell for reproducing the issue?
   
   'partition-path-field'='systemdate'
   'keygen-class'='ComplexTimeKeyGenerator'
   'hive-sync-partition-extractor-class'='org.apache.hudi.hive.MultiPartKeysValueExtractor',
   systemdate format is yyyyMMdd HH:mm:ss like '2022-06-29 12:00:00', and partition format is yyyyMMdd.
   with this config sync to hive, use hive、flink、spark query hive ro table with systemdate=20220629, hive and flink hit the right result,
   but spark return nothing, then we delete  the systemdate=20220629 condition, the result return with systemdate='2022-06-29 12:00:00', not '20220629', so i think it's the reason why spark use systemdate=20220629 hit nothing.
   
   
   
   


-- 
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