lmandy opened a new issue, #25167:
URL: https://github.com/apache/shardingsphere/issues/25167
SQL语句如下,其中2个表是绑定关系:
SELECT
pd.id,
pde.ewallet_order_id
FROM
payment_dynamicaccountinfo pd
LEFT JOIN payment_dynamicaccountinfo_extra pde ON pd.id =
pde.payment_dynamicaccountinfo_id
WHERE
1 = 1
AND pd.dynamic_date >= '2023-01-01 00:00:00'
当前使用版本是5.12,我当前最近的版本也是这个问题
通过查看源码得到原因是因为TablesContext这个类中tableNames属性是一个HashSet类型,导致表的顺序发生了变化

之前使用的版本是4.1.1,而在4.1.1这个版本已经解决了的

我找到了之前的lssues https://github.com/apache/shardingsphere/issues/866
那这个问题是我的配置问题吗
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail:
[email protected]
For queries about this service, please contact Infrastructure at:
[email protected]