Support MySQL 8.0.19 feature - aliases in the values and the set clause of insert into ... on duplicate key update #51650
Labels
compatibility-mysql8
This is a compatibility issue with MySQL 8.0(but NOT 5.7)
type/compatibility
type/feature-request
Categorizes issue or PR as related to a new feature.
Feature Request
I want TiDB supports one of the MySQL 8.0.19 new feature, aliases in the values and the set clause of insert into ... on duplicate key update. Not only adding as a new feature MySQL 8.0.20 deprecates the "old" syntax.
https://dev.mysql.com/worklog/task/?id=6312
mysql/mysql-server@c39355e
VALUES()
syntax in INSERT ... ON DUPLICATE KEY UPDATE statementshttps://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-20.html
https://dev.mysql.com/worklog/task/?id=13325
mysql/mysql-server@6f3b9df
Describe the feature you'd like:
Support aliases in the values and the set clause of insert into ... on duplicate key update.
Describe alternatives you've considered:
Use the "old" syntax.
Teachability, Documentation, Adoption, Migration Strategy:
The text was updated successfully, but these errors were encountered: