Created
December 1, 2020 14:55
-
-
Save trashhalo/936c4dacf79eb2e7504efcdc2c7539f8 to your computer and use it in GitHub Desktop.
csv-to-parquet commas
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/main.go b/main.go | |
index 2d4ec9e..e7ea896 100644 | |
--- a/main.go | |
+++ b/main.go | |
@@ -101,7 +101,7 @@ func run(c *cli.Context) error { | |
return err | |
} | |
csvReader := csv.NewReader(f) | |
- csvReader.Comma = '\t' | |
+ csvReader.Comma = ',' | |
headerRow, err := csvReader.Read() | |
if err != nil { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment