Skip to content

Commit 4a2629e

Browse files
committed
update
1 parent 672bdfd commit 4a2629e

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

be/src/vec/exec/format/parquet/schema_desc.cpp

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -306,12 +306,8 @@ std::pair<DataTypePtr, bool> FieldDescriptor::convert_to_doris_type(
306306
} else if (logicalType.__isset.JSON) {
307307
ans.first = DataTypeFactory::instance().create_data_type(TYPE_STRING, nullable);
308308
} else if (logicalType.__isset.UUID) {
309-
if (_enable_mapping_varbinary) {
310-
ans.first = DataTypeFactory::instance().create_data_type(TYPE_VARBINARY, nullable, -1,
311-
-1, 16);
312-
} else {
313-
ans.first = DataTypeFactory::instance().create_data_type(TYPE_STRING, nullable);
314-
}
309+
ans.first =
310+
DataTypeFactory::instance().create_data_type(TYPE_VARBINARY, nullable, -1, -1, 16);
315311
} else if (logicalType.__isset.FLOAT16) {
316312
ans.first = DataTypeFactory::instance().create_data_type(TYPE_FLOAT, nullable);
317313
} else {

0 commit comments

Comments
 (0)