Skip to content

Fix inferring Date/DateTime/DateTime64 on dates that are out of supported range#86184

Merged
Avogar merged 8 commits intoClickHouse:masterfrom
Avogar:bad-date-inference
Sep 23, 2025
Merged

Fix inferring Date/DateTime/DateTime64 on dates that are out of supported range#86184
Avogar merged 8 commits intoClickHouse:masterfrom
Avogar:bad-date-inference

Conversation

@Avogar
Copy link
Member

@Avogar Avogar commented Aug 26, 2025

Changelog category (leave one):

  • Bug Fix (user-visible misbehavior in an official stable release)

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

Fix inferring Date/DateTime/DateTime64 on dates that are out of supported range.

Closes #86025

Documentation entry for user-facing changes

  • Documentation is written (mandatory for new features)

@clickhouse-gh
Copy link
Contributor

clickhouse-gh bot commented Aug 26, 2025

Workflow [PR], commit [a0495c2]

Summary:

job_name test_name status info comment
Stateless tests (amd_binary, ParallelReplicas, s3 storage, parallel) failure
03300_nested_json_empty_keys FAIL
Exception in test runner FAIL
Killed by signal (in clickhouse-server.log or clickhouse-server.err.log) FAIL
Fatal messages (in clickhouse-server.log or clickhouse-server.err.log) FAIL
Bugfix validation (integration tests) failure
Stress test (amd_tsan) failure
Server died FAIL
Hung check failed, possible deadlock found (see hung_check.log) FAIL
Killed by signal (in clickhouse-server.log) FAIL
Fatal message in clickhouse-server.log (see fatal_messages.txt) FAIL
Killed by signal (output files) FAIL
Found signal in gdb.log FAIL
Stress test (arm_asan) failure
Server died FAIL
Hung check failed, possible deadlock found (see hung_check.log) FAIL
Killed by signal (in clickhouse-server.log) FAIL
Fatal message in clickhouse-server.log (see fatal_messages.txt) FAIL
Killed by signal (output files) FAIL

@clickhouse-gh clickhouse-gh bot added the pr-bugfix Pull request with bugfix, not backported by default label Aug 26, 2025
@bharatnc bharatnc self-assigned this Sep 3, 2025
@Avogar
Copy link
Member Author

Avogar commented Sep 23, 2025

@Avogar Avogar added this pull request to the merge queue Sep 23, 2025
Merged via the queue into ClickHouse:master with commit 85a99eb Sep 23, 2025
118 of 123 checks passed
@Avogar Avogar deleted the bad-date-inference branch September 23, 2025 19:04
@robot-clickhouse-ci-1 robot-clickhouse-ci-1 added the pr-synced-to-cloud The PR is synced to the cloud repo label Sep 23, 2025
@Avogar Avogar added the pr-must-backport Pull request should be backported intentionally. Use this label with great care! label Oct 21, 2025
robot-ch-test-poll1 added a commit that referenced this pull request Oct 21, 2025
Cherry pick #86184 to 25.7: Fix inferring Date/DateTime/DateTime64 on dates that are out of supported range
robot-clickhouse added a commit that referenced this pull request Oct 21, 2025
robot-ch-test-poll1 added a commit that referenced this pull request Oct 21, 2025
Cherry pick #86184 to 25.8: Fix inferring Date/DateTime/DateTime64 on dates that are out of supported range
robot-clickhouse added a commit that referenced this pull request Oct 21, 2025
robot-ch-test-poll1 added a commit that referenced this pull request Oct 21, 2025
Cherry pick #86184 to 25.9: Fix inferring Date/DateTime/DateTime64 on dates that are out of supported range
robot-clickhouse added a commit that referenced this pull request Oct 21, 2025
clickhouse-gh bot added a commit that referenced this pull request Oct 21, 2025
Backport #86184 to 25.8: Fix inferring Date/DateTime/DateTime64 on dates that are out of supported range
@robot-clickhouse robot-clickhouse added pr-backports-created-cloud deprecated label, NOOP pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR labels Oct 21, 2025
Avogar added a commit that referenced this pull request Oct 30, 2025
Backport #86184 to 25.9: Fix inferring Date/DateTime/DateTime64 on dates that are out of supported range
@robot-clickhouse robot-clickhouse added the pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore label Oct 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore pr-backports-created-cloud deprecated label, NOOP pr-bugfix Pull request with bugfix, not backported by default pr-must-backport Pull request should be backported intentionally. Use this label with great care! pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Strings with dates less then 1970-01-01 are infered as Date time and saved as 1970-01-01 in text formats schema inference

4 participants