Description
If Imputer inputCols is empty, the `fit` works fine but when saving model, error will be raised:
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).