sadikovi commented on code in PR #38784: URL: https://github.com/apache/spark/pull/38784#discussion_r1031065321
########## sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala: ########## @@ -3629,6 +3629,15 @@ object SQLConf { .booleanConf .createWithDefault(true) + val JSON_ENABLE_PARTIAL_RESULTS = + buildConf("spark.sql.json.enablePartialResults") + .internal() + .doc("When set to true, enables partial results for structs, maps, and arrays in JSON " + + "when one or more fields do not match the schema") + .version("3.4.0") + .booleanConf + .createWithDefault(false) Review Comment: I am still debating whether to keep this as `true` or `false`. On one hand, when enabled, it fixes the correctness issue of partially parsing JSON records. When disabled, it could cause performance issues (impact is yet to be confirmed). @MaxGekk I would love to know your thoughts on this. I would prefer to keep it enabled until the benchmark is produced that shows the regression. -- 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