Viktoriia
03/28/2025, 8:35 AMconf/base
and then the respective parameters in each environment, like conf/dev
, conf/local
, etc. I imaging something like this
# conf/base/catalog.yaml
companies:
type: pandas.CSVDataset
filepath: {_raw}/companies.csv
# conf/local/catalog_globals.yaml
_raw: data/raw
#conf/dev/catalog_globals.yaml
_raw: cloud-path/raw
The problem is, that it only works if I have the catalog.yaml
in each of the environments, which means a lot of duplication for me. Is there a better way I could do that?Ravi Kumar Pilla
03/28/2025, 1:56 PMViktoriia
03/28/2025, 1:57 PMRavi Kumar Pilla
03/28/2025, 2:00 PMViktoriia
03/28/2025, 2:00 PMRavi Kumar Pilla
03/28/2025, 2:04 PMViktoriia
03/28/2025, 2:04 PMYour project loadsAs I understand it, kedro will first read my catalog and the template values from theas the bottom-level configuration environment but allows you to overwrite it with any other environments that you createconf/base/
conf/base.
But if I don't have the copy of the catalog itself (only the template values) in conf/dev
, the catalog itself won't be overwrittenViktoriia
03/28/2025, 2:04 PMRavi Kumar Pilla
03/28/2025, 3:10 PMglobals.yml
and not globals.yaml
. Thanks for helping @Ankita KatiyarViktoriia
03/28/2025, 3:56 PM