This is an automated email from the ASF dual-hosted git repository.

sarath pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/atlas.git


The following commit(s) were added to refs/heads/master by this push:
     new 569d559  ATLAS-3298: set hive_process startTime to 
System.currentTimeMillis() if startTime is null
569d559 is described below

commit 569d55968ec3f31bfa32fcd4492fbb201aa8e35d
Author: Sarath Subramanian <[email protected]>
AuthorDate: Sun Jun 23 22:34:08 2019 -0700

    ATLAS-3298: set hive_process startTime to System.currentTimeMillis() if 
startTime is null
---
 .../src/main/java/org/apache/atlas/hive/hook/events/BaseHiveEvent.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/addons/hive-bridge/src/main/java/org/apache/atlas/hive/hook/events/BaseHiveEvent.java
 
b/addons/hive-bridge/src/main/java/org/apache/atlas/hive/hook/events/BaseHiveEvent.java
index c6e764f..05d79df 100644
--- 
a/addons/hive-bridge/src/main/java/org/apache/atlas/hive/hook/events/BaseHiveEvent.java
+++ 
b/addons/hive-bridge/src/main/java/org/apache/atlas/hive/hook/events/BaseHiveEvent.java
@@ -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() {

Reply via email to