druid-io / pydruid

A Python connector for Druid
Other
505 stars 194 forks source link

Error when calling the async client #311

Open resentedsage opened 9 months ago

resentedsage commented 9 months ago

So I tried a query in an async client that works in a norrmal Pydruid client and I got the error when exporting the pandas to result (which is according to the documentation is part of the Async object as well)

<Future pending cb=[coroutine..wrapper..() at C:\Users\ziivi\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\tornado\gen.py:251]>

top.export_pandas() Traceback (most recent call last): File "", line 1, in AttributeError: '_asyncio.Future' object has no attribute 'export_pandas'