I think you can open up a jira, not sure if this PR
<https://github.com/apache/spark/pull/2209/files> (SPARK-2890
<https://issues.apache.org/jira/browse/SPARK-2890>) broke the validation
piece.

Thanks
Best Regards

On Fri, Jul 3, 2015 at 4:29 AM, Koert Kuipers <ko...@tresata.com> wrote:

> i am surprised this is allowed...
>
> scala> sqlContext.sql("select name as boo, score as boo from
> candidates").schema
>
> res7: org.apache.spark.sql.types.StructType =
> StructType(StructField(boo,StringType,true),
> StructField(boo,IntegerType,true))
>
>
> should StructType check for duplicate field names?
>

Reply via email to