apache / apache/arrow-rs

[FlightSQL] Add Builder for configuring options on flight sql client

Open
#3,308 0 comments 0 reactions 0 assignees View on GitHub
arrow-flight enhancement
Dominant language
Rust
Stars
3.6k
Forks
1.3k
Avg merge
2d 18h
Merged PRs (30d)
169

Description

As suggested by @viirya in https://github.com/apache/arrow-rs/pull/3207#discussion_r1043830597

> I think we may come with a option struct and have these as default values. And users can specify them if needed.

The basic idea would be that the `FlightSqlServiceClient` would take a options struct. Now they are hard coded

```rust
let options = FlightSqlOptions::new();
let client = FlightSqlServiceClient::try_new(options).await?
```

Contributor guide

Open the contributing guide

Research direction

Start by locating FlightSqlServiceClient and its try_new entry point, then inspect how the client’s options are currently hard coded. Define the scope of the FlightSqlOptions API and its defaults from the existing behavior. Done means the client accepts configurable options while preserving those defaults.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.