An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
Found the issue.
Behind the scene Synapse creates a temp table that is used for inserting the data into the table backing the materialized view.
For some of these temp tables, the standard on field names is not respected. If basically can't work out, the the name is [Dimension Code] but for whatever reason creates the field twice (most likely because of the space in the name).
When removing the space in the [Dimension Code] field (to [DimensionCode] ) I no longer get the error.
Recommendation: Avoid spaces in field names, even though they are syntactical valid.