dongjoon-hyun opened a new pull request, #406:
URL: https://github.com/apache/spark-connect-swift/pull/406

   ### What changes were proposed in this pull request?
   
   This PR adds the `DataFrameNaFunctions` API (via `DataFrame.na`), mirroring
   PySpark's `df.na.fill/drop/replace` and wiring the existing `NAFill`, 
`NADrop`,
   and `NAReplace` Spark Connect messages into the Swift client.
   
   - `fill`, `drop`, `replace` on `DataFrame.na`
   - `getNAFill`, `getNADrop`, `getNAReplace` plan builders in 
`SparkConnectClient`
   
   ### Why are the changes needed?
   
   To reach feature parity with PySpark/Spark SQL for handling missing data.
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes, this adds new public APIs.
   
   ```swift
   try await df.na.fill(0).show()
   try await df.na.drop().show()
   try await df.na.replace("s", ["a": "z"]).show()
   ```
   
   ### How was this patch tested?
   
   Pass the CI build.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Code (Claude Opus 4.8)


-- 
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]

Reply via email to