apache / apache/datafusion

Cast from string to date with "/"

Open
#10,551 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
9.3k
Forks
2.4k
Avg merge
3d 7h
Merged PRs (30d)
344

Description

### Is your feature request related to a problem or challenge?

I want to be able to cast a string that is delimited with "/" to a date the same way that you can when it is delimited with "-". Postgres supports both.

image

### Describe the solution you'd like

_No response_

### Describe alternatives you've considered

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by tracing DataFusion's string-to-date cast handling and its existing behavior for hyphen-delimited dates. Confirm that slash-delimited input is accepted consistently with PostgreSQL, and add or update regression coverage; done means the requested cast succeeds.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust, sql
Domain
databases
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.