yiguolei commented on code in PR #50290:
URL: https://github.com/apache/doris/pull/50290#discussion_r2057437377


##########
be/src/runtime_filter/utils.cpp:
##########
@@ -170,9 +172,9 @@ Status create_vbin_predicate(const TypeDescriptor& type, 
TExprOpcode::type opcod
     TTypeNode type_node;
     type_node.__set_type(TTypeNodeType::SCALAR);
     TScalarType scalar_type;
-    scalar_type.__set_type(to_thrift(type.type));
-    scalar_type.__set_precision(type.precision);
-    scalar_type.__set_scale(type.scale);
+    scalar_type.__set_type(to_thrift(type->get_primitive_type()));
+    
scalar_type.__set_precision(vectorized::remove_nullable(type)->get_precision());

Review Comment:
   这个应该不需要remove nullable



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to