Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
e0fdd3f
Merge release into main branch (#517)
github-actions[bot] Jul 2, 2024
e1ab4b4
chore(deps): bump scipy from 0.12.0 to 0.12.1 in /clouds/redshift/lib…
dependabot[bot] Jul 2, 2024
d63d5ff
docs(sf): fix native apps installation doc (#519)
vdelacruzb Aug 8, 2024
501e373
fix(pg): lock numpy to v1.24.4 until pandas supports 2.X.X (#520)
DeanSherwin Aug 20, 2024
259895d
Merge release into main branch (#522)
github-actions[bot] Aug 22, 2024
874ffae
feat(sf): added warehouse option for SF (#524)
volaya Sep 3, 2024
775fb87
chore(bq): increse jest timeout to 30000 (#525)
vdelacruzb Sep 5, 2024
4a2376e
docs(sf): add docs on how to update the analytics toolbox from a nati…
vdelacruzb Sep 18, 2024
05a4bb1
chore(sf): update python version on stored procedures from 3.8 to 3.9…
vdelacruzb Sep 20, 2024
1dfc364
Merge release into main branch (#530)
github-actions[bot] Sep 24, 2024
c0b02a7
chore(bq): fix @google-cloud/bigquery to version 7.9.0 (#531)
vdelacruzb Sep 26, 2024
3bb797a
chore(bq,sf,rs,pg|h3,quadbin): added "geo" aliases for certain functi…
volaya Oct 23, 2024
a72b208
Merge release into main branch (#534)
github-actions[bot] Oct 29, 2024
94532b0
chore(sf): deploy snowflake in CARTO.CARTO when releasing (#536)
vdelacruzb Nov 5, 2024
b5d0edd
chore: update gh actions versions (#537)
Jesus89 Nov 29, 2024
e604e83
chore(bq): add skip dependency tag in bigquery build_modules (#538)
vdelacruzb Dec 11, 2024
f1025de
docs(sf|h3): update h3_polyfill_table docs as it does not support poi…
vdelacruzb Dec 18, 2024
b5649a7
chore(deps): bump jinja2 from 3.1.3 to 3.1.5 in /clouds/databricks/co…
dependabot[bot] Dec 24, 2024
14b2b5c
fix(bq|h3,quadbin): H3_POLYFILL and QUADBIN_POLYFILL functions not wo…
vdelacruzb Jan 23, 2025
a77c453
chores(bq): split JS libraries generation (#541)
vdelacruzb Jan 24, 2025
2da5ee5
chore(bq): allow supporting multiple libraries in one line (#543)
vdelacruzb Jan 27, 2025
c978190
chore(sf): SF_ACCOUNT no longer follows "account.region" format (#544)
vdelacruzb Jan 28, 2025
94dac8d
Merge release into main branch (#546)
github-actions[bot] Jan 30, 2025
531bbae
chore(bq,sf,rs|clustering): ST_CLUSTERKMEANS procedure throwing error…
vdelacruzb Mar 13, 2025
22786e8
fix(rs): set autocommit in run_query function (#552)
Jesus89 Mar 14, 2025
7be7910
chore: update deprecated ubuntu image for ci (#553)
Jesus89 Apr 21, 2025
209b7be
update changelogs
Jesus89 Apr 30, 2025
e7c7321
Merge branch 'stable' into release/2025-04-30
Jesus89 Apr 30, 2025
6e274e8
Update changelog
Jesus89 Apr 30, 2025
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
4 changes: 2 additions & 2 deletions .github/workflows/bigquery-ded.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
types: [closed, unlabeled, labeled, synchronize]

env:
NODE_VERSION: 14
NODE_VERSION: 18.16

jobs:

Expand All @@ -14,7 +14,7 @@ jobs:
github.event.label.name == 'dedicated_bigquery' ||
(github.event.action == 'closed' && contains(github.event.pull_request.labels.*.name, 'dedicated_bigquery')) ||
(github.event.action == 'synchronize' && contains(github.event.pull_request.labels.*.name, 'dedicated_bigquery'))
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
timeout-minutes: 20
env:
GCLOUD_VERSION: 500.0.0
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/bigquery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ on:
workflow_call:

env:
NODE_VERSION: 14
PYTHON3_VERSION: 3.8.10
VIRTUALENV_VERSION: 20.21.1
NODE_VERSION: 18.16
PYTHON3_VERSION: 3.8.18
VIRTUALENV_VERSION: 20.15.1
GCLOUD_VERSION: 500.0.0

jobs:

test:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
timeout-minutes: 30
env:
BQ_PREFIX: ci_${{ github.sha }}_${{ github.run_id }}_${{ github.run_attempt }}_
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
deploy-internal:
if: github.ref_name == 'main'
needs: test
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
timeout-minutes: 20
strategy:
matrix:
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
deploy:
if: github.ref_name == 'stable'
needs: test
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
timeout-minutes: 20
strategy:
fail-fast: false
Expand Down Expand Up @@ -148,7 +148,7 @@ jobs:
publish:
if: github.ref_name == 'stable'
needs: test
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
timeout-minutes: 10
env:
PACKAGE_BUCKET: gs://carto-analytics-toolbox-core/bigquery
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/databricks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ on:
workflow_call:

env:
PYTHON3_VERSION: 3.8.11
VIRTUALENV_VERSION: 20.21.1
PYTHON3_VERSION: 3.8.18
VIRTUALENV_VERSION: 20.15.1
GCLOUD_VERSION: 500.0.0
GOOGLE_SECRET_MANAGER_PROJECT: ${{ secrets.GOOGLE_SECRET_MANAGER_PROJECT }}

jobs:

test:
if: false
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
timeout-minutes: 30
env:
DB_PREFIX: ci_${{ github.sha }}_${{ github.run_id }}_${{ github.run_attempt }}_
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
deploy-internal:
if: github.ref_name == 'main'
needs: test
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
timeout-minutes: 20
strategy:
matrix:
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:
publish:
needs: test
if: github.ref_name == 'stable'
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
timeout-minutes: 10
env:
PACKAGE_BUCKET: gs://carto-analytics-toolbox-core/databricks
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/postgres-ded.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ on:

env:
NODE_VERSION: 14
PYTHON3_VERSION: 3.8.10
VIRTUALENV_VERSION: 20.21.1
PYTHON3_VERSION: 3.8.18
VIRTUALENV_VERSION: 20.15.1

jobs:

Expand All @@ -16,7 +16,7 @@ jobs:
github.event.label.name == 'dedicated_postgres' ||
(github.event.action == 'closed' && contains(github.event.pull_request.labels.*.name, 'dedicated_postgres')) ||
(github.event.action == 'synchronize' && contains(github.event.pull_request.labels.*.name, 'dedicated_postgres'))
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
timeout-minutes: 20
env:
PG_HOST: ${{ secrets.PG_HOST_CD }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ on:

env:
NODE_VERSION: 14
PYTHON3_VERSION: 3.8.10
VIRTUALENV_VERSION: 20.21.1
PYTHON3_VERSION: 3.8.18
VIRTUALENV_VERSION: 20.15.1
GCLOUD_VERSION: 500.0.0

jobs:

test:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
timeout-minutes: 30
env:
PG_PREFIX: ci_${{ github.sha }}_${{ github.run_id }}_${{ github.run_attempt }}_
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
deploy-internal:
if: github.ref_name == 'main'
needs: test
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
timeout-minutes: 20
strategy:
matrix:
Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:
publish:
if: github.ref_name == 'stable'
needs: test
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
timeout-minutes: 10
env:
PACKAGE_BUCKET: gs://carto-analytics-toolbox-core/postgres
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/redshift-ded.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
env:
NODE_VERSION: 14
PYTHON2_VERSION: 2.7.18
PYTHON3_VERSION: 3.8.10
PYTHON3_VERSION: 3.8.18
VIRTUALENV_VERSION: 20.15.1

jobs:
Expand All @@ -17,7 +17,7 @@ jobs:
github.event.label.name == 'dedicated_redshift' ||
(github.event.action == 'closed' && contains(github.event.pull_request.labels.*.name, 'dedicated_redshift')) ||
(github.event.action == 'synchronize' && contains(github.event.pull_request.labels.*.name, 'dedicated_redshift'))
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
container: python:2.7.18-buster
timeout-minutes: 20
env:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/redshift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ on:
env:
NODE_VERSION: 14
PYTHON2_VERSION: 2.7.18
PYTHON3_VERSION: 3.8.10
PYTHON3_VERSION: 3.8.18
VIRTUALENV_VERSION: 20.15.1
GCLOUD_VERSION: 500.0.0

jobs:

test:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
container: python:2.7.18-buster
timeout-minutes: 30
env:
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
deploy-internal:
if: github.ref_name == 'main'
needs: test
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
container: python:2.7.18-buster
timeout-minutes: 20
strategy:
Expand Down Expand Up @@ -142,7 +142,7 @@ jobs:
publish:
if: github.ref_name == 'stable'
needs: test
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
container: python:2.7.18-buster
timeout-minutes: 10
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/snowflake-ded.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
github.event.label.name == 'dedicated_snowflake' ||
(github.event.action == 'closed' && contains(github.event.pull_request.labels.*.name, 'dedicated_snowflake')) ||
(github.event.action == 'synchronize' && contains(github.event.pull_request.labels.*.name, 'dedicated_snowflake'))
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
timeout-minutes: 20
env:
SF_ACCOUNT: ${{ secrets.SF_ACCOUNT_CD }}
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/snowflake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ on:
env:
NODE_VERSION: 18.16
PYTHON3_VERSION: 3.8.18
VIRTUALENV_VERSION: 20.21.1
VIRTUALENV_VERSION: 20.15.1
GCLOUD_VERSION: 500.0.0

jobs:

test:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
timeout-minutes: 30
env:
SF_PREFIX: ci_${{ github.sha }}_${{ github.run_id }}_${{ github.run_attempt }}_
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
deploy-internal:
if: github.ref_name == 'main'
needs: test
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
timeout-minutes: 20
strategy:
matrix:
Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:
deploy-internal-stable:
if: github.ref_name == 'stable'
needs: test
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
timeout-minutes: 20
strategy:
matrix:
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:
deploy-internal-app:
if: github.ref_name == 'main'
needs: test
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
timeout-minutes: 30
env:
APP_PACKAGE_NAME: ${{ secrets.SF_NATIVE_APP_PACKAGE_NAME_CD }}
Expand Down Expand Up @@ -155,7 +155,7 @@ jobs:
deploy-share:
if: github.ref_name == 'stable'
needs: test
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
timeout-minutes: 20
env:
SF_ACCOUNT: ${{ secrets.SF_ACCOUNT_SHARE }}
Expand Down Expand Up @@ -183,7 +183,7 @@ jobs:
publish:
if: github.ref_name == 'stable'
needs: test
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
timeout-minutes: 10
env:
PACKAGE_BUCKET: gs://carto-analytics-toolbox-core/snowflake
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ CARTO Analytics Toolbox Core.

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

## 2025-04-30

- chore(bq,sf,rs|clustering): ST_CLUSTERKMEANS procedure throwing error for null geoms (#550)
- fix(rs): set autocommit in run_query function (#552)
- chore: update deprecated ubuntu image for ci (#553)

## 2025-01-30

- chore(sf): deploy snowflake in CARTO.CARTO when releasing (#536)
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.6] - 2025-04-30

- chore(clustering): ST_CLUSTERKMEANS procedure throwing error for null geoms (#550)

## [1.2.5] - 2025-01-30

- chore: add skip dependency tag in bigquery build_modules (#538)
Expand Down
3 changes: 3 additions & 0 deletions clouds/bigquery/modules/sql/clustering/ST_CLUSTERKMEANS.sql
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ AS """
if (!geojson) {
return null;
}
if (geojson.some(x => x === null)) {
throw new Error("No null geometries allowed in input array");
}
const options = {};
if (numberOfClusters != null) {
options.numberOfClusters = Number(numberOfClusters);
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.5
1.2.6
5 changes: 5 additions & 0 deletions clouds/redshift/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ CARTO Analytics Toolbox Core for Redshift.

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

## [1.1.3] - 2025-04-30

- chore(clustering): ST_CLUSTERKMEANS procedure throwing error for null geoms (#550)
- fix: set autocommit in run_query function (#552)

## [1.1.2] - 2024-10-28

- chore(h3,quadbin): added "geo" aliases for certain functions (#526)
Expand Down
1 change: 1 addition & 0 deletions clouds/redshift/common/test_utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ def run_query(query):
user=os.environ['RS_USER'],
password=os.environ['RS_PASSWORD'],
)
conn.autocommit = True
cursor = conn.cursor()
cursor.execute(query.replace('@@RS_SCHEMA@@', os.environ['RS_SCHEMA']))
try:
Expand Down
2 changes: 1 addition & 1 deletion clouds/redshift/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.1.2
1.1.3
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.7] - 2025-04-30

- chore(clustering): ST_CLUSTERKMEANS procedure throwing error for null geoms (#550)

## [1.2.6] - 2024-10-28

- chore(h3,quadbin): added "geo" aliases for certain functions (#526)
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.6
1.2.7
Loading