yaooqinn commented on PR #13661: URL: https://github.com/apache/gluten/pull/13661#issuecomment-7233298148
Two things before a closer look: 1. This conflicts with #13710 (merged), which changed `BroadcastHashTable` in `VeloxBroadcastBuildSideCache.scala` to carry `buildKey` instead of `droppedDuplicates`; `git merge-tree` reports a content conflict there. Could you rebase? 2. The storage reservation follows the first cache entry, not the shared native table. An entry that gets its table from `cloneHashTable` (same broadcast relation, another execution) has a null `relation`, so it reserves nothing. When the original entry is invalidated at the end of its execution, `onRemoval` repays the full size, but the clone's handle still holds the same table, so from then on the table is not counted. Could the reservation follow the native table's lifetime instead, for example repaid when the last handle to it is released? Also, could the description say that this covers the default executor-side build (`driverSideBroadcastHashTableBuild=false`) as well as the driver-side path in #13660? On the default path the hash table is no longer bounded by `spark.memory.offHeap.size` and is only counted after it is built, if storage has room. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
