-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can this be used with local installation of influx db #16
Comments
I'm also just trying to run this with a local IOx installation. It looks like the SSL verification can be turned off using the from flightsql import connect, FlightSQLClient
client = FlightSQLClient(host='localhost', port=8083, insecure=True)
conn = connect(client)
cursor = conn.cursor()
cursor.execute('select * from runs limit 10')
print("columns:", cursor.description)
print("rows:", [r for r in cursor]) I'm now getting a new error:
That's probably related to IOx not yet implementing a few Flight operations. |
I got this error . When using insecure parameter in my windows machine. pyarrow._flight.FlightUnavailableError: Flight returned unavailable error, with message: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8086: Trying to connect an http1.x server |
It looks like you're trying to connect to a InfluxDB 1.x or 2.x. I think Flight only works with IOx which would have port 8083 for the gRPC calls. |
Can FlightSQLClient be used with local installation of influx-db ,
I got this error when trying to do this
The text was updated successfully, but these errors were encountered: