parseablehq / parseable

Open Source ElasticSearch Alternative. Parseable helps you search and get insights from your logs in the most simple way possible.
https://parseable.com
GNU Affero General Public License v3.0
1.77k stars 92 forks source link

Using Arrow Flight Protocol for Querying: Missing documentation? #820

Open thinkORo opened 2 weeks ago

thinkORo commented 2 weeks ago

Hi there,

with #769 the Arrow Flight Protocol was implemented and is published with release 1.2.

But I cannot find any (minimum) documentation how to connect to the new Arrow Flight endpoint.

What did I do?

  1. I set the environment P_FLIGHT_PORT to 8002
  2. I tried to connect to mymachine:8002 via:

But for all tests I get the following more or less same error:

adbc_driver_flightsql NotSupportedError: NOT_IMPLEMENTED: [FlightSQL] handshake is disabled in favour of direct authentication and authorization (Unimplemented; AuthenticateBasicToken)

pyarrow.flight ArrowNotImplementedError: Flight returned unimplemented error, with message: handshake is disabled in favour of direct authentication and authorization

Could you please provide any example or documentation how to connect to Arrow Flight endpoint either via JDBC or via Python?

nitisht commented 2 weeks ago

Thanks @thinkORo we're working on the the documentation for this. We'll also release sample applications in Js and Python to use this API. Will be available soon.

Also, in the next release the Parseable console will use this API for querying, improving the UX.

thinkORo commented 2 weeks ago

@nitisht Thanks for your quick reply. I'm looking forward checking some examples or reading the documentation.