shyjsarah opened a new issue, #1119:
URL: https://github.com/apache/paimon-rust/issues/1119

   ### Search before asking\n\n- [x] I searched the existing issues and found 
nothing similar.\n\n### Please describe the bug\n\nSQLContext supports ALTER 
TABLE SET TBLPROPERTIES, but the Paimon-style parenthesized SET syntax is 
rejected:\n\n    ALTER TABLE mydb.t1 SET (\n      'snapshot.num-retained.min' = 
'5',\n      'snapshot.num-retained.max' = '10'\n    )\n\nsqlparser represents 
this syntax as SetOptionsParens. SQLContext does not handle that operation and 
returns:\n\n    Unsupported ALTER TABLE operation: SET (...)\n\nThe expected 
behavior is to translate every key-value pair into SchemaChange::SetOption and 
call Catalog::alter_table, as the existing SET TBLPROPERTIES path does.\n\n### 
Solution\n\nHandle SetOptionsParens through the existing table-property 
conversion path and add a regression test covering multiple options.\n\n### Are 
you willing to submit a PR?\n\n- [x] I am willing to submit a PR.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to