Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[R] Make FeatherReader print method more informative #27747

Closed
asfimport opened this issue Mar 8, 2021 · 3 comments
Closed

[R] Make FeatherReader print method more informative #27747

asfimport opened this issue Mar 8, 2021 · 3 comments

Comments

@asfimport
Copy link

Currently the print method for FeatherReader objects only prints the class name. Improve it so that it prints useful metadata similar to what read_feather(as_data_frame = FALSE) prints.

Reporter: Ian Cook / @ianmcook
Assignee: Jonathan Keane / @jonkeane

PRs and other links:

Note: This issue was originally created as ARROW-11906. Please see the migration documentation for further details.

@asfimport
Copy link
Author

Jonathan Keane / @jonkeane:
This should be similar to https://github.com/apache/arrow/pull/9171/files where a print method was added to SubTreeFileSystem

@asfimport
Copy link
Author

Neal Richardson / @nealrichardson:
arrow/ipc/feather.h is where the Reader class is defined. Looks like there is a schema method you can use to print names and types (and the existing R column_names method could be rewritten to be names(reader$schema).

@asfimport
Copy link
Author

Neal Richardson / @nealrichardson:
Issue resolved by pull request 9928
#9928

@asfimport asfimport added this to the 4.0.0 milestone Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants