AbsaOSS / AbsaOSS/spark-data-standardization
Add support for capitalized month names when casting dates
- Lenguaje dominante
- Scala
- Estrellas
- 7
- Forks
- 2
- Merge medio
- 1 d 18 h
- PR fusionados (30 d)
- 4
Descripción
## Background
Currently, the pattern `ddMMMyyyy` doesn't work for dates like `11JAN2026`, only `11Sep2012`.
In Java this is fixed by making the formatter case-insensitive:
```scala
val formatter = new DateTimeFormatterBuilder()
.parseCaseInsensitive()
.appendPattern("ddMMMyyyy")
.toFormatter(Locale.ENGLISH);
```
However, Spark does not do that and patterns are case sensitive.
## Feature
Add support for capitalized month names when casting dates.
## Business Value
--
## Example [Optional]
--
## Proposed Solution [Optional]
--
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.