This is an automated email from the ASF dual-hosted git repository. morningman pushed a commit to branch dev-1.0.1 in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
commit ad0216f8236112e80996208f4bfccc873d9bc379 Author: slothever <18522955+w...@users.noreply.github.com> AuthorDate: Thu Jun 2 10:41:40 2022 +0800 [fix](hive) fix bug of invalid user info in external table's scan node (#9908) Fix the hive external table scan node null exception Now hive external table query will fail when use local user@ip --- fe/fe-core/src/main/java/org/apache/doris/planner/BrokerScanNode.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fe/fe-core/src/main/java/org/apache/doris/planner/BrokerScanNode.java b/fe/fe-core/src/main/java/org/apache/doris/planner/BrokerScanNode.java index 3a99bc0203..417b91e145 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/planner/BrokerScanNode.java +++ b/fe/fe-core/src/main/java/org/apache/doris/planner/BrokerScanNode.java @@ -151,7 +151,7 @@ public class BrokerScanNode extends LoadScanNode { this.fileStatusesList = fileStatusesList; this.filesAdded = filesAdded; if (ConnectContext.get() != null) { - this.userIdentity = ConnectContext.get().getUserIdentity(); + this.userIdentity = ConnectContext.get().getCurrentUserIdentity(); } } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org