liaoxin01 commented on code in PR #9582: URL: https://github.com/apache/incubator-doris/pull/9582#discussion_r881118810
########## be/src/vec/data_types/data_type_factory.cpp: ########## @@ -26,13 +26,75 @@ namespace doris::vectorized { DataTypePtr DataTypeFactory::create_data_type(const doris::Field& col_desc) { DataTypePtr nested = nullptr; - if (col_desc.type() == OLAP_FIELD_TYPE_ARRAY) { + switch (col_desc.type()) { Review Comment: Decimal need precision and scale information, but primitive data type don't have that information. -- 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