kgabryje commented on PR #20010:
URL: https://github.com/apache/superset/pull/20010#issuecomment-1126027869

   > Thanks, Kamil. I also noticed this but I want to discuss it with you for 
this. Since the Pivot Table allows `Row` and `Columns` to have the same 
columns, I didn't deduplicate the name of columns when collecting 
sharedControl. The current solution also provides the same view between Table 
and PivotTable. So, I think that if we need to add the restriction on the 
SharedControl, we also need to add this in Pivot Table.
   
   I think that we should deduplicate control values by default, as we never 
allow drag and dropping duplicated values. In the case of Pivot Table it's 
allowed because Rows and Columns are separate controls. So I think that when we 
transition from Pivot Table to any other chart we should join values from Rows 
and Columns, remove duplicates and populate Dimensions of the new viz with the 
result


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to