Pagination in datasets folder with more 100 datasets doesn't work
See original GitHub issueDescribe 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:
- Created 4 years ago
- Comments:6 (6 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @afranzi, thanks for reporting this. I was able to reproduce this issue on my end. I will work on a fix.
Let’s close this for now and track the page button issue separately in https://github.com/linkedin/datahub/issues/1563