Offer sorting via column headers on SQL questions with parameters
- Dominant language
- Clojure
- Stars
- 49.3k
- Forks
- 6.8k
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 653
Description
**Is your feature request related to a problem? Please describe.**
If a SQL question doesn't have parameters, then we offer the sorting via the column headers (once it's saved), but if the question has parameters we can't do nothing about it
**Describe the solution you'd like**
Allow a user to sort the SQL question with parameters from the headers
**Describe alternatives you've considered**
NA
**How important is this feature to you?**
Requested by a customer
**Additional context**
The reason why we can't do this is simply because we can't wrap the question in a GUI question and then use the order by clause below. We need to find a way of passing through the filters from SQL questions to GUI questions first and then offer this
Contributor guide
Research direction
Start by tracing how saved SQL questions with parameters are handled and how column-header sorting works for SQL questions without parameters. Investigate the stated limitation around wrapping a question in a GUI question and passing filters through. Done means parameterized SQL questions can be sorted from their column headers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- clojure, sql
- Domain
- data-visualization, database
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100