* @throws PlanningException
*/
private static Target[] getRawTargets(String query, boolean condition) throws PlanningException,
InvalidStatementException {
Session session = LocalTajoTestingUtility.createDummySession();
List<ParsedResult> parsedResults = SimpleParser.parseScript(query);
if (parsedResults.size() > 1) {
throw new RuntimeException("this query includes two or more statements.");
}
Expr expr = analyzer.parse(parsedResults.get(0).getStatement());