Yifan Zhang created KYLIN-2558:
----------------------------------
Summary: ODBC: SQLPrepare(SQLPrepareW) should prepare query
metadata
Key: KYLIN-2558
URL: https://issues.apache.org/jira/browse/KYLIN-2558
Project: Kylin
Issue Type: Bug
Components: Driver - ODBC
Affects Versions: v1.6.0
Reporter: Yifan Zhang
When use SSRS BI to save query to dataset, error will be thrown out.
Root cause, SQLPrepareW does not prepare column info and SQLNumResultCols will
fail.
{code:title=driver_debug.log}
[DEBUG]SQLPrepareW called on: 191574520
[INFO ]SQLFreeStmt called, 191574520 with option 0
[DEBUG]SQLFreeStmt called for Result
[DEBUG]The query being prepared is :
[DEBUG]SELECT COUNT(*) AS AA
FROM kylin_sales
[DEBUG]SQLNumResultCols called
[DEBUG]_SQLPutDiagRow called, handle type is 3
[DEBUG]DiagMsg: [Kylin][ODBC 1.0(w) Driver]no resultset or IRD
{code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)