ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rishi007bansod <rishi007ban...@gmail.com>
Subject ODBC driver error during SELECT query for string data type
Date Fri, 19 May 2017 11:45:40 GMT
Hi, 
    While fetching string fields using ODBC driver from ignite cache in
python, I am getting following error,

Traceback (most recent call last):
  File "pythonOdbc.py", line 13, in <module>
    row = cursor.fetchone()
UnicodeDecodeError: 'utf16' codec can't decode byte 0x00 in position 2:
truncated data


ODBC connection string i have used is :
connection_string=
'DRIVER=/usr/local/lib/libignite-odbc.so;ADDRESS=localhost:10800;CACHE=Person'

Is there any encoding parameter that I need to set to remove above error?

Thanks



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/ODBC-driver-error-during-SELECT-query-for-string-data-type-tp13024.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Mime
View raw message