Skip to content

Conversation

@lmangani
Copy link
Contributor

needs resync w/ latest arrow

@lmangani lmangani requested a review from Copilot June 18, 2025 14:47
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR prepares the FlightSQL server to use Arrow streaming by introducing a QueryArrow stub, refactoring ticket handling, and updating tests and dependencies to align with the latest Arrow client API.

  • Added QueryArrow stub to QueryClient and imported Arrow packages
  • Refactored FlightSQLServer to encode tickets as base64 and call QueryArrow in DoGet
  • Replaced legacy convertResultsToArrow tests with a basic FlightSQL server connection test
  • Updated go.mod to pull in new Arrow and other module versions

Reviewed Changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 2 comments.

File Description
querier/queryClient.go Added Arrow imports and unimplemented QueryArrow method stub
querier/flightsql.go Removed in-memory storage, refactored GetFlightInfo/DoGet to use QueryArrow and base64 tickets
querier/flightsql_test.go Dropped old conversion tests, added server startup helper and connection test
go.mod Added/moved Arrow modules and bumped several indirect dependencies
Comments suppressed due to low confidence (1)

querier/flightsql_test.go:31

  • There is no Initialize method on QueryClient; this will cause a compilation error. Use the correct initialization method or implement Initialize on QueryClient.
	_ = qc.Initialize()

lmangani and others added 3 commits June 30, 2025 20:11
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants