You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ja...@apache.org on 2020/10/28 11:33:50 UTC
[iotdb] branch ZYBug updated: add more logs
This is an automated email from the ASF dual-hosted git repository.
jackietien pushed a commit to branch ZYBug
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/ZYBug by this push:
new a86c765 add more logs
a86c765 is described below
commit a86c765ba7174fd46e683364252995a1d267f61f
Author: JackieTien97 <Ja...@foxmail.com>
AuthorDate: Wed Oct 28 19:33:31 2020 +0800
add more logs
---
server/src/main/java/org/apache/iotdb/db/service/TSServiceImpl.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/src/main/java/org/apache/iotdb/db/service/TSServiceImpl.java b/server/src/main/java/org/apache/iotdb/db/service/TSServiceImpl.java
index 1065ccd..026b294 100644
--- a/server/src/main/java/org/apache/iotdb/db/service/TSServiceImpl.java
+++ b/server/src/main/java/org/apache/iotdb/db/service/TSServiceImpl.java
@@ -529,7 +529,7 @@ public class TSServiceImpl implements TSIService.Iface, ServerContext {
physicalPlan =
processor.parseSQLToPhysicalPlan(statement, sessionIdZoneIdMap.get(req.getSessionId()));
} catch (QueryProcessException | SQLParserException e) {
- logger.info(ERROR_PARSING_SQL, e.getMessage());
+ logger.info(ERROR_PARSING_SQL, e.getMessage() + " sql: " + statement);
return RpcUtils.getTSExecuteStatementResp(TSStatusCode.SQL_PARSE_ERROR, e.getMessage());
}