[ 
https://issues.apache.org/jira/browse/SPARK-39137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Apache Spark reassigned SPARK-39137:
------------------------------------

    Assignee: Apache Spark

> Use slice instead of take and drop
> ----------------------------------
>
>                 Key: SPARK-39137
>                 URL: https://issues.apache.org/jira/browse/SPARK-39137
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.4.0
>            Reporter: Yang Jie
>            Assignee: Apache Spark
>            Priority: Trivial
>
> {code:java}
> seq.drop(n).take(m) -> seq.slice(n, n + m)
> seq.take(m).drop(n) -> seq.slice(n, m) {code}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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

Reply via email to