You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by GitBox <gi...@apache.org> on 2023/01/07 20:31:52 UTC
[GitHub] [arrow] OfekShilon opened a new issue, #15246: [R] arrow::write_feather doesn't save row names
OfekShilon opened a new issue, #15246:
URL: https://github.com/apache/arrow/issues/15246
### Describe the bug, including details regarding any error messages, version, and platform.
R code snippet:
```r
> df <- data.frame(a=1:3,b=4:6)
> rownames(df) <- c("row1","row2","row3")
> df
a b
row1 1 4
row2 2 5
row3 3 6
> arrow::write_feather(x = df, sink="~/tmp/df")
> df2 <- arrow::read_feather(file = "~/tmp/df")
> df2
a b
1 1 4
2 2 5
3 3 6
```
### Component(s)
R
--
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: issues-unsubscribe@arrow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow] OfekShilon commented on issue #15246: [R] arrow::write_feather doesn't save row names
Posted by GitBox <gi...@apache.org>.
OfekShilon commented on issue #15246:
URL: https://github.com/apache/arrow/issues/15246#issuecomment-1374613900
This is caused by [explicit removal ](https://github.com/apache/arrow/blob/master/r/R/metadata.R#L125)of `row.names` in `remove_attributes`.
@nealrichardson is this intentional? Why? (the [jira discussion](https://issues.apache.org/jira/browse/ARROW-10089) linked at the commit seems unrelated)
--
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-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow] OfekShilon commented on issue #15246: [R] arrow::write_feather doesn't save row names
Posted by GitBox <gi...@apache.org>.
OfekShilon commented on issue #15246:
URL: https://github.com/apache/arrow/issues/15246#issuecomment-1374609657
It seems there is a problem in `AddMetadataFromDots`.
@romainfrancois
--
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-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow] thisisnic commented on issue #15246: [R] Feature request: add support for saving row names to arrow::write_feather
Posted by "thisisnic (via GitHub)" <gi...@apache.org>.
thisisnic commented on issue #15246:
URL: https://github.com/apache/arrow/issues/15246#issuecomment-1413853300
As this is not a bug but is intentional, I've updated this ticket to frame this as a feature request
--
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-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org