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

Add petastorm integration #46

Merged
merged 3 commits into from
Jan 27, 2021
Merged

Conversation

krfricke
Copy link
Collaborator

No description provided.

Copy link
Collaborator

@richardliaw richardliaw left a comment

Choose a reason for hiding this comment

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

looks good! left a couple nits

xgboost_ray/matrix.py Outdated Show resolved Hide resolved
@@ -110,6 +110,39 @@ def testFromModinDfString(self):
in_df["label"] = self.y
self._testMatrixCreation(in_df, "label")

def testFromPetastormParquetString(self):
Copy link
Collaborator

Choose a reason for hiding this comment

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

hmm since petastorm is automatically enabled, would some previous tests be implicitly changed to leverage petastorm when we should instead leave it to test the non-petastorm codepath?

I didn't actually check the tests - but just a thought :)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

They won't, as petastorm requires an explicit file:// prefix - and we don't have that in the other tests :-)

xgboost_ray/matrix.py Outdated Show resolved Hide resolved
@krfricke krfricke merged commit 53af35b into ray-project:master Jan 27, 2021
@krfricke krfricke deleted the petastorm branch January 27, 2021 22:33
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.

2 participants