Github user xcangCRM commented on a diff in the pull request:
https://github.com/apache/phoenix/pull/409#discussion_r238810990
--- Diff:
phoenix-core/src/main/java/org/apache/phoenix/jdbc/PhoenixPreparedStatement.java
---
@@ -170,7 +170,7 @@ boolean execute(boolean batched) throws SQLException {
.build().buildException();
}
if (statement.getOperation().isMutation()) {
- executeMutation(statement);
+ executeMutation(statement, createQueryLogger(statement,query));
--- End diff --
Fixed---
