Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
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
Loading