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

SNOW-1650875: Remove modin/pandas/io.py #2301

Merged
merged 10 commits into from
Sep 19, 2024
Merged

SNOW-1650875: Remove modin/pandas/io.py #2301

merged 10 commits into from
Sep 19, 2024

Conversation

sfc-gh-joshi
Copy link
Contributor

  1. Which Jira issue is this PR addressing? Make sure that there is an accompanying issue to your PR.

    Fixes SNOW-1650875

  2. Fill out the following pre-review checklist:

    • I am adding a new automated test(s) to verify correctness of my new code
      • If this test skips Local Testing mode, I'm requesting review from @snowflakedb/local-testing
    • I am adding new logging messages
    • I am adding a new telemetry message
    • I am adding new credentials
    • I am adding a new dependency
    • If this is a new feature/behavior, I'm adding the Local Testing parity changes.
  3. Please describe how your code solves the related issue.

Much of our logic for I/O operation dispatch, especially unimplemented operations, is shared with upstream Modin. This PR removes a lot of duplicated code to that effect.

Modin determines its execution engine based on the Engine configuration variable, and will dynamically look for a class named PandasOn${ENGINE}Factory. Within this PR, we set PandasOnSnowflakeFactory as a Modin attribute so it can be discovered and used appropriately.

@sfc-gh-joshi sfc-gh-joshi added NO-CHANGELOG-UPDATES This pull request does not need to update CHANGELOG.md NO-PANDAS-CHANGEDOC-UPDATES This PR does not update Snowpark pandas docs labels Sep 17, 2024
@sfc-gh-joshi sfc-gh-joshi marked this pull request as ready for review September 17, 2024 20:17
@sfc-gh-joshi sfc-gh-joshi requested a review from a team as a code owner September 17, 2024 20:17
Copy link
Contributor

@sfc-gh-rdurrani sfc-gh-rdurrani left a comment

Choose a reason for hiding this comment

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

LGTM!

@sfc-gh-joshi sfc-gh-joshi merged commit 4a4a61d into main Sep 19, 2024
35 checks passed
@sfc-gh-joshi sfc-gh-joshi deleted the joshi/move-io branch September 19, 2024 18:09
@github-actions github-actions bot locked and limited conversation to collaborators Sep 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
NO-CHANGELOG-UPDATES This pull request does not need to update CHANGELOG.md NO-PANDAS-CHANGEDOC-UPDATES This PR does not update Snowpark pandas docs snowpark-pandas
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants