AbsaOSS / AbsaOSS/spark-data-standardization
Add support for capitalized month names when casting dates
Đang mở
enhancement
- Ngôn ngữ chính
- Scala
- Star
- 7
- Fork
- 2
- Merge trung bình
- 1 ngày 18 giờ
- Pull request đã merge (30 ngày)
- 4
Mô tả
## 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]
--
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.