IBM / nzalchemy

Netezza database dialect for SQLAlchemy
Apache License 2.0
3 stars 7 forks source link

nzpy and pyodbc dialects doesn't work properly with sqlalchemy version 1.4.x #8

Open shabbir10july opened 3 years ago

shabbir10july commented 3 years ago

Some testcases fails with nzpy and pyodbc dialects when using sqlalchemy version 1.4.x

ArVar commented 3 years ago

More precisely:

import nzpy

def creator():
    return nzpy.connect(user="admin", password="password",host='localhost', port=5480, database="db1", securityLevel=0,logOptions=nzpy.LogOptions.Logfile, char_varchar_encoding='utf8')

engine = create_engine("netezza+nzpy://", creator=creator)

throws Can't load plugin: sqlalchemy.dialects:netezza.nzpy for SQLalchemy 1.4

MAFiA303 commented 2 years ago

bump

arebryne commented 1 year ago

bump

MAFiA303 commented 1 year ago

It's been a while since I used this, my suggestion is to use turnodbc instead of nzpy. The performance is at least 10 times faster