-
Notifications
You must be signed in to change notification settings - Fork 116
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-1645085] Always use SCOPED temp table for snowpark pandas generated api #2285
Conversation
81efaa7
to
378cf18
Compare
CHANGELOG.md
Outdated
@@ -7,6 +7,7 @@ | |||
#### Improvements | |||
|
|||
- Improved `to_pandas` to persist the original timezone offset for TIMESTAMP_TZ type. | |||
- Use SCOPED object for internal create temp tables. |
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.
maybe explain what this means here because it is not in open doc.
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.
+1
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.
added more contents
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.
LGTM. Just a few nits.
b9d767e
to
7c89443
Compare
a49af3d
to
462ceb1
Compare
462ceb1
to
edc51d6
Compare
Which Jira issue is this PR addressing? Make sure that there is an accompanying issue to your PR.
SNOW-1645085
Always use scoped temp table for internally created temp table during read_snowflake.
Fill out the following pre-review checklist:
Please describe how your code solves the related issue.
SCOPED temp object is feature introduced for snowpark internally created table, which is stored procedure scoped temp if the temp table is created within stored sproc, and session scoped if outside sored sproc.
Native app only allows usage of scoped object, similar as snowpark python, we always uses scoped object when enabled