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