<#452 Doc hub proposal> Pull request opened by <pi...
# flyte-github
a
#452 Doc hub proposal Pull request opened by pingsutw TL;DR Design Doc Database Schema Task Table Description Table Create a task/workflow description we have added description_entity to taskSpec / workflowSpec, so we'll register a description entity when we register a task / workflow. 1. Check if we have the same description entity.
Copy code
Select * from Description WHERE resource = task AND project = flytesnacks AND domain = development AND NAME = tf_wf AND version = xyz
2. If the same description entity doesn't exist, then insert a new row to the Description Table. 3. update descriptionID in the specific row in the task table. Get task description Use descriptionID in the task table to find the specific description entity
Copy code
Select description.* LEFT JOIN task ON description.descriptionID = task.descriptionID AND description.project = task.project AND description.domain = task.domain AND description.name = task.name WHERE task.project = flytesnacks AND task.domain = development AND NAME = task.tf_wf AND task.version = a123456
List task description
Copy code
Select description.* LEFT JOIN task ON description.descriptionID = task.descriptionID AND description.project = task.project AND description.domain = task.domain AND description.name = task.name WHERE task.project = flytesnacks AND task.domain = development AND NAME = task.tf_wf LIMIT 20
Get / List the Task Added short description to task proto, so we'll get short description when we get / list the task. Type ☐ Bug Fix ☑︎ Feature ☐ Plugin Are all requirements met? ☑︎ Code completed ☑︎ Smoke tested ☑︎ Unit tests added ☐ Code documentation added ☐ Any pending items have an associated Issue Complete description ^^^ Tracking Issue flyteorg/flyte#531 Follow-up issue NA flyteorg/flyteadmin GitHub Actions: Goreleaser GitHub Actions: Build & Push Flytescheduler Image GitHub Actions: Build & Push Flyteadmin Image GitHub Actions: Bump Version 10 other checks have passed 10/14 successful checks