## The symptom
`analyze-schema-compression.py` from amazon-redshift-utils crashes when a table has
a column named with a reserved word such as `time`. The generated `INSERT SELECT`
does not quote the identifier properly, so Redshift rejects it.
## The fix
The maintainer reproduced it on the thread and fixed it in commit 9b4a50e, with a
successful test run shown afterwards.
1. Pull the latest amazon-redshift-utils (a checkout that contains commit 9b4a50e).
2. Rerun `./analyze-schema-compression.py` with your usual arguments.
3. Columns with reserved-word names no longer crash the analysis.
## Heads up: this utility is deprecated
The Column Encoding Utility is now deprecated in favor of Redshift's Automatic
Table Optimization (`ALTER TABLE ... ALTER SORTKEY AUTO`). If you still run this
script, plan a migration to automatic optimization.