mirror of
https://github.com/getredash/redash.git
synced 2026-05-20 12:00:50 -04:00
totalRows are returned as a string and should be a number (#4481)
This commit is contained in:
@@ -205,7 +205,7 @@ class BigQuery(BaseQueryRunner):
|
||||
|
||||
rows = []
|
||||
|
||||
while ("rows" in query_reply) and current_row < query_reply["totalRows"]:
|
||||
while ("rows" in query_reply) and current_row < int(query_reply["totalRows"]):
|
||||
for row in query_reply["rows"]:
|
||||
rows.append(transform_row(row, query_reply["schema"]["fields"]))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user