No refreshing Iceberg credential provider on Spark 3.x builds

Đang mở
#7,389 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
aws, scala, spark
Lĩnh vực
cloud, data-engineering

Hướng nghiên cứu

Start with IcebergVendedS3CredentialProvider, which exists only in the spark-4.x source set, and compare it with the Iceberg 1.8.1 AwsClientProperties refresh logic that Comet loads by reflection. Decide whether the spark-3.x set gets its own SDK v2 body or a loader-neutral way to read the credentials, and settle that with maintainers first. Done means the provider is available on Spark 3.x builds and the docs from #7363 no longer say it is missing.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

area:Iceberg area:scan enhancement spark 3.x
Is your feature request related to a problem or challenge?

#7363 adds IcebergVendedS3CredentialProvider in the spark-4.x source set only, because it links against AWS SDK v2. Iceberg 1.8.1, which the Spark 3.5 build uses, already has the same refresh logic in AwsClientProperties, and Comet loads Iceberg by reflection. On Spark 3.x, a long native Iceberg scan against a REST catalog with short-lived credentials still fails with ExpiredToken.

Describe the solution you'd like

Ship the provider in Spark 3.x builds too. Iceberg's provider is SDK v2 there as well, so the class would need its own body in the spark-3.x source set, or a loader-neutral way to read the SDK v2 credentials.

Additional context

The docs added in #7363 state that Spark 3.x builds don't include the provider.

Ngôn ngữ chính
Scala
Star
1.3k
Fork
414
Merge trung bình
3 ngày 5 giờ
Pull request đã merge (30 ngày)
210

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của apache/datafusion-comet

Tất cả issue của apache/datafusion-comet

Issue tương tự

Thêm issue về Scala

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.