MyCATApache / Mycat-Server

GNU General Public License v2.0
9.51k stars 3.85k forks source link

使用catlet的注解查询报错Java.lang.indexoutofboundsexception:index:3,size:3 很急,谢谢 #2469

Open pang691 opened 4 years ago

pang691 commented 4 years ago

我的sql如下: /!mycat:catlet=io.mycat.catlets.ShareJoin /SELECT s.,t. from student s left join teacher t on s.id = t.stu_id

说明:student是跨库分表,teacher是单张表(既没有跨库也没有分表) 我的版本是1.6.7.4-release 请问这个怎么解决,很急很急,谢谢!!!

funnyAnt commented 4 years ago

catlets 功能不完善,建议放弃这个用法。 这个功能可以配置成父子表解决。

pang691 commented 4 years ago

关联的表多的话,用父子表配置起来是不是很麻烦,维护起来也不方便吧

庞晓亮

邮箱:17310929526@163.com |

签名由 网易邮箱大师 定制

在2020年04月30日 15:49,momo 写道:

catlets 功能不完善,建议放弃这个用法。 这个功能可以配置成父子表解决。

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.