[ODBC-358] PowerBI mixed mode SQL with cast() in WHERE clause Created: 2022-04-15 Updated: 2024-01-13 |
|
| Status: | Open |
| Project: | MariaDB Connector/ODBC |
| Component/s: | None |
| Affects Version/s: | 3.1.15 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Adi | Assignee: | Lawrin Novitsky |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Description |
| Comments |
| Comment by Lawrin Novitsky [ 2022-04-15 ] |
|
Thank you for your report. Are you sure, that the problem is in the connector, and not in the Power BI? Since it works fine on single day, it feels like metadata provided by the connector is correct, but on multiple dates the query, generated by Power BI is wrong. The connector itself doesn't do that - we only provide information on tables, fields, types. And that information used by Power BI to create queries. It's still can be some wrong metadata from our side, but atm I can't think of anything, since, again, with single date it works fine. |
| Comment by Adi [ 2022-04-15 ] |
|
@Lawrin, it's with single date when the SQL goes wrong (with a cast) and multiple days when it's Ok (without the cast). I've tested the same case with SQL Server and the cast is not done, which highlights more that it's a connector issue. |
| Comment by Lawrin Novitsky [ 2022-04-18 ] |
|
Not that I am completely convinced, but we need to continue anyway. |
| Comment by Adi [ 2022-04-27 ] |
|
I've attached the tables definition Tables definition.sql |
| Comment by Adi [ 2022-05-03 ] |
|
Hello, please let me know if there are any more updates? |
| Comment by Adi [ 2022-05-12 ] |
|
@Lawrin, please can you provide an update. |
| Comment by Lawrin Novitsky [ 2022-05-13 ] |
|
The ticket is not closed, that means that there is no solution so far. I asked also for ODBC trace. Or, maybe, alternatively some more detailed instructions how to repeat the issue or point me to some documents that can help - I am not very familiar with PowerBI. |