Amazon Redshift now supports nine new array functions for working with semi-structured data stored in the SUPER data type. The new functions include ARRAY_CONTAINS, ARRAY_DISTINCT, ARRAY_EXCEPT, ARRAY_INTERSECTION, ARRAY_POSITION, ARRAY_POSITIONS, ARRAY_SORT, ARRAY_UNION, and ARRAYS_OVERLAP, enabling you to search, compare, sort, and transform arrays directly within your SQL queries. Previously, performing these operations required writing complex custom PartiQL SQL logic.
These functions simplify complex data transformations and reduce query complexity by enabling sophisticated array operations in a single SQL statement. For example, you can use ARRAY_CONTAINS and ARRAY_POSITION for element lookup, ARRAY_INTERSECTION and ARRAY_EXCEPT for set operations, or ARRAY_SORT and ARRAY_DISTINCT to organize and deduplicate data. These functions are particularly valuable for applications involving nested data structures, event processing, and analytics workflows where data needs to be aggregated, filtered, or transformed at scale.
The new Amazon Redshift array functions are available in all AWS Regions, including the AWS GovCloud (US) Regions, where Amazon Redshift is available. To learn more, please visit our documentation.
Categories: marketing:marchitecture,general:use-case/database-and-data-warehouse,marketing:marchitecture/analytics,general:products/amazon-redshift
Source: Amazon Web Services
Latest Posts
- (Updated) Microsoft 365: Modern Access Request and Access Denied web page [MC1188599]
![(Updated) Microsoft 365: Modern Access Request and Access Denied web page [MC1188599] 2 pexels leish 5258251](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- (Updated) Introducing Surveys Agent and Copilot Chat in Microsoft Forms [MC1229954]
![(Updated) Introducing Surveys Agent and Copilot Chat in Microsoft Forms [MC1229954] 3 pexels googledeepmind 18068537](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- (Updated) Upcoming change: disabling Teams meeting recording expiration notification emails [MC1245635]
![(Updated) Upcoming change: disabling Teams meeting recording expiration notification emails [MC1245635] 4 pexels alfonso escalante 1319242 2533092](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Endpoint Data Loss Prevention: Always-on diagnostics for Windows endpoints (Phase 2) [MC1246003]
![Endpoint Data Loss Prevention: Always-on diagnostics for Windows endpoints (Phase 2) [MC1246003] 5 pexels icesky08 1294229](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)

![(Updated) Microsoft 365: Modern Access Request and Access Denied web page [MC1188599] 2 pexels leish 5258251](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-leish-5258251-150x150.webp)
![(Updated) Introducing Surveys Agent and Copilot Chat in Microsoft Forms [MC1229954] 3 pexels googledeepmind 18068537](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-googledeepmind-18068537-150x150.webp)
![(Updated) Upcoming change: disabling Teams meeting recording expiration notification emails [MC1245635] 4 pexels alfonso escalante 1319242 2533092](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-alfonso-escalante-1319242-2533092-150x150.webp)
![Endpoint Data Loss Prevention: Always-on diagnostics for Windows endpoints (Phase 2) [MC1246003] 5 pexels icesky08 1294229](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-icesky08-1294229-150x150.webp)
