Commit fc49dbd
[SPARK-54211][PYTHON][FOLLOW-UP] Fix doctests of mapInArrow
### What changes were proposed in this pull request?
Fix doctests of mapInArrow
### Why are the changes needed?
to make CI happy
```
batch.filter(pa.compute.field("id") == 1)
```
the expression input `pa.compute.field("id") == 1` is supported since pyarrow 17.0
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
PR builder with
```
default: '{"PYSPARK_IMAGE_TO_TEST": "python-minimum", "PYTHON_TO_TEST": "python3.10"}'
```
see https://github.com/zhengruifeng/spark/actions/runs/19222092639/job/54941916951
### Was this patch authored or co-authored using generative AI tooling?
NO
Closes #52965 from zhengruifeng/fix_map_in_arrow_doctest.
Authored-by: Ruifeng Zheng <ruifengz@apache.org>
Signed-off-by: yangjie01 <yangjie01@baidu.com>1 parent 21c3122 commit fc49dbd
2 files changed
+16
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1976 | 1976 | | |
1977 | 1977 | | |
1978 | 1978 | | |
| 1979 | + | |
| 1980 | + | |
| 1981 | + | |
| 1982 | + | |
| 1983 | + | |
| 1984 | + | |
1979 | 1985 | | |
1980 | 1986 | | |
1981 | 1987 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2363 | 2363 | | |
2364 | 2364 | | |
2365 | 2365 | | |
2366 | | - | |
2367 | 2366 | | |
2368 | | - | |
2369 | 2367 | | |
2370 | 2368 | | |
2371 | 2369 | | |
| 2370 | + | |
| 2371 | + | |
| 2372 | + | |
| 2373 | + | |
| 2374 | + | |
| 2375 | + | |
| 2376 | + | |
| 2377 | + | |
| 2378 | + | |
| 2379 | + | |
2372 | 2380 | | |
2373 | 2381 | | |
2374 | 2382 | | |
| |||
0 commit comments