You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: [6598098782] support FILL(NONE/NULL/VALUE) for indefRows functions in interval queries
Allow indefRows functions (csum, diff, derivative, mavg, statecount,
stateduration) to work with FILL clause in interval queries.
Changes:
- parser: lift restriction blocking FILL with indefRows functions
- planner: propagate indefRowsMode flag through plan nodes
- nodes: serialize/deserialize/clone indefRowsMode field
- executor: implement multi-row window pass-through in fill engine,
reset indefWindowActive on fill reset, validate fill values
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copy file name to clipboardExpand all lines: docs/en/14-reference/03-taos-sql/20-select.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -371,6 +371,7 @@ The differences between NULL, NULL_F, VALUE, VALUE_F filling modes for different
371
371
372
372
1. When using the FILL statement, a large amount of fill output may be generated, so be sure to specify the query time range. For each query, the system can return up to 10 million results with interpolation.
373
373
2. FILL has continuity, if only the first value in a column is not NULL, then fill(prev) will fill all subsequent rows with that value.
374
+
3. When using time-series specific functions (such as CSUM, DIFF, DERIVATIVE, MAVG, STATECOUNT, STATEDURATION, IRATE, TWA, LAG, LEAD, FILL_FORWARD) with INTERVAL queries, only FILL(NONE), FILL(NULL), FILL(NULL_F), FILL(VALUE), and FILL(VALUE_F) are supported. FILL(PREV), FILL(NEXT), FILL(LINEAR), and FILL(NEAR) are not supported with these functions.
0 commit comments