Skip to content

Commit

Permalink
fix xlsx download
Browse files Browse the repository at this point in the history
  • Loading branch information
pa1ch committed Dec 16, 2024
1 parent 662396b commit e23e0cb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion superset/charts/data/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,6 @@ def _convert_data_response(
if v == "asc":
result_df = result_df.sort_values(by=[k], ascending=True)
if result_format == ChartDataResultFormat.XLSX:
result_df = excel.apply_column_types(result_df, query["coltypes"])
result_data = excel.df_to_excel(
result_df, **current_app.config["EXCEL_EXPORT"]
)
Expand Down

0 comments on commit e23e0cb

Please sign in to comment.