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 2020/02/12 03:39:56 UTC

[GitHub] [spark] imback82 edited a comment on issue #27532: [SPARK-30782][SQL] Column resolution doesn't respect current catalog/namespace for v2 tables.

imback82 edited a comment on issue #27532: [SPARK-30782][SQL] Column resolution doesn't respect current catalog/namespace for v2 tables.
URL: https://github.com/apache/spark/pull/27532#issuecomment-584943281
 
 
   In contrast, Hive doesn't like the syntax
   ```
   %jdbc(hive)
   select tbl.t8 from default.tbl;
   # this works
   
   %jdbc(hive)
   select default.tbl.t8 from default.tbl;
   org.apache.hive.service.cli.HiveSQLException: Error while compiling statement: FAILED: SemanticException [Error 10004]: Line 1:7 Invalid table alias or column reference 'default': (possible column names are: t8, t9)
   ```
   
   I think we need to at lease make the behavior consistent b/w v1 and v2 tables.

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