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

Weichen Xu resolved SPARK-40079.
--------------------------------
    Fix Version/s: 3.1.4
                   3.4.0
                   3.3.1
                   3.2.3
       Resolution: Fixed

> Add Imputer inputCols validation for empty input case
> -----------------------------------------------------
>
>                 Key: SPARK-40079
>                 URL: https://issues.apache.org/jira/browse/SPARK-40079
>             Project: Spark
>          Issue Type: Bug
>          Components: ML
>    Affects Versions: 3.3.0
>            Reporter: Weichen Xu
>            Assignee: Weichen Xu
>            Priority: Major
>             Fix For: 3.1.4, 3.4.0, 3.3.1, 3.2.3
>
>
> If Imputer inputCols is empty, the `fit` works fine but when saving model, 
> error will be raised:
> {quote}AnalysisException: 
> Datasource does not support writing empty or nested empty schemas.
> Please make sure the data schema has at least one or more column(s).
> {quote}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to