Closed
Description
Version 0.1.4
This query returns a improperly named dict:
q = """
select struct(a,b) col
from
(SELECT 1 a, 2 b)
"""
df = gbq.read_gbq(q, dialect='standard', verbose=False)
Compare with result from Big Query:
An array of items also get turned into a arrays of dicts sometimes. For example:
q = """
select array_agg(a)
from
(select "1" a UNION ALL select "2" a)
"""
gbq.read_gbq(q, dialect='standard', verbose=False, project_id='project')
These issues may or may not be related?