Patent attributes
Provided herein are systems and methods for processing a script file generated using a declarative engine for workloads (DEW). A system includes at least one hardware processor coupled to a memory and configured to retrieve a script file. The script file specifies a plurality of tasks forming a plan and an order of execution for the plurality of tasks. The script file is compiled to generate compiled code. The compiled code is executed to generate an in-memory representation of the plan. The in-memory representation of the plan is converted into a graph such as a directed acyclic graph (DAG). The graph includes the plurality of tasks. The plurality of tasks in the graph are executed according to the order of execution.