srielau commented on PR #58545:
URL: https://github.com/apache/spark/pull/58545#issuecomment-5700500456

   Re-review follow-up at `494d5201639`:
   
   - Preserved historical last-wins behavior for exactly repeated serialized 
names while applying `mapKeyDedupPolicy` to collisions introduced by 
CHAR/VARCHAR normalization in both JSON and XML. Added CHAR and VARCHAR 
coverage under EXCEPTION and LAST_WIN.
   - Expanded `spark.sql.mapKeyDedupPolicy` documentation to cover `from_json` 
and `from_xml`, constrained and non-binary-collated keys, both policies, and 
historical UTF8_BINARY STRING behavior.
   - Centralized terminal duplicate-key cause classification across parser 
recovery boundaries.
   - Added CHAR input coverage for `schema_of_json`, `schema_of_csv`, and 
`schema_of_xml`.
   
   Focused tests: `sql/testOnly *CharVarcharTestSuite -- -z SPARK-59274` (3 
passed).


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to