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

Boxplot only shows a <NULL> in x-axis #16951

Closed
2 tasks done
akizminet opened this issue Oct 4, 2021 · 1 comment · Fixed by apache-superset/superset-ui#1448
Closed
2 tasks done

Boxplot only shows a <NULL> in x-axis #16951

akizminet opened this issue Oct 4, 2021 · 1 comment · Fixed by apache-superset/superset-ui#1448
Labels
#bug Bug report

Comments

@akizminet
Copy link

akizminet commented Oct 4, 2021

Boxplot only shows a <NULL> on the example chart.

Generated query:

SELECT DATE_TRUNC('day', year) AS year,
       region AS region,
       sum("SP_POP_TOTL") AS "sum__SP_POP_TOTL"
FROM wb_health_population
WHERE year >= TO_TIMESTAMP('1960-01-01 00:00:00.000000', 'YYYY-MM-DD HH24:MI:SS.US')
  AND year < TO_TIMESTAMP('2021-10-04 04:03:20.000000', 'YYYY-MM-DD HH24:MI:SS.US')
GROUP BY DATE_TRUNC('day', year),
         region
LIMIT 50000;

How to reproduce the bug

  1. Clone superset from github and start with docker-compose -f docker-compose-non-dev.yml up -d
  2. Login and go to Chart. Choose Box plot
  3. See error

Expected results

Boxplot shows multiple regions in x-axis

Actual results

Boxplot only shows a NULL in x-axis

Screenshots

image

Environment

  • browser type and version: Chrome 94
  • superset version: Superset 0.0.0dev
  • python version: 3.7.9
  • any feature flags active: None

Checklist

Make sure to follow these steps before submitting your issue - thank you!

  • I have reproduced the issue with at least the latest released version of superset.
  • I have checked the issue tracker for the same issue and I haven't found one similar.
@akizminet akizminet added the #bug Bug report label Oct 4, 2021
@bayesfactor
Copy link

I have the same issue with boxplot on v0.0.0dev, Firefox

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
#bug Bug report
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants