Ingest the partitions in the path as dimensions

Hi, community!

I wonder if we can project the strings in the path as dimensions except for year/month/day with granularity spec.

For example:

I have data in HDFS saved as hdfs:///someplace/event_type=a/topic=b/year=2018/month=02/day=26

Can I make event_type and topic as dimensions for my data source?

If we are already capable of doing that, how should I specify that in the ingestion spec file?

Thanks in advance!