You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m working on a custom Trino connector (query external data source via HTTP protocol) and would like to push down the OFFSET parameter directly to the data source. However, it seems that Trino might not support this functionality fully at the moment.
For example, when I run a query like:
SELECT*FROM custom_connector_table OFFSET 1LIMIT1
the ConnectorMetadata.applyLimit method only receives limit = 2, without a clear way to distinguish between the OFFSET and LIMIT values separately.
Is there a way to directly access the values of both OFFSET and LIMIT in the current Trino API, or is there another recommended approach for implementing OFFSET pushdown in a custom connector?
Any guidance on this would be greatly appreciated!
The text was updated successfully, but these errors were encountered:
I’m working on a custom Trino connector (query external data source via HTTP protocol) and would like to push down the
OFFSET
parameter directly to the data source. However, it seems that Trino might not support this functionality fully at the moment.For example, when I run a query like:
the ConnectorMetadata.applyLimit method only receives
limit = 2
, without a clear way to distinguish between theOFFSET
andLIMIT
values separately.Is there a way to directly access the values of both
OFFSET
andLIMIT
in the current Trino API, or is there another recommended approach for implementing OFFSET pushdown in a custom connector?Any guidance on this would be greatly appreciated!
The text was updated successfully, but these errors were encountered: