AbsaOSS / AbsaOSS/spark-data-standardization

Add support for capitalized month names when casting dates

未關閉
#83 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
enhancement
主要語言
Scala
星號
7
分支
2
平均合併
1 天 18 小時
30 天內合併 PR
4

描述

## 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]
--

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。