From e0fdd3f489590168b877a967687026d347b304c9 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 2 Jul 2024 15:44:11 +0200 Subject: [PATCH 1/5] Merge release into main branch (#517) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: dependabot[bot] Co-authored-by: Jesús Arroyo Torrens Co-authored-by: Valentin de la Cruz Barquero <6054336+vdelacruzb@users.noreply.github.com> Co-authored-by: Javier Goizueta Co-authored-by: Alberto Hernández Co-authored-by: Pedro-Juan Ferrer Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: vdelacruzb Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- CHANGELOG.md | 5 +++++ clouds/bigquery/CHANGELOG.md | 4 ++++ clouds/bigquery/version | 2 +- clouds/snowflake/CHANGELOG.md | 4 ++++ clouds/snowflake/libraries/javascript/package.json | 5 ++++- clouds/snowflake/version | 2 +- 6 files changed, 19 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 70682c788..f88bf367b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ CARTO Analytics Toolbox Core. All notable commits to this project will be documented in this file. +## 2024-06-27 + +- chore(sf): refactor at snowflake native app to an installer (#512) +- chore(bq|quadbin): optimize polyfill (#513) + ## 2024-05-21 - refactor(sf|h3): avoid memory limit exceeded in H3_POLYFILL_TABLE (#501) diff --git a/clouds/bigquery/CHANGELOG.md b/clouds/bigquery/CHANGELOG.md index 2e7b143db..d25171df8 100644 --- a/clouds/bigquery/CHANGELOG.md +++ b/clouds/bigquery/CHANGELOG.md @@ -4,6 +4,10 @@ CARTO Analytics Toolbox Core for BigQuery. All notable commits to this project will be documented in this file. +## [1.2.3] - 2024-06-27 + +- chore(quadbin): optimize polyfill (#513) + ## [1.2.2] - 2024-04-18 - docs(processing): update voronoi doc (#492) diff --git a/clouds/bigquery/version b/clouds/bigquery/version index 23aa83906..0495c4a88 100644 --- a/clouds/bigquery/version +++ b/clouds/bigquery/version @@ -1 +1 @@ -1.2.2 +1.2.3 diff --git a/clouds/snowflake/CHANGELOG.md b/clouds/snowflake/CHANGELOG.md index 31d31204c..176a981d9 100644 --- a/clouds/snowflake/CHANGELOG.md +++ b/clouds/snowflake/CHANGELOG.md @@ -4,6 +4,10 @@ CARTO Analytics Toolbox Core for Snowflake. All notable commits to this project will be documented in this file. +## [1.2.4] - 2024-06-27 + +- chore(sf): refactor at snowflake native app to an installer (#512) + ## [1.2.3] - 2024-05-21 - refactor(h3): avoid memory limit exceeded in H3_POLYFILL_TABLE (#501) diff --git a/clouds/snowflake/libraries/javascript/package.json b/clouds/snowflake/libraries/javascript/package.json index 86fbebf39..9fb6f405f 100644 --- a/clouds/snowflake/libraries/javascript/package.json +++ b/clouds/snowflake/libraries/javascript/package.json @@ -6,12 +6,15 @@ "license": "BSD-3-Clause", "private": true, "dependencies": { - "@math.gl/web-mercator": "^3.6.2", + "@math.gl/web-mercator": "3.6.3", "@mapbox/tile-cover": "3.0.2", "@mapbox/tilebelt": "1.0.2", "long": "4.0.0", "@turf/turf": "6.3.0", "h3-js": "3.7.2", "@placekey/placekey": "1.0.3" + }, + "resolutions": { + "@turf/bbox": "6.5.0" } } diff --git a/clouds/snowflake/version b/clouds/snowflake/version index 0495c4a88..e8ea05db8 100644 --- a/clouds/snowflake/version +++ b/clouds/snowflake/version @@ -1 +1 @@ -1.2.3 +1.2.4 From e1ab4b4128866f3d9e2b27363ba4846aec1f5d56 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 2 Jul 2024 15:51:11 +0200 Subject: [PATCH 2/5] chore(deps): bump scipy from 0.12.0 to 0.12.1 in /clouds/redshift/libraries/python (#518) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clouds/redshift/libraries/python/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clouds/redshift/libraries/python/requirements.txt b/clouds/redshift/libraries/python/requirements.txt index cc61ca38d..da02dd9d3 100644 --- a/clouds/redshift/libraries/python/requirements.txt +++ b/clouds/redshift/libraries/python/requirements.txt @@ -2,6 +2,6 @@ quadbin==0.2.2 geojson==2.5.0 pygc==1.1.0 numpy==1.8.2 -scipy==0.12.0 +scipy==0.12.1 s2sphere==0.2.5 mercantile==1.2.1 From d63d5ff0f29a26286704a6214443c70b976df872 Mon Sep 17 00:00:00 2001 From: Valentin de la Cruz Barquero <6054336+vdelacruzb@users.noreply.github.com> Date: Thu, 8 Aug 2024 16:14:53 +0200 Subject: [PATCH 3/5] docs(sf): fix native apps installation doc (#519) --- clouds/snowflake/native_app/README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/clouds/snowflake/native_app/README.md b/clouds/snowflake/native_app/README.md index 4e2a27fca..36764875d 100644 --- a/clouds/snowflake/native_app/README.md +++ b/clouds/snowflake/native_app/README.md @@ -8,7 +8,7 @@ The CARTO Analytics Toolbox for Snowflake is composed of a set of user-defined f #### Install the Analytics Toolbox -This Native App is an installer so it does not contain the actual Analytics Toolbox functions and procedures. For the sake of documenting the process, we'll will assume a database named CARTO, as well as a schema named CARTO in that database, also we assume the app to be called CARTO_INSTALLER. The next guidelines and examples will assume that in order to simplify the onboarding process. +This Native App is an installer so it does not contain the actual Analytics Toolbox functions and procedures. For the sake of documenting the process, we'll will assume a database named CARTO, as well as a schema named CARTO in that database, also we assume the app to be called CARTO_ANALYTICS_TOOLBOX. The next guidelines and examples will assume that in order to simplify the onboarding process. All the database, schema and user can have a different name, but remember to adapt the code snippets accordingly. @@ -26,11 +26,11 @@ CREATE SCHEMA CARTO.CARTO; GRANT ALL ON SCHEMA CARTO.CARTO TO ROLE SYSADMIN; -- Set create function and procedure permissions -GRANT USAGE ON DATABASE CARTO TO APPLICATION CARTO; -GRANT USAGE, CREATE FUNCTION, CREATE PROCEDURE ON SCHEMA CARTO.CARTO TO APPLICATION CARTO; +GRANT USAGE ON DATABASE CARTO TO APPLICATION CARTO_ANALYTICS_TOOLBOX; +GRANT USAGE, CREATE FUNCTION, CREATE PROCEDURE ON SCHEMA CARTO.CARTO TO APPLICATION CARTO_ANALYTICS_TOOLBOX; -- Generate the installer procedure in the specified location -CALL CARTO_INSTALLER.CARTO.GENERATE_INSTALLER('CARTO.CARTO'); +CALL CARTO_ANALYTICS_TOOLBOX.CARTO.GENERATE_INSTALLER('CARTO.CARTO'); -- Update ownership of the install procedure GRANT OWNERSHIP ON PROCEDURE CARTO.CARTO.INSTALL(STRING, STRING) TO ROLE ACCOUNTADMIN REVOKE CURRENT GRANTS; @@ -44,7 +44,7 @@ GRANT USAGE ON FUTURE FUNCTIONS IN SCHEMA CARTO.CARTO TO ROLE PUBLIC; GRANT USAGE ON FUTURE PROCEDURES IN SCHEMA CARTO.CARTO TO ROLE PUBLIC; -- Install the Analytics Toolbox in CARTO.CARTO -CALL CARTO.CARTO.INSTALL('CARTO_INSTALLER', 'CARTO.CARTO'); +CALL CARTO.CARTO.INSTALL('CARTO_ANALYTICS_TOOLBOX', 'CARTO.CARTO'); ``` ### Usage Examples From 501e3730d32d58a2e948e86f9c17961e71bb14aa Mon Sep 17 00:00:00 2001 From: DeanSherwin Date: Tue, 20 Aug 2024 10:04:10 +0200 Subject: [PATCH 4/5] fix(pg): lock numpy to v1.24.4 until pandas supports 2.X.X (#520) --- clouds/postgres/common/python3_requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clouds/postgres/common/python3_requirements.txt b/clouds/postgres/common/python3_requirements.txt index ab1c68abe..b97632d9f 100644 --- a/clouds/postgres/common/python3_requirements.txt +++ b/clouds/postgres/common/python3_requirements.txt @@ -14,4 +14,4 @@ pandas==1.3.2 SQLAlchemy==1.4.23 mapbox-vector-tile==1.2.1 sqlfluff==1.3.1 - +numpy==1.24.4 From 845fd7a1e6a9c72d52aab73e639c776d7b2cecae Mon Sep 17 00:00:00 2001 From: vdelacruzb Date: Thu, 22 Aug 2024 11:06:05 +0200 Subject: [PATCH 5/5] update changelogs --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f88bf367b..ad0ccff19 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ CARTO Analytics Toolbox Core. All notable commits to this project will be documented in this file. +## 2024-08-22 + +- chore(rs): bump scipy from 0.12.0 to 0.12.1 in /clouds/redshift/libraries/python (#518) +- docs(sf): fix native apps installation doc (#519) +- fix(pg): lock numpy to v1.24.4 until pandas supports 2.X.X (#520) + ## 2024-06-27 - chore(sf): refactor at snowflake native app to an installer (#512)