cherry pick from #46364
This commit is contained in:
@ -363,7 +363,7 @@ public:
|
||||
for (const auto& index : _indexes) {
|
||||
if (index.index_type() == IndexType::INVERTED) {
|
||||
//if index_id == -1, ignore it.
|
||||
if (index.col_unique_ids()[0] >= 0) {
|
||||
if (!index.col_unique_ids().empty() && index.col_unique_ids()[0] >= 0) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user