ANSI NaN and infinity use the wrong exception for cast to timestamp
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 68/100
Línea de trabajo
La incidencia nombra la clase de error InvalidInputInCastToDatetime, que ya se asigna a SparkDateTimeException de Spark. Empieza por encontrar dónde la ruta de conversión de NaN e infinito a TIMESTAMP en modo ANSI elige SparkNumberFormatException en su lugar, y reutiliza la asignación existente. El enunciado no nombra archivos, así que busca InvalidInputInCastToDatetime y las pruebas de conversiones ANSI. Está terminado cuando un double NaN o infinito convertido a TIMESTAMP en modo ANSI lanza SparkDateTimeException con el formato de mensaje de Spark.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
With ANSI on, NaN and infinities raise SparkNumberFormatException (CastInvalidValue) with text like The value 'inf' of the type "STRING". Spark throws SparkDateTimeException: The value Infinity of the type "DOUBLE" cannot be cast to "TIMESTAMP". The error class and SQLSTATE match. InvalidInputInCastToDatetime already maps to Spark's exception. The source type, the spelling (inf versus Infinity), and the quoting differ.
This predates and is unchanged by #6969; found in review there.
- Lenguaje dominante
- Scala
- Estrellas
- 1.3k
- Forks
- 391
- Merge medio
- 2 d 21 h
- PR fusionados (30 d)
- 431
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de apache/datafusion-comet
-
enhancement
Dificultad 1/5 1-3 horas Aptitud para principiantes 83/100
apache/datafusion-comet#7101 ·
Los mantenedores suelen responder en 1 día
-
Native hashing of NullType and ANSI interval values fails with "Unsupported data type in hasher"Posiblemente ocupada @ump45nose la tomó hace 6 días. Abiertoarea:expressions area:shuffle bug priority:high
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
apache/datafusion-comet#7063 ·
Los mantenedores suelen responder en 1 día
-
Deduplicate spark_ceil and spark_floor and port floor's decimal boundary tests to ceilQuizá libre de nuevo @med9110 la tomó hace 8 días y no hay ningún pull request abierto. Abiertoarea:expressions enhancement help wanted requires-triage rust tech debt
Dificultad 2/5 Medio día Aptitud para principiantes 68/100
apache/datafusion-comet#6974 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Iceberg data tables whose names end with a metadata-table name fall back to SparkQuizá libre de nuevo @aryan9948 la tomó hace 17 días y no hay ningún pull request abierto. Abiertorequires-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
apache/datafusion-comet#6719 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Casting to a struct type with repeated field names fails with "ArrowArray struct has 2 children (expected 1)"Posiblemente ocupada @Samearth17 la tomó hace 18 días. Abiertoarea:expressions area:ffi bug good first issue priority:high
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
apache/datafusion-comet#6591 ·
Los mantenedores suelen responder en 1 día
Todos los issues de apache/datafusion-comet
Issues similares
-
[BUG] spark: Iceberg REST catalog symlinks collide when multiple catalogs share one REST URIAbiertokind:bug state:needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
OpenLineage/OpenLineage#5100 · 1 comentario ·
Los mantenedores suelen responder en 4 días
-
enhancement good first issue help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
spotify/scio#6018 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
scylladb/scylla-migrator#417 ·
-
[Docs] Document `spark.databricks.delta.optimize.maxThreads` in Compaction (bin-packing) sectionPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertodelta-docs delta-table-maintenance documentation
Dificultad 1/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día