Skip to content

Commit

Permalink
SNOW-1655751: register overwritten functions under snowflake namesp…
Browse files Browse the repository at this point in the history
…ace (#532)

* SNOW-1655751: register overwritten functions under `snowflake` namespace
  • Loading branch information
sfc-gh-mraba authored Oct 2, 2024
1 parent 957a469 commit 16ad10f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
7 changes: 5 additions & 2 deletions DESCRIPTION.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ Source code is also available at:

# Release Notes

- 1.6.2
- Fixed SAWarning when registering functions with existing name in default namespace

- v1.6.1(July 9, 2024)

- Update internal project workflow with pypi publishing
Expand All @@ -24,7 +27,7 @@ Source code is also available at:

- v1.5.3(April 16, 2024)

- Limit SQLAlchemy to < 2.0.0 before releasing version compatible with 2.0
- Limit SQLAlchemy to < 2.0.0 before releasing version compatible with 2.0

- v1.5.2(April 11, 2024)

Expand All @@ -33,7 +36,7 @@ Source code is also available at:

- v1.5.1(November 03, 2023)

- Fixed a compatibility issue with Snowflake Behavioral Change 1057 on outer lateral join, for more details check https://docs.snowflake.com/en/release-notes/bcr-bundles/2023_04/bcr-1057.
- Fixed a compatibility issue with Snowflake Behavioral Change 1057 on outer lateral join, for more details check <https://docs.snowflake.com/en/release-notes/bcr-bundles/2023_04/bcr-1057>.
- Fixed credentials with `externalbrowser` authentication not caching due to incorrect parsing of boolean query parameters.
- This fixes other boolean parameter passing to driver as well.

Expand Down
3 changes: 1 addition & 2 deletions src/snowflake/sqlalchemy/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,6 @@ def _join_determine_implicit_left_side(self, raw_columns, left, right, onclause)
[element._from_objects for element in statement._where_criteria]
),
):

potential[from_clause] = ()

all_clauses = list(potential.keys())
Expand Down Expand Up @@ -1065,4 +1064,4 @@ def visit_GEOMETRY(self, type_, **kw):

construct_arguments = [(Table, {"clusterby": None})]

functions.register_function("flatten", flatten)
functions.register_function("flatten", flatten, "snowflake")

0 comments on commit 16ad10f

Please sign in to comment.