question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Long "case when" query freeze dbeaver CE forever

See original GitHub issue

Executing CREATE OR REPLACE VIEW

  • Operating system (distribution) and version : Windows 10 build 18363

  • DBeaver version : 7.3.0 CE

  • Java version: 1.8

  • Database name and version : Vertica 9.2.1

  • Driver name :

  • Do you use tunnels or proxies (SSH, SOCKS, etc)?

Apps that only with long case when query, like the following, the dbeaver CE freeze forever

create or replace view v_name as
select f1,   f2, 
case when f3 <5   then 5    else 
case when f3 <=10 then 10 else
case when f3 <=15 then 15 else
case when f3 <=20 then 20 else
case when f3 <=25 then 25 else
case when f3 <=30 then 30 else
case when f3<=35 then 35 else
case when f3<=40 then 40 else
case when f3<=50 then 50 else
case when f3<=60 then 60 else
case when f3<=70 then 70 else
case when f3<=80 then 80 else
case when f3<=90 then 90 else
case when f3<=100 then 100 else
case when f3<=120 then 120 else
case when f3<=150 then 150 else
case when f3>150  then 999 end 
end end end end end end end end end end end end end end end end as ff, 
max(year(current_timestamp)) yy,
group by 1,2;

Grazie, Massimo

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:20 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
kseniiaguzeevacommented, Mar 1, 2021

I reproduced it in PostgreSQL too.

0reactions
uslsscommented, Jun 17, 2021

verified

Read more comments on GitHub >

github_iconTop Results From Across the Web

Hangs on long queries - DBeaver Forum • View topic
Using the standalone DBeaver 2.1.0 when I try to run long queries the UI hangs with the Read data dialog (Has the Run...
Read more >
DBeaver user guide
Query Manager is a view that shows the history of all SQL queries that DBeaver has executed during the current session. NOTE: The...
Read more >
Bug listing with status UNCONFIRMED as at 2022/12/12 00 ...
... Bug:385983 - "Nvidia GT240 X-server crash" status:UNCONFIRMED resolution: ... Bug:431028 - "app-misc/command-not-found - In case a command could not be ...
Read more >
PostgreSQL Bugs
17655, crash postgres by query, 10.19, Red Hat Enterprise Linux Server 7.8 (Maipo), 2022-10-20 ... to terminate a wal sender process may wait...
Read more >
Flush API | Elasticsearch Guide [8.5] | Elastic
To flush all data streams and indices, omit this parameter or use * or _all . Query parametersedit. allow_no_indices. (Optional, Boolean) ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found