feat: rollup data query
This commit is contained in:
parent
4ca81bec89
commit
cca06e2b71
|
@ -357,7 +357,7 @@ int nQUERY = 0;
|
||||||
#endif
|
#endif
|
||||||
static STsdb* getTsdbByRetentions(SVnode* pVnode, TSKEY winSKey, SRetention* retentions) {
|
static STsdb* getTsdbByRetentions(SVnode* pVnode, TSKEY winSKey, SRetention* retentions) {
|
||||||
if (vnodeIsRollup(pVnode)) {
|
if (vnodeIsRollup(pVnode)) {
|
||||||
int level = 0;
|
int level = 0;
|
||||||
#if 1
|
#if 1
|
||||||
int64_t now = taosGetTimestamp(pVnode->config.tsdbCfg.precision);
|
int64_t now = taosGetTimestamp(pVnode->config.tsdbCfg.precision);
|
||||||
for (int i = 0; i < TSDB_RETENTION_MAX; ++i) {
|
for (int i = 0; i < TSDB_RETENTION_MAX; ++i) {
|
||||||
|
|
Loading…
Reference in New Issue