ClickHouse/tests
Robert Schulze 72b9d75a84
Add compat setting for non-const timezones
SQL function toTimezone() converts a Date or DateTime into another
timezone. The problem is that the timezone is part of the Date /
DateTime type but not part of the internal representation (value). This
led to the fact that toTimeZone() wqith non-const timezones produced
wrong and misleading results until #48471 (shipped with v23.4) enforced
a const timezone.

Unfortunately, this PR also broke existing table definitions with
non-const timezones, e.g. in ALIAS expressions. So while #48471
addressed the issue appropriately, it is really backwards-incompatible.

This PR adds a setting to toggle the behavior and makes it also part of
the compatibility profile.
2023-06-10 16:56:42 +00:00
..
ci Merge pull request #50615 from ClickHouse/fix-jepsen-check 2023-06-07 08:43:51 +02:00
config fix 2023-06-02 17:42:04 +02:00
fuzz
instructions
integration Merge pull request #50240 from aalexfvk/fix_https_replication_changed_ip_bug 2023-06-08 08:58:48 -04:00
jepsen.clickhouse
perf_drafts
performance Add parallel state merge for some other combinator except If (#50413) 2023-06-08 00:41:32 +02:00
queries Add compat setting for non-const timezones 2023-06-10 16:56:42 +00:00
sqllogic
.gitignore
.rgignore
broken_tests.txt Merge pull request #50587 from ClickHouse/fix-01487_distributed_in_not_default_db 2023-06-07 20:26:53 +02:00
clickhouse-test
CMakeLists.txt
tsan_suppressions.txt
ubsan_suppressions.txt