DataGrip 2023.1 is here! This release cycle is very special – it’s all about quality, which means we have been resolving the bugs that have accumulated in our public issue tracker. Let’s take a look at what we’ve managed to fix!
DataGrip can also add a space between the EXISTS
keyword and the left
parenthesis which can be toggled with a new setting. If you want to preserve the old
Formatter behavior (without the space), you can change the Space after keyword
setting to No in Preferences | Editor | Code Style | SQL (Queries tab).
WINDOW
clause is now supported.
LAG
and LEAD
functions have been fixed.
FOR UPDATE
in nested queries is now supported.
ENCRYPTION
syntax is now supported.
EXCLUDE
constraints correctly.
UNNEST
queries now works correctly.
EPHEMERAL
columns, INTERSECT
, and EXCEPT
clauses are now supported.
Oracle: We’ve implemented several improvements to speed up introspection on Level 1, especially when the fast internal catalog is used.
Check whether you have already been granted the SELECT_CATALOG_ROLE
and the SELECT ANY DICTIONARY
permission. This gives you access to
the Oracle internal catalog and makes introspection much faster, because Oracle
conventional catalogs are quite slow.
Learn more about Oracle introspection.
ROW_FORMAT
clause/syntax is now supported.
REFERENCING
clause, the trigger’s DDL is generated
correctly.
ENUM
column.
JSON
columns are now supported.
TIMESTAMP
values is no longer lost.
CREATE PROCEDURE
and CREATE FUNCTION
now end with
";" – as expected.
IN (...)
if there are more than 10 has been fixed.
%TYPE
are reported as warnings.
COUNT
).
If the Specify next value for sequences option is not enabled, DataGrip
generates the DDL of the sequence, adding the start value to the
START WITH start_value
.
When the Specify next value for sequences option is enabled, DataGrip adds the next value that the sequence should have to the DDL, with a few differences for the following databases:
RESTART WITH
clause in the CREATE
and ALTER
statements.
START WITH
clause in the CREATE
statement. The start
value is specified in the START WITH
clause, and the next value is
in the RESTART WITH
clause in the ALTER
statement.
START WITH
clause in the CREATE
statement. The next
value is specified in the RESTART WITH
clause in the ALTER
statement (changing the start value is not allowed in Db2).