Skip to content

GH-36546: [Swift] The initial implementation for swift arrow flight - #36547

Merged
kou merged 3 commits into
apache:mainfrom
abandy:GH-36546
Jul 19, 2023
Merged

kou merged 3 commits into
apache:mainfrom
abandy:GH-36546

Conversation

@abandy

@abandy abandy commented Jul 7, 2023 •

Copy link
Copy Markdown
Contributor

The initial implementation for swift arrow flight.

This change depends on PR GH-36544.

@abandy
abandy requested review from assignUser, kou and raulcd as code owners July 7, 2023 13:46
@github-actions

github-actions Bot commented Jul 7, 2023

Copy link
Copy Markdown

⚠️ GitHub issue #36546 has been automatically assigned in GitHub to PR creator.

@kou

kou commented Jul 8, 2023

Copy link
Copy Markdown
Member

I've merged #36544. Could you rebase on main?

@abandy

abandy commented Jul 11, 2023

Copy link
Copy Markdown
Contributor Author

I've merged #36544. Could you rebase on main?

Awesome, thank you! Will do.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Could you add a license header?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Good catch! Will do.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
public func listFlights(_ criteria :FlightCriteria, closure: (FlightInfo) throws -> Void ) async throws {
public func listFlights(_ criteria: FlightCriteria, closure: (FlightInfo) throws -> Void) async throws {

(We may want to introduce code formatter.)

@abandy abandy Jul 19, 2023 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Will change, agreed, I will start looking around for a formatter.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

flightData?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Will do.,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
}catch {
} catch {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Will update.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
}catch {
} catch {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

FlightClientTester or something may be better.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Will change to FlightClientTester.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can we move this to testFlightServer()?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Will move variable into a Actor.

@kou kou left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

+1

}

actor FlightServerData {
public var serverup = false

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We may want to use serverUp for this too.

@kou
kou merged commit b9a6470 into apache:main Jul 19, 2023
@conbench-apache-arrow

Copy link
Copy Markdown

After merging your PR, Conbench analyzed the 6 benchmarking runs that have been run so far on merge-commit b9a6470.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details. It also includes information about possible false positives for unstable benchmarks that are known to sometimes produce them.

loicalleyne pushed a commit to loicalleyne/arrow that referenced this pull request Nov 13, 2023
…ight (apache#36547)

The initial implementation for swift arrow flight.  

This change depends on PR apacheGH-36544.
* Closes: apache#36546

Authored-by: Alva Bandy <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
@abandy
abandy deleted the GH-36546 branch April 2, 2024 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Swift] Initial Swift Arrow Flight impl

2 participants