Skip to content

Commit

Permalink
Merged release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
nanimal-fb committed Nov 14, 2024
1 parent 0b574ff commit 6249dd1
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 19 deletions.
4 changes: 3 additions & 1 deletion docs/Reference/release-notes/release-notes-archive.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ We provide an archive of release notes for your historical reference.
* Topic ToC
{:toc}

{% include release_notes/release_notes_4_8.md %}

{% include release_notes/release_notes_4_7.md %}

{% include release_notes/release_notes_4_6.md %}
Expand Down Expand Up @@ -226,7 +228,7 @@ cast(a as array(int)).
<!--- FIR-32252 --->**Postgres-compliant Cast**
{: style="color:red;"}

Casts now behave the same across the product and adhere to the list of supported casts. Some usages of casts (explicit, implicit, or assignment cast) that were previously allowed are no longer supported and now result in errors. For more details on list of supported casts, see the documentation [here](https://docs.firebolt.io/sql_reference/data-types.html#type-conversion).
Casts now behave the same across the product and adhere to the list of supported casts. Some usages of casts (explicit, implicit, or assignment cast) that were previously allowed are no longer supported and now result in errors. For more details on list of supported casts, see the documentation [here](../../sql_reference/data-types.md#type-conversion).

### Enhancements, changes and new integrations
{: style="color:black;"}
Expand Down
4 changes: 2 additions & 2 deletions docs/Reference/release-notes/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ Firebolt continuously releases updates so that you can benefit from the latest a
- 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.
Firebolt might roll out releases in phases. New features and changes may not yet be available to all accounts on the release date shown.

{% include release_notes/release_notes_4_8.md %}
{% include release_notes/release_notes_4_9.md %}
30 changes: 14 additions & 16 deletions docs/_includes/release_notes/release_notes_4_8.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# Firebolt Release Notes - Version 4.8
## DB version 4.8

## New Features
### New Features

<!-- Auto Generated Markdown for FIR-36620 - Owned by Pascal Schulze -->
### Introduced new bitwise shift functions `BIT_SHIFT_RIGHT` and `BIT_SHIFT_LEFT`
**Introduced new bitwise shift functions `BIT_SHIFT_RIGHT` and `BIT_SHIFT_LEFT`**
The following bitwise shift functions are now supported:
* `BIT_SHIFT_RIGHT` shifts the bits of a number to the right by a specified number of positions, which effectively divides the number by `2` for each position shifted.
* `BIT_SHIFT_LEFT` shifts the bits of a number to the left by a specified number of positions, which effectively multiples the number by `2` for each position shifted.


<!-- Auto Generated Markdown for FIR-35769 and FIR-35770 - Owned by Demian Hespe -->
### Introduced new trigonometric functions `ACOS`, `ATAN`, `ASIN`, `COS`, `COT`, `TAN`, `DEGREES`, and `PI`
**Introduced new trigonometric functions `ACOS`, `ATAN`, `ASIN`, `COS`, `COT`, `TAN`, `DEGREES`, and `PI`**
The following trigonometric functions are now supported:
* `ACOS` calculates the arccosine of a value in radians.
* `ATAN` calculates the arctangent of a value in radians.
Expand All @@ -21,35 +21,33 @@ The following trigonometric functions are now supported:
* `DEGREES` converts a value in radians to degrees.
* `PI` returns π as a value of type `DOUBLE PRECISION`.


<!-- Auto Generated Markdown for FIR-37293 - Owned by Mosha Pasumansky -->
### Introduced the `timezone` query-level setting with `time_zone` as an alias
**Introduced the `timezone` query-level setting with `time_zone` as an alias**
Added the `timezone` query-level setting. The previous `time_zone` query setting still works, and is now an alias for `timezone`.


<!-- Auto Generated Markdown for FIR-35668 - Owned by Kfir Yehuda -->
### Introduced new `PERCENTILE_CONT` and `MEDIAN` aggregate functions
**Introduced new `PERCENTILE_CONT` and `MEDIAN` aggregate functions**
Added the following aggregate functions:
* `PERCENTILE_CONT` calculates a specified percentile of values in an ordered dataset.
* `MEDIAN` returns the median of a given column. It is equivalent to `PERCENTILE_CONT(0.5)`: half the values in the column are smaller, and half are bigger than the returned value. If the number of values in the column is even, `MEDIAN` returns the arithmetic mean of the two middle values.


### Added support to meet HIPAA regulations for health information
**Added support to meet HIPAA regulations for health information**
Added [support to meet federal HIPAA regulations](../../Overview/security#hipaa-compliance) to ensure the confidentiality, integrity, and availability of electronic protected health information within the Firebolt platform.

## Performance Improvements

### Performance Improvements

<!-- Auto Generated Markdown for FIR-36922 - Owned by Ori Brostovski -->
### Improved expression comparison logic within queries
**Improved expression comparison logic within queries**
Improved expression comparison logic to better recognize identical expressions within queries. This enhancement supports a broader range of queries and boosts the overall quality of query plans.


<!-- Auto Generated Markdown for FIR-37388 - Owned by Arsenii Krasikov -->
### Improving cold reads by reducing the amount of Amazon S3 requests needed to load data
**Improving cold reads by reducing the amount of Amazon S3 requests needed to load data**
Improved the performance of cold reads by minimizing the number of Amazon S3 requests required to load data. In the case of tiny tablets, this improvement lead to a 50% improvement in performance.

## Bug Fixes

### Bug Fixes

<!-- Auto Generated Markdown for FIR-37268 - Owned by Zhen Li -->
### Fixed a bug preventing view creation with type conversions to array types
**Fixed a bug preventing view creation with type conversions to array types**
Fixed an issue that prevented users from creating database views that involve type conversion to array types.
32 changes: 32 additions & 0 deletions docs/_includes/release_notes/release_notes_4_9.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Firebolt Release Notes - Version 4.9

### New Features

<!-- Auto Generated Markdown for FIR-37875 - Owned by Benjamin Wagner -->
**Added the `enable_result_cache` setting for controlling query result caching during benchmarking**

You can set `enable_result_cache` to `FALSE` to disable the use of Firebolt's result cache, which is set to `TRUE` by default. Disabling result cashing can be useful for benchmarking query performance. When `enable_result_cache` is disabled, resubmitting the same query will recompute the results rather than retrieving them from cache. For more information, see [Result Cache]({% link Reference/system-settings.md %}#result-cache).

**Added `LAG` and `LEAD` support for negative offsets.**

The second parameter in both [LAG]({% link sql_reference/functions-reference/window/lag.md %}) and [LEAD]({% link sql_reference/functions-reference/window/lead.md %}) can now accept negative numbers. Given a negative number, a `LAG` will become a `LEAD` and vice versa. For example, `LAG(x,-5,3)` is the same as `LEAD(x,5,3)`.

### Performance Improvements

<!-- FIR-37296 - Owned by Timo Kersten -->
**Faster string searches for case-insensitive simple regular expressions in `REGEXP_LIKE`**

Simple regular expressions in [REGEXP_LIKE]({% link sql_reference/functions-reference/string/regexp-like.md %}) with case-insensitive matching, using the `i` flag, now use the same optimized string search implementation as [ILIKE]({% link sql_reference/functions-reference/string/ilike.md %}), achieving up to three times faster runtimes in observed cases.


### Bug Fixes

<!-- FIR-37296 - Owned by Pascal Schulze -->
**Empty character classes in regular expressions**

Fixed a rare case where empty character classes were mistakenly interpreted as valid character classes instead of being treated as raw characters. In cases like `[]a]`, the expression is now correctly interpreted as a pattern that matches any single character from the list `]a`, rather than treating `[]` as an empty character class followed by `a]`.

<!-- FIR-37296 - Owned by Pascal Schulze -->
**Trailing backslash in regular expressions**

Fixed a rare case where invalid regular expressions with a trailing backslash `\` were accepted.

0 comments on commit 6249dd1

Please sign in to comment.