HHoflittlefish777 commented on code in PR #27942:
URL: https://github.com/apache/doris/pull/27942#discussion_r1413518272


##########
be/src/util/slice.h:
##########
@@ -168,8 +168,8 @@ struct Slice {
     bool trim_quote() {
         int32_t begin = 0;
         bool change = false;
-        if (size > 2 && ((data[begin] == '"' && data[size - 1] == '"') ||
-                         (data[begin] == '\'' && data[size - 1] == '\''))) {
+        if (size >= 2 && ((data[begin] == '"' && data[size - 1] == '"') ||

Review Comment:
   Method trim_double_quotes in slice class also need the change.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to