
No row limit tables (table pagination)
In rare cases, folks want to scroll through more than 50k rows in the browser. Now these massive lists can be paginated, including pivots and row totals.
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
Um the All right. So, and another thing, um we've had this it's a longstanding request, but it's been escalated recently. So, I've got this table, normal table, small table. Let's say I limit it to 10 rows. Now, I've got this pageionation control on the bottom. Uh, and if I do this, it's actually running new queries like literally limit offset and it's paging through the table.
Um, this one. So, it's this. Oh, I'm on the table chart. Not to show. So, in the results tab, it's always on. In the chart, uh, it's only on if you enable it. So, any existing dashboards with tables hit the limit won't change. This isn't out yet. Could be clear. Um, but if you turn it on, you get this.
Uh, it works with pivots. So, you can page through pivots. Got to fix up that flashing thing. But this takes you back to page one. Thank you, Sarah, for all the designs here. Um, and then in SQL queries, this is I've made an artificially huge SQL query. Um, they page through at the default 50,000. Um, this makes it look really fast.
This is a very simple SQL query on Postgress, but same thing, we're paging through uh we and then if we go to the dashboard, did I leave it turned on? Oh, I think it turned on. Oh, no, there it is. It's funny chart. Uh, so it works on dashboards with the same mechanisms that the sorts do where it kind of like ephemerally puts something in the URL.
P through. P through. So fun. Do this all day. Uh I think that's it uh for pageionation. Um one more thing, Stephen, before you leave there. Yeah. Uh that just means that we now have no row limit, right? Yes. And no. So uh the um true I should have dwelled on this a little more. Um the there are still elements of row limiting.
So like uh yeah like there yes like there there are some things you still kind of want to know you hit the limit like and then al uh like if you have calculations like they just what is what are totals I'm assuming just behave the same way. It's just going to be across all these totals right now.
totals that that would probably be ideal. There are some internal implementations that complicate it. So totals if we have totals on we just disable pageionation. So when you have totals on page disabled you get a little thing here. Oh that's a bug that got left on the toggle should toggled off but it's off and you can't turn it on.
Um so that's yeah other and same thing subtotals disable it. I mean, row totals shouldn't cuz they're just Let me double check that actually works. No. And got disabled somehow. Maybe that's row total should allow it to work. There's no reason it shouldn't. And Stephen, does it just figure out kind of the the right number of rows to show or pageionate through or you said, "Oh, like are you asking like uh there's no there's no to like we don't know the total.
So we just kind of and it's just choosing 10 as the number here. Oh no, 10 is my limit, right? I put 10. So like this is this is a silly example because really They shouldn't. This is a tiny table like Yep. Got it. It's like a bug. Oh yeah. Find all kind of bugs in this live.
It's not released yet, but this should have it's disabled. This should have just gone away. Changing. Yeah. Go ahead. One other quick question on the um the summaries. Are those are are we just doing it for every query now or is it No. No. Good question. Figuring out kind of how the AI is basically deciding this. It's sending back a flag like does this query kind of call for interpretation or sorry does this user request call for some interpretation or is it just are they just asking for a chart if all they did was ask for a chart it just gives you a chart but it's figuring out essentially that got it thanks for ahead the pageionation stuff just how does it interact with the
re variable cache uh pageionate pageionation. How does pagionation interact with the queryable cache? Um it it should do the expected thing um unless there's a bug. So like if I have this and then I drop down to limit 20 and yeah so the client requery. Yeah. So like if I have a larger result in requerable cache and pagionate through you'll see it right it's it's it's hitting the offset um like it's it's it is requiring the bigger result set with these offset slices.
So, but it doesn't it doesn't concat like if you page through 10. No, it won't. Yeah, it's not doing anything super fancy like concing these limit 20s together into like a super result set that can then be required. I was more curious. Very cool. Yeah. Um, any more question? It looks like it looks like that is when you pageionate it is updating the query URL.
So if you will get to the page that you're on, right? Yes. Same thing with the dashboards and the pageionation on the dashboards not in edit mode. Yeah. You it's it's in the URL. Yeah. You probably want to be careful because I think if you were to publish this that this would end up on the dashboard. So it's kind of like Yeah.
I mean you know that maybe you want that. You probably don't. Um all right. Sorry. Last