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
MySQL 8.0.20 deprecated the use of VALUES(col_name) in the ON DUPLICATE KEY UPDATE portion of INSERT INTO statements, and recommends the use of row (and column) alias syntax that was added in MySQL 8.0.19 instead.
Unfortunately, Vitess does not support this syntax yet. This is awkward, because tools like the Rails framework switched to using the row alias syntax to avoid the deprecation warning from MySQL, but this breaks on Vitess (see rails/rails#51274).
Overview of the Issue
MySQL 8.0.20 deprecated the use of
VALUES(col_name)
in theON DUPLICATE KEY UPDATE
portion ofINSERT INTO
statements, and recommends the use of row (and column) alias syntax that was added in MySQL 8.0.19 instead.See https://dev.mysql.com/doc/refman/8.0/en/insert.html and https://dev.mysql.com/doc/refman/8.0/en/insert-on-duplicate.html
Unfortunately, Vitess does not support this syntax yet. This is awkward, because tools like the Rails framework switched to using the row alias syntax to avoid the deprecation warning from MySQL, but this breaks on Vitess (see rails/rails#51274).
Reproduction Steps
returns
Binary Version
N/A
Operating System and Environment details
N/A
Log Fragments
N/A
The text was updated successfully, but these errors were encountered: