Skip to content

Conversation

JCPrice0024
Copy link
Contributor

Wide tables with large column names were slow to call the CopyIn and CopyInSchema functions.
Created makeStmt to reduce duplication between the CopyIn and CopyInSchema functions.
Created BufferQuoteIdentifier to efficiently generate column names and reduce string allocations.
Created BenchmarkCopy which tests only CopyIn's ability to copy large data fast, the results showed that the changed copy ran at 20 ms versus the original which was around 700 ms.

@otan otan merged commit 133ac67 into lib:master Jan 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants