Release Notes 4.18
The 4.18 release notes were released on October 30, 2026
Compatibility Matrix
System Requirement |
Details |
|---|---|
Supported OS |
RHEL 8.9 / 8.10 / 9.5 / 9.6 |
supported Nvidia driver |
CUDA version 12.3.2 / 12.6.1 / 12.9.1 / 13.0 |
Storage version |
102 |
New Features
► PIVOT ARRAY and PIVOT DISTINCT ARRAY accept a subquery in place of the list of values to pivot on. Please see PIVOT ARRAY with a value query.
► New SHOW_STUCK_UNLINKS utility function lists deleted files whose removal from disk has failed. Please see SHOW_STUCK_UNLINKS.
► Dictionary chunk skipping also covers TEXT columns whose values vary in length, and numeric and date columns compressed with P4D compression. For a chunk that is not skipped, only the rows that might match the filter are copied to the GPU (SQ-23331, SQ-23334, SQ-23373). Please see skipChunksUsingDictColumn.
► As of version 4.18.1, STOP_STATEMENT may also be run by the role that ran the statement, and no longer requires SUPERUSER. A role that is neither a superuser nor the statement’s owner is refused (SQ-23316). Please see STOP_STATEMENT.
► As of version 4.18.1, an IN list longer than inListJoinThreshold is compiled as an inner join, and now keeps chunk skipping on the listed column. The new inListJoinMaxMetadataFilters flag sets how many distinct values are kept as metadata filters, and inListJoinMaxMetadataRanges how many ranges are kept past that limit. A dense list of INT or DATE values is compiled as the range it spans, controlled by the new inListRangeMinValues, inListRangeMaxMissingPercent and inListRangeMissingMultiplier flags (SQ-23384). Please see Compiling IN Lists.
► As of version 4.18.1, the new aggregateBelowRank flag places an aggregation below a rank window function, so that the window sorts groups rather than rows. It is off by default (SQ-23633).
Known Issues
Using Grant operation on a specific UDF function fail.
Percentile is not supported for Window Functions
The Node.JS connector does not support ARRAY data types.
Version 4.18 resolved Issues
SQ No. |
Description |
|---|---|
SQ-20823 |
Data sorting query failed in particular circumstances |
SQ-22773 |
Files left in the table folder after DROP TABLE are now removed from disk |
SQ-22929 |
Improved performance of queries that keep a small number of rows from each chunk |
SQ-23036 |
Improved catalog table query performance |
SQ-23290 |
PIVOT ARRAY now accepts a subquery as its list of values |
SQ-23297 |
Deleted files are now removed from disk after a worker disconnects |
SQ-23331 |
Improved chunk skipping on TEXT columns, for consistent query performance |
SQ-23334 |
Further improved performance of queries that keep a small number of rows from each chunk |
SQ-23361 |
Metadata of deleted chunks is now cleaned up |
SQ-23372 |
Improved performance of queries running in parallel |
SQ-23373 |
Improved query performance on tables sorted with CLUSTER BY |
SQ-23590 |
Chunks cut down to their matching rows are now sized correctly, for consistent performance |
SQ-23698 |
(v4.18.0.1) Statements load only the permission metadata they need, reducing compile time |
SQ-23313 |
(v4.18.1) An ambiguous UNPIVOT ARRAY column name is now reported at the name itself |
SQ-23596 |
(v4.18.1) Improved ReadTable column compaction performance |
SQ-23602 |
(v4.18.1) Join filters now skip chunks by dictionary |
SQ-23610 |
(v4.18.1) Window lag and lead now return the correct value across chunk boundaries |
SQ-23643 |
(v4.18.1) Improved PIVOT compilation time on queries with many columns |
SQ-23644 |
(v4.18.1) PIVOT ARRAY with a value subquery now prunes chunks in both of its reads |
SQ-23649 |
(v4.18.1) Improved window function spool usage |
SQ-23752 |
(v4.18.1.1) Tuning flags that any user may set are reported by show_conf as tuning public |
Deprecation
► As of version 4.18.0, the enableLogDebug, endLogMessage, and useClientLog configuration flags are deprecated (SQ-23723). These flags are still accepted, but they have had no effect since earlier versions, and they will be removed in a future version. Remove them from your configuration files and scripts, because a SET statement that uses one of them will fail once it is removed. To control logging, use logClientLevel for the client log and logDebugLevel for the debug log. Please see Logging.
Upgrading to Version 4.18
Upgrading to this version requires an additional infrastructure, to support some of it’s functionality. The requirements are listed below. In addition, it is required to perform a storage upgrade according to the listed process.
Additional packages
Please see additional installation requirements for In-process functions in this page
Storage upgrade
► Running storage upgrade and metadata backup listed below are mandatory for this version
Generate a back-up of the metadata by running the following command:
select backup_metadata('out_path');Tip
SQreamDB recommends storing the generated back-up locally in case needed.
SQreamDB runs the Garbage Collector and creates a clean backup tarball package.
Shut down all SQreamDB services.
Copy the recently created back-up file.
Replace your current metadata with the metadata you stored in the back-up file.
Navigate to the new SQreamDB package bin folder.
Run the following command:
./upgrade_storage <levelDB path>
Note
Upgrading from a major version to another major version requires you to follow the Upgrade Storage step. This is described in Step 7 of the Upgrading SQreamDB Version procedure.