[GitHub] [spark] maropu commented on issue #27651: [SPARK-30903][SQL] Fail fast on duplicate columns when analyze columns

2020-02-22 Thread GitBox
maropu commented on issue #27651: [SPARK-30903][SQL] Fail fast on duplicate 
columns when analyze columns
URL: https://github.com/apache/spark/pull/27651#issuecomment-590014317
 
 
   Thanks! Merged to master/3.0!
   
   Just in case, I've checked that pgSQL has the same behaivour;
   ```
   postgres=# \d t
Table "public.t"
Column |  Type   | Collation | Nullable | Default 
   +-+---+--+-
k  | integer |   |  | 
v  | integer |   |  | 
   
   postgres=# analyze t (k, k);
   ERROR:  column "k" of relation "t" appears more than once
   ```


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



[GitHub] [spark] maropu commented on issue #27651: [SPARK-30903][SQL] Fail fast on duplicate columns when analyze columns

2020-02-21 Thread GitBox
maropu commented on issue #27651: [SPARK-30903][SQL] Fail fast on duplicate 
columns when analyze columns
URL: https://github.com/apache/spark/pull/27651#issuecomment-589657608
 
 
   (too flaky)


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