Skip to content

fetch too many lines and need a better fetchmany #364

@darrkz

Description

@darrkz

I use pyhive in my python code, but I found that, in pyhive, fetchmany just using fetchone.
One case of my code , result has 6000000 lines, and need to export from hive drive, and I test the network latency is 0.3ms, but it still cost about 40 minutes.
Is there a better fetchmay function? In my another thrift hive driver , it use real fetchN function and much less network socket call.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions