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.

Pagination in datasets folder with more 100 datasets doesn't work

See original GitHub issue

Describe the bug We are testing the Datahub solution having a dataset folder with more than 100 datasets.

The API call

http://our_host:9001/api/v2/browse?type=dataset&path=/prod/dwh/public&count=100&start=0

And the response:

   "elements": ...
   "start":0,
   "count":320,
   "total":320,
   "metadata":{ 
      "totalNumEntities":320,
      "path":"/prod/dwh/public",
      "groups":[ 

      ]
   }

It seems that the count field is wrong since it’s using the total value instead of the current page.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
keremsahin1commented, Feb 18, 2020

Hi @afranzi, thanks for reporting this. I was able to reproduce this issue on my end. I will work on a fix.

0reactions
mars-lancommented, Mar 8, 2020

Let’s close this for now and track the page button issue separately in https://github.com/linkedin/datahub/issues/1563

Read more comments on GitHub >

github_iconTop Results From Across the Web

Pagination in userownership-datasets view doesn't work #1563
It seems that the userownership-datasets view pagination doesn't work. It shows the proper number of pages but it doesn't trigger any action.
Read more >
The best database pagination technique is … | by Matej Bačo
Pagination is a strategy employed when querying any dataset that holds more than just a few hundred records. Thanks to pagination, we can...
Read more >
Pagination with Huge Datasets — DataTables forums
I have a Database with more than 10000 Dataset, that I should listed. If a user use this list, the Server sends all...
Read more >
Allow for proper paging through large datasets - Idea
Our parallel data warehouse DB can pull the top 100 rows of a filtered result set from a 14 billion row table in...
Read more >
How to make pagination working? - dynatable - Stack Overflow
I've too got the same issue, after going through the source found out this. pages = Math.ceil(settings.dataset.queryRecordCount / settings.dataset.perPage).
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