AbsaOSS / AbsaOSS/spark-data-standardization
Add support for capitalized month names when casting dates
- Lingua principale
- Scala
- Stelle
- 7
- Fork
- 2
- Merge medio
- 1g 18h
- PR unite (30g)
- 4
Descrizione
## 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]
--
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.