No refreshing Iceberg credential provider on Spark 3.x builds

Abierto
#7,389 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 2 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
aws, scala, spark

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Scala
Estrellas
1.3k
Forks
414
Merge medio
3 d 5 h
PR fusionados (30 d)
210

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de apache/datafusion-comet

Todos los issues de apache/datafusion-comet

Issues similares

Más issues de Scala

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.