Open Curricane opened 7 months ago
https://arrow.apache.org/docs/format/Flight.html#downloading-data
Consume each endpoint returned by the server.
To consume an endpoint, the client should connect to one of the locations in the endpoint, then call DoGet(Ticket) with the ticket in the endpoint. This will give the client a stream of Arrow record batches.
If the server wishes to indicate that the data is on the local server and not a different location, then it can return an empty list of locations
Describe the bug use flight-sql-jdbc-driver can not execute "select 1" in ballista
To Reproduce os: wsl2 ArchLinux
start ballista
RUST_LOG=info ballista-scheduler RUST_LOG=info ballista-executor -c 4
connect ballista with java code
os: windows11 ide: Intellij
pom.xml
run
error message
INTERNAL: Ballista Error: General("scheduler::from_proto(Action) invalid or missing action")
Expected behavior A clear and concise description of what you expected to happen.
Additional context the bug is get_flight_info_prepared_statement return FlightInfo with wrong FlightEndpoint to ballista executor which contain location returned from https://github.com/apache/datafusion-ballista/blob/04766d5fd7cbb15d583f736979c11de06c720928/ballista/scheduler/src/flight_sql.rs#L292-L301