peterxcli opened a new pull request, #4715:
URL: https://github.com/apache/datafusion-comet/pull/4715

   ## Which issue does this PR close?
   
   Closes #4540.
   
   ## Rationale for this change
   
   This adds support for Spark's `multiply_ym_interval` expression, allowing 
YearMonth interval multiplication to run through Comet instead of falling back 
to
   Spark.
   
   ## What changes are included in this PR?
   
   - Add `YearMonthIntervalType` serialization to the Comet proto/native type 
mapping.
   - Route `MakeYMInterval` and `MultiplyYMInterval` through the JVM codegen 
dispatcher.
   - Add `IntervalYearVector` input/output support in the codegen kernel path.
   - Add YearMonth interval literal support.
   - Update expression/datatype support docs.
   - Add SQL coverage for YearMonth interval multiplication with integer, long, 
float, double, and decimal multipliers.
   
   ## How are these changes tested?
   
   - `cargo fmt`
   - `./mvnw -Pspark-3.5 -Pscala-2.12 -DskipTests compile`
   - `cargo +1.94.0 check -p datafusion-comet`
   - `cargo +1.94.0 build`
   - `./mvnw test -Pspark-3.5 -Pscala-2.12 -Dtest=none 
-Dsuites="org.apache.comet.CometSqlFileTestSuite multiply_ym_interval"`


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