ym0506 commented on issue #37770: URL: https://github.com/apache/shardingsphere/issues/37770#issuecomment-3956227563
Hi maintainers, I reproduced #37770 on `shardingsphere-proxy 5.5.2` using the provided `ss_postgres.zip` setup. Observed error: - `ERROR: relation "t23" does not exist` In this SQL shape: - `WHERE NOT ((outer_col) < (scalar subquery with t23 JOIN t22))` the Proxy `Actual SQL` keeps logical table names `t23` / `t22` instead of rewritten shard tables (`t23_x` / `t22_x`), while the subquery join alone rewrites correctly. I am preparing a fix and regression test for the PostgreSQL parser path and will post a PR shortly. -- 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]
