mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-06 09:08:43 +08:00
This PR refactors the Loon FFI reader implementation to use milvus-storage's internal C++ Reader API directly instead of the external FFI interface. Key changes: - Replace external FFI calls (get_record_batch_reader, reader_destroy) with direct C++ Reader API calls - Add GetLoonReader() helper function to create Reader instances using milvus-storage::api::Reader::create() - Use MakeInternalPropertiesFromStorageConfig() instead of MakePropertiesFromStorageConfig() to get internal properties - Update NewPackedFFIReaderWithManifest() to deserialize column groups from JSON manifest content directly - Simplify GetFFIReaderStream() to use Reader::get_record_batch_reader() and arrow::ExportRecordBatchReader() for Arrow stream export - Change CFFIPackedReader typedef from ReaderHandle to void* for flexibility - Update milvus-storage dependency version to ba7df7b This change improves code maintainability by using the native C++ API directly and eliminates the overhead of going through the external FFI layer. issue: #44956 Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>