Enable `LocalTableScan` conversion by default

Abierto
#7,426 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
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
rust, scala, spark

Línea de trabajo

The flag spark.comet.exec.localTableScan.enabled gates the conversion of LocalTableScanExec, so start with the Scala rule that handles that operator and the config definition next to it. Read the linked failing Spark SQL tests from #4347 and #6795 to see what breaks when the flag is on. Done means the flag defaults to true, those tests pass, and a small-relation benchmark shows no slowdown.

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?

LocalTableScanExec is disabled by default (spark.comet.exec.localTableScan.enabled). Small local relations, such as INSERT ... VALUES, createDataFrame(Seq(...)) and test tables, keep the operators above them in Spark. That includes native Iceberg and Parquet writes of that data.

Describe the potential solution

Check that converting LocalTableScanExec doesn't slow down common small-relation plans. Fix the Spark SQL test failures seen with it enabled (#4347, #6795), then enable it by default.

Additional context

The scan itself rarely gets faster. The point is to let the operators above it, especially native writes, convert.

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.