fix:[TD-31250] stream start later than insert data

This commit is contained in:
wangmm0220 2024-08-06 20:08:07 +08:00
parent cce942d04d
commit 868e5fef0e
1 changed files with 1 additions and 1 deletions

View File

@ -454,7 +454,7 @@ int buildStable(TAOS* pConn, TAOS_RES* pRes) {
taos_free_result(pRes);
#else
pRes = taos_query(pConn,
"create stream meters_summary_s trigger at_once IGNORE EXPIRED 0 into meters_summary as select "
"create stream meters_summary_s trigger at_once IGNORE EXPIRED 0 fill_history 1 into meters_summary as select "
"_wstart, max(current) as current, "
"groupid, location from meters partition by groupid, location interval(10m)");
if (taos_errno(pRes) != 0) {