You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Dong Li (JIRA)" <ji...@apache.org> on 2017/08/22 03:16:00 UTC

[jira] [Closed] (KYLIN-2558) ODBC: SQLPrepare(SQLPrepareW) should prepare query metadata

     [ https://issues.apache.org/jira/browse/KYLIN-2558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dong Li closed KYLIN-2558.
--------------------------

> 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
>            Assignee: Yifan Zhang
>             Fix For: v2.1.0
>
>
> 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.4.14#64029)