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 2019/08/26 12:44:52 UTC

[GitHub] [spark] viirya commented on issue #25570: [SPARK-23519][SQL] create view should work from query with duplicate output columns

viirya commented on issue #25570: [SPARK-23519][SQL] create view should work from query with duplicate output columns
URL: https://github.com/apache/spark/pull/25570#issuecomment-524845828
 
 
   Btw, in the original JIRA comment, someone claims that Hive supports duplicate column names. I want to confirm but get:
   
   ```
   hive> create view test_view (c1, c2) as select c1, c1 from test;
   FAILED: SemanticException [Error 10036]: Duplicate column name: c1
   ```
   
   I test with Hive 2.1. Does only newer Hive support the feature?
   
   

----------------------------------------------------------------
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


With regards,
Apache Git Services

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