superset icon indicating copy to clipboard operation
superset copied to clipboard

export csv is not giving latest data

Open malleshm opened this issue 10 years ago • 3 comments

I have opened slice and changed some group by and ran "query" after that try to export in csv format but not getting latests data.

Any update on this.

Superset version

Expected results

Actual results

Steps to reproduce

malleshm avatar Nov 18 '16 06:11 malleshm

Couldn't reproduce this bug, is this on latest master? We had problem with csv before and was solved in https://github.com/airbnb/superset/pull/1292

vera-liu avatar Nov 30 '16 17:11 vera-liu

no this one was on old master set(caravel).

Open any saved slice http://localhost:8088/caravel/explore/table/1/?flt_col_0=source&datasource_id=3&flt_op_0=in&slice_id=37&viz_type=sankey&row_limit=5000&metric=sum__value&having=&groupby=source&groupby=target&json=false&collapsed_fieldsets=&datasource_name=energy_usage&slice_name=Energy+Sankey&where=&datasource_type=table&flt_eq_0=

Then change GroupBy(source or target), run the query. After this if u ll try do CSV export we will not get latest groupby column result, we will get same saved slice details.

malleshm avatar Dec 05 '16 12:12 malleshm

Seems to be working in latest master, I believe this was fixed in https://github.com/airbnb/superset/pull/1292

vera-liu avatar Dec 05 '16 18:12 vera-liu