Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

kgopal492
Copy link
Contributor

@kgopal492 kgopal492 commented Mar 17, 2022

closes #203

  • Make export async

  • Allow entire statement results to be exported to exporters (up to exporter limits)

    • Add get_csv_iter as an abstract method in BaseReader to read query results in batches
    • read_csv method in BaseReader now unpacks results from get_csv_iter
    • gspread_exporter is updated to suppport reading entire results past STORE_MAX_READ_SIZE (up to gspread limit)

@kgopal492 kgopal492 requested a review from czgu March 17, 2022 18:19
czgu
czgu previously approved these changes Mar 18, 2022
@czgu czgu merged commit b3ea9bb into master Mar 22, 2022
@czgu czgu deleted the exporter branch March 22, 2022 21:37
rohan-sh1 pushed a commit to CAI-TECHNOLOGIES/cai-ext-db-explorer that referenced this pull request Feb 28, 2023
* feat: make statement result export async

* Update to read past ChunkReader limit, implement get_csv_iter in BaseReader, add testss

* feat: make statement result export async

* Update to read past ChunkReader limit, implement get_csv_iter in BaseReader, add testss

* Address PR comments

* Fix more PR style comments

* fix last pr comment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Exporter V2
2 participants