[
https://issues.apache.org/jira/browse/IGNITE-16359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17483629#comment-17483629
]
Ivan Daschinsky commented on IGNITE-16359:
------------------------------------------
[^check_odbc.py]
Issue proved. Checked on apache ignite 2.9.1 with protocol 2.7.0
ODBC driver 2.9.1 -- works
ODBC driver since 2.10.0 and master -- set streaming failed.
Checked on pyodbc 4.0.32 and python 3.9.9, reproducer attached
[~isapego] Could you please take a look?
> SET STREAMING ON/OFF not working
> ---------------------------------
>
> Key: IGNITE-16359
> URL: https://issues.apache.org/jira/browse/IGNITE-16359
> Project: Ignite
> Issue Type: Bug
> Components: odbc
> Affects Versions: 2.12, 2.11.1
> Reporter: Abhay
> Priority: Major
> Attachments: check_odbc.py
>
>
> In ODBC set steaming was working till 2.9.1 . In the newer version if we run
> the command we get error
> SQL> set streaming on
> [ISQL]ERROR: Could not SQLNumResultCols
> [ODBC][24581][1643012198.417732][SQLPrepare.c][196]
> Entry:
> Statement = 0x555c08ebc6a0
> SQL = [set streaming on][length = 16]
> [ODBC][24581][1643012198.417825][SQLPrepare.c][377]
> Exit:[SQL_SUCCESS]
> [ODBC][24581][1643012198.417852][SQLExecute.c][187]
> Entry:
> Statement = 0x555c08ebc6a0
> [ODBC][24581][1643012198.418666][SQLExecute.c][357]
> Exit:[SQL_SUCCESS]
> [ODBC][24581][1643012198.418709][SQLNumResultCols.c][156]
> Entry:
> Statement = 0x555c08ebc6a0
> Column Count = 0x7fffedb35566
> [ODBC][24581][1643012198.418743][SQLNumResultCols.c][251]
> Exit:[SQL_ERROR]
> [ODBC][24581][1643012198.418772][SQLError.c][424]
> Entry:
> Statement = 0x555c08ebc6a0
> SQLState = 0x7fffedb35306
> Native = 0x7fffedb35300
> Message Text = 0x7fffedb35310
> Buffer Length = 500
> Text Len Ptr = 0x7fffedb352fe
> [ODBC][24581][1643012198.418801][SQLError.c][474]
> Exit:[SQL_NO_DATA]
--
This message was sent by Atlassian Jira
(v8.20.1#820001)