Giter Site home page Giter Site logo

Comments (10)

serge-rider avatar serge-rider commented on May 15, 2024

Can't reproduce that (I don't have a Vertica instance for testing) but most likely it is Vertica driver-specific issue.
Does cancel not happen only for some particular long-running queries or for any query?
You can test it by running query like "SELECT SLEEP(10);"

from dbeaver.

wmorin avatar wmorin commented on May 15, 2024

Hi Serge,

I just try and it fail in the same way using "SELECT SLEEP(100)". I launch the query and click cancel, then it wait 100 second and the query result appear. It seems that it's not cancelling the request.

Maybe you can try to reproduce it using a docker Vertica instance :

docker run -d -p 5433:5433 sumitchawla/vertica

Then you can connect on port 5433 using:

host: <your docker ip>
port 5433:
username: dbadmin
password: dbadmin

from dbeaver.

serge-rider avatar serge-rider commented on May 15, 2024

Thank for idea, I'll try it.
However I suspect that Vertica driver just doesn't support query canceling.. Anyway I'll try to find some workaround.

from dbeaver.

wmorin avatar wmorin commented on May 15, 2024

It seems to be the same issue as reported in http://dbeaver.jkiss.org/forum/viewtopic.php?f=2&t=1783&p=4586&hilit=vertica#p4586

from dbeaver.

serge-rider avatar serge-rider commented on May 15, 2024

Still no luck with docker..

Anyhow - if this issue still bothers you - could you post a process thread dump when DBeaver hangs and cancel doesn't work?
To get the thread dump:

  • Find DBeaver process id (ps auxf | grep dbeaver)
  • Execute jstack <dbeaver-pid> > thread-dump.txt
  • Post file thread-dump.txt here

Thanks in advance

from dbeaver.

wmorin avatar wmorin commented on May 15, 2024

Hi Serge,

Happy to ear that you are on it. Find attached the dump after I hit cancel button.
Thank you fo your time. Let me know if I can help doing anything else.
thread-dump.txt

from dbeaver.

wmorin avatar wmorin commented on May 15, 2024

Hi Serge,
Was the thread dump useful? Let me know if I can be of any help.
And by way, thank you so much for the grid control redesign! It's gorgeous!

from dbeaver.

serge-rider avatar serge-rider commented on May 15, 2024

Hey.
Yes, dump was useful, thank you.
Vertica driver doesn't support statement cancellation.
Now I'm thinking about possible workarounds (e.g. connection close or thread interrupt). But I still don't have test environment with Vertica so this issue was postponed for a while.

from dbeaver.

wmorin avatar wmorin commented on May 15, 2024

Thank you Serge,
On my side, I try to contact HP Vertica support regarding this issue.

from dbeaver.

serge-rider avatar serge-rider commented on May 15, 2024

I'll close this issue as there is nothing I can do for now..

from dbeaver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.