Skip to content

Commit

Permalink
Merge pull request #1781 from BeenAxis/main
Browse files Browse the repository at this point in the history
[client-v2] Fix: null TimeZone Exception
  • Loading branch information
chernser committed Aug 21, 2024
2 parents fc8d92e + 1a091dc commit 4fefbb9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@ private <T> T readValueImpl(ClickHouseColumn column) throws IOException {
return (T) readDateTime32(input, column.getTimeZone() == null ? timeZone:
column.getTimeZone());
case DateTime64:
return (T) readDateTime64(input, 3, column.getTimeZone());
return (T) readDateTime64(input, 3, column.getTimeZone() == null ? timeZone:
column.getTimeZone());

case IntervalYear:
case IntervalQuarter:
Expand Down

0 comments on commit 4fefbb9

Please sign in to comment.