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

Histogram visualization error when using numeric type. #8266

Closed
1 of 3 tasks
kuckjwi0928 opened this issue Sep 20, 2019 · 2 comments
Closed
1 of 3 tasks

Histogram visualization error when using numeric type. #8266

kuckjwi0928 opened this issue Sep 20, 2019 · 2 comments
Labels
!deprecated-label:bug Deprecated label - Use #bug instead

Comments

@kuckjwi0928
Copy link
Contributor

Histogram visualization error when using numeric type.

Query parameter

e.g.
Numeric Columns: Numeric type columns
Group by: Numeric type columns

Expected results

A histogram is drawn.

Actual results

Error occurred. (type error)

Screenshots

2019-09-20 15-54-23 2019-09-20 15_55_04

How to reproduce the bug

  1. Go to Sources menu.
  2. Click on Tables.
  3. Click on Specific table.
  4. Select histogram chart.
  5. Numeric Columns and Group by columns setting.
  6. Run query
  7. See error. ('int' object is not iterable)

Environment

  • superset version: master
  • python version: Python 3.7.4
  • node.js version: v11.5.0
  • npm version: 6.9.0

Checklist

  • I have checked the superset logs for python stacktraces and included it here as text if there are any.
  • 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.

Additional context

No

@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label #bug to this issue, with a confidence of 0.98. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@issue-label-bot issue-label-bot bot added the !deprecated-label:bug Deprecated label - Use #bug instead label Sep 20, 2019
@kuckjwi0928
Copy link
Contributor Author

This problem will be solved by checking the instance of numeric type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
!deprecated-label:bug Deprecated label - Use #bug instead
Projects
None yet
Development

No branches or pull requests

2 participants