Github user jianqiao commented on a diff in the pull request: https://github.com/apache/incubator-quickstep/pull/73#discussion_r73204750 --- Diff: query_optimizer/rules/BottomUpRule.hpp --- @@ -80,6 +81,8 @@ class BottomUpRule : public Rule<TreeType> { */ virtual TreeNodePtr applyToNode(const TreeNodePtr &node) = 0; + virtual void init(const TreeNodePtr &node) = 0; --- End diff -- Let's provide a default no-op implementation for `init()` here (instead of pure virtual) so we don't have to implement it for every subclass.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---