Repository navigation
Commit 16f6644
authored
apacheGH-33588: [Substrait] Add Substrait→Acero mapping for round operationMajor: (apache#33775)
Adds binary round kernel for float types.
Provides fallback for binary round from int types to double. Does not provide fallback for binary round for decimal types.
Minor:
Fixes fallback behavior to only affect the first argument. Corrects fallback error message to display the original type instead of the fallback type when the underlying type cannot be found. Round benchmark changed to be driven like arithmetic benchamrk instead of the string benchmark.
Trivial:
Renames Arithmetic to Round to match the containing module. Removes some unreachable code.
* Closes: apache#33588
Authored-by: David Sisson <EpsilonPrime@users.noreply.github.com>
Signed-off-by: Weston Pace <weston.pace@gmail.com>1 parent de6e537 commit 16f6644
7 files changed
Lines changed: 799 additions & 332 deletions
File tree
- cpp/src/arrow
- compute
- kernels
- engine/substrait
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
330 | 330 | | |
331 | 331 | | |
332 | 332 | | |
| 333 | + | |
| 334 | + | |
333 | 335 | | |
334 | 336 | | |
335 | 337 | | |
| |||
498 | 500 | | |
499 | 501 | | |
500 | 502 | | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
501 | 519 | | |
502 | 520 | | |
503 | 521 | | |
| |||
683 | 701 | | |
684 | 702 | | |
685 | 703 | | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
686 | 709 | | |
687 | 710 | | |
688 | 711 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
94 | 103 | | |
95 | 104 | | |
96 | 105 | | |
| |||
872 | 881 | | |
873 | 882 | | |
874 | 883 | | |
875 | | - | |
| 884 | + | |
876 | 885 | | |
877 | | - | |
| 886 | + | |
878 | 887 | | |
879 | 888 | | |
880 | 889 | | |
881 | 890 | | |
882 | 891 | | |
883 | 892 | | |
884 | 893 | | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
885 | 912 | | |
886 | 913 | | |
887 | 914 | | |
| |||
0 commit comments