Yikf commented on code in PR #41065:
URL: https://github.com/apache/spark/pull/41065#discussion_r1213851366


##########
python/pyspark/ml/feature.py:
##########
@@ -5313,7 +5313,7 @@ class VectorAssembler(
     +---+---+----+-------------+
     |  a|  b|   c|     features|
     +---+---+----+-------------+
-    |1.0|2.0|NULL|[1.0,2.0,NaN]|
+    |1.0|2.0|null|[1.0,2.0,NaN]|

Review Comment:
   Existing behavior should be `null`, `NULL` is changed in 
https://github.com/apache/spark/pull/40699, I think we should do the same with 
map type, default to `null` instead of `NULL`



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