You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using SQLParser, the following ALTER TABLE statement fails to parse:
ALTER TABLE test.test MODIFY COLUMN v varchar(255) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL AFTER id,DROP PRIMARY KEY,ADD PRIMARY KEY (id, v) USING BTREE
The issue seems to be related to the presence of the COLLATE latin1_swedish_ci clause. If the COLLATE clause is removed, the statement parses successfully.
The text was updated successfully, but these errors were encountered:
When using SQLParser, the following ALTER TABLE statement fails to parse:
ALTER TABLE
test
.test
MODIFY COLUMNv
varchar(255) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL AFTERid
,DROP PRIMARY KEY,ADD PRIMARY KEY (id
,v
) USING BTREEThe issue seems to be related to the presence of the COLLATE latin1_swedish_ci clause. If the COLLATE clause is removed, the statement parses successfully.
The text was updated successfully, but these errors were encountered: