Commit 75ba28b
fix: remove isinstance guard that caused CI failures
Replace the defensive isinstance(order, ScanOrder) guard with the
already-present isinstance(order, ArrivalOrder) branch logic. The
guard was causing ValueError in CI due to a module-identity mismatch
between the ScanOrder imported by pyarrow.py and the one used to
subclass TaskOrder. The code is correct without it: ArrivalOrder
takes the fast path, everything else falls through to TaskOrder
(materialized) behavior. Type safety is provided statically by the
annotation and _DEFAULT_SCAN_ORDER sentinel.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 039e91b commit 75ba28b
1 file changed
+1
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1879 | 1879 | | |
1880 | 1880 | | |
1881 | 1881 | | |
1882 | | - | |
| 1882 | + | |
1883 | 1883 | | |
1884 | | - | |
1885 | | - | |
1886 | | - | |
1887 | 1884 | | |
1888 | 1885 | | |
1889 | 1886 | | |
| |||
0 commit comments