Merge pull request #4438 from taosdata/feature/query
[TD-2281]<fix>: filter unsupported mixed up query functions.
This commit is contained in:
commit
8fdcba9f2c
|
@ -2835,6 +2835,10 @@ static bool functionCompatibleCheck(SQueryInfo* pQueryInfo, bool joinQuery) {
|
||||||
|
|
||||||
if (functionCompatList[functionId] != factor) {
|
if (functionCompatList[functionId] != factor) {
|
||||||
return false;
|
return false;
|
||||||
|
} else {
|
||||||
|
if (factor == -1) { // two functions with the same -1 flag
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (functionId == TSDB_FUNC_LAST_ROW && joinQuery) {
|
if (functionId == TSDB_FUNC_LAST_ROW && joinQuery) {
|
||||||
|
|
Loading…
Reference in New Issue