Commit fa5c852
fix: use Spark date_add/date_sub UDFs for Date32 +/- Int arithmetic
DataFusion 52's arrow-arith kernels only support Date32 +/- Interval
types, not raw integers. When Spark sends Date32 + Int8/Int16/Int32
arithmetic, the planner now routes these operations to the Spark
date_add/date_sub UDFs which handle integer types directly.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 1366047 commit fa5c852
1 file changed
+35
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
730 | 730 | | |
731 | 731 | | |
732 | 732 | | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
| 767 | + | |
733 | 768 | | |
734 | 769 | | |
735 | 770 | | |
| |||
0 commit comments