Skip to content

[Bug](function) Fix function for cast string as date/datetime (#35637)#35930

Closed
yongjinhou wants to merge 1 commit into
apache:branch-2.0from
yongjinhou:string-to-date-2.0
Closed

[Bug](function) Fix function for cast string as date/datetime (#35637)#35930
yongjinhou wants to merge 1 commit into
apache:branch-2.0from
yongjinhou:string-to-date-2.0

Conversation

@yongjinhou
Copy link
Copy Markdown
Contributor

Issue Number: close #35635

Cast rules:Consistent with mysql.
String:Date
The first part is 1-digit x: 000x-month-day
The first part is 2-digit xy: 20xy-month-day / 19xy-month-day The first part is 3-digit xyz: 20xy-0z-day / 19xy-0z-day The first part is 4-digit xyzw: xyzw-month-day

Proposed changes

Issue Number: close #xxx

…#35637)

Issue Number: close apache#35635

<!--Describe your changes.-->
Cast rules:Consistent with mysql.
String:Date
The first part is 1-digit x: 000x-month-day
The first part is 2-digit xy: 20xy-month-day / 19xy-month-day
The first part is 3-digit xyz: 20xy-0z-day / 19xy-0z-day
The first part is 4-digit xyzw: xyzw-month-day
@doris-robot
Copy link
Copy Markdown

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@yongjinhou
Copy link
Copy Markdown
Contributor Author

run buildall

@yongjinhou yongjinhou closed this Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants