Repository navigation
[data][4/n] Port V1 parquet followups into V2: shuffle, stub col, tensor check, local scheduling - #62785
Conversation
…r check, local scheduling
There was a problem hiding this comment.
Code Review
This pull request implements file shuffling and block UDF support within the V2 datasource architecture. Key changes include adding a shuffle method to FileManifest, integrating shuffling into the FileScanner planning phase, and introducing a _transform_batch hook in FileReader to support per-batch transformations. Feedback focuses on ensuring compatibility when UDFs return non-Arrow formats (such as Pandas DataFrames) by suggesting that the _on_batch_read hook be executed before transformations and that BlockAccessor be used for robust schema inference in ParquetScanner.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Reviewed by Cursor Bugbot for commit 3914fcb. Configure here.
Signed-off-by: Goutam <[email protected]>
Signed-off-by: Goutam <[email protected]>
Signed-off-by: Goutam <[email protected]>
…sor check, local scheduling (ray-project#62785) ## Description Followups from ray-project#62182 Basically this ports over remaining functionality from V1 parquet datasource. Also not porting over `block_udf`. We will be deprecating that param in DatasourceV2, since it's only used in tests. ## Related issues > Link related issues: "Fixes ray-project#1234", "Closes ray-project#1234", or "Related to ray-project#1234". ## Additional information > Optional: Add implementation details, API changes, usage examples, screenshots, etc. --------- Signed-off-by: Goutam <[email protected]>
…sor check, local scheduling (ray-project#62785) ## Description Followups from ray-project#62182 Basically this ports over remaining functionality from V1 parquet datasource. Also not porting over `block_udf`. We will be deprecating that param in DatasourceV2, since it's only used in tests. ## Related issues > Link related issues: "Fixes ray-project#1234", "Closes ray-project#1234", or "Related to ray-project#1234". ## Additional information > Optional: Add implementation details, API changes, usage examples, screenshots, etc. --------- Signed-off-by: Goutam <[email protected]>

Description
Followups from #62182
Basically this ports over remaining functionality from V1 parquet datasource.
Also not porting over
block_udf. We will be deprecating that param in DatasourceV2, since it's only used in tests.Related issues
Additional information