fhj123456789 commented on issue #27574:
URL: https://github.com/apache/doris/issues/27574#issuecomment-1827267459

   原因已经找到并且修改代码后可以正常写入
   
![image](https://github.com/apache/doris/assets/67697088/98adfea1-06ba-4103-a040-e1046a93c4c0)
   在range 分区转换datetime的时候,ETLConfig中的类型为DATETIMEV2,该版本的日期类对返回结果做了改动,不再是14位的
   yyyyMMddHHmmss格式而是进行过位运算的18位long类型
   
![image](https://github.com/apache/doris/assets/67697088/ed58f5d4-6171-4f4d-951e-5433ac9ff899)
   把SparkDPP中的日期转换修改成以下代码
   
![image](https://github.com/apache/doris/assets/67697088/895c585d-8d66-4341-8773-1e76592d70bc)
   
   


-- 
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-unsubscr...@doris.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to