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

Only copy headers once (in global init) #45

Merged
merged 1 commit into from
Nov 16, 2024

Conversation

Alex-Monahan
Copy link
Contributor

Fixes #40. Had to duplicate some code, but it was sliiiightly different than the Sink implementation.

Also adds 2 tests to make sure this stays working!

@archiewood
Copy link
Member

Looks awesome!

@archiewood
Copy link
Member

the test is somewhat insane but i'm here for it

@Alex-Monahan
Copy link
Contributor Author

It had to be over 2048, so i went 1 decimal place higher...haha

@archiewood
Copy link
Member

Yeah I'm not too worried.

Maybe in the future we can read it back with a count(*) to check number of rows that we wrote

@archiewood archiewood merged commit 5352ea3 into evidence-dev:main Nov 16, 2024
30 checks passed
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.

COPY TO with SQL statements repeats the header rows
2 participants