Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

export in chunks? #314

Closed
sashk8 opened this issue Dec 15, 2022 · 3 comments
Closed

export in chunks? #314

sashk8 opened this issue Dec 15, 2022 · 3 comments

Comments

@sashk8
Copy link

sashk8 commented Dec 15, 2022

Hi!

First of all - thank you for this great tool. :)

Is there a way to make the export in chunks?

I would like to define maximum amount of rows per file - so that the exported data is written into multiple files.

@pacman82
Copy link
Owner

Hello @sashk8 ,

First of all - thank you for this great tool. :)

Thank you

Is there a way to make the export in chunks?

There are two ways even, to limit the size of each individual file:

--row-groups-per-file and --file-size-threshold. odbc2parquet query --help will tell you more.

I would be happy to learn if these can solve your problem.

Cheers, Markus

@sashk8
Copy link
Author

sashk8 commented Dec 16, 2022

Hi @pacman82,

Thank you. This solves my problem completely. :) I didn't know that all these parameters exist.

Great tool. I was testing several ways how to export data from MSSQL to Parquet and this tool is by far the fastest. 👍

Best regards,
Sašo

@pacman82
Copy link
Owner

Happy to hear that

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

No branches or pull requests

2 participants