You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SPARK-51702] Revise sparkSession/read/write/columns/schema/dtypes/storageLevel API
### What changes were proposed in this pull request?
This PR aims to revise `sparkSession/read/write/columns/schema/dtypes/storageLevel` API to resemble the other language clients' APIs.
### Why are the changes needed?
To provide a consistent UX to the users.
### Does this PR introduce _any_ user-facing change?
- Change `func` to `var` like the following.
```swift
- public func schema() async throws -> String {
+ public var schema: String {
+ get async throws {
```
- Add `public` explicitly.
- Revise test cases accordingly.
### How was this patch tested?
Pass the CIs and manual review.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes#39 from dongjoon-hyun/SPARK-51702.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
0 commit comments