You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by ha...@apache.org on 2019/03/07 22:13:36 UTC
[hive] branch master updated: HIVE-20848 : After setting
UpdateInputAccessTimeHook query fail with Table Not Found. (Rajkumar Singh
via Ashutosh Chauhan)
This is an automated email from the ASF dual-hosted git repository.
hashutosh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git
The following commit(s) were added to refs/heads/master by this push:
new 1a37d05 HIVE-20848 : After setting UpdateInputAccessTimeHook query fail with Table Not Found. (Rajkumar Singh via Ashutosh Chauhan)
1a37d05 is described below
commit 1a37d051e9469389406e32656775119edeed24bd
Author: Rajkumar Singh <ra...@hortonworks.com>
AuthorDate: Thu Mar 7 14:12:43 2019 -0800
HIVE-20848 : After setting UpdateInputAccessTimeHook query fail with Table Not Found. (Rajkumar Singh via Ashutosh Chauhan)
Signed-off-by: Ashutosh Chauhan <ha...@apache.org>
---
.../org/apache/hadoop/hive/ql/hooks/UpdateInputAccessTimeHook.java | 3 +++
1 file changed, 3 insertions(+)
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/hooks/UpdateInputAccessTimeHook.java b/ql/src/java/org/apache/hadoop/hive/ql/hooks/UpdateInputAccessTimeHook.java
index 36a92aa..e7d8e55 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/hooks/UpdateInputAccessTimeHook.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/hooks/UpdateInputAccessTimeHook.java
@@ -59,6 +59,9 @@ public class UpdateInputAccessTimeHook {
// of the object, before it was modified by StatsTask.
// Get the latest versions of the object
case TABLE: {
+ if(re.getTable().getTableName().equals("_dummy_table")){
+ break;
+ }
String dbName = re.getTable().getDbName();
String tblName = re.getTable().getTableName();
Table t = db.getTable(dbName, tblName);