v.23.2Improvement
Forbid Incorrect CREATE VIEW Syntax
Forbid wrong create View syntax CREATE View X TO Y AS SELECT. Closes #4331. #46043 (flynn).Why it matters
This feature prevents users from mistakenly using an invalid syntax when creating views, ensuring clearer syntax rules and avoiding potential confusion or errors in view creation.How to use it
Ensure that when creating a view, you use the correct syntax without theTO keyword, for example:CREATE VIEW view_name AS SELECT ...