JingsongLi commented on a change in pull request #8682: [FLINK-12796][table-planner-blink] Introduce BaseArray and BaseMap to reduce conversion overhead to blink URL: https://github.com/apache/flink/pull/8682#discussion_r293641180
########## File path: flink-table/flink-table-runtime-blink/src/main/java/org/apache/flink/table/types/InternalSerializers.java ########## @@ -71,10 +75,12 @@ public static TypeSerializer create(LogicalType type, ExecutionConfig config) { DecimalType decimalType = (DecimalType) type; return new DecimalSerializer(decimalType.getPrecision(), decimalType.getScale()); case ARRAY: - return BinaryArraySerializer.INSTANCE; + return new BaseArraySerializer(((ArrayType) type).getElementType(), config); Review comment: InternalSerializers.create is used to create serializers. runtime per record process should not invoke it. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services