Files
James Duong b7cc2d3109 Add the routing_engine property
* Add routing_engine to the set of accepted properties.
* Make connection options case-insensitive for keys.
* Correct the example URI to use ? before query parameters instead of ;
2022-10-05 11:50:27 -07:00

12 lines
306 B
Python

from sqlalchemy import create_engine
import time
db_uri = "dremio+flight://dremio:dremio123@localhost:32010/dremio?UseEncryption=false"
engine = create_engine(db_uri)
sql = 'SELECT * FROM sys.options limit 5 -- SQL Alchemy Flight Test '
result = engine.execute(sql)
for row in result:
print(row[0])