[ 
https://issues.apache.org/jira/browse/FLINK-40437?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dian Fu closed FLINK-40437.
---------------------------
    Fix Version/s: 2.4.0
       Resolution: Fixed

Merged to master via 5c422565ab1fa8a8b0d019aacec405ee44f4d116

> Add iteration and bounded retrieval to DataFrame API
> ----------------------------------------------------
>
>                 Key: FLINK-40437
>                 URL: https://issues.apache.org/jira/browse/FLINK-40437
>             Project: Flink
>          Issue Type: Sub-task
>          Components: API / Python
>            Reporter: Liu Liu
>            Assignee: Federico Dolce
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.4.0
>
>
> Add incremental row and batch result APIs:
> {code:java}
> def iter_rows(
>     self,
>     *,
>     include_row_kind=False,
>     row_kind_field="__row_kind__",
> ) -> CloseableIterator[Dict[str, Any]]
> def iter_batches(
>     self,
>     *,
>     batch_size=1000,
>     batch_format="pandas",
>     include_row_kind=False,
>     row_kind_field="__row_kind__",
> ) -> CloseableIterator {code}
> Also add bounded retrieval helpers:
> {code:java}
> def take(self, n, *, timeout=None, include_row_kind=False, ...) -> List[Dict]
> def take_batch(self, n, *, timeout=None, batch_format="pandas", ...) -> Batch 
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to