Github user zuyu commented on a diff in the pull request: https://github.com/apache/incubator-quickstep/pull/177#discussion_r99277016 --- Diff: query_optimizer/Optimizer.cpp --- @@ -30,10 +30,11 @@ void Optimizer::generateQueryHandle(const ParseStatement &parse_statement, OptimizerContext *optimizer_context, QueryHandle *query_handle) { LogicalGenerator logical_generator(optimizer_context); + PhysicalGenerator physical_generator(optimizer_context); --- End diff -- I was trying to make query optimizer stateless regarding an input query. I'd suggest to pass `optimizer_context` in `PhysicalGenerator::generatePlan`.
--- 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. ---