Skip to content

[Data] Fix synthesized path filtering in DataSourceV2 - #67079

Merged
richardliaw merged 8 commits into
ray-project:masterfrom
jiangxt2:fix-synthesized-path-filtering
Nov 17, 2026
Merged

richardliaw merged 8 commits into
ray-project:masterfrom
jiangxt2:fix-synthesized-path-filtering

Conversation

@jiangxt2

@jiangxt2 jiangxt2 commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Description

Fix DataSourceV2 filters on synthesized columns such as path, preventing incorrect partition pruning and Arrow field-binding errors.

Before: A path predicate could use a same-named Hive partition value or reach the physical Arrow scan.

After: Enabled synthesized columns are excluded from partition-column classification. Arrow-backed scanners push safe physical predicates and retain synthesized or mixed predicates as residual filters. MCAP uses the same partition classification. Existing scanner fields and constructor signatures are preserved.

Subsystems: IO; logical planning / query optimization (regression coverage).

flowchart LR
    subgraph Before["Before — IO: Arrow-backed scanner"]
        B1["path predicate"] --> B2["Partition pruning or Arrow scan"]
        B2 -->|Incorrect pruning or binding| B3["Incorrect result or error"]
    end
    subgraph After["After — IO: Arrow-backed scanner"]
        A1["Classify predicate"] -->|Physical predicate| A2["Arrow scan"]
        A1 -.->|Synthesized or mixed predicate| A4["Residual Filter"]
        A2 --> A3["Reader adds synthesized columns"]
        A3 -->|Residual present| A4
        A3 -->|No residual| A5["Output"]
        A4 --> A5
    end
    classDef changed fill:#fff9c4,stroke:#f9a825,color:#000
    classDef error fill:#ffcdd2,stroke:#c62828,color:#000
    class B2,A1,A4 changed
    class B3 error
Loading

Related issues

Fixes #66916. Related to #66572.

#66572 is open and proposes configurable Parquet path-column names and same-named file-column projection fixes; this PR addresses synthesized-column predicate classification and filtering.

Additional information

Testing: These selections passed on Linux ARM64 with Python 3.12 and PyArrow 23.0.1, using Ray a9843db native binaries and source with this PR’s Python changes applied. Environment and reporting options are omitted.

python -m pytest -q python/ray/data/tests/unit/datasource_v2/test_arrow_file_scanner.py::test_push_filters_retains_synthesized_residual python/ray/data/tests/unit/datasource_v2/test_file_scanner.py::test_partition_columns_exclude_enabled_synthesized_columns  # 18 passed
python -m pytest -q python/ray/data/tests/test_predicate_pushdown.py::test_synthesized_path_filters_use_output_values python/ray/data/tests/test_predicate_pushdown.py::test_synthesized_path_residual_preserves_read_constraints  # 5 passed
python -m pytest -q python/ray/data/tests/datasource/test_orc.py::test_read_orc_v2_filter_path_from_directory  # 1 passed
python -m pytest -q 'python/ray/data/tests/datasource/test_mcap.py::test_read_mcap_v2_filter_path_over_same_named_partition[v2]'  # 1 passed

Revert checks: The FileScanner, MCAP, and Hive Parquet cases catch the partition-classification revert. The Arrow Scanner, ORC directory, unpartitioned Parquet, and residual-plan cases catch the Arrow-pushdown revert; ORC inherits that implementation during this check. Every selected case also fails when all three production changes are reverted.

Synthesized-column residual filters run after reading and can reduce pruning and early-limit opportunities. Broader same-named physical-column projection behavior is outside this fix.

Codex AI assistance was used for implementation, validation, and review.

Preserve both shuffle and synthesized path regression imports.

Signed-off-by: jiangxt2 <[email protected]>
Keep the upstream adaptive batch size settings while inheriting synthesized column metadata and shared filtering.

Signed-off-by: jiangxt2 <[email protected]>
Preserve schema-aware partition pruning, synthesized column filters, and both sets of scanner regression tests.

Signed-off-by: jiangxt2 <[email protected]>
@github-actions

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had
any activity for 14 days. It will be closed in another 14 days if no further activity occurs.
Thank you for your contributions.

You can always ask for help on our discussion forum or Ray's public slack channel.

If you'd like to keep this open, just leave any comment, and the stale label will be removed.

@github-actions github-actions Bot added the stale The issue is stale. It will be closed within 7 days unless there are further conversation label Nov 12, 2026
Keep upstream partition pruning and pushdown mixins while preserving synthesized-column residual filtering.

