superset icon indicating copy to clipboard operation
superset copied to clipboard

Time Series Table: group-by keys must be strings

Open rumbin opened this issue 9 years ago • 5 comments

Make sure these boxes are checked before submitting your issue - thank you!

  • [x] I have checked the superset logs for python stacktraces and included it here as text if any
  • [x] I have reproduced the issue with at least the latest released version of superset
  • [x] I have checked the issue tracker for the same issue and I haven't found one similar

Superset version

0.20.3

Expected results

Any groupable column or combination of columns can be used to group by, when creating a Time Series Table slice

Actual results

Rendering the slice fails if…

  • …more than one groupable column is selected; error: 'keys must be a string'
  • …only one column is selected for grouping but the column is of type int instead of str

Steps to reproduce

…self explanatory, I suppose…

rumbin avatar Oct 06 '17 21:10 rumbin

I met the same issue

scott-retair avatar Mar 13 '18 10:03 scott-retair

If you are grouping by an int, is it really an int? Or is it an id that can be cast as a string?

SpyderAlba avatar Mar 19 '18 17:03 SpyderAlba

Could not reproduce on master can you confirm?

mistercrunch avatar Mar 19 '18 18:03 mistercrunch

Same issue

tvorogme avatar Dec 05 '18 12:12 tvorogme

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 10 '19 09:04 stale[bot]