Skip to content

Commit

Permalink
Merge release into main branch (#488)
Browse files Browse the repository at this point in the history
Co-authored-by: Jesús Arroyo Torrens <[email protected]>
Co-authored-by: Valentin de la Cruz Barquero <[email protected]>
Co-authored-by: Javier Goizueta <[email protected]>
Co-authored-by: Alberto Hernández <[email protected]>
Co-authored-by: Pedro-Juan Ferrer <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: vdelacruzb <[email protected]>
  • Loading branch information
7 people authored Mar 21, 2024
1 parent 645a0a0 commit 63ef823
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 8 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ CARTO Analytics Toolbox Core.

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

## 2024-03-18

- fix(sf): CI and CD not working because of snowflake driver breaking changes (#484)
- fix(bq,sf,rs,pg): drop schemas when dedicateds gets released (#485)
- fix(bq|random): ST_GENERATEPOINTS returning exact name of points (#486)
- chore(rs,pg): remove installer tool (#483)
- chore(deps): bump jinja2 from 3.1.2 to 3.1.3 in /clouds/databricks/common (#468)

## 2024-02-15

- chore(sf): add additional tables to native apps (#473)
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.1] - 2024-03-18

- fix(random): ST_GENERATEPOINTS returning exact name of points (#486)

## [1.2.0] - 2024-01-17

- chore: increase tests timeout to 200000 (#455)
Expand Down
6 changes: 4 additions & 2 deletions clouds/bigquery/modules/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ test: check $(NODE_MODULES_DEV)
if [ ! -z "$$TESTS" ]; then \
GOOGLE_APPLICATION_CREDENTIALS=$(GOOGLE_APPLICATION_CREDENTIALS) \
PATH="$(NODE_MODULES_DEV)/.bin/:$(PATH)" \
jest --testTimeout=200000 $(BAIL) --verbose --slowTestThreshold=20 --maxConcurrency=10 $$TESTS \
jest --testTimeout=250000 $(BAIL) --verbose --slowTestThreshold=20 --maxConcurrency=10 $$TESTS \
--setupFilesAfterEnv "$(COMMON_DIR)/test-extend.js" || exit 1; \
OLD_TEST=$(TEST_DIR)/$$m/old-test; \
if [ -d $$OLD_TEST ]; then \
Expand All @@ -97,7 +97,9 @@ test: check $(NODE_MODULES_DEV)

remove: check
echo "Removing modules..."
$(BQ) rm -r -f -d $(BQ_DEPLOY_DATASET)
REPLACEMENTS=$(REPLACEMENTS)" "$(REPLACEMENTS_EXTRA) \
GOOGLE_APPLICATION_CREDENTIALS=$(GOOGLE_APPLICATION_CREDENTIALS) \
$(COMMON_DIR)/run-script.js $(COMMON_DIR)/DROP_FUNCTIONS.sql

remove-functions: check
echo "Removing functions..."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ST_CONCAVEHULL(geog, maxEdge, units)
Takes a set of points and returns a concave hull Polygon or MultiPolygon. In case that a single or a couple of points are passed as input, the function will return that point or a segment respectively.

* `geog`: `ARRAY<GEOGRAPHY>` input points.
* `maxEdge`: `FLOAT64`|`NULL` the length (in 'units') of an edge necessary for part of the hull to become concave. If `NULL`the default value `infinity` is used.
* `maxEdge`: `FLOAT64`|`NULL` the maximum length allowed for an edge of the concave hull. Higher `maxEdge` values will produce more convex-like hulls. If `NULL`, the default value `infinity` is used and it would be equivalent to a Convex Hull.
* `units`: `STRING`|`NULL` units of length, the supported options are: miles, kilometers, degrees or radians. If `NULL`the default value `kilometers` is used.

**Return type**
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.0
1.2.1
3 changes: 2 additions & 1 deletion clouds/postgres/modules/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ test: check venv3 $(NODE_MODULES_DEV)

remove: venv3
echo "Removing modules..."
$(VENV3_BIN)/python $(COMMON_DIR)/run_query.py "DROP SCHEMA IF EXISTS $(PG_SCHEMA) CASCADE;"
REPLACEMENTS=$(REPLACEMENTS)" "$(REPLACEMENTS_EXTRA) \
$(VENV3_BIN)/python $(COMMON_DIR)/run_script.py $(COMMON_DIR)/DROP_FUNCTIONS.sql

remove-functions: venv3
echo "Removing functions..."
Expand Down
3 changes: 2 additions & 1 deletion clouds/redshift/modules/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ test: check venv3 $(NODE_MODULES_DEV)

remove: venv3
echo "Removing modules..."
$(VENV3_BIN)/python $(COMMON_DIR)/run_query.py "DROP SCHEMA IF EXISTS $(RS_SCHEMA) CASCADE;"
REPLACEMENTS=$(REPLACEMENTS)" "$(REPLACEMENTS_EXTRA) \
$(VENV3_BIN)/python $(COMMON_DIR)/run_script.py $(COMMON_DIR)/DROP_FUNCTIONS.sql

remove-functions: venv3
echo "Removing functions..."
Expand Down
3 changes: 2 additions & 1 deletion clouds/snowflake/modules/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ test: check $(NODE_MODULES_DEV)

remove: $(NODE_MODULES_DEV)
echo "Removing modules..."
$(COMMON_DIR)/run-query.js "DROP SCHEMA IF EXISTS $(SF_SCHEMA) CASCADE;"
REPLACEMENTS=$(REPLACEMENTS)" "$(REPLACEMENTS_EXTRA) \
$(COMMON_DIR)/run-script.js $(COMMON_DIR)/DROP_FUNCTIONS.sql

remove-functions: $(NODE_MODULES_DEV)
echo "Removing functions..."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ST_CONCAVEHULL(geojsons [, maxEdge] [, units])
Takes a set of points and returns a concave hull Polygon or MultiPolygon. In case that a single or a couple of points are passed as input, the function will return that point or a segment respectively.

* `geojsons`: `ARRAY` array of features in GeoJSON format casted to STRING.
* `maxEdge` (optional): `DOUBLE` the length (in 'units') of an edge necessary for part of the hull to become concave. By default `maxEdge` is `infinity`.
* `maxEdge` (optional): `DOUBLE` the maximum length allowed for an edge of the concave hull. Higher `maxEdge` values will produce more convex-like hulls. If not provided, the default value `infinity` is used and it would be equivalent to a Convex Hull.
* `units` (optional): `STRING` units of length, the supported options are: miles, kilometers, degrees or radians. By default `units` is `kilometers`.

**Return type**
Expand Down

0 comments on commit 63ef823

Please sign in to comment.