Enable the Comet in-memory cache (`InMemoryTableScan`) by default

Abierto
#7,425 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
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
8/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
rust, scala, spark

Línea de trabajo

The change centres on the spark.comet.exec.inMemoryCache.enabled setting and the InMemoryTableScanExec path that the issue describes; the payload names no specific file or test. Read the linked audit epic #6834 and the executor-abort report #7305 before anything else, since both gate the change. Done means the default flips to on, the Spark 3.4 abort is resolved, and a performance comparison against Spark's cache is recorded.

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

Descripción

enhancement requires-triage
What is the problem the feature request solves?

Cached DataFrames are common in batch ETL. Comet's Arrow cache (spark.comet.exec.inMemoryCache.enabled) is experimental and off by default. With it off, a cached relation is read through Spark's InMemoryTableScanExec, and the operators above it can't run natively.

Describe the potential solution

Close the remaining correctness and stability items, then turn the cache on by default:

  • the in-memory cache audit epic (#6834)
  • the Spark 3.4 executor abort with the cache enabled (#7305)
  • memory accounting and spill behavior for large cached relations
  • a performance check against Spark's cache on wide and narrow schemas
Additional context

Because the serializer has to be installed at startup, the default has to be decided before the session starts, not per query.

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.