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

ARROW-8118: [R] dim method for FileSystemDataset #6635

Closed
wants to merge 23 commits into from
Closed

ARROW-8118: [R] dim method for FileSystemDataset #6635

wants to merge 23 commits into from

Conversation

boshek
Copy link
Contributor

@boshek boshek commented Mar 16, 2020

  • Adds dim methods for both Dataset and arrow_dplyr_query classes.
  • Add unit tests for both methods.

@github-actions
Copy link

r/R/dataset.R Outdated Show resolved Hide resolved
Copy link
Member

@nealrichardson nealrichardson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for taking a stab at this! A few suggestions.

r/R/dataset.R Outdated Show resolved Hide resolved
r/R/dataset.R Outdated Show resolved Hide resolved
r/R/dataset.R Outdated Show resolved Hide resolved
r/R/dataset.R Outdated Show resolved Hide resolved
r/tests/testthat/test-dataset.R Outdated Show resolved Hide resolved
r/R/dataset.R Outdated Show resolved Hide resolved
r/R/dataset.R Outdated Show resolved Hide resolved
@boshek
Copy link
Contributor Author

boshek commented Mar 17, 2020

I can't quite understand the R CMD check failure. Passes locally. I will have to work on it some more.

@nealrichardson
Copy link
Member

Hmm, maybe try roxygen2::roxygenize()ing? I don't see the NAMESPACE modified and I'd expect that it should be.

Copy link
Member

@nealrichardson nealrichardson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for hanging with this, looks like we're close

r/R/dataset.R Outdated Show resolved Hide resolved
r/R/dataset.R Outdated Show resolved Hide resolved
r/R/dataset.R Outdated Show resolved Hide resolved
r/tests/testthat/test-dplyr.R Outdated Show resolved Hide resolved
@boshek
Copy link
Contributor Author

boshek commented Mar 18, 2020

Thanks for sticking with me TBH.

@nealrichardson
Copy link
Member

I'll pull this and take a look today, see if I can work out the test failures.

r/R/dataset.R Outdated Show resolved Hide resolved
Copy link
Member

@nealrichardson nealrichardson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just rebased, moved a few things around, and changed the fallback behavior for non-parquet datasets to be the same as for arrow_dplyr_query (warn and return NA rows). I'll merge when CI passes. Thanks again @boshek!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants