zhangyue19921010 opened a new pull request, #11315: URL: https://github.com/apache/paimon/pull/11315
### Purpose Fixes #11314 Copying an int-backed `GenericArray` of DATE or TIME throws `Unknown type`, including arrays produced by `InternalRowUtils.copyArray` and rows copied by the Flink runtime serializer. Handle DATE and TIME in the existing integer-array copy branch. The copied array remains independent of the source; the serialized representation is unchanged. ### Tests Added primitive-array, producer-to-copy and row-copy regressions for nullable/non-nullable INT, DATE and TIME elements, including empty arrays, value boundaries, mutation isolation and round trips. On unchanged production code, 12 of the 18 added cases fail for DATE/TIME; all six INT controls pass. All 45 tests in `InternalArraySerializerTest`, `InternalMapSerializerTest` and `InternalRowUtilsTest` pass with normal Maven checks enabled (JDK 11, Java 8 source target). An exact-source Flink 1.20.1 serializer probe also passes all six INT/DATE/TIME cases across both copy overloads; the four DATE/TIME cases fail on the baseline. No full Flink job was run. -- 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]
