You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by mo...@apache.org on 2022/12/13 05:35:01 UTC

[doris] branch master updated: [fix](multi catalog)Fix convert_to_doris_type missing break for some cases (#14992)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 73ee352705 [fix](multi catalog)Fix convert_to_doris_type missing break for some cases (#14992)
73ee352705 is described below

commit 73ee35270545fe4bcc98c2514dd69587c949e0d0
Author: Jibing-Li <64...@users.noreply.github.com>
AuthorDate: Tue Dec 13 13:34:55 2022 +0800

    [fix](multi catalog)Fix convert_to_doris_type missing break for some cases (#14992)
---
 be/src/vec/exec/format/parquet/schema_desc.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/be/src/vec/exec/format/parquet/schema_desc.cpp b/be/src/vec/exec/format/parquet/schema_desc.cpp
index 529c5d5b78..6d07886e89 100644
--- a/be/src/vec/exec/format/parquet/schema_desc.cpp
+++ b/be/src/vec/exec/format/parquet/schema_desc.cpp
@@ -228,6 +228,7 @@ TypeDescriptor FieldDescriptor::convert_to_doris_type(tparquet::ConvertedType::t
     switch (convertedType) {
     case tparquet::ConvertedType::type::UTF8:
         type.type = TYPE_STRING;
+        break;
     case tparquet::ConvertedType::type::DECIMAL:
         type.type = TYPE_DECIMALV2;
         type.precision = 27;
@@ -250,6 +251,7 @@ TypeDescriptor FieldDescriptor::convert_to_doris_type(tparquet::ConvertedType::t
     case tparquet::ConvertedType::type::INT_16:
     case tparquet::ConvertedType::type::INT_32:
         type.type = TYPE_INT;
+        break;
     case tparquet::ConvertedType::type::UINT_32:
     case tparquet::ConvertedType::type::UINT_64:
     case tparquet::ConvertedType::type::INT_64:


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org