Skip to content

Implementing chunkSize in writesql#106

Open
kjckang wants to merge 3 commits into
cardillo:masterfrom
kjckang:master
Open

Implementing chunkSize in writesql#106
kjckang wants to merge 3 commits into
cardillo:masterfrom
kjckang:master

Conversation

@kjckang
Copy link
Copy Markdown

@kjckang kjckang commented Dec 9, 2021

Implemented chunkSize feature -
writesql has an additional parameter, chunkSize to determine the number of folds desired by user.
chunkSize is a number of folds to split dataframe and process incrementally by split.
The method currently only checks whether chunkSize is <= 0 or >= df.length(). Further checks on incorrect inputs such as string would be needed.
Closes #94

@zihanxu3
Copy link
Copy Markdown

@kjckang hi I've created a pull request for this issue in November.

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.

Can the writesql() function add a chunksize parameter? In order to control the number of rows written to the database each time

2 participants