[MDEV-14392] CONNECT - Table Type: ODBC - HAVING Clause (Wihtout WHERE and GROUP BY) Has Wrong Results Created: 2017-11-14 Updated: 2017-12-03 Resolved: 2017-12-03 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - Connect |
| Affects Version/s: | 10.2.8 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Minor |
| Reporter: | Juan Telleria | Assignee: | Olivier Bertrand |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Windows |
||
| Description |
|
When using CONNECT Engine and Table Type ODBC, when using a HAVING clause for filtering data, wrong results are returned if no WHERE and GROUP BY clause is used. For example:
Does not perform a correct filtering. I think that the correct MariaDB behaviour with the HAVING clause shall be that a "local" copy of the table is done in MariaDB Server, bringing the table through ODBC connection, and then filter it in the "local" server itself. Thank you, |
| Comments |
| Comment by Olivier Bertrand [ 2017-11-20 ] | ||
|
Can you elaborate? Trying to execute:
on the sample employees table of Oracle, I get the same result. So to try reproduce the bug I should have:
Thanks. | ||
| Comment by Juan Telleria [ 2017-11-22 ] | ||
|
The SELECT Query Calls a 10 million record table in SQL Server, and gives / shows results little by little, before the query is completed. I did not wait when I filled the bug report to see how where results when the hole query executed, because it took more than 2 hours... I will check it out, and try to provide more accurate feedback. Thank you, | ||
| Comment by Juan Telleria [ 2017-12-03 ] | ||
|
I checked it, and it is not a bug. Juan |