Hi Kedro team! I have a scenario where I need to ...
# questions
s
Hi Kedro team! I have a scenario where I need to load a file from multiple environments and aggregate them. What is the best practice for doing so? Should I create a custom dataset or are there better ways of doing it?
d
When you say multiple environments want do you mean?
s
So i have multiple data catalogs and I have multiple
envs
to access them.
d
ah and you want to bring them together?
👍 1
it’s not straight forward
s
a handpicked list of them & aggregate them in to a single input to my node.
d
intentionally so - it’s been designed in a way where they are isolated in accordance with the 12factor app principles
I think creating an
aggregate
environment with that sort of thing is the best way to do it
If you want to do this dynamically I think the
after_context_created
hook you could dynamically play around with things before the catalog is created with the
env
logic applied, but it’s a bit complicated
s
Thanks for your suggestions. I'll look into them. 🙌