Skip to content

Commit

Permalink
rename row_count to total_rows in RunState
Browse files Browse the repository at this point in the history
  • Loading branch information
flarco committed Jan 21, 2025
1 parent 2599db6 commit 424998b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/sling/task_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ type RunState struct {
Stream *StreamState `json:"stream,omitempty"`
Object *ObjectState `json:"object,omitempty"`
TotalBytes uint64 `json:"total_bytes,omitempty"`
RowCount uint64 `json:"row_count,omitempty"`
TotalRows uint64 `json:"total_rows,omitempty"`
Status ExecStatus `json:"status,omitempty"`
StartTime *time.Time `json:"start_time,omitempty"`
EndTime *time.Time `json:"end_time,omitempty"`
Expand Down Expand Up @@ -148,7 +148,7 @@ func StateSet(t *TaskExecution) {

bytes, _ := t.GetBytes()
run.TotalBytes = bytes
run.RowCount = t.GetCount()
run.TotalRows = t.GetCount()
run.Status = t.Status
run.StartTime = t.StartTime
run.EndTime = t.EndTime
Expand Down

0 comments on commit 424998b

Please sign in to comment.