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

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


The following commit(s) were added to refs/heads/master by this push:
     new 8af9339b00 [BUGFIX] Fix wrong column types in result file sink (#10079)
8af9339b00 is described below

commit 8af9339b00ac9a7f53ee24079e3ac730fa6a9bac
Author: Gabriel <[email protected]>
AuthorDate: Mon Jun 13 09:05:11 2022 +0800

    [BUGFIX] Fix wrong column types in result file sink (#10079)
---
 be/src/vec/runtime/vfile_result_writer.cpp | 17 +----------------
 1 file changed, 1 insertion(+), 16 deletions(-)

diff --git a/be/src/vec/runtime/vfile_result_writer.cpp 
b/be/src/vec/runtime/vfile_result_writer.cpp
index f5aa53f10d..c1000193d8 100644
--- a/be/src/vec/runtime/vfile_result_writer.cpp
+++ b/be/src/vec/runtime/vfile_result_writer.cpp
@@ -440,25 +440,10 @@ Status VFileResultWriter::_fill_result_block() {
             INSERT_TO_COLUMN;
             break;
         }
-        case TYPE_LARGEINT: {
-            auto column = ColumnVector<int128_t>::create();
-            INSERT_TO_COLUMN;
-            break;
-        }
-        case TYPE_SMALLINT: {
-            auto column = ColumnVector<int16_t>::create();
-            INSERT_TO_COLUMN;
-            break;
-        }
-        case TYPE_TINYINT: {
-            auto column = ColumnVector<int8_t>::create();
-            INSERT_TO_COLUMN;
-            break;
-        }
         case TYPE_VARCHAR:
         case TYPE_CHAR:
         case TYPE_STRING: {
-            auto column = ColumnVector<int8_t>::create();
+            auto column = ColumnString::create();
             INSERT_TO_COLUMN;
             break;
         }


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

Reply via email to