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

Sean R. Owen resolved SPARK-39005.
----------------------------------
    Resolution: Won't Fix

> Introduce 4 new functions to KVUtils
> ------------------------------------
>
>                 Key: SPARK-39005
>                 URL: https://issues.apache.org/jira/browse/SPARK-39005
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.4.0
>            Reporter: Yang Jie
>            Priority: Minor
>
> Introduce 4 new functions
>  * count:Counts the number of elements in the KVStoreView which satisfy a 
> predicate.
>  * foreach:Applies a function f to all values produced by KVStoreView.
>  * mapToSeq:Maps all values of KVStoreView to new Seq using a transformation 
> function.
>  * size: The size of KVStoreView.
> And use the above functions to simplify the code related to `KVStoreView`, 
> and the above functions will release `LevelDB/RocksDBIterator` earlier.
>  



--
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