Closed lukesilvia closed 2 years ago
Thank you @lukesilvia for reporting this issue. This looks very similar to issue #172. As you correctly said, it is an issue with parameterized queries (param nodes in where clause). We are aware of this and will try to address this.
Hi @lukesilvia,
We have fixed the above-mentioned issue. We are closing the case for now. If the issue persists, you can reopen the case anytime.
Hello.
I have some SQL that's incorrect because of a dependent sub query.
I have a simple table.
But a dependent sub query gives incorrect results:
Expected results:
When I checked MySQL query log, I found that
users.id
in dependent sub query was pushed-down as 0 or NULL.The following is MySQL query log when I executed previous dependent sub query on PostgreSQL.
DDL to reproduce
MySQL
PostgreSQL
Environments
Thanks for reading my issue.