diff --git a/bundle/run/job_output.go b/bundle/run/job_output.go index e359858b5..8ab15c82f 100644 --- a/bundle/run/job_output.go +++ b/bundle/run/job_output.go @@ -13,10 +13,10 @@ import ( type JobOutput struct { // URL of the job run - RunPageUrl string + RunPageUrl string `json:"run_page_url"` // output for tasks with a non empty output - TaskOutputs map[string]RunOutput + TaskOutputs map[string]RunOutput `json:"task_outputs"` } // TODO: Print the output respecting the execution order (https://github.com/databricks/bricks/issues/259) diff --git a/bundle/run/task_output.go b/bundle/run/task_output.go index 1e5247bf6..34728c36b 100644 --- a/bundle/run/task_output.go +++ b/bundle/run/task_output.go @@ -11,8 +11,8 @@ type NotebookOutput jobs.NotebookOutput type DbtOutput jobs.DbtOutput type SqlOutput jobs.SqlOutput type LogsOutput struct { - Logs string - LogsTruncated bool + Logs string `json:"logs"` + LogsTruncated bool `json:"logs_truncated"` } func structToString(val interface{}) (string, error) {