spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yi Tian (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-3688) LogicalPlan can't resolve column correctlly
Date Thu, 25 Sep 2014 07:52:33 GMT

    [ https://issues.apache.org/jira/browse/SPARK-3688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14147520#comment-14147520
] 

Yi Tian commented on SPARK-3688:
--------------------------------

As we know, the hive support complex colunm datatype like struct.
So it is hard to resolve a reference like a.b.c
I think we should add some judgements on the datatype attributes, like:
{quote}
option.dataType.isInstanceOf[StructType]
{quote}

> LogicalPlan can't resolve column correctlly
> -------------------------------------------
>
>                 Key: SPARK-3688
>                 URL: https://issues.apache.org/jira/browse/SPARK-3688
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.1.0
>            Reporter: Yi Tian
>
> How to reproduce this problem:
> create a table:
> {quote}
> create table test (a string, b string);
> {quote}
> execute sql:
> {quote}
> select a.b ,count(1) from test a join test t group by a.b;
> {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message