From 2ca353340eb577c3391d56dd3052e32e3f7eeaf6 Mon Sep 17 00:00:00 2001 From: PHILO-HE Date: Fri, 6 Dec 2024 22:46:53 +0800 Subject: [PATCH] Fix comment --- velox/functions/sparksql/GetJsonObject.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/velox/functions/sparksql/GetJsonObject.h b/velox/functions/sparksql/GetJsonObject.h index 0d3f20a8ea64..e0a6ae7adcbf 100644 --- a/velox/functions/sparksql/GetJsonObject.h +++ b/velox/functions/sparksql/GetJsonObject.h @@ -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);