提交 490c4682 编写于 作者: wmmhello's avatar wmmhello

TD-6129<feature> support null true false for json tag

上级 0e49e115
......@@ -4111,6 +4111,16 @@ static int32_t queryByJsonTag(STable* pTable, void* filterInfo, SArray* res){
break;
}
}
for (uint16_t i = 0; i < info->unitNum; ++i) { // is null operation need query all table
SFilterUnit* unit = &info->units[i];
if (unit->compare.optr == TSDB_RELATION_ISNULL) {
tabList = taosArrayInit(32, sizeof(JsonMapValue));
getAllTableList(pTable, tabList); // query all table
needQueryAll = true;
break;
}
}
for (uint16_t i = 0; i < info->fields[FLD_TYPE_COLUMN].num; ++i) {
if (needQueryAll) break; // query all table
SFilterField* fi = &info->fields[FLD_TYPE_COLUMN].fields[i];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册