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

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


The following commit(s) were added to refs/heads/dev-1.1.2 by this push:
     new 704fbe1ce2 [fix](null)mock a null type in vec exec engine (#12069)
704fbe1ce2 is described below

commit 704fbe1ce2eb314908852ea22b207bee807087a4
Author: starocean999 <[email protected]>
AuthorDate: Thu Aug 25 19:21:05 2022 +0800

    [fix](null)mock a null type in vec exec engine (#12069)
---
 be/src/vec/data_types/data_type.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/be/src/vec/data_types/data_type.cpp 
b/be/src/vec/data_types/data_type.cpp
index 0af43a19c5..00403c6859 100644
--- a/be/src/vec/data_types/data_type.cpp
+++ b/be/src/vec/data_types/data_type.cpp
@@ -197,7 +197,8 @@ DataTypePtr IDataType::from_thrift(const 
doris::PrimitiveType& type, const bool
             result = std::make_shared<DataTypeDecimal<Decimal128>>(27, 9);
             break;
         case TYPE_NULL:
-            result = std::make_shared<DataTypeNothing>();
+            // Just Mock A NULL Type in Vec Exec Engine
+            result = std::make_shared<vectorized::DataTypeUInt8>();
             break;
         case INVALID_TYPE:
         default:


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

Reply via email to