Commit 569d5596 by Sarath Subramanian

ATLAS-3298: set hive_process startTime to System.currentTimeMillis() if startTime is null

parent eb205d27
......@@ -743,7 +743,7 @@ public abstract class BaseHiveEvent {
}
protected Long getQueryStartTime() {
return isHiveContextValid() ? context.getHiveContext().getQueryPlan().getQueryStartTime() : null;
return isHiveContextValid() ? context.getHiveContext().getQueryPlan().getQueryStartTime() : System.currentTimeMillis();
}
protected String getQueryId() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment