Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
PHILO-HE committed Dec 6, 2024
1 parent f6eb519 commit 2ca3533
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions velox/functions/sparksql/GetJsonObject.h
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,8 @@ struct GetJsonObjectFunction {
return true;
}
// These chars can be prior to a valid ending char.
// See reference:
// https://github.com/simdjson/simdjson/blob/v3.9.0/dependencies/jsoncppdist/jsoncpp.cpp
if (endingChar == ' ' || endingChar == '\r' || endingChar == '\n' ||
endingChar == '\t') {
return isValidEndingCharacter(++currentPos);
Expand Down

0 comments on commit 2ca3533

Please sign in to comment.