Multi-part ALTER TABLE
statements can't reference columns added in the same statement.
#8293
Labels
correctness
We don't return the same result as MySQL
enhancement
New feature or request
sql
Issue with SQL
This works in MySQL (and in the GMS in-memory DB):
But trying it in Dolt results in an error:
Most likely this happens because we attempt to resolve all parts of the statement before any of the new columns are added.
The text was updated successfully, but these errors were encountered: