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

Make chunk size in the table definition dynamic #19

Merged
merged 1 commit into from
May 27, 2021

Conversation

halilkaya
Copy link

Chunk size used while fetching data from source was hardcoded. I needed to change it according to the needs per table. This PR makes it dynamic in the schema definition.

@hkage
Copy link
Contributor

hkage commented May 17, 2021

Hi, thanks for your contribution. This looks like a nice way to overwrite the default cursor chunksize, especially for larger tables. I will take a look into the changes asap.

We should add a small explanation of the new keyword for the Sphinx documentation, too but I can do that as soon as I have merged your pull request.

@hkage hkage self-assigned this May 17, 2021
@hkage
Copy link
Contributor

hkage commented May 25, 2021

Hi, could you please fix the flake8 warning before I merge your pull request?

./pganonymizer/utils.py:41:121: E501 line too long (125 > 120 characters)

I would complement the documentation afterwards. And thanks again for your work!

@hkage hkage merged commit 8b8a666 into rheinwerk-verlag:development May 27, 2021
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.

None yet

2 participants