Genius-pig commented on a change in pull request #564: [IOTDB-190] upgrade from 
antlr3 to antlr4
URL: https://github.com/apache/incubator-iotdb/pull/564#discussion_r353028103
 
 

 ##########
 File path: 
server/src/main/java/org/apache/iotdb/db/qp/strategy/LogicalGenerator.java
 ##########
 @@ -536,7 +536,10 @@ private String removeStringQuote(String src) {
       return src.substring(1, src.length() - 1);
     } else if(src.charAt(0) == '\"' && src.charAt(src.length() - 1) == '\"') {
       return src.substring(1, src.length() - 1);
-    } else {
+    } else if(src.charAt(0) != '\'' && src.charAt(0) != '\"'
 
 Review comment:
   I make a mistake, it can't be ID.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to