-
Notifications
You must be signed in to change notification settings - Fork 119
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-1489960, SNOW-1491199] Snowpark python API client-side changes for IR encoding to protobuf #2674
Conversation
…me (#2678) SNOW-1787415 Fix udf, udaf, sproc functions with registered object name
Add coverage to AST gates
|
src/snowflake/snowpark/_internal/compiler/repeated_subquery_elimination.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Local testing section is looking mostly good to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this needs an intensive review - most of this will work itself out over the next day anyways.
# Cloud workspace ssh is set up via ~/.local/share/sfcli/ssh_config (or simply provide your workspace ID) | ||
# For this script to succeed with the DevVM, you need to configure the SSH devvm host according to | ||
# https://snowflakecomputing.atlassian.net/wiki/spaces/EN/pages/3019015180/DevVM+Troubleshooting#Symptom:-Need-to-ssh-into-the-certified-DevVM | ||
# I.e., add the following lines to ~/.ssh/config |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we move this info from here to a wiki directly? seems sensitive to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure, which information should be redacted in your opinion?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ssh and sfcli related information
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
||
>>> import gc | ||
>>> | ||
>>> def f(session: Session) -> str: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is also unrealted to your change it seems
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if isinstance(self._conn, MockServerConnection): | ||
# TODO: Implement here write_pandas correctly. | ||
success, ci_output = True, [] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we already raise a not implemented error earlier. Does adding an assert here make more sense?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Main commit for SNOW-1489960 bringing in changes to encode Snowpark python API to protobuf. A detailed commit history can be found in https://github.com/snowflakedb/snowpark-python/tree/ls-SNOW-1491199-merge-phase0-server-side.
Fill out the following pre-review checklist:
Please describe how your code solves the related issue.
Please write a short description of how your code change solves the related issue.
Co-authored-by: Arthur Zwiegincew [email protected]
Co-authored-by: Ovidiu Platon [email protected]
Co-authored-by: Hemit Shah [email protected]
Co-authored-by: Varnika Budati [email protected]
Co-authored-by: Eric Vandenberg [email protected]
Co-authored-by: Andong Zhan [email protected]