aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/codegen/core/gen_stats_data.py
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-09-13 09:04:30 -0700
committerGravatar Craig Tiller <ctiller@google.com>2017-09-13 09:04:30 -0700
commit70bbb6b1176626346efc7c7549fb027896f8d8c2 (patch)
tree88cfd6faf974847f406ad4cfeee5e270293069a9 /tools/codegen/core/gen_stats_data.py
parentd1fefe89dacf198a721053f2b1a3e173f1f24948 (diff)
Fix schema generation
Diffstat (limited to 'tools/codegen/core/gen_stats_data.py')
-rwxr-xr-xtools/codegen/core/gen_stats_data.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/codegen/core/gen_stats_data.py b/tools/codegen/core/gen_stats_data.py
index 877a5d9d43..8359734c84 100755
--- a/tools/codegen/core/gen_stats_data.py
+++ b/tools/codegen/core/gen_stats_data.py
@@ -405,6 +405,6 @@ with open('tools/run_tests/performance/massage_qps_stats.py', 'w') as P:
with open('src/core/lib/debug/stats_data_bq_schema.sql', 'w') as S:
columns = []
for counter in inst_map['Counter']:
- columns.append(('%s_per_iteration' % counter.name, 'INTEGER'))
+ columns.append(('%s_per_iteration' % counter.name, 'FLOAT'))
print >>S, ',\n'.join('%s:%s' % x for x in columns)