[
https://issues.apache.org/jira/browse/SPARK-12746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15091487#comment-15091487
]
Earthson Lu edited comment on SPARK-12746 at 1/11/16 6:11 AM:
--------------------------------------------------------------
I could work on this:)
I have some idea:
1. we could implement a more powerful type check api
2. check manually for all the cases
I will choose the latter
was (Author: earthsonlu):
I could work on this:)
I have some idea:
1. we could implement a more powerful type check api
2. check manually for all the case
I will choose the latter
> ArrayType(_, true) should also accept ArrayType(_, false)
> ---------------------------------------------------------
>
> Key: SPARK-12746
> URL: https://issues.apache.org/jira/browse/SPARK-12746
> Project: Spark
> Issue Type: Bug
> Components: ML, SQL
> Affects Versions: 1.6.0
> Reporter: Earthson Lu
>
> I see CountVectorizer has schema check for ArrayType which has
> ArrayType(StringType, true).
> ArrayType(String, false) is just a special case of ArrayType(String, false),
> but it will not pass this type check.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]