diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java index ffb2abd..7850184 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java @@ -8562,7 +8562,7 @@ public NotificationEventResponse getNextNotification(NotificationEventRequest rq } private void lockForUpdate() throws MetaException { - String selectQuery = "select \"NEXT_EVENT_ID\" from \"NOTIFICATION_SEQUENCE\""; + String selectQuery = "select \"NEXT_EVENT_ID\" from NOTIFICATION_SEQUENCE"; String selectForUpdateQuery = sqlGenerator.addForUpdateClause(selectQuery); new RetryingExecutor(conf, () -> { Query query = pm.newQuery("javax.jdo.query.SQL", selectForUpdateQuery);