About KYLIN-2274 <https://issues.apache.org/jira/browse/KYLIN-2274>

The problem is this query run on OLEDB but doesn't on ODBC

*"Select * from Table where 1=2"*
*"ERROR: SQLColAttribute unknown attr, ColNum: 1"*

This query is used to return column names (read metadata) and
works fine on SquirrieL
<https://issues.apache.org/jira/secure/attachment/12843050/12843050_Q1ON+SQuirrel.png>

In  KO_FETCH.CPP
<https://github.com/apache/kylin/blob/3e4e82f06e1e6f7343d87259d912db3abc8c5a96/odbc/Driver/KO_FETCH.CPP#L234>,
dont have a case for constatns (1=2)

Reply via email to