Signed-off-by: jiangxt2 <[email protected]>
@jiangxt2
jiangxt2 marked this pull request as ready for review November 14, 2026 11:04
@jiangxt2
jiangxt2 requested a review from a team as a code owner November 14, 2026 11:04

@gemini-code-assist gemini-code-assist Bot left a comment

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.

Code Review

This pull request refactors filter pushdown logic in ArrowFileScanner to generically handle synthesized columns, pushing physical-column conjuncts down while retaining synthesized filters as residuals. This allows removing the custom push_filters implementation in OrcScanner. Additionally, partition_columns is updated to exclude partition columns replaced by enabled synthesized columns, and comprehensive tests are added across multiple formats. A review comment suggests safeguarding _synthesized_column_names against cases where synthesized_columns is explicitly set to None to prevent a potential TypeError.

Comment on lines +61 to +62
def _synthesized_column_names(self) -> Set[str]:
return {column.name for column in getattr(self, "synthesized_columns", ())}

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.

high

If synthesized_columns is explicitly set to None (which is common for optional fields in Python), getattr(self, "synthesized_columns", ()) will return None because the attribute exists. This will cause a TypeError: 'NoneType' object is not iterable when attempting to iterate over it in the set comprehension. Using getattr(self, "synthesized_columns", None) or () safely defaults to an empty tuple if the attribute is missing or None.

Suggested change
def _synthesized_column_names(self) -> Set[str]:
return {column.name for column in getattr(self, "synthesized_columns", ())}
def _synthesized_column_names(self) -> Set[str]:
return {column.name for column in (getattr(self, "synthesized_columns", None) or ())}

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks for flagging this. You're right that explicitly setting synthesized_columns to None would raise a TypeError here. The built-in Parquet, ORC, and MCAP scanners declare this field as a tuple, and their datasource paths pass tuples; I couldn't find an in-tree caller that passes None. Their readers also expect an iterable, so changing this helper alone would not support None end to end. Given the current contract, I suggest keeping this unchanged for now.

@github-actions github-actions Bot added unstale A PR that has been marked unstale. It will not get marked stale again if this label is on it. and removed stale The issue is stale. It will be closed within 7 days unless there are further conversation labels Nov 14, 2026
@ray-gardener ray-gardener Bot added data Ray Data-related issues community-contribution Contributed by the community labels Nov 14, 2026
@abhishekverma-ray

Copy link
Copy Markdown
Contributor

