Edit on GitHub
How Can I Change Sort or Dist Keys Dynamically?link
Questionlink
How can I change the Redshift sort or dist keys using a single command or dynamically?
Environmentlink
Answerlink
Do the following:
How can I change the Redshift sort or dist keys using a single command or dynamically?
Do the following: