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/06/14 09:05:50 UTC

[incubator-doris] 04/04: [BUGFIX] Fix wrong column types in result file sink (#10079)

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

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

commit bdfd1d091f281c41ebb62be527f57bafd6649073
Author: Gabriel <ga...@gmail.com>
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 8d70baa854..71a748e565 100644
--- a/be/src/vec/runtime/vfile_result_writer.cpp
+++ b/be/src/vec/runtime/vfile_result_writer.cpp
@@ -423,25 +423,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: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org