github-actions[bot] commented on code in PR #23498:
URL: https://github.com/apache/doris/pull/23498#discussion_r1305403318


##########
be/src/olap/field.h:
##########
@@ -57,6 +58,7 @@ class Field {
     size_t index_size() const { return _index_size; }
     int32_t unique_id() const { return _unique_id; }
     const std::string& name() const { return _name; }
+    const vectorized::PathInData& path() const { return _path; }

Review Comment:
   warning: function 'path' should be marked [[nodiscard]] 
[modernize-use-nodiscard]
   
   ```suggestion
       [[nodiscard]] const vectorized::PathInData& path() const { return _path; 
}
   ```
   



-- 
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