eldenmoon commented on code in PR #59183:
URL: https://github.com/apache/doris/pull/59183#discussion_r2660280981


##########
be/src/vec/json/path_in_data.h:
##########
@@ -99,7 +99,10 @@ class PathInData {
 
     bool get_is_typed() const { return is_typed; }
 
-    bool need_record_stats() const { return !empty() && !is_typed && 
!has_nested; }
+    bool need_record_stats() const {
+        return !empty() && !is_typed && !has_nested &&
+               path.find("__DORIS_VARIANT_DOC_VALUE__") == std::string::npos;

Review Comment:
   use const variable



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to