Incubator-superset: Issue with Group by and columns in Pivot Table Viz

Created on 2 Apr 2018  路  3Comments  路  Source: apache/incubator-superset

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

24.0

Expected results

In the pivot table viz when clicking oh the group by or column drop down the values should render in the drop down .

Actual results

But the values do not render in the drop down . It displays a blank dropdown .

screenshot from 2018-04-02 20-01-23

when exploring the code i could see that , the column option gets an additional object timeColumnOption from /explore/stores/control.jsx along with the columns from the datasource.

`const timeColumnOption = {
verbose_name: 'Time',
column_name: '__timestamp',
description: t(
'A reference to the [Time] configuration, taking granularity into ' +
'account'),
};

if (control && control.includeTime) {
newState.options.push(timeColumnOption);
}`

this sets the column type to be undefined which throws the error in ColumnTypeLabel . Commenting the above code in the control.jsx worked for me . But am not sure whether thats the correct approach .

Steps to reproduce

  1. create chart using pivot viz .
  2. Try to choose a column in group by or columns .
inactive

Most helpful comment

I can confirm this is also an issue for me.

All 3 comments

I can confirm this is also an issue for me.

Same problem here.

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. For admin, please label this issue .pinned to prevent stale bot from closing the issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ghost picture ghost  路  3Comments

eliab picture eliab  路  3Comments

josephtyler picture josephtyler  路  3Comments

lenguyenthedat picture lenguyenthedat  路  3Comments

kalimuthu123 picture kalimuthu123  路  3Comments