Changing DISTKEY/SORTKEY in an Existing Redshift Table

Redshift does not allow you to change certain table attributes such as the DISTKEY, SORTKEY or ENCODE of an existing table.In order to change these attributes safely while running AutoLoad or Sync, you can follow the steps below.