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

[jdbc] Server timezone seems overriden by server header #1919

Open
chernser opened this issue Nov 7, 2024 · 0 comments
Open

[jdbc] Server timezone seems overriden by server header #1919

chernser opened this issue Nov 7, 2024 · 0 comments
Labels
Milestone

Comments

@chernser
Copy link
Contributor

chernser commented Nov 7, 2024

Describe the bug

all of these assertions failed with datetimes and timezones conversions, for example:
Setting :report-timezone = "America/Los_Angeles"
diff: - {:month "2012-12-01T00:00:00-08:00",
:quarter "2012-10-01T00:00:00-07:00",
:week "2012-12-23T00:00:00-08:00",
:year "2012-01-01T00:00:00-08:00"}
+ {:month "2012-11-30T00:00:00-08:00",
:quarter "2012-09-30T00:00:00-07:00",
:week "2012-12-22T00:00:00-08:00",
:year "2011-12-31T00:00:00-08:00"}

Broken in 0.6.4

Steps to reproduce

Expected behaviour

Code example

Error log

Configuration

Environment

  • Client version:
  • Language version:
  • OS:

ClickHouse server

  • ClickHouse Server version:
  • ClickHouse Server non-default settings, if any:
  • CREATE TABLE statements for tables involved:
  • Sample data for all these tables, use clickhouse-obfuscator if necessary
@chernser chernser added bug module-jdbc JDBC driver labels Nov 7, 2024
@chernser chernser added this to the 0.7.2 milestone Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant