private Map<String, Integer> getIdColumnIndex(final TsTable table) {
      Map<String, Integer> map = new HashMap<>();
      List<TsTableColumnSchema> columnSchemaList = table.getColumnList();
      int idIndex = 0;
      for (TsTableColumnSchema columnSchema : columnSchemaList) {
        if (columnSchema.getColumnCategory().equals(TsTableColumnCategory.TAG)) {
          map.put(columnSchema.getColumnName(), idIndex);
          idIndex++;
        }
      }
      return map;
    }
The {@link ConvertSchemaPredicateToFilterVisitor} will convert a predicate to {@link
SchemaFilter}. For the predicates which can not be converted, this will return {@code null}.
However, for IdDeterminedPredicate, this visitor shall never return {@code null}.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/analyzer/predicate/schema/ConvertSchemaPredicateToFilterVisitor.java