@Before
  public void setUp() {
    columns.add(0, Column.physical("id", DataTypes.INT()));
    columns.add(1, Column.physical("name", DataTypes.STRING()));
    columns.add(2, Column.physical("age", DataTypes.INT()));
    schema = new ResolvedSchema(columns, Collections.emptyList(), null);
    for (int i = 0; i < columns.size(); i++) {
      Column column = columns.get(i);
      fieldDataTypeMap.put(column.getName(), column.getDataType());
      fieldIndexMap.put(column.getName(), i);
    }

    visitor = new RowDataPredicateExpressionVisitor(fieldIndexMap, fieldDataTypeMap);
  }
This class contains unit tests for the {@link RowDataPredicateExpressionVisitor} class.
amoro-format-mixed/amoro-mixed-flink/amoro-mixed-flink-common/src/test/java/org/apache/amoro/flink/lookup/filter/TestRowDataPredicateExpressionVisitor.java