redash
redash copied to clipboard
auto limit for trino
Issue Summary
trino class inherits from BaseQueryRunner (not from BaseSQLQueryRunner) https://github.com/getredash/redash/blob/2776992101a93ef205daee4cc6bc68c42d77f114/redash/query_runner/trino.py#L46
so there is no "apply_auto_limit" feature for Trino Datasouce. But it could be supported from the box - just need replace BaseQueryRunner to BaseSQLQueryRunner in Trino declaration classs.
Steps to Reproduce
- Go to query that use trino
- "LIMIT 1000" checkbox is disabled
Technical details:
- Redash Version: latest
- Browser/OS: any
- How did you install Redash: self hosted