Skip to content

Commit

Permalink
Fix orc timezone read
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinyhZou authored and zouyunhe committed Sep 19, 2024
1 parent f1f6c2c commit 8cf6a58
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ FormatFile::InputFormatPtr ORCFormatFile::createInputFormat(const DB::Block & he
const String mapped_timezone = DateTimeUtil::convertTimeZone(config_timezone);
format_settings.orc.reader_time_zone_name = mapped_timezone;
}

auto input_format = std::make_shared<DB::NativeORCBlockInputFormat>(*file_format->read_buffer, header, format_settings);
file_format->input = input_format;
return file_format;
Expand Down

0 comments on commit 8cf6a58

Please sign in to comment.