JingsongLi commented on code in PR #9789: URL: https://github.com/apache/paimon/pull/9789#discussion_r4004612225
########## docs/docs/pypaimon/reading.md: ########## @@ -79,10 +79,28 @@ Nested `ROW` projections are supported for ordinary append tables and primary-ke merge reads. The reader may read the containing `ROW` and extract the requested leaf, so selecting a leaf does not guarantee physical leaf-only I/O. +For a top-level `MAP<STRING, ...>`, use a quoted bracket selector. Dots inside +the key are preserved: + +```python +read_builder = read_builder.with_projection([ + 'id', "attributes['key.with.dots']" Review Comment: ...the doc is super strange, you should introduce a simple one. And explain key with dots... -- 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]
