JSqlParser
JSqlParser copied to clipboard
Fix parsing `ALTER TABLE ... ADD COLUMNS (...)`
The current behaviour fails when it encounters ADD COLUMNS and merges everything in the () into one string with no whitespace.
So ALTER TABLE catalog.table.name ADD COLUMNS (apples int) becomes ALTER TABLE catalog.table.name ADD COLUMNS (applesint).
This commit adds an understanding of ALTER TABLE ... ADD COLUMNS to the grammar.