Add some fields to bigquery

pull/8583/head
Craig Tiller 8 years ago
parent 2ecceef5cf
commit bd3ab19a95
  1. 1
      tools/run_tests/performance/bq_upload_result.py
  2. 5
      tools/run_tests/performance/scenario_result_schema.json

@ -120,6 +120,7 @@ def _flatten_result_inplace(scenario_result):
scenario_result['serverCores'] = json.dumps(scenario_result['serverCores']) scenario_result['serverCores'] = json.dumps(scenario_result['serverCores'])
scenario_result['clientSuccess'] = json.dumps(scenario_result['clientSuccess']) scenario_result['clientSuccess'] = json.dumps(scenario_result['clientSuccess'])
scenario_result['serverSuccess'] = json.dumps(scenario_result['serverSuccess']) scenario_result['serverSuccess'] = json.dumps(scenario_result['serverSuccess'])
scenario_result['requestResults'] = json.dumps(scenario_result['requestResults'])
def _populate_metadata_inplace(scenario_result): def _populate_metadata_inplace(scenario_result):

@ -208,5 +208,10 @@
"name": "serverSuccess", "name": "serverSuccess",
"type": "STRING", "type": "STRING",
"mode": "NULLABLE" "mode": "NULLABLE"
},
{
"name": "request_results",
"type": "STRING",
"mode": "NULLABLE"
} }
] ]

Loading…
Cancel
Save