spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-19429) Column.__getitem__ should support slice arguments
Date Wed, 01 Feb 2017 19:59:51 GMT

    [ 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


Mime
View raw message