You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Weichen Xu (Jira)" <ji...@apache.org> on 2022/08/15 07:54:00 UTC
[jira] [Assigned] (SPARK-40079) Add Imputer inputCols validation for empty input case
[ https://issues.apache.org/jira/browse/SPARK-40079?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Weichen Xu reassigned SPARK-40079:
----------------------------------
Assignee: Weichen Xu
> 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
>
> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org