[Feature] Support Lance file format
- Ngôn ngữ chính
- C++
- Star
- 65
- Fork
- 25
- Merge trung bình
- 2 ngày 12 giờ
- Pull request đã merge (30 ngày)
- 80
Mô tả
### Search before asking
- [x] I searched in the [issues](https://github.com/apache/paimon-cpp/issues) and found nothing similar.
### Motivation
Apache Paimon Java supports Lance as a data file format through the paimon-lance module. Paimon C++ currently cannot read or write tables configured with file.format=lance, which prevents Java and C++ engines from interoperating on those tables.
### Solution
Add optional Lance file format support to Paimon C++, aligned with the Java implementation and Lance 0.39.0:
- register a Lance file format factory behind a disabled-by-default CMake option;
- support reading and writing Lance files through the existing file format interfaces;
- support column projection, precise row selection, row counts, and file row-id reporting;
- validate the same supported and unsupported logical types as Java;
- add C++ round-trip tests and Java/C++ compatibility fixtures in both directions.
The implementation should follow the existing Mosaic Rust FFI integration and lifecycle patterns.
### Anything else?
Java reference module: https://github.com/apache/paimon/tree/master/paimon-lance
### Are you willing to submit a PR?
- [x] I am willing to submit a PR!
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu bằng cách đọc tích hợp Mosaic Rust FFI hiện có và các mẫu vòng đời, sau đó so sánh mô-đun tham chiếu Java tại paimon-lance và kiểm tra các giao diện định dạng tệp hiện có. Công việc được xem là hoàn tất khi một tích hợp CMake tùy chọn, bị vô hiệu hóa theo mặc định, hỗ trợ đọc và ghi Lance, các phép chiếu và lựa chọn hàng bắt buộc, siêu dữ liệu hàng, xác thực kiểu logic, các bài kiểm thử round-trip và các fixture tương thích Java/C++.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- cmake, cpp, java, rust
- Lĩnh vực
- data-engineering, databases
- Loại issue
- Tính năng
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức độ hoạt động
- Sôi nổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 45/100