eldenmoon commented on code in PR #26749: URL: https://github.com/apache/doris/pull/26749#discussion_r1403846760
########## be/src/vec/exec/scan/new_olap_scanner.cpp: ########## @@ -406,6 +411,55 @@ Status NewOlapScanner::_init_tablet_reader_params( return Status::OK(); } +vectorized::PathInData NewOlapScanner::_build_path(SlotDescriptor* slot) { + PathInDataBuilder path_builder; + const std::string& col_name = slot->col_name_lower_case(); + auto delimeter_index = col_name.find("."); + std::string_view root_name = delimeter_index == std::string::npos + ? col_name + : std::string_view(col_name.data(), delimeter_index); + path_builder = path_builder.append(root_name, false); + for (const std::string& path : slot->column_paths()) { Review Comment: yes -- 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