smaheshwar-pltr opened a new pull request, #4521:
URL: https://github.com/apache/iceberg-python/pull/4521

   # Rationale for this change
   
   `DataScan.to_arrow()` and `to_arrow_batch_reader()` take 
`dictionary_columns`, which reads the given columns dictionary-encoded to save 
memory on low-cardinality strings. The `IncrementalAppendScan` versions don't, 
although both go through the same Arrow helpers. This adds the argument to 
both, with the same default and docstring as `DataScan`.
   
   ## Are these changes tested?
   
   Yes. A test runs an incremental scan over two appends on the in-memory and 
SQL catalogs, and checks that both methods return only the requested column 
dictionary-encoded.
   
   ## Are there any user-facing changes?
   
   `IncrementalAppendScan.to_arrow()` and `to_arrow_batch_reader()` accept an 
optional `dictionary_columns` argument.
   
   **AI Disclosure:** This PR was authored by Claude Code (Opus 5.5) but 
directed and overseen by me.
   


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to