@Override
  protected @Nullable SchemaFilter visitLikePredicate(
      final LikePredicate node, final Context context) {
    // TODO: Support stringLiteral like id/attr?
    if (!(node.getValue() instanceof SymbolReference)
        || !(node.getPattern() instanceof StringLiteral)) {
      return null;
    }
    return wrapIdOrAttributeFilter(
        new LikeFilter(
            (((StringLiteral) node.getPattern()).getValue()),
            node.getEscape().isPresent()
                ? getEscapeCharacter(((StringLiteral) node.getEscape().get()).getValue())
                : Optional.empty()),
        ((SymbolReference) node.getValue()).getName(),
        context);
  }
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