Skip to content

Commit b79d3f4

Browse files
authored
Merge pull request #113421 from XiaoyuMSFT/updatablekey
updatable dist key
2 parents ae43bc8 + db5eeeb commit b79d3f4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/synapse-analytics/sql-data-warehouse/sql-data-warehouse-tables-distribute.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,11 @@ WITH
8787
;
8888
```
8989

90-
Choosing a distribution column is an important design decision since the values in this column determine how the rows are distributed. The best choice depends on several factors, and usually involves tradeoffs. However, if you don't choose the best column the first time, you can use [CREATE TABLE AS SELECT (CTAS)](/sql/t-sql/statements/create-table-as-select-azure-sql-data-warehouse?toc=/azure/synapse-analytics/sql-data-warehouse/toc.json&bc=/azure/synapse-analytics/sql-data-warehouse/breadcrumb/toc.json&view=azure-sqldw-latest) to re-create the table with a different distribution column.
90+
Data stored in the distribution column can be updated. Updates to data in the distribution column could result in data shuffle operation.
9191

92-
### Choose a distribution column that does not require updates
92+
Choosing a distribution column is an important design decision since the values in this column determine how the rows are distributed. The best choice depends on several factors, and usually involves tradeoffs. Once a distribution column is chosen, you cannot change it.
9393

94-
You cannot update a distribution column unless you delete the row and insert a new row with the updated values. Therefore, select a column with static values.
94+
If you didn't choose the best column the first time, you can use [CREATE TABLE AS SELECT (CTAS)](/sql/t-sql/statements/create-table-as-select-azure-sql-data-warehouse?toc=/azure/synapse-analytics/sql-data-warehouse/toc.json&bc=/azure/synapse-analytics/sql-data-warehouse/breadcrumb/toc.json&view=azure-sqldw-latest) to re-create the table with a different distribution column.
9595

9696
### Choose a distribution column with data that distributes evenly
9797

0 commit comments

Comments
 (0)