You can use intelligent structure models in dynamic mappings.
Directory-Level Partitioning in Complex Files
When you create a complex file data object that uses an intelligent structure model, and the input file is Avro, Parquet, or ORC, you can select the directory where the input files reside.
Intelligent Structure Models on Databricks
You can incorporate an intelligent structure model in an Amazon S3 or Microsoft Azure Data Lake Store data object for mappings that run on the Databricks Spark engine. The Databricks Spark engine can process any input type that the model can parse.