TrNhDuong opened a new pull request, #56134:
URL: https://github.com/apache/spark/pull/56134

   What changed:
   spark/sql/connect/server/src/main/scala/.../SparkConnectPlanner.scala: wrap 
comparison UnresolvedFunction in [CaseWhen(IsNull(...), filler, 
expr)](vscode-file://vscode-app/c:/Users/MY%20MSI/AppData/Local/Programs/Microsoft%20VS%20Code/f6cfa2ea24/resources/app/out/vs/code/electron-browser/workbench/workbench.html)
 (filler = true for !=, else false).
   python/pyspark/sql/connect/column.py: build 
[CaseWhen(...)](vscode-file://vscode-app/c:/Users/MY%20MSI/AppData/Local/Programs/Microsoft%20VS%20Code/f6cfa2ea24/resources/app/out/vs/code/electron-browser/workbench/workbench.html)
 for compare ops (client-side guard).
   python/pyspark/sql/utils.py: skip result.fillna(...) under Connect.
   
   Why: centralize NULL→boolean mapping at the Connect server so all clients 
get consistent pandas-like compare semantics; keep minimal client fallback and 
avoid double-fill.


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