DataGrip 2021.1 EAP Has Started!
If you’re interested in previewing what the year’s first release of DataGrip will include, here’s what you can already try.
We’ve reworked the connection window to make it more friendly.
- Drivers and data sources are now listed on two different tabs. The list of drivers won’t bother experienced users, while newcomers will not confuse them with data sources.
- Every driver’s page includes a Create data source button.
- The Test Connection button has been moved to the footer so that you can use it from any tab of the data source properties, not only the General and SSH/SSL tab as before.
- The DDL data source properties page has a drop-down list for choosing the dialect.
- The JDBC URL field can be expanded if the URL is really long.
We’ve added a UI for editing grants when modifying objects.
Editing grants per user will come in one of the next EAP builds.
We’ve improved the sorting of data:
- We added the ORDER BY field, and it works similar to the WHERE field (which was Filter field before): enter a working clause to have it applied to the query of the grid.
- The sorting is not ‘stacked’ by default. This means that if you click on a column name to sort data by, the sorting based on other columns will be cleared. If you would prefer to use stacked sorting, click a column name while holding the Alt key.
If you want to use sorting on the client side (DataGrip will not rerun the query nor sort the data within the current page), uncheck Sort via ORDER BY:
It’s also possible to open tables with predefined sorting based on the numeric primary key.
When you copy binary data that hasn’t been completely loaded yet, the following notification will be shown:
If you don’t want the data to be truncated, increase the value in Settings/Preferences | Database | Data Views | Maximum number of bytes loaded per value.
When you export to Excel, the resulting file will contain the query on a separate sheet.
When you import a CSV file, the option to clarify that the first row is a header is now available in the context menu as shown below:
Now there is an option to always transpose the result if it contains a single row.
The default layout of the database explorer has been changed, with non-major objects now available under a dedicated node. Most of the time people work with tables, views, and routines, whereas seeing users, roles, tablespaces, foreign data wrappers, and many other types of objects is not high on their list of priorities. So, these secondary objects are now hidden under two nodes, Server Objects and Database Objects.
Also, for Oracle there is an option to show or hide auto-generated objects in the tree, including the following:
- Materialized view logs
- The underlying tables for materialized views
- Secondary tables
New types of objects – functions, modules, and virtual columns – are introspected for SQLite.
Queries parsing for unsupported databases
We’ve introduced a new setting for using unsupported databases. When working with these databases in DataGrip, you’ll need to use either the SQL:2016 or Generic dialect. Generic is almost identical to SQL:2016, with the only difference being that all found errors are not highlighted.
To access the setting, go to Preferences | Database | General | Split a script for execution in Generic and ANSI SQL dialects. The following values are available to choose from:
On valid ANSI SQL statements or by separator – this is the default setting that is suitable for the majority of cases. In other words, we’ll do our best to understand what you want to run.
On ANSI SQL Statements – split statements as before. The logic is based only on what DataGrip considers valid based on SQL:2016 grammar.
By statement separator – extract and run statements by separators. Use it if the first option didn’t do the job. For GenericSQL, the separator is a semicolon. Please note it is no longer possible to set a custom separator.
Here are some of the problems we’ve resolved:
- Many users have reported a problem with running CTEs. This should have been partially mitigated when Generic grammar was upgraded from SQL:92 to SQL:2016, but On valid ANSI SQL statements or by separator option still helps with complex CTEs. Another example of the statement which will work with this option is the unusual MERGE statement.
- The On valid ANSI SQL statements or by separator option also helps run things that aren’t statements at all in SQL:2016 grammar, such as for example show databases;.
That’s all for this EAP build of DataGrip 2021.1. You are welcome to give us feedback using our Twitter or forum. We also have a simple way for you to quickly report issues straight from DataGrip, click Help -> Report problem… to create a new issue in our issue tracker.
Your DataGrip team
Subscribe to Blog updates
Thanks, we've got you!
DataGrip 2023.2: New UI with toolbar icons in the header, AI Assistant, time zones in the data editor, support for Redis Cluster
DataGrip 2023.2 is out!Here’s a sneak peek at what it has to offer. For a detailed description of this update, please visit our What’s New page. User Interface New UI: The toolbar icons have been moved to the header Improved main toolbar customization Light theme with light …
DataGrip 2023.2 EAP 2: Redis Cluster, New Schema Migration Dialog and More
Hello, DataGrip community! The second Early Access Program version for DataGrip 2023.2 is here. If you want to try the new features before the official release, this post is for you! Support for Redis Clusters Now you can connect to Redis Clusters and have the same feature set as with standalo…
DataGrip 2023.2 EAP is Open!
Hello! We are starting our EAP (Early Access Program) for 2023.2 and, as usual, we're inviting you to try the latest features and improvements we’re adding to DataGrip ahead of the official release. Let's look at what's inside the first EAP build. New UI The new UI is now enabled by d…
Nextсloud Performance Hacks with EverSQL and DataGrip
Hi, I'm Pasha. In my everyday life, I'm a Developer Advocate for data engineering, but by night, I'm a geek. Like, a really geeky geek! I have used Linux since 2009 as my primary OS (BTW I use Arch). If possible, I always prefer to host everything I use. So if you decide to drop me an email at me@as…