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
Currently running a command that uses this feature will result in: unknown error: unsupported syntax: values(column_name)
My guess is this is happening somewhere in vitess which may not support this feature. I may look into it myself but modifying vitess sounds like quite the deep dive.
Example test case:
INSERT INTO mytable (i,s) VALUES (1, "foo"), (2, "bar"), (3, "qux")
ON DUPLICATE KEY UPDATE s= CONCAT(VALUES(i), VALUES(s));
The text was updated successfully, but these errors were encountered:
In mysql there is a specific version of the VALUES function that goes after the ON DUPLICATE KEY UPDATE statement that references a named column in the INSERT portion of the statement: https://dev.mysql.com/doc/refman/8.0/en/insert-on-duplicate.html
Currently running a command that uses this feature will result in:
unknown error: unsupported syntax: values(column_name)
My guess is this is happening somewhere in vitess which may not support this feature. I may look into it myself but modifying vitess sounds like quite the deep dive.
Example test case:
The text was updated successfully, but these errors were encountered: