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

Guan-Ming Chiu commented on SPARK-59816:
----------------------------------------

I'd like to work on this, split into two PRs:

1. Method calls: s.upper(), s.lower(), s.startswith(p), s.endswith(p), with the 
same NULL guard as len().
2. `p in s` lowered to contains, since it goes through the Compare path.

I would like to leave strip() out for now, as Spark trim only strips spaces 
while Python strips all whitespace.

> Transpile more simple string operations
> ---------------------------------------
>
>                 Key: SPARK-59816
>                 URL: https://issues.apache.org/jira/browse/SPARK-59816
>             Project: Spark
>          Issue Type: Sub-task
>          Components: PySpark
>    Affects Versions: 4.4.0
>            Reporter: Holden Karau
>            Priority: Major
>
> Follow on from Transpile string len() to Catalyst length  / SPARK-55214



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to