From 0a65b10e791e19427438c4b217c7825b0e1d61d2 Mon Sep 17 00:00:00 2001 From: PHILO-HE Date: Mon, 11 Mar 2024 19:59:18 +0800 Subject: [PATCH] Add a comment --- velox/functions/sparksql/SIMDJsonFunctions.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/velox/functions/sparksql/SIMDJsonFunctions.h b/velox/functions/sparksql/SIMDJsonFunctions.h index 270d61f7a5228..a2542b67b49cf 100644 --- a/velox/functions/sparksql/SIMDJsonFunctions.h +++ b/velox/functions/sparksql/SIMDJsonFunctions.h @@ -75,6 +75,8 @@ struct SIMDGetJsonObjectFunction { // https://github.com/simdjson/simdjson/blob/master/doc/dom.md#json-pointer // Copied from: // https://github.com/simdjson/simdjson/blob/master/include/simdjson/generic/ondemand/json_path_to_pointer_conversion-inl.h + // The below code can be removed and replaced by calling `at_path` API after + // simdjson is upgraded to 3.8.0. FOLLY_ALWAYS_INLINE std::string getJsonPointerPath( const std::string_view jsonPath) { if (jsonPath.empty() ||