[ 
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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to