hequn8128 commented on a change in pull request #11598: [FLINK-16914][python] Support ArrayType in vectorized Python UDF URL: https://github.com/apache/flink/pull/11598#discussion_r402044488
########## File path: flink-python/src/main/java/org/apache/flink/table/runtime/arrow/writers/BaseRowIntWriter.java ########## @@ -19,22 +19,22 @@ package org.apache.flink.table.runtime.arrow.writers; import org.apache.flink.annotation.Internal; -import org.apache.flink.table.dataformat.BaseRow; +import org.apache.flink.table.dataformat.TypeGetterSetters; import org.apache.arrow.vector.IntVector; /** * {@link ArrowFieldWriter} for Int. */ @Internal -public final class BaseRowIntWriter extends ArrowFieldWriter<BaseRow> { +public final class BaseRowIntWriter<T extends TypeGetterSetters> extends ArrowFieldWriter<T> { Review comment: If we going to support generic type that extends TypeGetterSetters, the class name `BaseRowIntWriter` may not be appropriate now. It may not be a BaseRow but can also be a BaseArray. Same for other BaseRowXXXWriter classes. ---------------------------------------------------------------- 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