Coder Social home page Coder Social logo

resultset displaying issue about dbeaver HOT 6 OPEN

skriszo avatar skriszo commented on June 8, 2024
resultset displaying issue

from dbeaver.

Comments (6)

ShadelessFox avatar ShadelessFox commented on June 8, 2024

Hello @skriszo,

Try disabling this option:
image

from dbeaver.

skriszo avatar skriszo commented on June 8, 2024

hi @ShadelessFox,
then I lose the possibility to fetch the records incrementally.
maybe it is a misunderstanding, but when I say "then DBeaver keeps fetching records endlessly", I mean that whenever I scroll down DBeaver fetches a new batch of records, but it never ends.
eg.: the table (or whatever I query from) contains only 25 rows, DBeaver does not stop at 25 (which would be the correct behaviour), but it fetches zillions of records.

from dbeaver.

ShadelessFox avatar ShadelessFox commented on June 8, 2024

I believe the RECURSIVE clause causes this. Try putting the LIMIT clause in the outer query.

from dbeaver.

skriszo avatar skriszo commented on June 8, 2024

@ShadelessFox, this query was just for demonstrative purposes, it behaves like this with simple select * from table as well.
and also, I am not the one who puts the LIMIT clause anywhere, but DBeaver. This is what this setting is for:
image

from dbeaver.

ShadelessFox avatar ShadelessFox commented on June 8, 2024

Sorry, I can't reproduce this exact scenario.

By default, DBeaver fetches rows until the entire screen is filled with data. This can be turned off as demonstrated here: #29930 (comment)

To be able to fetch next pages of data, you might need to enable such an option here:
image

So that you can access it from the toolbar:
image

from dbeaver.

skriszo avatar skriszo commented on June 8, 2024

well, according to my experience DBeaver fetches data until it reaches the record count that is set here (does not depend on window size):
image

yes, this Fetch Next Page equals with scrolling down with Auto-fetch next segment turned on and the issue appears with this as well.
However, I tried the same thing with an Oracle connection and it worked fine, so it is a Teradata related bug. Also what I noticed as a difference:
image
even with this setting turned on
image
with an Oracle connection the queries do not get extended with FETCH FIRST x ROWS ONLY (this is the oracle syntax for LIMIT)
while with a Teradata connection they do get extended with TOP x (Teradata syntax for LIMIT)

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.