Skip to content

Commit

Permalink
KYLIN-1913 print massaged message
Browse files Browse the repository at this point in the history
  • Loading branch information
binmahone committed Aug 2, 2016
1 parent a769c28 commit 165dca8
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,10 @@ private SQLResponse queryWithSqlMassage(SQLRequest sqlRequest) throws Exception
}

String correctedSql = QueryUtil.massageSql(sqlRequest);
if (correctedSql.equals(sqlRequest.getSql()) == false)
if (!correctedSql.equals(sqlRequest.getSql())) {
logger.info("The corrected query: " + correctedSql);
sqlRequest.setSql(correctedSql);
}

// add extra parameters into olap context, like acceptPartial
Map<String, String> parameters = new HashMap<String, String>();
Expand Down

0 comments on commit 165dca8

Please sign in to comment.