Skip to content

Returning None for null pyarrow scalar values and a bug fix#61

Merged
rashishhume merged 1 commit into
mainfrom
rashish_wsds_null_bug
Apr 9, 2026
Merged

Returning None for null pyarrow scalar values and a bug fix#61
rashishhume merged 1 commit into
mainfrom
rashish_wsds_null_bug

Conversation

@rashishhume
Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread wsds/ws_shard.py
try:
if pa.types.is_binary(col_type) or pa.types.is_large_binary(col_type):
return decode_sample(column, io.BytesIO(data.as_buffer()))
return decode_sample(column, data)
Copy link
Copy Markdown
Collaborator Author

@rashishhume rashishhume Apr 9, 2026

Choose a reason for hiding this comment

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

running through io.BytesIO here defeats the purpose of a more careful zero-copy reader creation in to_filelike later inside decode_sample

@rashishhume rashishhume merged commit 3f6966b into main Apr 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant