Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-48374][PYTHON] Support additional PyArrow Table column types #46688

Closed
wants to merge 3 commits into from

Conversation

ianmcook
Copy link
Member

What changes were proposed in this pull request?

This is a small follow-up to #46529. This adds support for some more Arrow data types:

  • fixed-size binary
  • fixed-size list
  • large list

Why are the changes needed?

Users who are creating Spark DataFrames from PyArrow Tables will expect it to work if their Tables contain these types of columns

Does this PR introduce any user-facing change?

It will prevent an error in the case where the user has one of these types of columns in their PyArrow Table. There are no other user-facing changes.

How was this patch tested?

Tests are included.

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

No

@ianmcook ianmcook marked this pull request as ready for review June 2, 2024 13:13
@ianmcook
Copy link
Member Author

ianmcook commented Jun 2, 2024

cc @HyukjinKwon @xinrong-meng @zhengruifeng

This is a small improvement that I split out from #46529. Thank you.

@HyukjinKwon
Copy link
Member

Merged to master.

@HyukjinKwon
Copy link
Member

Thank you for fixing those.

riyaverm-db pushed a commit to riyaverm-db/spark that referenced this pull request Jun 7, 2024
### What changes were proposed in this pull request?
This is a small follow-up to apache#46529. This adds support for some more Arrow data types:
- fixed-size binary
- fixed-size list
- large list

### Why are the changes needed?
Users who are creating Spark DataFrames from PyArrow Tables will expect it to work if their Tables contain these types of columns

### Does this PR introduce _any_ user-facing change?
It will prevent an error in the case where the user has one of these types of columns in their PyArrow Table. There are no other user-facing changes.

### How was this patch tested?
Tests are included.

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

Closes apache#46688 from ianmcook/SPARK-48374.

Authored-by: Ian Cook <ianmcook@gmail.com>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
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.

2 participants