Hi @jiangxt2 - Thanks for these! The team is aligning on some Ray Data test conventions (#67919 / #67928). In short: each test should fail if the change is reverted, extend or parametrize existing tests before adding new ones, test through the public read_* APIs rather than asserting on internal mock calls, and use ray_start_regular_shared instead of starting new clusters. This PR has about 15× more test lines than code. Could you trim it to the tests that catch a revert, and note in the description which revert each one catches?

Comment on lines +65 to +122
@pytest.mark.parametrize(
"predicate, accepted, residual",
[
(col("path") == "P", None, col("path") == "P"),
(col("x") == 2, col("x") == 2, None),
(
(col("path") == "P") & (col("x") == 2),
col("x") == 2,
col("path") == "P",
),
(
(col("path") == "P") | (col("x") == 2),
None,
(col("path") == "P") | (col("x") == 2),
),
(
~((col("path") == "P") & (col("x") == 2)),
None,
~((col("path") == "P") & (col("x") == 2)),
),
(
((col("path") == "P") | (col("x") == 2)) & (col("x") > 0),
col("x") > 0,
(col("path") == "P") | (col("x") == 2),
),
(col("path") == col("x"), None, col("path") == col("x")),
(lit(True), lit(True), None),
],
ids=["path", "physical", "and", "or", "not", "nested", "cross_column", "literal"],
)
def test_push_filters_retains_synthesized_residual(predicate, accepted, residual):
columns = (PathColumn(),)
original = col("x") < 10
scanner = ParquetScanner(
schema=pa.schema([("x", pa.int64()), ("path", pa.string())]),
synthesized_columns=columns,
predicate=original,
)

pushed, declined = scanner.push_filters(predicate)

assert scanner.predicate is original
assert isinstance(pushed, ParquetScanner)
assert pushed.synthesized_columns is columns
if accepted is None:
assert pushed is scanner
else:
assert pushed is not scanner
assert pushed.predicate is not None
assert pushed.predicate.structurally_equals(original & accepted)
if residual is None:
assert declined is None
else:
assert declined is not None and declined.structurally_equals(residual)
reader = pushed.create_reader()
assert isinstance(reader, ParquetFileReader)
assert reader._synthesized_columns is columns
assert reader._predicate is pushed.predicate

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.

This table is the right core test for the change. Two suggestions: (a) L119–122 assert on the reader’s private _synthesized_columns / _predicate, but this PR doesn’t change create_reader(), so could we drop them? (b) Could we parametrize scanner_cls over ParquetScanner and OrcScanner? This PR deletes OrcScanner.push_filters, so one extra parameter covers ORC’s inherited path and replaces the ORC-specific test in test_orc_file_reader.py.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done. The table now covers both ParquetScanner and OrcScanner, and the private Reader assertions are removed. Cases for both scanners fail when the shared Arrow predicate split is reverted.

Comment on lines +125 to +181
def test_push_filters_classification_survives_projection():
class SourceFileColumn(PathColumn):
name = "source_file"

scanner = ParquetScanner(
schema=pa.schema([("x", pa.int64()), ("source_file", pa.string())]),
synthesized_columns=(SourceFileColumn(),),
).prune_columns(["x"])
predicate = col("source_file") == "P"

pushed, residual = scanner.push_filters(predicate)

assert pushed is scanner
assert residual is predicate
assert scanner.predicate is None


def test_disabled_synthesized_column_keeps_physical_filter():
scanner = ParquetScanner(schema=pa.schema([("path", pa.string())]))
predicate = col("path") == "physical"

pushed, residual = scanner.push_filters(predicate)

assert pushed.predicate is predicate
assert residual is None


def test_arrow_scanner_without_synthesized_columns_pushes_filter():
class ScannerWithoutSynthesizedColumns(ArrowFileScanner):
def create_reader(self):
raise NotImplementedError

scanner = ScannerWithoutSynthesizedColumns(schema=pa.schema([("id", pa.int64())]))
predicate = col("id") == 1
pushed, residual = scanner.push_filters(predicate)
assert pushed.predicate is predicate
assert residual is None


@pytest.mark.parametrize(
"scanner_cls, tail",
[(OrcScanner, ((PathColumn(),), 42)), (ParquetScanner, (42, (PathColumn(),)))],
)
def test_synthesized_columns_keep_positional_constructor(scanner_cls, tail):
scanner = scanner_cls(pa.schema([]), None, None, None, None, *tail)
assert isinstance(scanner.synthesized_columns[0], PathColumn)
assert scanner.target_block_size == 42


def test_row_hash_filter_stays_residual():
scanner = ParquetScanner(
schema=pa.schema([]), synthesized_columns=(RowHashColumn(),)
)
predicate = col("row_hash") == 1
pushed, residual = scanner.push_filters(predicate)
assert pushed is scanner
assert residual is not None and residual.structurally_equals(predicate)

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.

Could we fold these into the table above, parametrized over the configured synthesized columns? L142 and L152 pass with the change reverted: before this PR, ArrowFileScanner.push_filters pushed the whole predicate and returned None as the residual, which is exactly what they assert. L125 (a renamed synthesized column after projection) and L174 (RowHashColumn) are real new cases and fit as rows.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done. I folded the projected renamed column and RowHashColumn cases into the table and removed the two standalone cases. The retained cases fail when the Arrow predicate split is reverted.

Comment on lines +79 to +91
def test_mcap_scanner_preserves_positional_constructor():
scanner = MCAPScanner(
pa.schema([]),
MCAPSelection(),
True,
False,
True,
None,
(PathColumn(),),
partitioning=Partitioning(PartitionStyle.HIVE, field_names=["path", "year"]),
)
assert isinstance(scanner.synthesized_columns[0], PathColumn)
assert scanner.partition_columns == {"year"}

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.

This PR doesn’t change any scanner’s constructor fields or their order, so these positional-constructor tests pass with or without it. Could we drop them? The MCAP partition_columns check is already covered by test_file_scanner.py L180–198.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done. I removed the positional-constructor tests. Partition classification remains covered by the shared FileScanner test and the MCAP same-named partition regression; both fail when that classification change is reverted.

Comment on lines +50 to +73
@pytest.mark.parametrize(
"partitioning", [None, Partitioning(PartitionStyle.HIVE, field_names=["path"])]
)
def test_orc_scanner_preserves_inherited_synthesized_columns(partitioning):
columns = (PathColumn(),)
scanner = OrcScanner(
schema=pa.schema([("id", pa.int64()), ("path", pa.string())]),
synthesized_columns=columns,
partitioning=partitioning,
)
projected = scanner.prune_columns(["id"])

assert isinstance(projected, OrcScanner)
assert projected is not scanner
assert projected.synthesized_columns == columns
assert projected.partition_columns == set()
predicate = col("path") == "/source.orc"
pushed, residual = projected.push_filters(predicate)
assert pushed is projected
assert residual is not None and residual.structurally_equals(predicate)
assert projected.predicate is None
reader = projected.create_reader()
assert isinstance(reader, OrcFileReader)
assert reader._synthesized_columns == columns

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.

Covered by adding OrcScanner to the parametrized table in test_arrow_file_scanner.py. It also asserts on the reader’s private _synthesized_columns. Could we remove it?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done. I removed the ORC-specific test and its private Reader assertion. The parameterized OrcScanner cases cover the inherited behavior and fail when the shared Arrow predicate split is reverted.

Comment on lines +473 to +510
@pytest.mark.parametrize(
"partitioning", [None, Partitioning(PartitionStyle.HIVE, field_names=["path"])]
)
@pytest.mark.parametrize(
"predicate, expected_ids",
[
(lambda path: col("path") == path, [1, 2]),
(lambda path: col("path") == "foo", []),
(lambda path: (col("path") == path) & (col("id") == 2), [2]),
(lambda path: (col("path") == "foo") | (col("id") == 2), [2]),
(lambda path: ~(col("path") == "foo"), [1, 2]),
(
lambda path: ((col("path") == path) | (col("id") == 1)) & (col("id") == 2),
[2],
),
(lambda path: ~((col("path") == "foo") | (col("id") == 2)), [1]),
],
ids=["path", "directory", "and", "or", "not", "nested", "mixed_not"],
)
def test_synthesized_path_filters_use_output_values(
tmp_path, restore_ctx, partitioning, predicate, expected_ids
):
directory = tmp_path / "path=foo"
directory.mkdir()
file = directory / "data with spaces.parquet"
_write(file, pa.table({"id": [1, 2]}))
restore_ctx.use_datasource_v2 = True
ds = ray.data.read_parquet(
str(tmp_path),
include_paths=True,
partitioning=partitioning,
override_num_blocks=1,
)

rows = ds.filter(expr=predicate(str(file))).take_all()

assert sorted(row["id"] for row in rows) == expected_ids
assert all(row["path"] == str(file) for row in rows)

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.

These 14 cases go through Ray and re-test the and/or/not/nested splitting that the unit table already covers. Could we keep only the end-to-end behavior: filtering on the synthesized path returns the right rows, with and without a same-named path= partition (the path and directory cases × partitioning)?

On L546–561: could you confirm this fails with the change reverted? Before this PR, partition_columns already included path when no synthesized columns were enabled, so I think it passes either way.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done. I kept the four path/directory-value and partitioning combinations. You’re right about the no-synthesis case: the baseline already treats path as a partition column, so I removed it. The retained Hive cases catch the classification revert, and the unpartitioned cases catch the Arrow-pushdown revert.

Comment on lines +513 to +543
@pytest.mark.parametrize(
"partitioning", [None, Partitioning(PartitionStyle.HIVE, field_names=["path"])]
)
@pytest.mark.parametrize("merge_schema", [False, True])
def test_synthesized_path_filter_preserves_projection_limit_and_count(
tmp_path, restore_ctx, partitioning, merge_schema
):
directory = tmp_path / "path=foo"
directory.mkdir()
first = directory / "first.parquet"
matching = directory / "matching.parquet"
_write(first, pa.table({"id": [1]}))
_write(matching, pa.table({"id": [2]}))
restore_ctx.use_datasource_v2 = True
ds = ray.data.read_parquet(
[str(first), str(matching)],
include_paths=True,
partitioning=partitioning,
override_num_blocks=1,
merge_schema=merge_schema,
)
selected = ds.filter(expr=col("path") == str(matching)).select_columns(["id"])

assert selected.limit(1).take_all() == [{"id": 2}]
assert selected.count() == 1
empty = ds.filter(expr=col("path") == "foo").select_columns(["id"])
assert empty.limit(1).take_all() == []
assert empty.count() == 0
assert any(
isinstance(op, ReadFiles) for op in _walk(_optimized_count_plan(selected).dag)
)

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.

These two overlap: both apply a filter, select, limit and count on the synthesized path and inspect the plan. Could we keep just the predicate-pushdown one, since it also covers renaming, and drop L513–543, which relies on the internal _optimized_count_plan? In the one we keep, L96–97 (the residual references only path, the scanner predicate only id) and L105 (the result) carry the change. L98–102 assert limit and pruner state this PR doesn’t touch.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done. I removed the _optimized_count_plan test and the extra limit/pruner assertions. The retained test checks the renamed path residual, physical predicate, count() and limited result; reverting Arrow pushdown removes the residual and makes it fail.

Comment on lines +392 to +438
@pytest.mark.parametrize(
"partitioning", [None, Partitioning(PartitionStyle.HIVE, field_names=["path"])]
)
@pytest.mark.parametrize(
"operation", ["path", "directory", "and", "or", "not", "limit_count"]
)
def test_read_orc_v2_synthesized_path_filters(
ray_start_regular_shared, tmp_path, monkeypatch, partitioning, operation
):
from ray.data.context import DataContext

monkeypatch.setattr(DataContext.get_current(), "use_datasource_v2", True)
directory = tmp_path / "path=foo"
directory.mkdir()
first = directory / "first.orc"
matching = directory / "matching with spaces.orc"
_write_orc(str(first), pa.table({"id": [1]}))
_write_orc(str(matching), pa.table({"id": [2]}))
ds = ray.data.read_orc(
[str(first), str(matching)],
include_paths=True,
partitioning=partitioning,
override_num_blocks=1,
)
predicates = {
"path": col("path") == str(matching),
"directory": col("path") == "foo",
"and": (col("path") == str(matching)) & (col("id") == 2),
"or": (col("path") == "foo") | (col("id") == 2),
"not": ~(col("path") == "foo"),
"limit_count": col("path") == str(matching),
}
selected = ds.filter(expr=predicates[operation])
if operation == "limit_count":
selected = selected.select_columns(["id"])
assert selected.limit(1).take_all() == [{"id": 2}]
assert selected.count() == 1
assert ds.filter(expr=col("path") == "foo").select_columns(["id"]).count() == 0
else:
rows = selected.take_all()
expected = (
[] if operation == "directory" else [1, 2] if operation == "not" else [2]
)
assert sorted(row["id"] for row in rows) == expected
assert all(
row["path"] == str(first if row["id"] == 1 else matching) for row in rows
)

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.

ORC now uses the same ArrowFileScanner logic, so this 12-case matrix repeats the Parquet one. The only ORC-specific change is that unpartitioned ORC now splits too (before, OrcScanner only split when partitioning was set), and L373–378 already covers that. Could we drop L392–438 and make L373–378 its own small test, instead of an if orc_reader_version: branch inside test_read_orc_multiple_files?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done. I removed the 12-case matrix and the conditional in the existing test, and added a small directory-read test. With ORC inheriting the reverted Arrow pushdown, it fails with a missing path field error.

@abhishekverma-ray abhishekverma-ray added the go add ONLY when ready to merge, run all tests label Nov 17, 2026
@richardliaw
richardliaw enabled auto-merge (squash) November 17, 2026 17:11
@richardliaw
richardliaw merged commit afc0657 into ray-project:master Nov 17, 2026
8 checks passed
@jiangxt2
jiangxt2 deleted the fix-synthesized-path-filtering branch November 18, 2026 01:48
eugenepaniot added a commit to eugenepaniot/ray that referenced this pull request Nov 19, 2026
…floop-input

* upstream/master:
  [Data][3/n] update progress bar on lineage reconstruction (ray-project#67366)
  [Data] Enable the Top-N rewrite by default and expose it on DataContext (ray-project#68329)
  [Data] Adaptively skip map-side partial aggregation for high-cardinality keys (ray-project#68118)
  [Core] Spawn specific servers without preexec_fn to fix intermittent startup crashes (ray-project#67947)
  [Serve] Stop the __wrapped__ walk at non-callables (ray-project#67117)
  [Data] Deflake test_read_parquet_v2 by cutting redundant Ray Data executions (ray-project#68318)
  [Data] Retry FooterReader actor deaths with Ray Core and yield footers in listing order (ray-project#67988)
  [Data] Fix order-dependent schema unification when a list<null> arm is present (ray-project#68259)
  [Serve] Make @serve.batch work when wrapped in another decorator (ray-project#68177)
  [serve] Deflake test_metrics_3 - record the batch queue length once a batch is taken (ray-project#68302)
  [serve] Drop completed requests from the multiplexed model ID index (ray-project#68085)
  [Data] Fix flaky test_hudi: read each table once instead of sorting in Ray Data, keep size small (ray-project#68162)
  [Data] Fix flaky test_context: start 2 Ray clusters instead of 5 and keep size small (ray-project#68161)
  [Data] Fix flaky test_kafka: use recent timestamps in test_read_kafka_datetime_partial_range (ray-project#68248)
  [Data] Iceberg DSv2 [2/5]: The listing-to-reading manifest for Iceberg (ray-project#67951)
  [Train] Report training errors when the post-mortem debugger raises a BaseException (ray-project#68317)
  [RLlib] Skip the PPOConfig docstring example that crashes the rllib doctest target (ray-project#68306)
  [Train] Support post-mortem debugging for training function errors (ray-project#68296)
  [train][1/n] Give each health probe its own timeout (ray-project#68191)
  [Data] Fix unifying a fixed-shape tensor array with a lower-ndim variable-shaped one (ray-project#67266)
  [Train] Add a guide to debugging failures and hangs (ray-project#68299)
  [Data] Persist BlockMetadata.num_rows and batch ray.get in _calculate_blocks_rows (ray-project#67662)
  [Data] Vectorize LeRobot delta segment preparation and validate index contiguity (ray-project#67845)
  [Data] Avoid full-DataFrame apply in _AbstractKBinsDiscretizer._transform_pandas (ray-project#67862)
  [doc] Refresh intersphinx inventory snapshots (ray-project#68303)
  [Data] Fix SimpleImputer on categorical columns in append mode and with existing category values (ray-project#67467)
  [Data] Replace O(N) list.pop(0) with deque.popleft() in PushBasedShuffleTaskScheduler (ray-project#67243)
  [Train] Reject an elastic ScalingConfig with max_workers=0 (ray-project#68218)
  [core][move semantics][3/n]Populate task args with is_move for movable refs (ray-project#66803)
  [core][sandbox] Remove the readonly option (ray-project#68088)
  [Data](1/n) Implement the line-chunk reader for CSV and JSONL on DataSource V2 (ray-project#67907)
  [Data] Set MIMALLOC_PURGE_DELAY=0 on random_shuffle to fix the pyarrow 25 OOM regression (ray-project#68151)
  [core] Quote each `uv run` argument in the uv runtime env hook (ray-project#68156)
  [core] Don't let gRPC cancel calls that wait over 30s in the server queue (ray-project#68210)
  [Data] Fix shuffle and join on native tensor columns with pyarrow 25+ (ray-project#68072)
  [serve][llm] Remove decode load progress (ray-project#68258)
  [ci] Bump sglang to 0.5.23 in release tests (ray-project#68250)
  [Core] Build the test auth token file locally so Windows tests can read it (ray-project#68262)
  [image] Bump EFA installer to 1.51.0 in CPU base-extra images (ray-project#67730)
  [serve] Observe the result of rank reassignment reconfigures (ray-project#67923)
  [Serve][Docs] Explain imperative vs declarative deploys and in-place updates from Python (ray-project#68243)
  [Data] (Fault tolerance) Ray Data lineage reconstruction docs (ray-project#68061)
  [RLlib] Add a multi-node footsies APPO memory release test (ray-project#67595)
  [Train] Remove local mode (ray-project#68239)
  [Data] Fix filtered Lance row-count metadata (ray-project#67228)
  [Serve][2/2] Propagate TracingConfig to proxies at startup (ray-project#65437)
  [Data] Fix synthesized path filtering in DataSourceV2 (ray-project#67079)
  [RLlib] Run the BCConfig Tune example one trial at a time to unblock the rllib doctest target (ray-project#68242)
  [Data][Delta DSv2][2/7] List Delta Lake table files from the log (ray-project#67888)
  [Data] Parallelize Parquet and ORC full-schema reads (ray-project#67542)
  [Data] Random Shuffle on Shuffle V2 Map/Reduce Operators (ray-project#68004)
  [Data] Propagate metadata prefetch thread failures to executor (ray-project#68171)
  [core] Send generator consumed-progress updates from io_service_ (ray-project#67160)
  [Data] Add @ray-data-connectors as codeowner for datasource/sinks files (ray-project#68154)
  [data][llm] Keep the prompt in vLLM error rows (ray-project#67665)
  [data][actor-only][3/n] Actor-only backend: operator fusion (ray-project#67699)
  [Data] Read text files on DataSource v2 (ray-project#68063)
  [Autoscaler][KubeRay] Never patch worker group replicas below minReplicas (ray-project#67332)
  [Serve] Show progress of updating (ray-project#67107)
  [core][test] Trigger usage-stats OOM test without exhausting host memory (ray-project#68009)
  [Serve] Remove unused RAY_SERVE_HAPROXY_INGRESS_RETRY_ON and RAY_SERV… (ray-project#68175)
  [Data] Implement lineage tracker garbage collection upon marking operator durable (ray-project#67788)
  [Core] Fix recovery suppression race in ObjectRecoveryManager (ray-project#64974)
  [serve] Pass grpc.so_reuseport to gRPC as an integer (ray-project#66816)
  [Autoscaler][v2] Preserve retry accounting when trimming status history (ray-project#67360)
  [doc] Refresh intersphinx inventory snapshots (ray-project#68069)
  [Doc] Add item to AGENTS.md to update documentation when modifying API-facing code. (ray-project#68204)
  [Train] Preserve `num_boost_round=0` and avoid mutating `callbacks` in legacy LightGBM/XGBoost trainers (ray-project#68145)
  [Train] Raise in prepare_data_loader instead of dropping a custom batch_sampler (ray-project#68201)
  [air] Return None in skip_exceptions when exc or StartTraceback cause is None (ray-project#68172)
  [Train] Fix `checkpoint_manager` to support metrics only reported in a validation function (ray-project#67909)
  [Train] Count elastic workers in resource units for fractional resources (ray-project#68139)
  [Data] Refactor Disk shuffle map to use map Operator (ray-project#67130)
  [core][move semantics][2/n] Change state to moved on consumption and add enforcements (ray-project#66767)
  [Data] Propagate labels to object-store SHUFFLE_V2 map/reduce tasks (ray-project#67135)
  feat(core): add Cambricon MLU resource support (ray-project#66368)
  [Data] Make `zero_copy_batch=False` copy default batches (ray-project#67154)
  [data] Fix Parquet filename suffix detection (ray-project#67156)
  [data] Fix docstring/behavior mismatches in read_json and Dataset.sort (ray-project#66927)
  [Data] Run video_object_detection.ray on T4s with more memory (ray-project#68149)
  [core][sandbox] Let a node override network="public" sandboxes' default resolvers (ray-project#67691)
  [Data] read_mcap: resolve each sample's steps and lay out its row (ray-project#67925)
  [Data] read_mcap: sample read inputs: TopicSpec, steps, match and samples checks (ray-project#67924)
  [Data] Keep a map task's buffered rows when max_errored_blocks skips its error; read past corrupt MCAP chunks (ray-project#67167)
  [core][move semantics][1/n] Adding consume_once flag in actor methods (ray-project#66620)
  [Data] Size the schema pin and the columns Ray adds in the Parquet decoded-size estimate [3/6] (ray-project#67838)
  [Serve][LLM][1/3] Token based autoscaling: track autoscaling workload in KV router (ray-project#67937)
  [Data] Add native direct reads for nonpartitioned Hive tables (ray-project#67114)
  [Train] Count elastic workers in resource units for fractional resources (ray-project#68139)
  [Data] Add `condition` to `Dataset.join` and extract equi-join keys from it (ray-project#67590)
  [data] Add Top-N execution (ray-project#66931)
  [build] Bazel 8.8.1: bump protobuf to v29.6, rules_java to 8.12.0 and gRPC to 1.69.0 (ray-project#66483)
  [build] Use Arena::Create and pin Java 8 bytecode ahead of protobuf 29 / rules_java 8 (ray-project#67720)
  [core][sandbox] Don't join a sandbox's cgroup on every exec (ray-project#67690)
  [Data] Run `training_ingest_regression_test` on Instances that can be Provisioned (ray-project#68110)
  [Data] Run Sort on Disk-based Shuffle under SHUFFLE_V2 (ray-project#67850)
  [core] Deflake tests that race on timing (ray-project#67717)
  [ci] Bump pypa manylinux2014 base image to 2026.10.22-0 for CPython 3.15 (ray-project#67285)
  [Data] Make Mcap Data Column Test Insensitive to Struct Field Order (ray-project#68109)
  [Data] read_mcap V2: cut large files where their log-time order holds (ray-project#67166)
  [core][sandbox] Commit sandbox as new registry image (ray-project#67972)
  [Data] read_mcap V2: read neighbouring chunks in one ranged request (ray-project#67930)
  [train][4/n] Wire WorkerProbes through the HealthManager (ray-project#67915)
  [train][3/n] Add WorkerProbe results and health reports to the HealthState (ray-project#67879)
  [Data] (Data fault tolerance ray-project#6/6) Add a manual release test for lineage reconstruction (ray-project#67519)
  [train][6/n] Act on health decisions in the Ray Train controller (ray-project#67856)
  [Train] Do not start an elastic worker group with zero workers (ray-project#68101)
  [Train] Keep the last checkpoint after a metrics-only report in local mode (ray-project#68070)
  [Data][2/n] Migrate GPU Shuffle to Unified Phase Metrics (ray-project#67359)
  [Data][Chkpt] Fix `ArrowInvalid` when loading large generated-ID checkpoints (ray-project#68065)
  [core][test] Create auth token in test_redis_wrong_password (ray-project#68014)
  [data][actor-only][2/n] Actor-only backend: promote task pools to actor pools (ray-project#67698)
  [Data] Fix typing mismatches in Dataset public API (ray-project#62077)
  [Data] read_mcap V2: carry read tasks' summary records in the manifest (ray-project#67929)
  [Data] Distinguish generated ID collisions with synthesized columns (ray-project#67164)
  [Data] Fix incorrect scale-up in rate-based autoscaler for custom resources (ray-project#66647)
  [Data][Delta DSv2][1/7] Shared Parquet and partitioning fixes for the Delta reader (ray-project#67887)
  [Data] Eliminate redundant aggregation shuffle (ray-project#67198)
  [Data] Raise minimum supported pyarrow to 23.0.0 and test up to 26.0.1 (ray-project#68005)
  [Train] Use the default validation timeout when a report's ValidationTaskConfig has none (ray-project#68045)
  [doc][train] Use the global batch size in the TensorFlow Train examples (ray-project#68006)
  [TPU] Default multi-slice MASTER_ADDR to slice 0 host 0 in SlicePlacementGroup (ray-project#67878)
  [Data] Estimate a Parquet row group's decoded Arrow bytes from its footer [2/6] (ray-project#67837)
  [Data] Predicate pushdown through joins: split conjuncts, derive one-sided OR weakenings (ray-project#67122)
  [Data] Add partition_filters to read_delta and take file sizes from the log (ray-project#67900)
  [Data] Stop writing Unity Catalog vended credentials to the environment (ray-project#67899)
  [Data] Raise an error for Delta tables with column mapping in write_delta (ray-project#67898)
  [Core] Add initial foundational configurations and flags for fork server (ray-project#67356)
  [core][sandbox] Image layers caching (ray-project#67874)
  [Doc][Train] Add device stream batch prefetching section to accelerator guide (ray-project#67779)
  [Train] Use user-defined train function name in training thread name and error stack traces (ray-project#64292)
  [serve][docs] Remove beta label from custom autoscaling policies (ray-project#68046)
  [core] Don't treat a gRPC client with calls in flight as idle (ray-project#67718)
  [train] Fix checkpoint sorting to support nested metrics (ray-project#59130)
  [train][5/n] Run ControllerProbes on the controller's node monitor (ray-project#67671)
  [Train] Rank a checkpoint without the score attribute as worst in min order (ray-project#67901)
  [Core][RuntimeEnv] Stream runtime environment package downloads (ray-project#67184)
  [core] Deflake `_run_hanging_command` tests (ray-project#67461)
  [Data] Add Gravitino Iceberg REST catalog provider (ray-project#67007)
  [Data] Fix mixed-root partition filtering in Parquet and ORC V2 (ray-project#67067)
  [core] Keep absl logging at ERROR unless GRPC_VERBOSITY is set (ray-project#67719)
  [Data][1/n]Add Shuffle Metrics Unification Instrumentation (ray-project#66968)
  [ci][release] Stop publishing Python 3.10 wheels and images (ray-project#67722)
  [serve] Copy the ASGI lifespan state into each request scope (ray-project#67844)
  [Serve][LLM][4/5] Support scale-to-zero application routing (ray-project#67087)
  [core][sandbox] Let GPU sandboxes request NVIDIA profiling capabilities (ray-project#67974)
  [Serve][LLM] Exclude LLMRouter from dashboard QPS (ray-project#67873)
  [Data] Read the Parquet SizeStatistics PyArrow doesn't expose [1/6] (ray-project#67836)
  Add perf metrics for 2.60.0 (ray-project#67727)
  [Observability / Train] Add Grafana Annotation support with Ray Train usage (ray-project#66958)

Signed-off-by: Eugene Paniot <[email protected]>

# Conflicts:
#	python/ray/data/_internal/planner/plan_udf_map_op.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-contribution Contributed by the community data Ray Data-related issues go add ONLY when ready to merge, run all tests unstale A PR that has been marked unstale. It will not get marked stale again if this label is on it.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Data] Filters on synthesized path columns can return incorrect rows

3 participants