Skip to content

Decouple stats polling from results fetching #63

@matthewwardrop

Description

@matthewwardrop

Greetings all!

I'm looking to transition a project I curate (omniduct, a library to simplify data acquisition, especially for data scientists) from pyhive to prestodb; but currently I would lose the ability to poll for query progress before actually attempting to retrieve results.

i.e. cursor.fetchone() is used to both collect results and update stats, which means that I cannot show progress of the actual execution of the query, only progress through collection of the results.

Would you welcome a patch to add support for this polling? Or are you planning to add it yourselves? Or are you opposed to adding this feature?

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions