Maciej Szymkiewicz created SPARK-19429:
------------------------------------------

             Summary: 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: 2.1.0, 1.6.3, 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to