[TD-6046]<fix> fix ts,derivative() output error for top/bottom/diff/derivative

This commit is contained in:
wangmm0220 2021-08-16 18:18:39 +08:00
parent 203f5c7078
commit da70289797
1 changed files with 1 additions and 2 deletions

View File

@ -7052,8 +7052,7 @@ static int32_t checkUpdateTagPrjFunctions(SQueryInfo* pQueryInfo, char* msg) {
continue;
}
if(functionId == TSDB_FUNC_DERIVATIVE || functionId == TSDB_FUNC_DIFF ||
functionId == TSDB_FUNC_TOP ||functionId == TSDB_FUNC_BOTTOM ){ // to avoid ts function id was modufied below
if(functionId == TSDB_FUNC_DERIVATIVE || functionId == TSDB_FUNC_DIFF){ // to avoid ts function id was modufied below
tagTsColExists = false;
}