Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parseDataTimeBestEffort support comma between date and time #42049

Merged
merged 2 commits into from
Oct 6, 2022

Conversation

ucasfl
Copy link
Collaborator

@ucasfl ucasfl commented Oct 4, 2022

Changelog category (leave one):

  • Improvement

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):

parseDataTimeBestEffort support comma between date and time. Closes #42038.

@robot-ch-test-poll robot-ch-test-poll added the pr-improvement Pull request with some product improvements label Oct 4, 2022
@vdimir vdimir self-assigned this Oct 4, 2022
Copy link
Member

@vdimir vdimir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe '18:31:44, 01/12/2017' is also ok? And can we consider ',' as just a separator between parts and even relax the condition a bit? Then has_comma_after_date would be has_comma_between_date_and_time and used to handle trailing comma cases or multiple commas (by the way, it's good to add '01/12/2017 ,,,, 18:31:44' and similar to tests as parse failing examples).

Copy link
Member

@vdimir vdimir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution.
I'll check that CI failures are unrelated and merge.

@vdimir vdimir merged commit 0513824 into ClickHouse:master Oct 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-improvement Pull request with some product improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

parseDateTimeBestEffort function does not for for 01/12/2017, 18:31:44 format
3 participants