hugoperilleux commented on issue #27838: URL: https://github.com/apache/arrow/issues/27838#issuecomment-2898216859
I had a similar problem. I wanted to convert a DBF file to parquet. On my personal computer running with Windows, I had no problems, but with my computer at the office running Debian, I got the same error message: > df<- read.dbf("DATA.DBF") > write_parquet(df, "DATA.parquet") > df <- read_parquet("PRCPE4TR.parquet") > Error: Invalid: Invalid UTF8 payload I converted my fields to character before exporting the data. Then I was able to write and read the parquet file: > df<- read.dbf("DATA.DBF") > df <- lapply(df, function(x) if (is.factor(x)) as.character(x) else x) > write_parquet(df, "DATA.parquet") > df <- read_parquet("PRCPE4TR.parquet") -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org