-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(catalog): Add pagination for list table operation across differe…
…nt catalog types (#306) ## **Goal** To support pagination for ListTables method. Similar to `ListViews` operation in PR #290. We need to change the method interface in `catalog.go` , cascading changes into `glue.go` and `sql.go`. I'm not sure about the pagination in `sql.go` so I write a wrapper to convert the existing function to iter.Seq2[] type ## **TODO**: - [ ] Get alignment on the wrapper of `ListTables` method in `sql.go` - [ ] Add more test for sql.go and glue.go once the first point is aligned --------- Signed-off-by: dttung2905 <[email protected]>
- Loading branch information
1 parent
281e62d
commit 6c4e87b
Showing
8 changed files
with
508 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.