Comments (6)
from kedro.
from kedro.
A more updated fork seems to suggest this is a bug. https://github.com/chy111126/debug_kedro_0182
The problem is the use of env
and CLI --params
is interacting weirdly.
- kedro run --env=add --params="aaa.bbb.abb=2023-11-11"
{'aaa': {'bbb': {'abb': '2023-11-11'}}, 'xyz': {'asdf': 123123}, 'def': {'gg': 123}}
- kedro run --params="aaa.bbb.abb=2023-11-11"
{'aaa': {'bbb': {'aba': '2023-11-01', 'abb': '2023-11-11', 'abc': 14}}, 'xyz': {'asdf': 123123}}
The add
env only contains one top key def
parameter which is not a conflicted key, but the result override the top level key aaa
.
from kedro.
Further testing, I try to switch to ConfigLoader
with 0.18.14 and the issue is gone. I did another test to upgrade to 0.19.1 with OmegaConfig and the issue is back.
from kedro.
A temporary workaround is to use settings.py
, note this shouldn't be needed because the top-level key has no conflict. We should still investigate the issue.
CONFIG_LOADER_ARGS = {
"merge_strategy": {"parameters": "destructive"},
}
from kedro.
config={'aaa': {'bbb': {'aba': '2023-11-01', 'abb': '2023-11-11', 'abc': 14}}, 'xyz': {'asdf': 123123}}
env_config={'def': {'gg': 123}, 'aaa': {'bbb': {'abb': '2023-11-11'}}}
resulting_config={'aaa': {'bbb': {'abb': '2023-11-11'}}, 'xyz': {'asdf': 123123}, 'def': {'gg': 123}}
It appears that the --params="aaa.bbb.abb=2023-11-11"
somehow get pass into to the add
environment as parameters, thus the destructive merge overriding it.
from kedro.
Related Issues (20)
- Revise the Kedro concepts page that covers project structure HOT 2
- Create documentation for the new Jupyter line magic HOT 1
- [Parent] - Jupyter Debug line magic thread HOT 9
- Support `kedro ipython` for the debugging line magic
- Add video embeds of the YouTube training course sections to pages where they add value HOT 2
- 0.19.1 `kedro new` failes to create new project. Raises KedroCliError: Failed to generate project when running cookiecutter HOT 23
- Universal Kedro Deployment (Part 4) - Embedding kedro pipelines in third-party applications HOT 1
- Child task: Create documentation about Kedro vs (or with) MLFlow
- Unable to configure the spark session HOT 2
- Unable to run Kedro in cloud VM compute HOT 11
- Improve MemoryDataset copy_mode selection HOT 2
- Improve error message when `_` convention is not used in `catalog.yml` HOT 2
- `kedro pipeline create` pipeline.py with missing import HOT 4
- CLI Command 'kedro catalog resolve' fails on dataset factories that use PartitionedDataset HOT 3
- Improve runtime params documentation HOT 4
- Add RTD docs redirects following next release HOT 3
- Document Kedro's dependency on git
- Default node names are problematic HOT 5
- [Docs for engineering] Create a python script to update tagged docs with admonition HOT 4
- [spike] Investigate suitability of Kedro for ETL/ELT data pipelines HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kedro.