Skip to content

Conversation

0xJchen
Copy link

@0xJchen 0xJchen commented Feb 15, 2023

Avoid empty rows when writing to csv, otherwise would lead to errors when copying csv.

Without the change, there will be an empty line between each inserted line when writing to csv as indicated here.

This would lead to ERROR: missing data for column "opening_price" when executing \COPY btc_prices FROM btc_prices.csv CSV;

Avoid empty rows when write to csv, otherwise would lead to errors when copying csv.

Signed-off-by: Jiachen Wang <wangjch@umich.edu>
@CLAassistant
Copy link

CLAassistant commented Feb 15, 2023

CLA assistant check
All committers have signed the CLA.

@Loquacity Loquacity requested review from zseta and avthars February 16, 2023 00:46
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.

2 participants