Conversation
|
No problem reading the file with encoding func TestUTF8CSV(t *testing.T) {
fr, err := os.Open("export.csv")
if err != nil {
panic(err)
}
df, err := imports.LoadFromCSV(context.Background(), fr)
if err != nil {
panic(err)
}
out, err := os.Create("export.parquet")
if err != nil {
panic(err)
}
err = exports.ExportToParquet(context.Background(), out, df)
if err != nil {
panic(err)
}
out.Close()
fr, err = os.Open("export.parquet")
source, err := local.NewLocalFileReader("export.parquet")
if err != nil {
panic(err)
}
df, err = imports.LoadFromParquet(context.Background(), source)
if err != nil {
panic(err)
}
fmt.Println(df)
} |
|
Can you read it back in python to check if the output file is valid? |
I don't think so, cause idea plugin and here is my python scripts out: |
|
I wonder when you used the pull-request branch, it is using the latest (incompatible) version of the parquet parsing package? |
I am sure I am using |
|
When you tried |
…/62 (Chinese characters and python BOM prefix)