amoeba commented on PR #43634: URL: https://github.com/apache/arrow/pull/43634#issuecomment-2285135014
Hi @jonkeane, this is great. The only extension I'm personally familiar with is `units`. Would that make sense to test here? See: ```r > library(arrow) > library(units) > df <- data.frame(x=1:10) > units(df$x) <- "s" > df x 1 1 [s] 2 2 [s] 3 3 [s] 4 4 [s] 5 5 [s] 6 6 [s] 7 7 [s] 8 8 [s] 9 9 [s] 10 10 [s] > class(df$x) [1] "units" > # write.csv/read.csv drops units > tf <- tempfile() > write.csv(df, tf) > read.csv(tf) X x 1 1 1 2 2 2 3 3 3 4 4 4 5 5 5 6 6 6 7 7 7 8 8 8 9 9 9 10 10 10 > # write_csv_arrow errors > tf <- tempfile() > arrow::write_csv_arrow(df, tf) Error: Invalid: Unsupported Type: [s] > # write/read_parquet works great > write_parquet(df, tf) > read_parquet(tf) x 1 1 [s] 2 2 [s] 3 3 [s] 4 4 [s] 5 5 [s] 6 6 [s] 7 7 [s] 8 8 [s] 9 9 [s] 10 10 [s] ``` -- 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