user1082748
user1082748

Reputation: 365

how to pass the sqlalchemyconnection string for oracle modin read_sql

UserWarning: To use parallel implementation of `read_sql`, pass the sqlalchemyconnection string instead of <class 'sqlalchemy.engine.base.Engine'>.

I get gettign this error using this string

'oracle://username:password@server:1521/SID'

I also tried using cx_Oracle with the same error

I also tried passing the con string directly like :

OraTbl = pd.read_sql(colqry, 'oracle://username:password@{}:1521/SID'.format(server))

ORA-12170: TNS:Connect timeout occurred

Upvotes: 0

Views: 659

Answers (1)

Yaroslav
Yaroslav

Reputation: 71

Track this issue #3400 to get answer to your question.

Upvotes: 0

Related Questions