Skip to content

Add support for capitalized month names when casting dates #83

@yruslan

Description

@yruslan

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:

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]

--

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions