zabetak commented on code in PR #6230:
URL: https://github.com/apache/hive/pull/6230#discussion_r2623780499
##########
ql/src/java/org/apache/hadoop/hive/ql/exec/ExplainTask.java:
##########
@@ -603,13 +601,8 @@ public int execute() {
} else {
JSONObject jsonPlan = getJSONPlan(out, work);
if (work.isFormatted()) {
- // use the parser to get the output operators of RS
- JsonParser jsonParser = JsonParserFactory.getParser(conf);
- if (jsonParser != null) {
- jsonParser.print(jsonPlan, null);
- LOG.info("JsonPlan is augmented to {}", jsonPlan);
Review Comment:
Personally, I don't see a big benefit in logging the "augmented" plan at
this point since for the most part it will be identical with the
"non-augmented" version. The extra logging does not seem to add too much
additional value thus I am OK to not log anything.
I am OK to restore the logging if you see some real value in having it in
place.
--
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]