We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e18d5e commit 060ae0cCopy full SHA for 060ae0c
pydruid/query.py
@@ -172,6 +172,10 @@ def export_pandas(self):
172
nres = [list(v['event'].items()) + [('timestamp', v['timestamp'])]
173
for v in self.result]
174
nres = [dict(v) for v in nres]
175
+ elif self.query_type == "select":
176
+ nres = []
177
+ for item in self.result:
178
+ nres += [e.get('event') for e in item['result'].get('events')]
179
else:
180
raise NotImplementedError('Pandas export not implemented for query type: {0}'.format(self.query_type))
181
0 commit comments