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:
us...@infra.apache.org


With regards,
Apache Git Services

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

Reply via email to