xinyiZzz commented on code in PR #32281: URL: https://github.com/apache/doris/pull/32281#discussion_r1528497526
########## be/src/util/arrow/row_batch.cpp: ########## @@ -78,13 +78,23 @@ Status convert_to_arrow_type(const TypeDescriptor& type, std::shared_ptr<arrow:: case TYPE_HLL: case TYPE_DATE: case TYPE_DATETIME: - case TYPE_DATEV2: - case TYPE_DATETIMEV2: case TYPE_STRING: case TYPE_JSONB: case TYPE_OBJECT: *result = arrow::utf8(); break; + case TYPE_DATEV2: + *result = std::make_shared<arrow::Date32Type>(); Review Comment: need consider the compatibility of flink and spark. -- 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