mrhhsg commented on code in PR #14616: URL: https://github.com/apache/doris/pull/14616#discussion_r1034357193
########## be/src/vec/functions/function_convert_tz.h: ########## @@ -47,6 +51,10 @@ struct ConvertTZImpl { const ColumnString* from_tz_column, const ColumnString* to_tz_column, ReturnColumnType* result_column, NullMap& result_null_map, size_t input_rows_count) { + auto convert_ctx = reinterpret_cast<ConvertTzCtx*>( + context->get_function_state(FunctionContext::FunctionStateScope::THREAD_LOCAL)); + std::map<StringRef, cctz::time_zone> time_zone_cache_; Review Comment: `time_zone_cache_` is a temporary map. `time_zone_cache` is a reference to the map. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org