private boolean parseValuesAndFilterPartition(
            String partitionName,
            List<HudiColumnHandle> partitionColumns,
            List<Type> partitionColumnTypes,
            TupleDomain<ColumnHandle> constraintSummary)
    {
        if (constraintSummary.isNone()) {
            return false;
        }

        Map<ColumnHandle, Domain> domains = constraintSummary.getDomains().orElseGet(ImmutableMap::of);
        Map<HudiColumnHandle, NullableValue> partitionValues = parsePartition(partitionName, partitionColumns, partitionColumnTypes);
        for (HudiColumnHandle column : partitionColumns) {
            NullableValue value = partitionValues.get(column);
            Domain allowedDomain = domains.get(column);
            if (allowedDomain != null && !allowedDomain.includesNullableValue(value.getValue())) {
                return false;
            }
        }

        return true;
    }
@Test
    public void testParseValuesAndFilterPartition()
    {
        ConnectorSession session = new TestingConnectorSession(
                new HiveSessionProperties(
                        new HiveClientConfig().setMaxBucketsForGroupedExecution(100),
                        new OrcFileWriterConfig(),
                        new ParquetFileWriterConfig(),
                        new CacheConfig()).getSessionProperties());
        TupleDomain<ColumnHandle> constraintSummary = TupleDomain.withColumnDomains(
                ImmutableMap.of(
                        new HudiColumnHandle(
                                MAX_PARTITION_KEY_COLUMN_INDEX,
                                PARTITION_COLUMN.getName(),
                                PARTITION_COLUMN.getType(),
                                Optional.empty(),
                                HudiColumnHandle.ColumnType.PARTITION_KEY),
                        Domain.singleValue(VARCHAR, utf8Slice("2019-07-23"))));
        List<String> actualPartitions = hudiPartitionManager.getEffectivePartitions(
                session,
                metastore,
                new SchemaTableName(SCHEMA_NAME, TABLE_NAME),
                constraintSummary);
        assertEquals(actualPartitions, ImmutableList.of("ds=2019-07-23"));
    }