[TD-2281]<fix>: filter unsupported mixed up query functions.

This commit is contained in:
Haojun Liao 2020-12-04 12:47:37 +08:00
parent 7090b3feb0
commit b8f38e0568
2 changed files with 8 additions and 4 deletions

View File

@ -2835,6 +2835,10 @@ static bool functionCompatibleCheck(SQueryInfo* pQueryInfo, bool joinQuery) {
if (functionCompatList[functionId] != factor) {
return false;
} else {
if (factor == -1) { // two functions with the same -1 flag
return false;
}
}
if (functionId == TSDB_FUNC_LAST_ROW && joinQuery) {