Open
Description
When we create several calculated dimensions in a table chart aggregated, Superset keep the last name given, and not the default value
How to reproduce the bug
- Create table chart 'aggregated'
- Create a dimension with custom_sql and Name it
- Create another one
- By default it keep the name of the previous column, and not the value by default
- So the new column is not taken in account in the table, because they have the same name
Expected results
Always have the default value when we create a calculated dimension
Actual results
By default it keep the name of the previous column, and not the value by default
Screenshots
Environment
(please complete the following information):
- browser type and version: Google Chrome Version 117.0.5938.149
- superset version: 2.1.0
- node.js version:
node -v
- any feature flags active: Table Chart
Checklist
Make sure to follow these steps before submitting your issue - thank you!
- 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
Add any other context about the problem here.