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
In our company we use trino with redash.
Sometimes people try to fetch large dataset from trino and it is crash redash. Because redash try to persist all query result to postgresql.
I didn't find clear examples where other engines have added the ability to inject a LIMIT clause automatically into the submitted query. It seems common practise to do this in the client submitting the query or through some proxy sits between client and the engine (pg_rewrite).
In our company we use trino with redash.
Sometimes people try to fetch large dataset from trino and it is crash redash. Because redash try to persist all query result to postgresql.
There is issue getredash/redash#7309 for redash. But due complex query in trino (with CTE, UNIONs, etc...) it will not be work for all cases (see trick for detect select query in redash https://github.com/getredash/redash/blob/2776992101a93ef205daee4cc6bc68c42d77f114/redash/query_runner/__init__.py#L294).
So i suggest to add new properties for session that add can force limit for select queries.
I think this is will be useful for another dashboards system too (like grafana, tableau).
The text was updated successfully, but these errors were encountered: