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
Having GENERIC_CHART_AXES enabled, the x-Axis control works as expected when using existing columns ("simple") and calculated columns ("saved"). However, when using "custom sql" Superset claims that 0 rows were returned, which is not true.
How to reproduce the bug
Enable the GENERIC_CHART_AXES feature flag
Create a new chart of type Scatter Plot
Choose any metric to be shown on the y-axis
Define some custom SQL for the x-axis; this could be as simple as an existing column name written in parentheses or with added whitespace or so
Run the query
Realize that no data is shown in the chart
Go to the hamburger menu and select Run in SQLLab
Notice that in SQLLab there actually are rows returned from this query
Expected results
The scatter plot shows all returned rows/records.
Actual results
The scatter plot is empty, claiming that no rows were returned by the query.
Screenshots
Environment
(please complete the following information):
browser type and version: Chrome 100.0.4896.127 (Official Build) (64-bit)
Having GENERIC_CHART_AXES enabled, the x-Axis control works as expected when using existing columns ("simple") and calculated columns ("saved"). However, when using "custom sql" Superset claims that 0 rows were returned, which is not true.
How to reproduce the bug
Expected results
The scatter plot shows all returned rows/records.
Actual results
The scatter plot is empty, claiming that no rows were returned by the query.
Screenshots
Environment
(please complete the following information):
Checklist
Make sure to follow these steps before submitting your issue - thank you!
The text was updated successfully, but these errors were encountered: