yyanyy commented on PR #59820:
URL: https://github.com/apache/spark/pull/59820#issuecomment-6838505939

   Thanks @szehon-ho and @cloud-fan. I've pushed the review updates:
   
   - Added `Literal.fromSQLWithCanonicalEscaping` as the shared API; ordinary 
`Literal.fromSQL` retains session parsing.
   - Extended decoding to literal-only `ARRAY`, `MAP` and `NAMED_STRUCT` trees, 
including nested collated strings, and reused it for V2 column conversion. V2 
retains full analysis before coercion, constant validation and the `Column 
analysis` error context; `CURRENT_DEFAULT` SQL is unchanged.
   - Preserved session parsing for external expressions such as 
`CAST(concat(...))` and retained the reader's existing resolved-cast evaluation 
path. This avoids changing values reconstructed from expression-shaped external 
metadata.
   - Updated the SQL migration guide to describe the old-row/new-row behavior 
and nested/V2 coverage.
   
   Filed [SPARK-61588](https://issues.apache.org/jira/browse/SPARK-61588) with 
a SQL reproduction and updated the PR title and description.
   
   Validation: 313 tests passed across six suites, plus Catalyst and SQL Core 
production/test scalastyle. Coverage includes schema JSON round trips, nested 
strings and collations, external CAST compatibility, V2 analysis, Parquet reads 
across both parser modes and both readers, and V1-to-V2 `CREATE TABLE ... LIKE`.
   


-- 
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