tanishq-chugh commented on code in PR #5538:
URL: https://github.com/apache/hive/pull/5538#discussion_r1841766053
##########
ql/src/java/org/apache/hadoop/hive/ql/DriverContext.java:
##########
@@ -125,6 +130,12 @@ public QueryPlan getPlan() {
public void setPlan(QueryPlan plan) {
this.plan = plan;
+ TezTask task = Utilities.getFirstTezTask(plan.getRootTasks()).orElse(null);
Review Comment:
this shouldn't cause any issue wrt query execution but just some noise in
logs. a null check wrt plan should just be fine.. i guess the one test failure
in precommit is as well linked to this ;)
--
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]