SqlHandlerConfig config = new SqlHandlerConfig(hepPlanner, planner, context);
// TODO: make this use path scanning or something similar.
switch(sqlNode.getKind()){
case EXPLAIN:
handler = new ExplainHandler(config);
break;
case SET_OPTION:
handler = new SetOptionHandler(context);
break;
case OTHER: