(client *Client, tableName string, tableStatus admin.BulkLoadStatus)
| 273 | } |
| 274 | |
| 275 | func PrintAllSummary(client *Client, tableName string, tableStatus admin.BulkLoadStatus) { |
| 276 | var tList []interface{} |
| 277 | type summaryStruct struct { |
| 278 | TName string `json:"TableName"` |
| 279 | TStatus string `json:"TableStatus"` |
| 280 | } |
| 281 | tList = append(tList, summaryStruct{ |
| 282 | TName: tableName, |
| 283 | TStatus: tableStatus.String(), |
| 284 | }) |
| 285 | tabular.Print(client, tList) |
| 286 | } |
| 287 | |
| 288 | func PrintSingleDownloading(client *Client, resp *admin.QueryBulkLoadResponse, partitionIndex int, detailed bool) { |
| 289 | stateMap := resp.GetBulkLoadStates()[partitionIndex] |
no test coverage detected