dongjoon-hyun opened a new pull request, #464:
URL: https://github.com/apache/spark-connect-swift/pull/464
### What changes were proposed in this pull request?
This PR aims to support `expr` function in `Functions`.
```swift
public func expr(_ sqlExpr: String) -> Column
```
### Why are the changes needed?
To improve the API compatibility with the Scala client's `functions.expr`,
allowing users to build a `Column` from a SQL expression string.
```swift
df.select(expr("id + 1"))
df.filter(expr("id > 1"))
```
### Does this PR introduce _any_ user-facing change?
No, this is a new API addition.
### How was this patch tested?
Pass the CIs with newly added test cases (`exprFunction`, `selectWithExpr`).
### Was this patch authored or co-authored using generative AI tooling?
Generated-by: Claude Fable 5
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]