[jira] [Commented] (SPARK-11977) Support accessing a DataFrame column using its name without backticks if the name contains '.'
[ https://issues.apache.org/jira/browse/SPARK-11977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15676856#comment-15676856 ] Barry Becker commented on SPARK-11977: -- I would also like to know how to handle columns that contain backticks in them. How do we escape the `? > Support accessing a DataFrame column using its name without backticks if the > name contains '.' > -- > > Key: SPARK-11977 > URL: https://issues.apache.org/jira/browse/SPARK-11977 > Project: Spark > Issue Type: Improvement > Components: SQL >Reporter: Sun Rui >Priority: Minor > > This is better usability. See the discussion in > https://issues.apache.org/jira/browse/SPARK-11951 -- 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-11977) Support accessing a DataFrame column using its name without backticks if the name contains '.'
[ https://issues.apache.org/jira/browse/SPARK-11977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15388542#comment-15388542 ] Apache Spark commented on SPARK-11977: -- User 'rerngvit' has created a pull request for this issue: https://github.com/apache/spark/pull/14309 > Support accessing a DataFrame column using its name without backticks if the > name contains '.' > -- > > Key: SPARK-11977 > URL: https://issues.apache.org/jira/browse/SPARK-11977 > Project: Spark > Issue Type: Improvement > Components: SQL >Reporter: Sun Rui >Priority: Minor > > This is better usability. See the discussion in > https://issues.apache.org/jira/browse/SPARK-11951 -- 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-11977) Support accessing a DataFrame column using its name without backticks if the name contains special character
[ https://issues.apache.org/jira/browse/SPARK-11977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15046267#comment-15046267 ] Yanbo Liang commented on SPARK-11977: - I think the check for interfere with the exist schema is unnecessary, because it's not legal for column name with backticks at Spark SQL. > Support accessing a DataFrame column using its name without backticks if the > name contains special character > > > Key: SPARK-11977 > URL: https://issues.apache.org/jira/browse/SPARK-11977 > Project: Spark > Issue Type: Improvement > Components: SQL >Reporter: Sun Rui >Priority: Minor > > This is better usability. See the discussion in > https://issues.apache.org/jira/browse/SPARK-11951 -- 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-11977) Support accessing a DataFrame column using its name without backticks if the name contains special character
[ https://issues.apache.org/jira/browse/SPARK-11977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15031232#comment-15031232 ] Sun Rui commented on SPARK-11977: - I am glad that you can help:). The solution may not be as simple as auto-wrapping inside DataFrame. May need investigation this won't interfere with the "Database.table.column" naming scheme in SQL. > Support accessing a DataFrame column using its name without backticks if the > name contains special character > > > Key: SPARK-11977 > URL: https://issues.apache.org/jira/browse/SPARK-11977 > Project: Spark > Issue Type: Improvement > Components: SQL >Reporter: Sun Rui >Priority: Minor > > This is better usability. See the discussion in > https://issues.apache.org/jira/browse/SPARK-11951 -- 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-11977) Support accessing a DataFrame column using its name without backticks if the name contains special character
[ https://issues.apache.org/jira/browse/SPARK-11977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15030802#comment-15030802 ] Huaxin Gao commented on SPARK-11977: I would like to work on this jira. If the column name contains "." and hasn't been wrapped with backticks yet, I will wrap it with backticks. Wenchen Fan and Reynold Xin, is this what you want the fix to be? Thanks! > Support accessing a DataFrame column using its name without backticks if the > name contains special character > > > Key: SPARK-11977 > URL: https://issues.apache.org/jira/browse/SPARK-11977 > Project: Spark > Issue Type: Improvement > Components: SQL >Reporter: Sun Rui >Priority: Minor > > This is better usability. See the discussion in > https://issues.apache.org/jira/browse/SPARK-11951 -- 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-11977) Support accessing a DataFrame column using its name without backticks if the name contains special character
[ https://issues.apache.org/jira/browse/SPARK-11977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15026119#comment-15026119 ] Sun Rui commented on SPARK-11977: - cc [~cloud_fan], [~rxin] > Support accessing a DataFrame column using its name without backticks if the > name contains special character > > > Key: SPARK-11977 > URL: https://issues.apache.org/jira/browse/SPARK-11977 > Project: Spark > Issue Type: Improvement >Reporter: Sun Rui > > This is better usability. See the discussion in > https://issues.apache.org/jira/browse/SPARK-11951 -- 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