zhangbutao commented on code in PR #5709:
URL: https://github.com/apache/hive/pull/5709#discussion_r2012339878


##########
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:
   When users query MySQL tables through Hive jdbc storage handler, users 
sometimes need to know which MySQL database the table comes from through JDBC 
URL.  Users may  execute `show create table mysql_jdbc_tbl` to check the JDBC 
URL.
   
   Therefore, I think it is necessary to retain the JDBC URL & username.



-- 
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: gitbox-unsubscr...@hive.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org
For additional commands, e-mail: gitbox-h...@hive.apache.org

Reply via email to