You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Pratyushotpal Madhukar (Jira)" <ji...@apache.org> on 2021/05/18 15:22:00 UTC

[jira] [Created] (HIVE-25137) getAllWriteEventInfo calls RDBMS directly instead of going through the HMS client

Pratyushotpal Madhukar created HIVE-25137:
---------------------------------------------

             Summary: getAllWriteEventInfo calls RDBMS directly instead of going through the HMS client
                 Key: HIVE-25137
                 URL: https://issues.apache.org/jira/browse/HIVE-25137
             Project: Hive
          Issue Type: Improvement
            Reporter: Pratyushotpal Madhukar


{code:java}
private List<WriteEventInfo> getAllWriteEventInfo(Context withinContext) throws Exception {
    String contextDbName = StringUtils.normalizeIdentifier(withinContext.replScope.getDbName());
    RawStore rawStore = HiveMetaStore.HMSHandler.getMSForConf(withinContext.hiveConf);
    List<WriteEventInfo> writeEventInfoList
            = rawStore.getAllWriteEventInfo(eventMessage.getTxnId(), contextDbName, null);
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)