No refreshing Iceberg credential provider on Spark 3.x builds

Aperta
#7,389 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
aws, scala, spark

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Scala
Stelle
1.3k
Fork
414
Merge medio
3g 5h
PR unite (30g)
210

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di apache/datafusion-comet

Tutte le issue di apache/datafusion-comet

Issue simili

Altre issue su Scala

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.