Github user jihoonson commented on a diff in the pull request:
https://github.com/apache/tajo/pull/231#discussion_r20977379
--- Diff:
tajo-core/src/main/java/org/apache/tajo/master/querymaster/QueryMasterTask.java
---
@@ -350,9 +351,12 @@ public synchronized void startQuery() {
LOG.warn("Query already started");
return;
}
+ LOG.info(SessionVars.INDEX_ENABLED.keyname() + " : " +
queryContext.getBool(SessionVars.INDEX_ENABLED));
CatalogService catalog =
getQueryTaskContext().getQueryMasterContext().getWorkerContext().getCatalog();
LogicalPlanner planner = new LogicalPlanner(catalog);
- LogicalOptimizer optimizer = new LogicalOptimizer(systemConf);
+ LogicalOptimizer optimizer = new LogicalOptimizer(systemConf,
catalog,
--- End diff --
Thanks for the variable comment. I'll refactor this part according to your
comment.
---
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 [email protected] or file a JIRA ticket
with INFRA.
---