AbsaOSS / AbsaOSS/spark-data-standardization
Add support for capitalized month names when casting dates
Ouverte
enhancement
- Langage dominant
- Scala
- Étoiles
- 7
- Forks
- 2
- Merge moyen
- 1 j 18 h
- PR mergées (30 j)
- 4
Description
## 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]
--
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.