zhengruifeng commented on PR #43288: URL: https://github.com/apache/spark/pull/43288#issuecomment-1755231209
> Is that really an error? It's the only way to represent a missing value https://github.com/apache/spark/blob/d679dabdd1b5ad04b8c7deb1c06ce886a154a928/mllib/src/main/scala/org/apache/spark/ml/feature/VectorAssembler.scala#L72-L81 according to the doc, the `NULL and NaN values` are invalid data. And the default `handleInvalid` is `error`, which treats invalid values as errors. If users want to keep the missing value, users can set `handleInvalid=keep` -- 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]
