Open kinghuang opened 4 years ago
Definitely! Just ran into this myself and it is quite annoying :-) Thanks for the report
Looks like this is an issue with loading yaml in python and losing key order at that point, rather than a Dagit/UI issue -- gonna recategorize this issue.
We've run into this with a preset, and Dagit seems to sort keys lexicographically, while running the same pipeline and preset with execute_pipeline
works fine. In our case, processing is key-order dependent (not a good choice on our part in the first place, I admit) so this breaks our runs in Dagit.
Hey, there! Any updates on this issue?
I've created some pipeline preset configs. It looks like Dagster or Dagit is sorting the keys when they're displayed in Dagit's Playground. The original preset config was written with solids and other things in the order of the pipeline's flow. The sorted view is really hard to follow for long configs.
I would prefer if Dagster/Dagit didn't sort preset configs, and presented them in the way they were originally written.
Example preset file:
As shown in Dagit:
The keys at every level have been sorted alphabetically.