ververica / flink-sql-gateway

Apache License 2.0
490 stars 187 forks source link

API: parameter to only fetch N max rows at the time #51

Open romainr opened 4 years ago

romainr commented 4 years ago

Typically DB APIs provide a way to fetch only N max rows in one call. This helps avoid sending way too many rows to the clients.

Bit related to #49

romainr commented 4 years ago

Note: in ksqDB we get a Stream Response when executing a query, which allow real time displays (instead of pulling results continuously) e.g. how then a Python client can call the API https://requests.readthedocs.io/en/master/user/advanced/#streaming-requests