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

[DRAFT] Packaging snowpark-python as .pex module for server-side deployment #1543

Closed
wants to merge 10 commits into from

Conversation

sfc-gh-lspiegelberg
Copy link
Contributor

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

    Fixes SNOW-NNNNNNN

  2. Fill out the following pre-review checklist:

    • I am adding a new automated test(s) to verify correctness of my new code
    • I am adding new logging messages
    • I am adding a new telemetry message
    • I am adding new credentials
    • I am adding a new dependency
  3. Please describe how your code solves the related issue.

    Please write a short description of how your code change solves the related issue.

setup.py Outdated
@@ -103,6 +104,8 @@
"snowflake.snowpark.modin.plugin.extensions",
"snowflake.snowpark.modin.plugin.io",
"snowflake.snowpark.modin.plugin.utils",
"snowflake.snowpark._internal.tcm",
Copy link
Collaborator

Choose a reason for hiding this comment

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

should be contiguous with the prior _internal section (and sorted)

src/snowflake/snowpark/_internal/tcm/eval.py Show resolved Hide resolved
# Copyright (c) 2012-2024 Snowflake Computing Inc. All rights reserved.
#

# evaluate AST given as base64 encoded protobuf
Copy link
Collaborator

Choose a reason for hiding this comment

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

Sounds like a doc comment for process_ast

src/snowflake/snowpark/_internal/tcm/eval.py Outdated Show resolved Hide resolved
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

this is a generated file. cool if ir-dsl-c is updated so that this diff is a result of running ast-make.sh.

src/snowflake/snowpark/session.py Outdated Show resolved Hide resolved
@sfc-gh-azwiegincew
Copy link
Collaborator

Probably the most important comment: all TCM work should be done in the monorepo's clone of the Python client – in Snowpark/.

@sfc-gh-azwiegincew sfc-gh-azwiegincew deleted the branch server-side-snowpark December 5, 2024 18:56
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