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
描述你使用过程中遇到的问题: **
前提条件:
mycat-版本1.6.7.6,数据库-版本5.7.25,源码增加按年拆分规则代码打包。
使用中:
一个库对部分表进行按年拆分多张表,通过mycat 插入保存数据,查看逻辑库数据保存到拆分后的表中。
条件相同,单表查询OK,关联查询查不到值。
实例:
1.通过mycat连接查询,无结果
SELECT a.
FROM table_A a
LEFT JOIN table_B b ON b.id = a.id
WHERE a.create_time BETWEEN '2024-08-01 00:00:00' AND '2024-08-10 23:59:59'
2.通过原始数据库查询,结果正确
SELECT a.
FROM table_A_2024 a
LEFT JOIN table_B b ON b.id = a.id
WHERE a.create_time BETWEEN '2024-08-01 00:00:00' AND '2024-08-10 23:59:59'
请问以上问题应该怎么处理呢?
The text was updated successfully, but these errors were encountered:
描述你使用过程中遇到的问题: **
前提条件:
mycat-版本1.6.7.6,数据库-版本5.7.25,源码增加按年拆分规则代码打包。
使用中:
一个库对部分表进行按年拆分多张表,通过mycat 插入保存数据,查看逻辑库数据保存到拆分后的表中。
条件相同,单表查询OK,关联查询查不到值。
实例:
1.通过mycat连接查询,无结果
SELECT a.
FROM table_A a
LEFT JOIN table_B b ON b.id = a.id
WHERE a.create_time BETWEEN '2024-08-01 00:00:00' AND '2024-08-10 23:59:59'
2.通过原始数据库查询,结果正确
SELECT a.
FROM table_A_2024 a
LEFT JOIN table_B b ON b.id = a.id
WHERE a.create_time BETWEEN '2024-08-01 00:00:00' AND '2024-08-10 23:59:59'
请问以上问题应该怎么处理呢?
The text was updated successfully, but these errors were encountered: