-
Notifications
You must be signed in to change notification settings - Fork 1
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
Appender2.0 #1
base: main
Are you sure you want to change the base?
Appender2.0 #1
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @maiadegraaf! Great work! I added my comments below. I'll also do another PR on the tests; I have only looked at the changes to the Appender
.
From what I can tell, this will still require a follow-up PR on NULL
handling. I also haven't checked out the NULL
handling of go-duckdb.
Additionally, I added many naming nits closer to duckdb's naming conventions.
Also, very importantly, can you double-check your duckdb API calls to ensure we are destroying everything properly to avoid memory leaks? :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just had a look at the tests - nice! Since you mentioned that they can run quite long, I tried to look for potential performance bottlenecks. Maybe we can increase (inner) list sizes after the changes?
Can you maybe also add a benchmark? Maybe compared to the row-wise insertion strategy?
Also, another follow-up PR needs to test UNION
and MAP
. Are we throwing Not Implemented
errors for them currently? I think we need to include this in this PR.
# Conflicts: # appender.go # appender_test.go
Validity mask fix and changes towards idiomatic Go
More Appender changes
No description provided.