Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@ 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)
- chore(bq|quadbin): optimize polyfill (#513)

## 2024-05-21

- refactor(sf|h3): avoid memory limit exceeded in H3_POLYFILL_TABLE (#501)
Expand Down
4 changes: 4 additions & 0 deletions clouds/bigquery/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion clouds/bigquery/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.2.2
1.2.3
2 changes: 1 addition & 1 deletion clouds/postgres/common/python3_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion clouds/redshift/libraries/python/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 4 additions & 0 deletions clouds/snowflake/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
5 changes: 4 additions & 1 deletion clouds/snowflake/libraries/javascript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
10 changes: 5 additions & 5 deletions clouds/snowflake/native_app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -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;
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion clouds/snowflake/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.2.3
1.2.4