[ODBC-29] IBM Cognos fails to work with MariaDB with Optional Feature is not implemented error Created: 2016-01-09 Updated: 2017-05-22 |
|
| Status: | Open |
| Project: | MariaDB Connector/ODBC |
| Component/s: | None |
| Affects Version/s: | 1.0.5 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Rambabu Makireddi | Assignee: | Lawrin Novitsky |
| Resolution: | Unresolved | Votes: | 1 |
| Labels: | None | ||
| Environment: |
windows 2012; |
||
| Attachments: |
|
| Description |
|
1. Installed ODBC1.0.5 64 bit driver and created a System DSN 3. When I try to execute a query using IBM Cognos Framework manager reporting tool, I see the below error even for a simple "select * from table" query 4. When I try to query using Tableau reporting tool, I see the following warnings, |
| Comments |
| Comment by Lawrin Novitsky [ 2016-01-09 ] |
|
Thank you for your report! Would it be possible to attach ODBC trace logs for each of described error? I don't have your application, and it is not quite easy to imagine what does it do with ODBC driver behind the scene. I guess I could find out why extra spaces before SELECT cause a problem, because the error description gives some clues. But even that problem would be much easier to understand and solve with the trace file. Last warnings looks like real MariaDB server limitations. But it is still curious to see in the trace how does Tableau draw such conclusions. |
| Comment by Rambabu Makireddi [ 2016-01-09 ] |
|
could you suggest me how to enable ODBC trace logs so that i will enable and send the logs. thanks. |
| Comment by Lawrin Novitsky [ 2016-01-09 ] |
|
In the ODBC Data Source Administrator there is "Thacing" tab. There you can turn it on and off, and select trace file location. You are welcome. |
| Comment by Rambabu Makireddi [ 2016-01-12 ] |
|
Please refer attached logs Sample_Query_sql.log & Tableau_Cognos_sql.log. The BMT messages refer Cognos. Let me know if i miss anything. |
| Comment by Lawrin Novitsky [ 2016-01-12 ] |
|
Thank you, I will look into them. |
| Comment by Rambabu Makireddi [ 2016-01-12 ] |
|
Please review the Cogserver.log for IBM Cognos. |
| Comment by Lawrin Novitsky [ 2016-01-16 ] |
|
Thanks. But I was incorrect in my previous request. I thought log(trace) for warnings in Tableu had been missing. But it was already here, while trace for item 3 in your report - "When I try to execute a query using IBM Cognos Framework manager reporting tool, I see the below error even for a simple "select * from table" query. Refer screenshot2." - is still missing. I could already verify item 2 - it was the bug in connector. It's been fixed and the fix has been pushed. It looks like Tableau_Cognos_SQL.LOG was generated for some MySQL ODBC driver. Some answers on SQLGetInfo make me think so. In most cases it doesn't really matter, since those warnings probably caused by server constraints shared by both MySQL and MariaDB servers. But still would be better to have trace for MariaDB Connector/ODBC |
| Comment by Rambabu Makireddi [ 2016-01-22 ] |
|
The Tableau_Cognos_SQL.LOG contains logs for both Item 3. Refer the messages with BMT which talks about Cognos Framework manager. |
| Comment by Rambabu Makireddi [ 2016-01-22 ] |
|
Let me know if this doesn't help. Also you mentioned that item2 bug is fixed. can you refer me the latest build so that i will download and test. thank you. |
| Comment by Rambabu Makireddi [ 2016-01-25 ] |
|
Any updates would be really helpful? Thank you. |
| Comment by Lawrin Novitsky [ 2016-01-27 ] |
|
Fix will be in the next public release. I can post the dll here if you want to try In the Tableau_Cognos_SQL.LOG is much larger in size and takes longer to analyze. I can't see there any "select * from table" failing. Perhaps error occurs not directly at preparation/execution time, but at later time, either while fetching data or metadata or because of wrong metadata. All I can is see repeating error on SQLColAttributeW on 2 attributes - SQL_DESC_NULLABLE and SQL_DESC_NUM_PREC_RADIX. They do not look fatal, and application execution continues after them. And that is a bit strange - at least SQL_DESC_NULLABLE is supported. That renews my suspicion that Tableau_Cognos_SQL.LOG was generated not fro MariaDB connector. The other strange thing is that DM labels both as "unknown" attributes in the trace. AS INTEGER) AS `yr_fullDate_ok` |
| Comment by Rambabu Makireddi [ 2016-01-27 ] |
|
1. Yes, please provide the dll. 2. I have ran this "select `date_dimension`.`fullDate` from `date_dimension` `date_dimension`" query when generating the logs. Both "Select *" and this query generates the same error. You can find the logs on this query under BMT messages. 3. Here is the structure of the date_dimension table, Please let me know if you need any more information. thanks. |
| Comment by Lawrin Novitsky [ 2016-02-18 ] |
|
I am afraid you did not notice that - I attached connector dll file here |
| Comment by Rambabu Makireddi [ 2016-02-24 ] |
|
Thank you so much. I have tested with latest dll file and it addresses the basic query issues with Cognos. I notice that some of the reports work fine but others fail. So far i noticed that the failed reports have complex queries and prompts in the back end. I will find exact root cause for them and update you. thank you. |
| Comment by Sesidhar [ 2017-05-22 ] |
|
Hi Rambabu/Novitsky, Would like to know the exact outcome of this issue. Also, more importantly would like to know whether MariaDB is compatible with Cognos? If so, what versions of the software it will support. Whether cognos 10.2.2 is compatible with MaraiaDB? |
| Comment by Sesidhar [ 2017-05-22 ] |
|
Hi Rambabu/Novitsky, Would like to know the exact outcome of this issue. Also, more importantly would like to know whether MariaDB is compatible with Cognos? If so, what versions of the software it will support. Whether cognos 10.2.2 is compatible with MaraiaDB? |