XiaoHongbo-Hope opened a new pull request, #9789:
URL: https://github.com/apache/paimon/pull/9789
## Purpose
Support literal-key projection for top-level `MAP<STRING, ...>` columns
through the existing `with_projection()` API:
```python
read_builder.with_projection([
"step_id",
"content_refs.media.camera_head_left",
])
```
The suffix after the MAP column is one literal key, including any dots.
## Behavior
- Shared-shredding files read only field mapping, candidate physical
columns, and overflow when required.
- Default and legacy MAP files fall back to reading the complete MAP.
- Parquet, ORC, column rename, value type evolution, and data-evolution
reads are supported.
- Full-MAP projection and MAP aggregation retain the existing full-read
behavior.
- No new public API or table option is introduced.
## Tests
- 24 targeted Python tests pass.
- Java-written shared-shredding Parquet and ORC fixtures pass Python
selected-key reads.
- Python flake8 and `git diff --check` pass.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]