Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

auto limit for trino #7309

Open
paragor opened this issue Feb 4, 2025 · 0 comments
Open

auto limit for trino #7309

paragor opened this issue Feb 4, 2025 · 0 comments

Comments

@paragor
Copy link

paragor commented Feb 4, 2025

Issue Summary

trino class inherits from BaseQueryRunner (not from BaseSQLQueryRunner)

class Trino(BaseQueryRunner):

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

  1. Go to query that use trino
  2. "LIMIT 1000" checkbox is disabled

Technical details:

  • Redash Version: latest
  • Browser/OS: any
  • How did you install Redash: self hosted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant