Github user wangmiao1981 commented on the issue:
https://github.com/apache/spark/pull/18496
@felixcheung Yes. I think we can improve scala side. It only throws
exception when a `NULL` field is given. For unseen labels, as the example
above, it always fails at the same place `double` to `string`. The scala side
doesn't capture this exception and let it go into the handling logic to cause
the failure. I will try to address it in a follow-up PR.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]