Skip to content

[SPARK-54941][PYTHON][TESTS] Add tests for pa.scalar type coercion for numerical types#53762

Closed
fangchenli wants to merge 12 commits intoapache:masterfrom
fangchenli:pa-scalar-coercion-tests
Closed

[SPARK-54941][PYTHON][TESTS] Add tests for pa.scalar type coercion for numerical types#53762
fangchenli wants to merge 12 commits intoapache:masterfrom
fangchenli:pa-scalar-coercion-tests

Conversation

@fangchenli
Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Add tests for pa.scalar type coercion.

Why are the changes needed?

We want to monitor changes in PyArrow's behavior.

Does this PR introduce any user-facing change?

No

How was this patch tested?

Unit tests.

Was this patch authored or co-authored using generative AI tooling?

Generated-by: Claude Opus 4.5

@github-actions
Copy link
Copy Markdown

JIRA Issue Information

=== Sub-task SPARK-54941 ===
Summary: Add tests for pa.scalar type coercion
Assignee: None
Status: Open
Affected: ["4.2.0"]


This comment was automatically generated by GitHub Actions

@fangchenli fangchenli marked this pull request as ready for review January 12, 2026 18:57
@fangchenli fangchenli changed the title [SPARK-54941][Python] Add tests for pa.scalar type coercion [SPARK-54941][PYTHON][TESTS] Add tests for pa.scalar type coercion Jan 14, 2026
@fangchenli fangchenli changed the title [SPARK-54941][PYTHON][TESTS] Add tests for pa.scalar type coercion [SPARK-54941][PYTHON][TESTS] Add tests for pa.scalar type coercion for numerical types Jan 21, 2026
pa.uint64(),
pa.float32(),
pa.float64(),
pa.decimal128(20, 2),
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

should we also test pa.decimal256(76, 10)?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

we can add it in followups

@zhengruifeng
Copy link
Copy Markdown
Contributor

thanks, merged to master

@fangchenli fangchenli deleted the pa-scalar-coercion-tests branch January 21, 2026 18:29
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