XiaoHongbo-Hope commented on PR #9789:
URL: https://github.com/apache/paimon/pull/9789#issuecomment-5662595890
@JingsongLi Could you please review the public API choice?
PyPaimon has no expression layer, so this PR keeps the existing projection
entry point and uses Spark-style MAP access:
```python
read_builder.with_projection([
"profile.name",
"attributes['key.with.dots']",
])
```
We considered adding `with_read_type()` or a Python-specific projection
object, but both expose more low-level API. Internally, this still uses the
same selected-key `RowType` metadata as Java/Spark. Does this approach look
reasonable?
--
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]