You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/11/01 09:51:10 UTC
[GitHub] [doris] Gabriel39 commented on a diff in pull request #13862: [enhancement](profile) add profile to show column predicates
Gabriel39 commented on code in PR #13862:
URL: https://github.com/apache/doris/pull/13862#discussion_r1010262733
##########
be/src/olap/column_predicate.h:
##########
@@ -121,7 +165,14 @@ class ColumnPredicate {
}
uint32_t column_id() const { return _column_id; }
+ virtual std::string debug_string() {
+ return _inner_debug_string() + ", column_id=" + std::to_string(_column_id) +
+ ", opposite=" + (_opposite ? "true" : "false");
+ }
+
protected:
+ virtual std::string _inner_debug_string() = 0;
Review Comment:
`_debug_string` is more reasonable
--
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-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org