yihua commented on code in PR #12878:
URL: https://github.com/apache/hudi/pull/12878#discussion_r1996079537
##########
hudi-common/src/main/java/org/apache/hudi/BaseHoodieTableFileIndex.java:
##########
@@ -203,6 +203,9 @@ public int getFileSlicesCount() {
@Override
public void close() throws Exception {
+ if (cachedAllInputFileSlices instanceof ExternalSpillableMap) {
Review Comment:
Spark manages the file index object for relations, and if Spark did not call
`close` we need to see how we can eagerly release resources.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]