-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
23.0.1 Freezes when Pasting Large Query in Data Export #19486
Comments
No, it's sql editor setting. I missed that you wrote about data export :) |
No problem 😃 For the time being I rolled back to the previous version until this is fixed. |
Unfortunately, we couldn't reproduce the issue from our side. |
Thanks for the response @Destrolaric It looks like that this was worked around in 23.0.2 and pasting the query doesn't cause any freeze in DBeaver. However, unlike previous versions, formatting does not take place. Here's what I mean when I'm saying "no formatting": I'm preparing my queries in Microsoft Excel so that I kind of automating based on today's date. Since, this concatenation spans between two lines, Excel put a double quote at the beginning and the end for the concatenated string, such as:
In versions prior to 23.0.1, when I was pasting the above, double quotes were removed automatically. In 23.0.1 pasting was causing DBever to freeze. In 23.0.2, pasting the above will get pasted as plain text and I have to remove manually the double quotes. However, no freezing is observed. |
Hello @Destrolaric Unfortunately, the issue occurred in 23.0.2 as well. Pasting the 2nd query, while the task was running, caused a freeze in DBeaver. I have sent to your email the logs as well as the queries used in the task. Thank you |
@valsamis-d Hi, as I understand, custom Java is used. I saw multiple errors with third-party plugins(CodeTogether) and eclipse plugins requiring Java 17. Could you try using Java 17? |
@Destrolaric I'm using the portable version of DBeaver, which, if I'm not mistaken, comes with Java JRE included in the distribution. In "DBeaverPortable\jre\release" I see :
Could it be that another version of Java is used? Thank you |
Sorry, I have looked once again. Java 17 is present in the most recent log entries. But there are still errors with dependencies. Could you try to uninstall the codetogether and try without it.
|
@Destrolaric tried after first removing CodeTogether and DarkestDarkTheme and I'm getting into the same situation. Have you noticed in "dbeaver-debug.log" the following exception:
It looks related to the issue I'm having. Unfortunately, I have to roll back to 23.0.0 which works flawlessly and with CodeTogether and DarkestDarkTheme enabled |
@valsamis-d We were able to reproduce the issue in the different DBeaver components. Thank you for the information. |
Great news, @Destrolaric! Glad I was able to help 😌 |
@Destrolaric it's great to see this being closed 😃 Is the fix included in today's build or I should wait 23.0.4? |
@valsamis-d By the branch status, it looks like the fix is included in this release. You could try it in the today's build |
@Destrolaric it looks like that the issue persists in 23.0.3 or better, I'm seeing the same behavior as in 23.0.2: not SQL formatting & occasional freezes. In versions prior to 23.0.1 when I was pasting from Excel to DBeaver export SQL, the was automatic formatting accompanied by a notification: with the result being a formatted SQL statement: In 23.0.1 DBeaver was non-responsive as soon as I was pasting and in 23.0.2 and 23.0.3 the SQL statement was not formatted and there was no formatting notification: Can you please check if the fix was indeed included in 23.0.3? For the time being, I'm back to 23.0.0. |
Hello @valsamis-d, I'm quite confused. Do you claim that DBeaver still occasionally freezes? In regards to the auto-formatting feature, it was disabled by default in recent updates. It can be enabled back in the preferences: |
@ShadelessFox and @Destrolaric my mistake here... Sorry for the false alarm guys :( I forgot to delete the portable directory before installing (copying, actually) 23.0.3 portable. Everything looks just fine with 23.0.3 :) |
@matiasgarcia your issue probably has something to do with #29996 |
Description
After installing 23.0.1 (portable) when I try to paste the following, Dbeaver freezes and I can only force terminate it:
The SELECT query is an one-liner 1182 characters log
DBeaver Version
23.0.1
Operating System
Windows 10 Enterpise 21H2 19044.2006
Database and driver
DB2
JDBC 11.5.7.0-FP000
Steps to reproduce
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: