Skip to content

Conversation

@zhengruifeng
Copy link
Contributor

@zhengruifeng zhengruifeng commented Nov 10, 2025

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

Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you so much, @zhengruifeng .

@dongjoon-hyun dongjoon-hyun changed the title [SPARK-54211][FOLLOW-UP] Fix doctests of mapInArrow [SPARK-54211][PYTHON][FOLLOW-UP] Fix doctests of mapInArrow Nov 10, 2025
@github-actions github-actions bot removed the INFRA label Nov 10, 2025
@zhengruifeng zhengruifeng marked this pull request as ready for review November 10, 2025 09:11
Copy link
Contributor

@LuciferYang LuciferYang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, LGTM

@LuciferYang
Copy link
Contributor

Merged into master. Thanks @zhengruifeng and @dongjoon-hyun

@zhengruifeng zhengruifeng deleted the fix_map_in_arrow_doctest branch November 10, 2025 10:26
zifeif2 pushed a commit to zifeif2/spark that referenced this pull request Nov 22, 2025
### 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 apache#52965 from zhengruifeng/fix_map_in_arrow_doctest.

Authored-by: Ruifeng Zheng <ruifengz@apache.org>
Signed-off-by: yangjie01 <yangjie01@baidu.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants