Fix a bug about toDateTimeOrNull with negative argument#90490
Merged
Fix a bug about toDateTimeOrNull with negative argument#90490
toDateTimeOrNull with negative argument#90490Conversation
Contributor
|
Workflow [PR], commit [b9d11e6] Summary: ❌
|
…ickHouse/ClickHouse into yarik/fix-todatetime-null-bug
…ickHouse/ClickHouse into yarik/fix-todatetime-null-bug
Avogar
reviewed
Dec 3, 2025
Avogar
reviewed
Dec 3, 2025
Avogar
reviewed
Dec 3, 2025
Avogar
reviewed
Dec 3, 2025
Avogar
reviewed
Dec 3, 2025
Avogar
reviewed
Dec 3, 2025
tests/queries/0_stateless/03724_to_date_time_or_null_negative_arg_bug.sql
Show resolved
Hide resolved
Contributor
|
This pr will also fix this #87601 |
This was referenced Dec 10, 2025
robot-ch-test-poll3
added a commit
that referenced
this pull request
Dec 10, 2025
Cherry pick #90490 to 25.8: Fix a bug about `toDateTimeOrNull` with negative argument
This was referenced Dec 10, 2025
robot-ch-test-poll3
added a commit
that referenced
this pull request
Dec 10, 2025
Cherry pick #90490 to 25.9: Fix a bug about `toDateTimeOrNull` with negative argument
This was referenced Dec 10, 2025
robot-ch-test-poll3
added a commit
that referenced
this pull request
Dec 10, 2025
Cherry pick #90490 to 25.10: Fix a bug about `toDateTimeOrNull` with negative argument
This was referenced Dec 10, 2025
robot-ch-test-poll3
added a commit
that referenced
this pull request
Dec 10, 2025
Cherry pick #90490 to 25.11: Fix a bug about `toDateTimeOrNull` with negative argument
clickhouse-gh bot
added a commit
that referenced
this pull request
Dec 10, 2025
Backport #90490 to 25.11: Fix a bug about `toDateTimeOrNull` with negative argument
clickhouse-gh bot
added a commit
that referenced
this pull request
Dec 10, 2025
Backport #90490 to 25.9: Fix a bug about `toDateTimeOrNull` with negative argument
yariks5s
added a commit
that referenced
this pull request
Dec 10, 2025
Backport #90490 to 25.10: Fix a bug about `toDateTimeOrNull` with negative argument
yariks5s
added a commit
that referenced
this pull request
Dec 10, 2025
Backport #90490 to 25.8: Fix a bug about `toDateTimeOrNull` with negative argument
zvonand
added a commit
to Altinity/ClickHouse
that referenced
this pull request
Dec 14, 2025
Antalya 25.8 Backport of ClickHouse#90490: Fix a bug about `toDateTimeOrNull` with negative argument
25 tasks
zvonand
pushed a commit
to Altinity/ClickHouse
that referenced
this pull request
Dec 15, 2025
Backport ClickHouse#90490 to 25.8: Fix a bug about `toDateTimeOrNull` with negative argument
25 tasks
Member
|
@yariks5s is it backward incompatible change? |
Member
|
No it's not. #86184 was and this PR reverts back most of the changed behaviour that could lead to changes in user queries. |
Member
|
@Avogar thanks! |
zvonand
added a commit
to Altinity/ClickHouse
that referenced
this pull request
Dec 17, 2025
25.8.12 Stable backport of ClickHouse#90490: Fix a bug about `toDateTimeOrNull` with negative argument
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Fixes a bug where
toDateTimeOrNullof a negative argument returns NULL.