Kontinuation opened a new pull request, #573: URL: https://github.com/apache/sedona-db/pull/573
This patch breaks the object size of KNN(query, object, K) into smaller partitions, and spills results of KNN queries to a set of spill files. We merge the KNN query result with the nearest-so-far results we obtained when processing the previous partition. The global KNN result will be produced after all partitions were processed. The tricky part for spilling and merging nearest-so-far KNN query results is implemented in knn_result_merger.rs. It needs to handle lots of edge cases correctly and we were very cautious when implementing this. Fuzz tests were added to verify the correctness of the KNN result merger. -- 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]
