You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "yuanoOo (via GitHub)" <gi...@apache.org> on 2023/04/09 04:46:42 UTC

[GitHub] [incubator-paimon] yuanoOo commented on issue #773: [Bug] When writing a partitioned table for Paimon using Flink SQL and storing the table on HDFS, the partition directory name on HDFS is displayed abnormally. For example, it shows as SCAN_DATE=19415 instead of the correct format of SCAN_DATE=2023-03-01, where SCAN_DATE is of type date.

yuanoOo commented on issue #773:
URL: https://github.com/apache/incubator-paimon/issues/773#issuecomment-1501039559

   > Direct fixes may have compatibility issues, we should be careful.
   
   I’m trying to fix this bug, can you assign it to me?
   
   My idea is to format the DATE type in the org.apache.paimon.utils.RowDataPartitionComputer#generatePartValues method. For example, converting the int value 19996 of the DATE type into the correct date string 2024-09-30.


-- 
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: issues-unsubscribe@paimon.apache.org

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