This is an automated email from the ASF dual-hosted git repository.

morningman pushed a commit to branch branch-1.2-lts
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-1.2-lts by this push:
     new b65f8bec875 [FIX](complex-type)fix information schema data type is 
unknown (#31782)
b65f8bec875 is described below

commit b65f8bec875e70adccf4263e4de66190078470b3
Author: amory <[email protected]>
AuthorDate: Tue Mar 5 14:50:31 2024 +0800

    [FIX](complex-type)fix information schema data type is unknown (#31782)
    
    link pr: #17429
---
 be/src/exec/schema_scanner/schema_columns_scanner.cpp | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/be/src/exec/schema_scanner/schema_columns_scanner.cpp 
b/be/src/exec/schema_scanner/schema_columns_scanner.cpp
index c471a5f98af..178c242135d 100644
--- a/be/src/exec/schema_scanner/schema_columns_scanner.cpp
+++ b/be/src/exec/schema_scanner/schema_columns_scanner.cpp
@@ -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";


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to