Skip to content

Commit

Permalink
fix(ingest/tableau): apply page_size regardless of object count (#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
sid-acryl authored Dec 12, 2024
1 parent 93c8ae2 commit 47bd446
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -979,7 +979,6 @@ def get_filter_pages(query_filter: dict, page_size: int) -> List[dict]:
len(query_filter.keys()) == 1
and query_filter.get(c.ID_WITH_IN)
and isinstance(query_filter[c.ID_WITH_IN], list)
and len(query_filter[c.ID_WITH_IN]) > 100 * page_size
):
ids = query_filter[c.ID_WITH_IN]
filter_pages = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"site": "acryl",
"projects": ["default", "Project 2", "Samples"],
"extract_project_hierarchy": False,
"page_size": 10,
"page_size": 1000,
"ingest_tags": True,
"ingest_owner": True,
"ingest_tables_external": True,
Expand Down Expand Up @@ -673,7 +673,7 @@ def test_tableau_ingest_with_platform_instance(
"site": "acryl",
"platform_instance": "acryl_site1",
"projects": ["default", "Project 2"],
"page_size": 10,
"page_size": 1000,
"ingest_tags": True,
"ingest_owner": True,
"ingest_tables_external": True,
Expand Down

0 comments on commit 47bd446

Please sign in to comment.