Yang Jie created SPARK-38847:
--------------------------------
Summary: Introduce a `viewToSeq` function for `KVUtils`
Key: SPARK-38847
URL: https://issues.apache.org/jira/browse/SPARK-38847
Project: Spark
Issue Type: Improvement
Components: Spark Core, SQL
Affects Versions: 3.4.0
Reporter: Yang Jie
There are many codes in spark that convert KVStoreView into `List`, and these
codes will not close `KVStoreIterator`, these resources are mainly recycled by
`finalize()` method implemented in `LevelDB` and `RockSB`, this makes
`KVStoreIterator` resource recycling unpredictable.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]