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) 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 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 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