Skip to content

Commit

Permalink
Merge release into main branch (#530)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Sep 24, 2024
1 parent 05a4bb1 commit 1dfc364
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 8 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ CARTO Analytics Toolbox Core.

All notable commits to this project will be documented in this file.

## 2024-09-23

- feat(sf): added warehouse option for SF (#524)
- chore(bq): increse jest timeout to 30000 (#525)
- docs(sf): add docs on how to update the analytics toolbox from a native app (#527)
- chore(sf): update python version on stored procedures from 3.8 to 3.9 (#528)

## 2024-08-22

- chore(rs): bump scipy from 0.12.0 to 0.12.1 in /clouds/redshift/libraries/python (#518)
Expand Down
4 changes: 2 additions & 2 deletions clouds/bigquery/modules/sql/quadbin/QUADBIN_POLYFILL.sql
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ RETURNS INT64
AS ((
WITH __geog_area AS (
SELECT
508164597540055.75 AS q0_area,
ST_AREA(geog) AS geog_area,
COS(ST_Y(ST_CENTROID(geog)) * ACOS(-1) / 180) AS cos_geog_lat,
508164597540055.75 AS q0_area
COS(ST_Y(ST_CENTROID(geog)) * ACOS(-1) / 180) AS cos_geog_lat
)
-- compute the resolution of cells that match the geog area
SELECT IF(geog_area > 0 AND cos_geog_lat > 0,
Expand Down
8 changes: 7 additions & 1 deletion clouds/snowflake/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,15 @@ CARTO Analytics Toolbox Core for Snowflake.

All notable commits to this project will be documented in this file.

## [1.2.5] - 2024-09-23

- feat: added warehouse option for SF (#524)
- docs: add docs on how to update the analytics toolbox from a native app (#527)
- chore: update python version on stored procedures from 3.8 to 3.9 (#528)

## [1.2.4] - 2024-06-27

- chore(sf): refactor at snowflake native app to an installer (#512)
- chore: refactor at snowflake native app to an installer (#512)

## [1.2.3] - 2024-05-21

Expand Down
1 change: 1 addition & 0 deletions clouds/snowflake/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ SF_USER=<user>
SF_PASSWORD=<password>
SF_ROLE=<role> # optional
SF_SHARE=<share> # optional
SF_WAREHOUSE=<warehouse> # optional
```

## Structure
Expand Down
2 changes: 1 addition & 1 deletion clouds/snowflake/common/run-query.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const connection = snowflake.createConnection({
username: process.env.SF_USER,
password: process.env.SF_PASSWORD,
role: process.env.SF_ROLE,
warehouse: process.env.SF_WAREHOUSE,
warehouse: process.env.SF_WAREHOUSE
});

connection.connect((err) => {
Expand Down
2 changes: 1 addition & 1 deletion clouds/snowflake/common/run-script.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const connection = snowflake.createConnection({
username: process.env.SF_USER,
password: process.env.SF_PASSWORD,
role: process.env.SF_ROLE,
warehouse: process.env.SF_WAREHOUSE,
warehouse: process.env.SF_WAREHOUSE
});

connection.connect((err) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,3 @@ AS $$
SELECT @@SF_SCHEMA@@._QUADBIN_STRING_TOINT(@@SF_SCHEMA@@._QUADBIN_FROMZXY(z, x, y))
FROM __zxy
$$;

2 changes: 1 addition & 1 deletion clouds/snowflake/modules/sql/quadbin/QUADBIN_TOPARENT.sql
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ AS $$
resolution * 2
)
)
$$;
$$;
2 changes: 1 addition & 1 deletion clouds/snowflake/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.2.4
1.2.5

0 comments on commit 1dfc364

Please sign in to comment.