diff --git a/components/rdb/rdb.q b/components/rdb/rdb.q index 1aa5403..654ed28 100644 --- a/components/rdb/rdb.q +++ b/components/rdb/rdb.q @@ -103,8 +103,8 @@ system"l ",getenv[`EC_QSL_PATH],"/sl.q"; .rdb.date:.sl.eodSyncedDate[]; //end of day - eodTabs:select table:sectionVal, hdbPath:eodPath, hdbName:hdbConn, memoryClear:eodClear, store:eodPerform from .rdb.cfg.eodTabs; - .event.dot[`rdb;`.store.init;(eodTabs;.rdb.cfg.reloadHdb;.rdb.cfg.fillMissingTabsHdb;.rdb.cfg.dataPath);();`debug`info`error;"initializing store library"]; + config:select table:sectionVal, hdbPath:eodPath, hdbName:hdbConn, memoryClear:eodClear, store:eodPerform, attrCol from .rdb.cfg.eodTabs; + .event.dot[`rdb;`.store.init;(config;.rdb.cfg.reloadHdb;.rdb.cfg.fillMissingTabsHdb;.rdb.cfg.dataPath);();`debug`info`error;"initializing store library"]; //connections hdb2conn:exec distinct hdbConn from .rdb.cfg.eodTabs where not hdbConn~'`; diff --git a/components/rdb/rdb.qsd b/components/rdb/rdb.qsd index 5f6f550..c4f3337 100644 --- a/components/rdb/rdb.qsd +++ b/components/rdb/rdb.qsd @@ -33,6 +33,8 @@ #/C/ flag for performing eod #/E/ eodPerform = 1 eodPerform = + #/E/ table column to partition by for dhb eod write + attrCol = [sysTable] #/C/ connection settings for hdb #/E/ hdbConn = kdb.hdb @@ -44,4 +46,4 @@ #/E/ eodPerform = 1 eodPerform = [user] -[userGroup] \ No newline at end of file +[userGroup]