-
Notifications
You must be signed in to change notification settings - Fork 316
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dble occur error "Field type is not supported" when execute "select * from table1 union all select from table2" #3174
Comments
need detail, eg: create table statement and jdbc code |
数据表如下:
表数据插入在nasebug2表中
schema.xml
rule.xml
|
根据以上步骤在dble的2.19.03.2没复现,需要自行确定是不是自编译版本导致的 |
refer: MySQL bug: solution:
|
jdbc version: 5.1.45
MySQL version:5.7.21
schema.xml
step1.
client:
Class.forName("com.mysql.jdbc.Driver")
Connection conn = DriverManager.getConnection(url,user,pwd)
Statement stat = conn.createStatement();
String sql = "select * from table1 where id1 =? and id2(routeColumn) = ? and id3=? union all select * from table2 where id1 = ?
and id2(routeColumn)=? and id3=?"
1.client:
when i use executeQuery(sql) to query,the result is correct,but use execute or executeQuery(),it will occur error.
The text was updated successfully, but these errors were encountered: