Hi Rayzen,
Thanks! Yes, this was a regression in SQL generation in 6.1.1. It is now fixed in our nightly builds and the fix will be included in 6.1.2 (I used the code you provided to repro and confirmed that we now generate the simple query that we used to generate in 6.0 and 6.1.0). The regression should not affect the results for the query but it can affect performance and may not work in all target database servers. Please, let us know if you are observing other problems. It would also be great if you can also try the nightly build.
Hope this helps,
Diego
Thanks! Yes, this was a regression in SQL generation in 6.1.1. It is now fixed in our nightly builds and the fix will be included in 6.1.2 (I used the code you provided to repro and confirmed that we now generate the simple query that we used to generate in 6.0 and 6.1.0). The regression should not affect the results for the query but it can affect performance and may not work in all target database servers. Please, let us know if you are observing other problems. It would also be great if you can also try the nightly build.
Hope this helps,
Diego