[jira] [Commented] (SPARK-34636) sql method in UnresolvedAttribute, AttributeReference and Alias don't quote qualified names properly.
[ https://issues.apache.org/jira/browse/SPARK-34636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17304434#comment-17304434 ] Apache Spark commented on SPARK-34636: -- User 'sarutak' has created a pull request for this issue: https://github.com/apache/spark/pull/31885 > sql method in UnresolvedAttribute, AttributeReference and Alias don't quote > qualified names properly. > - > > Key: SPARK-34636 > URL: https://issues.apache.org/jira/browse/SPARK-34636 > Project: Spark > Issue Type: Bug > Components: SQL >Affects Versions: 3.0.2, 3.2.0, 3.1.1 >Reporter: Kousuke Saruta >Assignee: Kousuke Saruta >Priority: Major > Fix For: 3.2.0 > > > UnresolvedReference, AttributeReference and Alias which take qualifier don't > quote qualified names properly. > One instance is reported in SPARK-34626. > Other instances are like as follows. > {code} > UnresolvedAttribute("a`b"::"c.d"::Nil).sql > a`b.`c.d` // expected: `a``b`.`c.d` > AttributeReference("a.b", IntegerType)(qualifier = "c.d"::Nil).sql > c.d.`a.b` // expected: `c.d`.`a.b` > Alias(AttributeReference("a", IntegerType)(), "b.c")(qualifier = > "d.e"::Nil).sql > `a` AS d.e.`b.c` // expected: `a` AS `d.e`.`b.c` > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org
[jira] [Commented] (SPARK-34636) sql method in UnresolvedAttribute, AttributeReference and Alias don't quote qualified names properly.
[ https://issues.apache.org/jira/browse/SPARK-34636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17304433#comment-17304433 ] Apache Spark commented on SPARK-34636: -- User 'sarutak' has created a pull request for this issue: https://github.com/apache/spark/pull/31885 > sql method in UnresolvedAttribute, AttributeReference and Alias don't quote > qualified names properly. > - > > Key: SPARK-34636 > URL: https://issues.apache.org/jira/browse/SPARK-34636 > Project: Spark > Issue Type: Bug > Components: SQL >Affects Versions: 3.0.2, 3.2.0, 3.1.1 >Reporter: Kousuke Saruta >Assignee: Kousuke Saruta >Priority: Major > Fix For: 3.2.0 > > > UnresolvedReference, AttributeReference and Alias which take qualifier don't > quote qualified names properly. > One instance is reported in SPARK-34626. > Other instances are like as follows. > {code} > UnresolvedAttribute("a`b"::"c.d"::Nil).sql > a`b.`c.d` // expected: `a``b`.`c.d` > AttributeReference("a.b", IntegerType)(qualifier = "c.d"::Nil).sql > c.d.`a.b` // expected: `c.d`.`a.b` > Alias(AttributeReference("a", IntegerType)(), "b.c")(qualifier = > "d.e"::Nil).sql > `a` AS d.e.`b.c` // expected: `a` AS `d.e`.`b.c` > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org
[jira] [Commented] (SPARK-34636) sql method in UnresolvedAttribute, AttributeReference and Alias don't quote qualified names properly.
[ https://issues.apache.org/jira/browse/SPARK-34636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17295826#comment-17295826 ] Apache Spark commented on SPARK-34636: -- User 'sarutak' has created a pull request for this issue: https://github.com/apache/spark/pull/31754 > sql method in UnresolvedAttribute, AttributeReference and Alias don't quote > qualified names properly. > - > > Key: SPARK-34636 > URL: https://issues.apache.org/jira/browse/SPARK-34636 > Project: Spark > Issue Type: Bug > Components: SQL >Affects Versions: 3.0.2, 3.2.0, 3.1.1 >Reporter: Kousuke Saruta >Assignee: Kousuke Saruta >Priority: Major > > UnresolvedReference, AttributeReference and Alias which take qualifier don't > quote qualified names properly. > One instance is reported in SPARK-34626. > Other instances are like as follows. > {code} > UnresolvedAttribute("a`b"::"c.d"::Nil).sql > a`b.`c.d` // expected: `a``b`.`c.d` > AttributeReference("a.b", IntegerType)(qualifier = "c.d"::Nil) > c.d.`a.b` // expected: `c.d`.`a.b` > Alias(AttributeReference("a", IntegerType)(), "b.c")(qualifier = > "d.e"::Nil).sql > `a` AS d.e.`b.c` // expected: `a` AS `d.e`.`b.c` > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org