trinodb / trino

Official repository of Trino, the distributed SQL query engine for big data, formerly known as PrestoSQL (https://trino.io)
https://trino.io
Apache License 2.0
10.43k stars 3k forks source link

Add support for LIMIT pushdown in BigQuery connector #23937

Open ebyhr opened 1 week ago

ebyhr commented 1 week ago

BigQuery Storage API doesn't support limiting rows, but REST API supports LIMIT clause. https://cloud.google.com/bigquery/docs/reference/standard-sql/query-syntax#limit_and_offset_clause

ebyhr commented 1 week ago

cc: @pajaks

chenjian2664 commented 1 week ago

Would like to take this if you haven't start on this @pajaks Please let me know, thanks

pajaks commented 1 week ago

Would like to take this if you haven't start on this @pajaks Please let me know, thanks

@chenjian2664 Fell free to take it