tencent cloud

문서TencentDB for CTSDB

InfluxQL Functions

다운로드
포커스 모드
폰트 크기
마지막 업데이트 시간: 2025-04-29 23:11:35

Functions

 For the compatibility of InfluxQL function aggregation, selection, and transformation, see the table below. For details on syntax and examples, see InfluxQL functions.
Type
Function
InfluxDB OSS
TencentDB for CTSDB 3.0
Transformations
ABS()
✅
✅
ACOS()
✅
✅
ASIN()
✅
✅
ATAN()
✅
✅
ATAN2()
✅
✅
CEIL()
✅
✅
COS()
✅
✅
CUMULATIVE_SUM()
✅
❌
DERIVATIVE()
✅
❌
DIFFERENCE()
✅
❌
ELAPSED()
✅
❌
EXP()
✅
✅
FLOOR()
✅
✅
HISTOGRAM()
✅
❌
LN()
✅
✅
LOG()
✅
✅
LOG2()
✅
✅
LOG10()
✅
✅
MOVING_AVERAGE()
✅
❌
NON_NEGATIVE_DERIVATIVE()
✅
❌
NON_NEGATIVE_DIFFERENCE()
✅
❌
POW()
✅
✅
ROUND()
✅
✅
SIN()
✅
✅
SQRT()
✅
✅
TAN()
✅
✅
Aggregations
COUNT()
✅
✅
SUM()
✅
✅
MEAN()
✅
✅
PERCENTILE()
✅
✅
DISTINCT()
✅
❌
INTEGRAL()
✅
❌
MEDIAN()
✅
❌
MODE()
✅
❌
SPREAD()
✅
❌
STDDEV()
✅
❌
Selectors
MIN()
✅
✅
MAX()
✅
✅
TOP()
✅
✅
BOTTOM()
✅
✅
FIRST()
✅
✅*
Example
SELECT FIRST("level description") FROM "h2o_feet"
LAST()
✅
✅*
Example
SELECT LAST("level description"),"location","water_level" FROM "h2o_feet"
PERCENTILE()
✅
❌
SAMPLE()
✅
❌

Mathematical Operators

TencentDB for CTSDB 3.0 does not currently support functions related to data operation algorithms.
Function
InfluxDB OSS
TencentDB for CTSDB 3.0
cumulative_sum
✅
❌
derivative
✅
❌
non_negative_derivative
✅
❌
difference
✅
❌
non_negative_difference
✅
❌
elapsed
✅
❌
moving_average
✅
❌
holt_winters
✅
❌
holt_winters_with_fit
✅
❌

도움말 및 지원

문제 해결에 도움이 되었나요?

피드백