You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "luozenglin (via GitHub)" <gi...@apache.org> on 2023/06/29 07:53:10 UTC

[GitHub] [doris] luozenglin commented on a diff in pull request #21323: [Enhancement](tvf) Add authentication for workload group tvf

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-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org