Skip to content

Commit

Permalink
update release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
molly-firebolt committed Nov 17, 2023
1 parent f25d012 commit 7bc4092
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 13 deletions.
28 changes: 16 additions & 12 deletions docs/release-notes/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,21 @@
layout: default
title: Release notes
description: Latest release notes for the Firebolt data warehouse.
nav_order: 2
parent: General reference
nav_order: 1
has_toc: false
has_children: true
has_children: false
---

# Release notes

Firebolt continuously releases updates so that you can benefit from the latest and most stable service. These updates might happen daily, but we aggregate release notes to cover a longer time period for easier reference. The most recent release notes from the latest version are below. See the [Release notes archive](../release-notes/release-notes-archive.md) for earlier-version release notes.
Firebolt continuously releases updates so that you can benefit from the latest and most stable service. These updates might happen daily, but we aggregate release notes to cover a longer time period for easier reference. The most recent release notes from the latest version are below.

<!--- See the [Release notes archive](../release-notes/release-notes-archive.md) for earlier-version release notes. -->

{: .note}
Firebolt might roll out releases in phases. New features and changes may not yet be available to all accounts on the release date shown.


## DB version 3.29
**October 2023**

Expand All @@ -25,23 +27,25 @@ Firebolt might roll out releases in phases. New features and changes may not yet

<!--- FIR-25082 ---> **EXPLAIN ANALYZE now available for detailed query metrics**

You can now use the [EXPLAIN command](../sql-reference/commands/explain.md) to execute `EXPLAIN (ANALYZE) <select statement>` and get detailed metrics about how much time is spent on each operator in the query plan, and how much data it processes. The query plan shown there is the physical query plan, which you can inspect using `EXPLAIN (PHYSICAL) <select statement>` without executing the query. It shows how query processing is distributed over the nodes of an engine.
You can now use the [EXPLAIN command](../../sql-reference/commands/explain.md) to execute `EXPLAIN (ANALYZE) <select statement>` and get detailed metrics about how much time is spent on each operator in the query plan, and how much data is processed. The query plan shown there is the physical query plan, which you can inspect using `EXPLAIN (PHYSICAL) <select statement>` without executing the query. It shows how query processing is distributed over the nodes of an engine.


### Enhancements, changes and new integrations

<!--- FIR-25636 ---> **PERCENTILE_CONT and PERCENTILE_DISC now return PG-compliant results**
<!--- FIR-25636 ---> **PERCENTILE_CONT and PERCENTILE_DISC now return Postgres-compliant results**

[PERCENTILE_CONT](../sql-reference/functions-reference/percentile-cont.md) for decimal input now returns DOUBLE instead of DECIMAL
[PERCENTILE_CONT](../../sql_reference/functions-reference/window/percentile-cont-window.md) for decimal input now returns DOUBLE PRECISION instead of NUMERIC data type.

<!--- FIR-24362 ---> **Virtual column 'source_file_timestamp' uses new data-type**
<!--- FIR-24362 ---> **Virtual column 'source_file_timestamp' uses new data type**

The virtual column `source_file_timstamp` has been migrated from the data type `DateTime/Timestamp` (legacy timestamp type without time zone) to the type `TimestampTz` (new timestamp type with time zone)
The virtual column `source_file_timstamp` has been migrated from the data type `TIMESTAMP` (legacy timestamp type without time zone) to the type `TIMESTAMPTZ` (new timestamp type with time zone).

Despite the increased resolution, the data is still in second precision as AWS S3 provides them only as unix seconds
Despite the increased resolution, the data is still in second precision as AWS S3 provides them only as unix seconds.

You must now use `source_file_timestamp - now()` instead of `date_diff('second', source_file_timestamp, now())`
Use `source_file_timestamp - NOW()` instead of `DATE_DIFF('second', source_file_timestamp, NOW())`

<!--- FIR-10514 ---> **New function added**

A new function [ARRAY_TO_STRING](../sql-reference/functions-reference/array-to-string.md) has been added as an alias to [ARRAY_JOIN](../sql-reference/functions-reference/array-join.md)
A new alias `ARRAY_TO_STRING` has been added to function [ARRAY_JOIN](../sql-reference/functions-reference/array-join.md).


43 changes: 42 additions & 1 deletion docs/sql-reference/functions-reference/array-join.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,45 @@ parent: SQL functions

# ARRAY\_JOIN

Synonym for [ARRAY_TO_STRING](array-to-string.md).
Concatenates an array of `TEXT` elements using an optional delimiter. If no delimiter is provided, an empty string is used instead.

**Synonym:** `ARRAY_TO_STRING`

## Syntax
{: .no_toc}

```sql
ARRAY_JOIN(<array>[, <delimiter>])
```

## Parameters
{: .no_toc}

| Parameter | Description | Supported input types |
| :------------- | :------------------------------------ |:---------|
| `<array>` | An array to be concatenated | `ARRAY TEXT` |
| `<delimiter>` | The delimiter used for concatenating the array elements | `TEXT` |

## Return Type
`TEXT`

## Example
{: .no_toc}

In the example below, the three elements are concatenated with no delimiter.

```sql
SELECT
ARRAY_JOIN([ '1', '2', '3' ]) AS levels;
```

**Returns**: `123`

In this example below, the levels are concatenated separated by a comma.

```sql
SELECT
ARRAY_JOIN([ '1', '2', '3' ], ',') AS levels;
```

**Returns**: `1,2,3`

0 comments on commit 7bc4092

Please sign in to comment.