csun5285 commented on code in PR #61995:
URL: https://github.com/apache/doris/pull/61995#discussion_r3158347497
##########
be/src/core/data_type_serde/complex_type_deserialize_util.h:
##########
@@ -42,7 +42,9 @@ struct ComplexTypeDeserializeUtil {
std::vector<SplitResult> elements;
for (int pos = 0; pos < str.size; ++pos) {
char c = str.data[pos];
- if (c == '"' || c == '\'') {
+ if (c == '\\' && pos + 1 < static_cast<int>(str.size)) {
Review Comment:
The new_json_reader doesn't parse the input directly into a map — it parses
it into a string, and then casts that string into a map. The fix is exactly on
the path that casts a string into a map.
--
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]