Github user MLnick commented on the issue:

    https://github.com/apache/spark/pull/17864
  
    Originally the idea behind only supporting double was as @sethah posted 
above - there could be some issues with handling of int casting etc. As 
mentioned originally, we did consider "always cast to double". The only issue 
with it is the potential for surprising users who may expect the type of the 
input column to be maintained in the imputation.
    
    Having said that I would be broadly ok with just appending a double output 
column, provided we update the docstrings / guide to make things very clear.



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

Reply via email to