You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2017/02/01 19:59:51 UTC

[jira] [Commented] (SPARK-19429) Column.__getitem__ should support slice arguments

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

Apache Spark commented on SPARK-19429:
--------------------------------------

User 'zero323' has created a pull request for this issue:
https://github.com/apache/spark/pull/16771

> Column.__getitem__ should support slice arguments
> -------------------------------------------------
>
>                 Key: SPARK-19429
>                 URL: https://issues.apache.org/jira/browse/SPARK-19429
>             Project: Spark
>          Issue Type: Bug
>          Components: PySpark, SQL
>    Affects Versions: 1.6.3, 2.1.0, 2.2.0
>            Reporter: Maciej Szymkiewicz
>            Priority: Minor
>
> PySpark {{Column}} uses {{\_\_getslice\_\_}} as a synonym for {{substr}}. {{\_\_getslice\_\_}} is deprecated in Python 2.0 (since 2.0) and has been removed in Python 3.
> If we want to support slicing notation it should be handled by {{\_\_getitem\_\_}}.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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