spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Earthson Lu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-12746) ArrayType(_, true) should also accept ArrayType(_, false)
Date Fri, 29 Jan 2016 03:17:39 GMT

    [ https://issues.apache.org/jira/browse/SPARK-12746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15122870#comment-15122870
] 

Earthson Lu commented on SPARK-12746:
-------------------------------------

Hi Joseph, what is the status of nullability now?

It seems someone has already add multi DataType check, I've merged upstream to use their implementation.

I was just wondering you could accept this PR?

> 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, true), but it will
not pass this type check.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message