public static ExpressionTree parseFilterTree(String filter) throws MetaException {
    return PartFilterParser.parseFilter(filter);
  }
@Test
  public void testParseFilterWithInvalidDateWithoutTypeNorQuoted() {
    MetaException exception = assertThrows(MetaException.class,
            () -> PartFilterExprUtil.parseFilterTree("(j = 2023-06-32)"));

    assertTrue(exception.getMessage().contains("Error parsing partition filter"));
  }