Brijesh-Thakkar opened a new pull request, #2989:
URL: https://github.com/apache/datafusion-comet/pull/2989

   - Document STRUCT to STRING casts
   - Document STRUCT to STRUCT casts
   - Document ARRAY to STRING casts
   - Describe known limitations and Spark fallback behavior
   
   Closes #2743
   
   ## Which issue does this PR close?
   
   Closes #2743
   
   ## Rationale for this change
   
   Comet already provides native support for a subset of cast operations 
involving
   complex types such as `STRUCT` and `ARRAY`, but this behavior was not 
documented
   in the compatibility guide. As a result, users may be unaware of which 
complex
   type casts are supported natively and which may fall back to Spark.
   
   This change improves the accuracy and completeness of the documentation by
   explicitly describing the currently supported complex type casts and their
   limitations, based on existing behavior and tests.
   
   ## What changes are included in this PR?
   
   - Added a new **Complex Type Casts** section to the compatibility guide
   - Documented support for:
     - `STRUCT` → `STRING`
     - `STRUCT` → `STRUCT` (field matching by position)
     - `ARRAY<T>` → `STRING`
   - Described known limitations and Spark fallback behavior for other complex 
type
     casts
   
   ## How are these changes tested?
   
   This PR only updates documentation. The documented behavior is verified 
against
   existing tests in `CometCastSuite.scala`, which cover the supported complex 
type
   cast operations. No new tests are required for this documentation-only 
change.
   


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