Commit c0ab5c4
fix: unbreak CI, pyarrow 25 added binary_view compare kernels
PR CI installs the latest pyarrow, and pyarrow 25.0.0 added binary_view
compare kernels. The strict-xfail canary
TestCanaries::test_pyarrow_gains_binary_view_filter_support only
exercised scanner construction, so it now XPASSes and fails CI for
every PR.
pyarrow's support is still only partial: the scanner can be built, but
executing it raises ArrowNotImplementedError because 'array_filter' has
no binary_view kernel. So DuckDB's post-scan fallback for view types is
still required. The canary is converted to a version-gated assertion:
* pyarrow < 25: scanner construction raises ArrowNotImplementedError
* pyarrow >= 25: scanner construction succeeds, execution raises
Either branch failing means pyarrow moved again and we should revisit
the fallback in TestUnsupportedTypes.
The sibling string_view canary (unchanged behavior through pyarrow 25)
now executes the scanner as well, so it will only fire on full
end-to-end support instead of breaking CI when compare kernels land
without filter kernels.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 5829acc commit c0ab5c4
1 file changed
Lines changed: 22 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
754 | 754 | | |
755 | 755 | | |
756 | 756 | | |
757 | | - | |
| 757 | + | |
758 | 758 | | |
759 | 759 | | |
760 | 760 | | |
761 | | - | |
| 761 | + | |
762 | 762 | | |
763 | 763 | | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
764 | 767 | | |
765 | 768 | | |
766 | 769 | | |
767 | | - | |
| 770 | + | |
768 | 771 | | |
769 | | - | |
770 | | - | |
771 | | - | |
772 | | - | |
773 | | - | |
774 | 772 | | |
775 | | - | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
776 | 781 | | |
777 | 782 | | |
778 | | - | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
779 | 791 | | |
780 | 792 | | |
781 | 793 | | |
| |||
0 commit comments