Skip to content

Conversation

dongjoon-hyun
Copy link
Member

@dongjoon-hyun dongjoon-hyun commented Apr 30, 2025

What changes were proposed in this pull request?

This PR aims to use discardableResult to prevent unnecessary warnings.

Why are the changes needed?

To simplify the Spark Connect Swift API usages.

For example, count() API is used to execute an INSERT query. By adding discardableResult, we can make it clear that the result is discadable.

@discardableResult
public func count() async throws -> Int64 {

Does this PR introduce any user-facing change?

This is a change to the unreleased version.

How was this patch tested?

Pass the CIs.

Was this patch authored or co-authored using generative AI tooling?

No.

@dongjoon-hyun
Copy link
Member Author

Thank you and good morning, @viirya ! 😄

@dongjoon-hyun dongjoon-hyun deleted the SPARK-51967 branch April 30, 2025 16:33
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