presto: We find a bug when mysql table name have "_"
The problem is when mysql have “_” in the table name the “escapeNamePattern” function change the name.
So the sql can`t run on mysql.
In the file presto-mysql/src/main/java/com/facebook/presto/plugin/mysql/MySqlClient.java line 93 to line 97.
For example: table “aaa_bbb” change to “aaa_bbb” .
The bug find above release 0.119.
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 22 (12 by maintainers)
presto-server-0.139 still have this problem .
Create database in mysql: