Giter VIP home page Giter VIP logo

Comments (3)

stepcheunghk avatar stepcheunghk commented on August 28, 2024

@jinyangzhen I also found this issue. So I checked out the db.py file from sqlalchemy_dremio (which is downloaded by pip). I noticed that they are using grpc+tls in the library.

client = flight.FlightClient('grpc+tls://{0}:{1}'.format(properties['HOST'], properties['PORT']))

However, when I checked out their code in master branch d41b873, I see they are using grpc+tcp

client = flight.FlightClient('grpc+tcp://{0}:{1}'.format(properties['HOST'], properties['PORT']))

It is really strange.

cc @narendrans

from sqlalchemy_dremio.

jinyangzhen avatar jinyangzhen commented on August 28, 2024

image

@stepcheunghk my local lib shows the grpc+tcp version. But i can work around this issue by disabling ssl verification in FlightClient as shown in above pic.

From the code, it looks like SSL parameter hasn't been taken effect. It needs to be improved to honor this parameter in order to fully fix this issue.

from sqlalchemy_dremio.

jduo avatar jduo commented on August 28, 2024

Fixed in #29. The parameter is UseEncryption and defaults to true.
Note that you should use a '?' to after the schema instead of ';'. And use '&' to separate key-value pairs after the ?

from sqlalchemy_dremio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.