Tests: Use "UNION ALL" instead of "UNION" to improve performance

This commit is contained in:
Raul Marin
2018-07-17 12:43:50 +02:00
parent 7d5469ed1c
commit cd31f998dd
4 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -265,12 +265,12 @@ describe('widgets-regressions', function() {
ST_TRANSFORM(ST_SETSRID(ST_GeomFromGeoJSON(
'${JSON.stringify(notIntersectingLeftTriangle)}'
), 4326), 3857) AS the_geom_webmercator, 1 AS cartodb_id, 'notIntersectingLeftTriangle' AS name
UNION
UNION ALL
SELECT
ST_TRANSFORM(ST_SETSRID(ST_GeomFromGeoJSON(
'${JSON.stringify(notIntersectingRightTriangle)}'
), 4326), 3857), 2, 'notIntersectingRightTriangle'
UNION
UNION ALL
SELECT
ST_TRANSFORM(ST_SETSRID(ST_GeomFromGeoJSON(
'${JSON.stringify(intersectingTriangle)}'