Skip to content

Commit

Permalink
fix: null TimeZone Exception
Browse files Browse the repository at this point in the history
  • Loading branch information
BeenAxis committed Aug 21, 2024
1 parent fc8d92e commit 1a091dc
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 1a091dc

Please sign in to comment.