You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2021/03/11 16:24:36 UTC

[GitHub] [spark] dongjoon-hyun commented on pull request #31811: [SPARK-34719][SQL][3.0] Fail if the view query has duplicated column names

dongjoon-hyun commented on pull request #31811:
URL: https://github.com/apache/spark/pull/31811#issuecomment-796861669


   cc @viirya since this is a correctness issue which is a blocker for Apache Spark 2.4.8.
   ```
   scala> sql("create view c(x, y) as select 1 a, 2 a")
   res1: org.apache.spark.sql.DataFrame = []
   
   scala> sql("select * from c").show
   +---+---+
   |  x|  y|
   +---+---+
   |  1|  1|
   +---+---+
   
   scala> spark.version
   res3: String = 2.4.7
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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