[jira] [Commented] (SPARK-14004) AttributeReference and Alias should only use their first qualifier to build SQL representations
[ https://issues.apache.org/jira/browse/SPARK-14004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15204760#comment-15204760 ] Yin Huai commented on SPARK-14004: -- https://github.com/apache/spark/pull/11822 has been merged. After this change, named expression can have at most one qualifier. > AttributeReference and Alias should only use their first qualifier to build > SQL representations > --- > > Key: SPARK-14004 > URL: https://issues.apache.org/jira/browse/SPARK-14004 > Project: Spark > Issue Type: Bug > Components: SQL >Affects Versions: 2.0.0 >Reporter: Cheng Lian >Assignee: Cheng Lian >Priority: Minor > Fix For: 2.0.0 > > > Current implementation joins all qualifiers, which is wrong. > However, this doesn't cause any real SQL generation bugs as there is always > at most one qualifier for any given {{AttributeReference}} or {{Alias}}. > We can probably use {{Option\[String\]}} instead of {{Seq\[String\]}} to > represent qualifiers. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org
[jira] [Commented] (SPARK-14004) AttributeReference and Alias should only use their first qualifier to build SQL representations
[ https://issues.apache.org/jira/browse/SPARK-14004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15204068#comment-15204068 ] Apache Spark commented on SPARK-14004: -- User 'cloud-fan' has created a pull request for this issue: https://github.com/apache/spark/pull/11859 > AttributeReference and Alias should only use their first qualifier to build > SQL representations > --- > > Key: SPARK-14004 > URL: https://issues.apache.org/jira/browse/SPARK-14004 > Project: Spark > Issue Type: Bug > Components: SQL >Affects Versions: 2.0.0 >Reporter: Cheng Lian >Assignee: Cheng Lian >Priority: Minor > Fix For: 2.0.0 > > > Current implementation joins all qualifiers, which is wrong. > However, this doesn't cause any real SQL generation bugs as there is always > at most one qualifier for any given {{AttributeReference}} or {{Alias}}. > We can probably use {{Option\[String\]}} instead of {{Seq\[String\]}} to > represent qualifiers. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org
[jira] [Commented] (SPARK-14004) AttributeReference and Alias should only use their first qualifier to build SQL representations
[ https://issues.apache.org/jira/browse/SPARK-14004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15201351#comment-15201351 ] Apache Spark commented on SPARK-14004: -- User 'liancheng' has created a pull request for this issue: https://github.com/apache/spark/pull/11822 > AttributeReference and Alias should only use their first qualifier to build > SQL representations > --- > > Key: SPARK-14004 > URL: https://issues.apache.org/jira/browse/SPARK-14004 > Project: Spark > Issue Type: Bug > Components: SQL >Affects Versions: 2.0.0 >Reporter: Cheng Lian >Assignee: Cheng Lian >Priority: Minor > > Current implementation joins all qualifiers, which is wrong. > However, this doesn't cause any real SQL generation bugs as there is always > at most one qualifier for any given {{AttributeReference}} or {{Alias}}. > We can probably use {{Option\[String\]}} instead of {{Seq\[String\]}} to > represent qualifiers. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org
[jira] [Commented] (SPARK-14004) AttributeReference and Alias should only use their first qualifier to build SQL representations
[ https://issues.apache.org/jira/browse/SPARK-14004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15201313#comment-15201313 ] Apache Spark commented on SPARK-14004: -- User 'liancheng' has created a pull request for this issue: https://github.com/apache/spark/pull/11820 > AttributeReference and Alias should only use their first qualifier to build > SQL representations > --- > > Key: SPARK-14004 > URL: https://issues.apache.org/jira/browse/SPARK-14004 > Project: Spark > Issue Type: Bug > Components: SQL >Affects Versions: 2.0.0 >Reporter: Cheng Lian >Assignee: Cheng Lian >Priority: Minor > > Current implementation joins all qualifiers, which is wrong. > However, this doesn't cause any real SQL generation bugs as there is always > at most one qualifier for any given {{AttributeReference}} or {{Alias}}. > We can probably use {{Option\[String\]}} instead of {{Seq\[String\]}} to > represent qualifiers. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org