[ 
https://issues.apache.org/jira/browse/SPARK-23234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marco Gaido updated SPARK-23234:
--------------------------------
    Description: 
SPARK-22799 and SPARK-22797 are causing valid Python test failures. The reason 
is that Python is setting the default params with set. So they are not 
considered as defaults, but as params passed by the user.

This means that an outputCol is set not as a default but as a real value.

Anyway, this is a misbehavior of the python API which can cause serious 
problems and I'd suggest to rethink the way this is done.

  was:
SPARK-22799 and SPARK-22797 are causing valid Python test failures. The reason 
is that Python is setting the default params with set. So they are not 
considered as defaults, but as params passed by the user.

This means that an outputCol is set not as a default but as a real value.

Anyway, this is a misbehavior of the python API which can cause serious 
problems.


> ML python test failure due to default outputCol
> -----------------------------------------------
>
>                 Key: SPARK-23234
>                 URL: https://issues.apache.org/jira/browse/SPARK-23234
>             Project: Spark
>          Issue Type: Bug
>          Components: ML, PySpark
>    Affects Versions: 2.3.0
>            Reporter: Marco Gaido
>            Priority: Blocker
>
> SPARK-22799 and SPARK-22797 are causing valid Python test failures. The 
> reason is that Python is setting the default params with set. So they are not 
> considered as defaults, but as params passed by the user.
> This means that an outputCol is set not as a default but as a real value.
> Anyway, this is a misbehavior of the python API which can cause serious 
> problems and I'd suggest to rethink the way this is done.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to