Skip to content

[python][ray] Preserve row kind in TableRead.to_ray() - #9693

Open
QuakeWang wants to merge 1 commit into
apache:masterfrom
QuakeWang:fix-ray-row-kind
Open

[python][ray] Preserve row kind in TableRead.to_ray()#9693
QuakeWang wants to merge 1 commit into
apache:masterfrom
QuakeWang:fix-ray-row-kind

Conversation

@QuakeWang

Copy link
Copy Markdown
Member

Purpose

TableRead.to_ray() dropped include_row_kind when rebuilding worker readers, so Ray output omitted _row_kind even when requested.

Forward the option through split providers and keep read-task and empty-result schemas consistent with Arrow output.

Tests

  • 17 focused tests passed, including populated and empty results, task serialization, and existing Ray read behavior.
  • The new regression test fails on the original implementation.
  • Python flake8, license headers, and diff checks passed.

TableRead.to_ray() dropped include_row_kind when rebuilding worker readers, causing Ray output to omit _row_kind. Forward the option through split providers and keep read-task and empty-result schemas consistent with Arrow output.

Signed-off-by: QuakeWang <wangfuzheng0814@foxmail.com>
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