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.49k stars 3.02k forks source link

Add support for LIMIT pushdown in BigQuery connector #23937

Open ebyhr opened 3 weeks ago

ebyhr commented 3 weeks 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 3 weeks ago

cc: @pajaks

chenjian2664 commented 3 weeks ago

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

pajaks commented 3 weeks 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