Return-Path: X-Original-To: apmail-spark-reviews-archive@minotaur.apache.org Delivered-To: apmail-spark-reviews-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5C03B17DEC for ; Wed, 8 Oct 2014 10:26:34 +0000 (UTC) Received: (qmail 13351 invoked by uid 500); 8 Oct 2014 10:26:34 -0000 Delivered-To: apmail-spark-reviews-archive@spark.apache.org Received: (qmail 13328 invoked by uid 500); 8 Oct 2014 10:26:34 -0000 Mailing-List: contact reviews-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list reviews@spark.apache.org Received: (qmail 13316 invoked by uid 99); 8 Oct 2014 10:26:33 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Oct 2014 10:26:33 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id ABA8A9231D8; Wed, 8 Oct 2014 10:26:33 +0000 (UTC) From: cloud-fan To: reviews@spark.apache.org Reply-To: reviews@spark.apache.org References: In-Reply-To: Subject: [GitHub] spark pull request: [SPARK-3688][SQL]LogicalPlan can't resolve col... Content-Type: text/plain Message-Id: <20141008102633.ABA8A9231D8@tyr.zones.apache.org> Date: Wed, 8 Oct 2014 10:26:33 +0000 (UTC) Github user cloud-fan commented on the pull request: https://github.com/apache/spark/pull/2542#issuecomment-58338302 I tried this on hive: CREATE TABLE t1(x INT); CREATE TABLE t2(a STRUCT, k INT); SELECT a.x FROM t1 a JOIN t2 b; And hive can resolve this. However it is reasonable to report "ambiguous references" here, should we follow hive for this case? --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org For additional commands, e-mail: reviews-help@spark.apache.org