Skip to content

Commit

Permalink
Added debug statement for Pinot Query statement resolution (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
singhalprerana authored Apr 26, 2021
1 parent 1a80901 commit c8a3479
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,11 @@ static String resolveStatement(String query, Params params) {
sb.append(queryParts[i]);
sb.append(parameters[i] != null ? parameters[i] : "");
}
return sb.toString();
String statement = sb.toString();
if (LOG.isDebugEnabled()) {
LOG.debug("Resolved PQL statement: [{}]", statement);
}
return statement;
}

private static String getStringParam(String value) {
Expand Down

0 comments on commit c8a3479

Please sign in to comment.