Skip to content

Commit 1dfc364

Browse files
Merge release into main branch (#530)
1 parent 05a4bb1 commit 1dfc364

File tree

9 files changed

+21
-8
lines changed

9 files changed

+21
-8
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ CARTO Analytics Toolbox Core.
44

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

7+
## 2024-09-23
8+
9+
- feat(sf): added warehouse option for SF (#524)
10+
- chore(bq): increse jest timeout to 30000 (#525)
11+
- docs(sf): add docs on how to update the analytics toolbox from a native app (#527)
12+
- chore(sf): update python version on stored procedures from 3.8 to 3.9 (#528)
13+
714
## 2024-08-22
815

916
- chore(rs): bump scipy from 0.12.0 to 0.12.1 in /clouds/redshift/libraries/python (#518)

clouds/bigquery/modules/sql/quadbin/QUADBIN_POLYFILL.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ RETURNS INT64
7676
AS ((
7777
WITH __geog_area AS (
7878
SELECT
79+
508164597540055.75 AS q0_area,
7980
ST_AREA(geog) AS geog_area,
80-
COS(ST_Y(ST_CENTROID(geog)) * ACOS(-1) / 180) AS cos_geog_lat,
81-
508164597540055.75 AS q0_area
81+
COS(ST_Y(ST_CENTROID(geog)) * ACOS(-1) / 180) AS cos_geog_lat
8282
)
8383
-- compute the resolution of cells that match the geog area
8484
SELECT IF(geog_area > 0 AND cos_geog_lat > 0,

clouds/snowflake/CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,15 @@ CARTO Analytics Toolbox Core for Snowflake.
44

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

7+
## [1.2.5] - 2024-09-23
8+
9+
- feat: added warehouse option for SF (#524)
10+
- docs: add docs on how to update the analytics toolbox from a native app (#527)
11+
- chore: update python version on stored procedures from 3.8 to 3.9 (#528)
12+
713
## [1.2.4] - 2024-06-27
814

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

1117
## [1.2.3] - 2024-05-21
1218

clouds/snowflake/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ SF_USER=<user>
2424
SF_PASSWORD=<password>
2525
SF_ROLE=<role> # optional
2626
SF_SHARE=<share> # optional
27+
SF_WAREHOUSE=<warehouse> # optional
2728
```
2829

2930
## Structure

clouds/snowflake/common/run-query.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const connection = snowflake.createConnection({
99
username: process.env.SF_USER,
1010
password: process.env.SF_PASSWORD,
1111
role: process.env.SF_ROLE,
12-
warehouse: process.env.SF_WAREHOUSE,
12+
warehouse: process.env.SF_WAREHOUSE
1313
});
1414

1515
connection.connect((err) => {

clouds/snowflake/common/run-script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const connection = snowflake.createConnection({
1919
username: process.env.SF_USER,
2020
password: process.env.SF_PASSWORD,
2121
role: process.env.SF_ROLE,
22-
warehouse: process.env.SF_WAREHOUSE,
22+
warehouse: process.env.SF_WAREHOUSE
2323
});
2424

2525
connection.connect((err) => {

clouds/snowflake/modules/sql/quadbin/QUADBIN_FROMLONGLAT.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,3 @@ AS $$
5353
SELECT @@SF_SCHEMA@@._QUADBIN_STRING_TOINT(@@SF_SCHEMA@@._QUADBIN_FROMZXY(z, x, y))
5454
FROM __zxy
5555
$$;
56-

clouds/snowflake/modules/sql/quadbin/QUADBIN_TOPARENT.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@ AS $$
4747
resolution * 2
4848
)
4949
)
50-
$$;
50+
$$;

clouds/snowflake/version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.2.4
1+
1.2.5

0 commit comments

Comments
 (0)