harshmotw-db commented on code in PR #50533: URL: https://github.com/apache/spark/pull/50533#discussion_r2033840144
########## sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala: ########## @@ -4752,6 +4752,14 @@ object SQLConf { .stringConf .createWithDefault("") + val GET_JSON_OBJECT_SKIP_LEADING_SPACES = + buildConf("spark.sql.getJsonObject.skipLeadingSpaces") + .internal() + .doc("When true, paths in the getJsonObject will skip leading spaces/tabs in the path.") Review Comment: Yeah, but considering this is a very old expression and this is a behavioral difference, some workloads might be based on the old behavior. I could remove the flag if accommodating it is not important. -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org