Skip to content

Commit

Permalink
[FIX](complex-type)fix information schema data type is unknown (#31782)
Browse files Browse the repository at this point in the history
link pr: #17429
  • Loading branch information
amorynan authored Mar 5, 2024
1 parent 19e7bf1 commit b65f8be
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions be/src/exec/schema_scanner/schema_columns_scanner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,15 @@ std::string SchemaColumnsScanner::to_mysql_data_type_string(TColumnDesc& desc) {
}
case TPrimitiveType::JSONB: {
return "json";
}
case TPrimitiveType::MAP: {
return "map";
}
case TPrimitiveType::ARRAY: {
return "array";
}
case TPrimitiveType::STRUCT: {
return "struct";
}
default:
return "unknown";
Expand Down

0 comments on commit b65f8be

Please sign in to comment.