dacou
(Damien)
October 21, 2022, 10:33pm
1
Hi, trying to better organize our modules with AML 2.0, we wanted to have the following folder structure :
|-- adhoc_queries
| |-- modules
| |-- query1
| | |-- my_table.model.aml
| |-- query2
| | |-- my_table.model.aml
|-- datasets
| |-- modules
| |-- prod_datasets
| | |-- my_table.model.aml
| |-- rec_datasets
| | |-- ...
|-- models
| |-- ...
With this configuration, holistics will generate an error saying that the same model (my_table) exists multiple times even though they are in different modules.
HuyVu
(Huy Vu)
October 24, 2022, 4:53am
2
Hi @dacou ,
You would need to group them under the modules
folder.
Please take a look at this post for instruction
Introduce AML 2.0 Module
Modules are the official way to organize an AML project by grouping similar AML objects and functions together.
For example, they could be a set of objects type (models, dataset) or functions (cohort, mrr, recurring, etc) that you can reuse throughout your AML project.
Using modules, you would be able to follow Modular Data Modeling’s best practices. Organizing related concepts together helps create a neat, uniform structure for your projects. They allow for easier co…
1 Like
dacou
(Damien)
October 25, 2022, 4:11pm
3
Yes, we will do that. Do you plan to support multiple modules folders at some point ?