deniskuzZ commented on code in PR #5709:
URL: https://github.com/apache/hive/pull/5709#discussion_r2018515624
##########
ql/src/java/org/apache/hadoop/hive/ql/plan/PlanUtils.java:
##########
@@ -1230,7 +1229,12 @@ public static Class<? extends AbstractSerDe>
getDefaultSerDe() {
return LazySimpleSerDe.class;
}
- private static final String[] FILTER_OUT_FROM_EXPLAIN = {TABLE_IS_CTAS};
+ private static final String[] FILTER_OUT_FROM_EXPLAIN = {
+ TABLE_IS_CTAS,
+ HIVE_SQL_JDBC_USERNAME,
+ HIVE_SQL_JDBC_PASSWORD,
Review Comment:
SYS tables could be queried only by privilege users/admins, so I don't see a
security risk here.
However, it makes sense to exclude the connection info from the explain
plan.
--
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]