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

Alert page breaks when target query returns zero-length column name #4373

Open
susodapop opened this issue Nov 19, 2019 · 0 comments
Open

Alert page breaks when target query returns zero-length column name #4373

susodapop opened this issue Nov 19, 2019 · 0 comments

Comments

@susodapop
Copy link
Contributor

Issue Summary

This is similar to #4249.

Steps to Reproduce

  1. Create a query with the query results data source: SELECT 1 ""
  2. Make a new Alert and target the query from step one
  3. Observe the Alert interface disappears.

I can only reproduce it with the query results data source because most other databases will not permit a zero-length column alias. If you run this query in Postgres the database raises an exception. But SQLite allows it so we see the error.

Technical details:

  • Redash Version: v9 Alpha
  • Browser/OS: FF, Safari, Chrome
  • How did you install Redash: SaaS
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