AbsaOSS / AbsaOSS/enceladus

Add ability to configure how Spark handles dates in parquet files.

Abierto
#2,175 3 comentarios 0 reacciones 1 asignado Reclamado por @TebaleloS Ver en GitHub
Conformance feature priority: medium run scripts Standardization under discussion
Lenguaje dominante
Scala
Estrellas
33
Forks
16
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

## Background
With Spark 3 new option were added how to work with dates pre 1900 in parquet files
The settings are:
`spark.sql.parquet.datetimeRebaseModeInRead`
`spark.sql.parquet.datetimeRebaseModeInWrite`
`spark.sql.parquet.int96RebaseModeInRead`
`spark.sql.parquet.int96RebaseModeInWrite`

[Details here](https://spark.apache.org/docs/3.2.0/sql-data-sources-parquet.html).

## Feature
Allow setting of the options for Enceladus jobs
```[tasklist]
### Tasks
- [ ] ~Add command line options to be able to set the **read** options. Set a default behavior either to `EXCEPTION` or `LEGACY`.~
- [ ] ~Modify the helper scripts to recognize these settings~
- [ ] ~Add an `reference.conf`/`application.conf` setting to be applied to write options. The default should be `LEGACY`~
- [ ] Modify the helper scripts to be able to easily send the Spark settings into the `spark submit` - the defaults remain the same as described above
```

## To discuss
* The command line option names
* The command line defaults
* The write configuration names

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.