soumyakanti3578 commented on code in PR #6197:
URL: https://github.com/apache/hive/pull/6197#discussion_r2663149887
##########
ql/src/java/org/apache/hadoop/hive/ql/exec/ExplainTask.java:
##########
@@ -1161,15 +1135,20 @@ public JSONObject outputPlan(Object work, PrintStream
out,
}
// Try this as a map
- if (val instanceof Map) {
- // Go through the map and print out the stuff
- Map<?, ?> mp = (Map<?, ?>) val;
+ if (val instanceof Map<?, ?> mp) {
+
+ // Remove JDBC username from job properties
Review Comment:
Because we don't want to print usernames in explain plans. This is explained
in https://github.com/apache/hive/pull/6197#discussion_r2662850130 and
https://github.com/apache/hive/pull/6197#discussion_r2663132224
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]