luozenglin commented on code in PR #21323: URL: https://github.com/apache/doris/pull/21323#discussion_r1246257941
########## be/src/vec/exec/scan/vmeta_scan_node.cpp: ########## @@ -65,6 +65,7 @@ Status VMetaScanNode::_init_scanners(std::list<VScannerSPtr>* scanners) { for (auto& scan_range : _scan_ranges) { std::shared_ptr<VMetaScanner> scanner = VMetaScanner::create_shared( _state, this, _tuple_id, scan_range, _limit_per_scanner, runtime_profile()); + scanner->set_user_identity(_scan_params.current_user_ident); Review Comment: Need to check that _scan_params.current_user_ident exists -- 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