Introduction to Databricks
Choose the Next Pump-Processing Tasks
BOTIE
Examples, experiments and workspace controls
Connect a tool's inputs to see what it produces. You can try a branch before connecting it to Result.
Try your own inputs
Use a copy of the example to try your own data. Keep the problem's assumptions in mind, and predict the effect of a change before checking the output. You can also add another branch to compare two ways of doing the calculation.
Context for this challenge
Return the readiness records for every task before selecting the ready IDs.
Botie’s notebook procedure now needs to run without someone choosing the next cell from memory.
Inspect the component calculation
Check each task's prerequisites( Tasks with dependency IDs: Pump update task plan Successfully completed task IDs: Successfully completed tasks )
Examples and results
- Pump update task plan
- id
- read
- dependsOn
- []
- id
- clean
- dependsOn
- ["read"]
- id
- check
- dependsOn
- ["clean"]
- id
- publish
- dependsOn
- ["check"]
id dependsOn read [] clean ["read"] check ["clean"] publish ["check"] - Successfully completed tasks
- 0read
- Required result
- id
- read
- complete
- true
- ready
- false
- waitingFor
- []
- id
- clean
- complete
- false
- ready
- true
- waitingFor
- []
- id
- check
- complete
- false
- ready
- false
- waitingFor
- ["clean"]
- id
- publish
- complete
- false
- ready
- false
- waitingFor
- ["check"]
id complete ready waitingFor read true false [] clean false true [] check false false ["clean"] publish false false ["check"]
- Pump update task plan
- id
- read
- dependsOn
- []
- id
- clean
- dependsOn
- ["read"]
- id
- check-values
- dependsOn
- ["clean"]
- id
- check-count
- dependsOn
- ["clean"]
- id
- publish
- dependsOn
- ["check-values","check-count"]
id dependsOn read [] clean ["read"] check-values ["clean"] check-count ["clean"] publish ["check-values","check-count"] - Successfully completed tasks
- 0read
- 1clean
- Required result
- id
- read
- complete
- true
- ready
- false
- waitingFor
- []
- id
- clean
- complete
- true
- ready
- false
- waitingFor
- []
- id
- check-values
- complete
- false
- ready
- true
- waitingFor
- []
- id
- check-count
- complete
- false
- ready
- true
- waitingFor
- []
- id
- publish
- complete
- false
- ready
- false
- waitingFor
- ["check-values","check-count"]
id complete ready waitingFor read true false [] clean true false [] check-values false true [] check-count false true [] publish false false ["check-values","check-count"]
Try a fresh construction
This clears this draft, including its undo history. Earlier successful attempts stay recorded. Build again without opening hints to record an independent attempt.
Stuck? Inspect a worked construction
The tools below form one possible solution. You can assemble it, follow its signals, and undo that change to return to your own construction.
Assumptions and test precision
This local graph model checks an all-prerequisites-successful rule. It does not run notebooks, reserve compute, implement retries or reproduce every Lakeflow Jobs run condition. Numerical tests allow a difference of 0.001. Lists and structures must also have the right shape.
Your last tested pieces can start the full construction. An existing draft there keeps its own pieces.
One of Two Checks Is Still Waiting
This check uses the pieces from “Make the Waiting Conditions Visible”.
BOTIE
- Pump update task plan
- id
- read
- dependsOn
- []
- id
- clean
- dependsOn
- ["read"]
- id
- check-values
- dependsOn
- ["clean"]
- id
- check-count
- dependsOn
- ["clean"]
- id
- publish
- dependsOn
- ["check-values","check-count"]
id dependsOn read [] clean ["read"] check-values ["clean"] check-count ["clean"] publish ["check-values","check-count"] - Successfully completed tasks
- 0read
- 1clean
- 2check-values
Use a number, text, or an array matching the requested result. A named result uses field names, such as {"count": 2}. For a matrix, put each row in brackets. Saving your prediction runs your current construction on these inputs and checks the earlier examples too.
Build a construction in the workspace above first. This case will test those pieces.
What would happen if publish depended only on clean and skipped the quality check?
Keep the prerequisites that justify an output attached to the repeated procedure.
This local graph model checks an all-prerequisites-successful rule. It does not run notebooks, reserve compute, implement retries or reproduce every Lakeflow Jobs run condition.