Tsurugi 1.10.0 - Release Notes (en) #215
akirakw
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
1.10.0 Release Notes
Overview
Tsurugi 1.10.0 adds support for scalar subqueries, the
EXISTSoperator, and subqueries in theINclause as new SQL features.These features allow a wider range of queries required for practical application development to be expressed.
In addition to the above SQL enhancements, this version also adds support for extended use of the
VALUESclause (table value constructor) andSELECTstatements without aFROMclause.These features make it easier to work with data that does not depend on any specific table.
This version also expands the client library ecosystem by introducing Tsurugi Python DB-API, a client library compliant with Python DB-API 2.0 (PEP 249), the standard database connectivity API for Python.
Tsurugi Python DB-API enables easy integration with Python's rich data analysis and processing ecosystem.
In addition to standard database operations, it supports Tsurugi-specific transaction options, allowing full use of Tsurugi's unique capabilities.
This version also includes several important bug fixes and stability improvements.
We strongly recommend all users of previous versions to upgrade to this release.
New Features and Improvements
New Features and Improvements - SQL
SELECTclause orWHEREclause.EXISTSoperatorEXISTSoperator is used to check whether a subquery returns one or more rows. You can now write a subquery existence condition in theWHEREclause and similar positions.INclauseINclause, allowing the results of the subquery to be used as the condition in anINclause.INsubqueries cannot be used as operands of theORoperator, and they cannot be used insideNOT INorALLoperators. See the document referenced in the NOTE below for details.VALUESclause (table value constructor)VALUESclause was only available as part of anINSERTstatement. In this version, theVALUESclause can now be used as a table value constructor in any position.VALUESclause can return a single value, multiple columns, or multiple rows as a "table". This allows returning arbitrary tabular data without specifying a table, or calling functions and UDFs.SELECTstatement without aFROMclause (described in the next item) more natural to use.SELECTstatements without aFROMclauseFROMclause was required in everySELECTstatement. In this version,SELECTstatements without aFROMclause are supported. Internally, when theFROMclause is omitted, aVALUESclause that generates a table with one row and zero columns is implicitly added.Note
For detailed specifications and current restrictions on SQL features, see the following document in tsurugidb:
Note
This version does not support correlated subqueries, which reference columns of the outer query from within a subquery.
Note that scalar subqueries and the
EXISTSoperator used in theSELECTclause are often used as correlated subqueries.Support for correlated subqueries is planned for Tsurugi 1.11.0.
New Features and Improvements - Client
New Features and Improvements - UDF
APPLYoperator)APPLYoperator — the Tsurugi SQL extension syntax for invoking UDTFs.APPLYexecution. Stability during highly intensive processing and large-volume data processing has been significantly improved..desc.pb) has been added to the UDF plugin configuration definition file, which must be deployed. For details, see:udf-plugin-builder.Bug Fixes
Bug Fixes - SQL
BETWEENoperators,INoperators, or similar operators applied to columns aggregated byGROUP BYclauses or aggregate functions could result in an invalid error.Bug Fixes - Transaction
INSERTwithin the scan range of an OCC transaction, the commit could succeed without detecting a Serializable violation under certain conditions.Upgrade Notes
Client Compatibility List
Tsurugi 1.10.0 supports the following clients.
Please upgrade each client as needed when upgrading Tsurugi.
Important
For Tsurugi UDF, you must regenerate and redeploy UDF plugins using
udf-plugin-builder.Upgrade Procedure
For instructions on upgrading from previous versions, see:
Other Information
For a full list of changes in this version, see the Changelog:
For known issues and additional information about fixes in this version, see:
This discussion was created from the release 1.10.0.
Beta Was this translation helpful? Give feedback.
All reactions