hailin0 commented on PR #4009:
URL:
https://github.com/apache/incubator-seatunnel/pull/4009#issuecomment-1419111533
> update
org.apache.seatunnel.connectors.seatunnel.maxcompute.util.MaxcomputeTypeMapper#resolveObject
>
> ```java
> switch (fieldType.getSqlType()) {
> case DATE:
> return ((Date) field).toInstant()
> .atZone(ZoneId.systemDefault())
> .toLocalDate()
> .toEpochDay();
> ```
>
> @maruko-code revert other update
>
> #2052
spark handles date as int
https://github.com/apache/incubator-seatunnel/blob/dev/seatunnel-translation/seatunnel-translation-spark/seatunnel-translation-spark-2.4/src/main/java/org/apache/seatunnel/translation/spark/serialization/InternalRowConverter.java#L189
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]