Skip to content

Commit

Permalink
fix gap dill docs (#200)
Browse files Browse the repository at this point in the history
  • Loading branch information
niebayes authored Feb 12, 2025
1 parent 33d820d commit eddc9bf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dir.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,9 @@
- title_en: Math
title_cn: 数学函数
path: sql-reference/math
- title_en: Gap Fill
title_cn: 插值
path: sql-reference/gap_fill
#- title_en: String
# title_cn: 字符串函数
# path: sql-reference/string
Expand Down
3 changes: 3 additions & 0 deletions zh_CN/sql-reference/gap_fill.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
- 使用给定值填充:`fill_value(<aggregate_col>, <value>)`
3. 使用 WHERE 从句给定查询的时间范围。
- 时间范围必须为有限范围,即有限的起始时间戳与有限的结束时间戳。
- 注意,插值的起始时间戳为 `min(p_min, d_min)`,终止时间戳为 `max(p_max, d_max)`
- `p_min``p_max` 分别为查询条件中的时间范围的下界与上界。
- `d_min``d_max` 分别为原始数据中最小时间戳与最大时间戳。

语法示例:

Expand Down

0 comments on commit eddc9bf

Please sign in to comment.