public static ExpressionTree parseFilterTree(String filter) throws MetaException {
    return PartFilterParser.parseFilter(filter);
  }
@Test
  public void testParseFilterWithInvalidTimestampWithType() {
    MetaException exception = assertThrows(MetaException.class,
            () -> PartFilterExprUtil.parseFilterTree("(j = TIMESTAMP'2023-06-02 99:35:00')"));

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