-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(ingest/tableau): apply page_size
regardless of object count
#12026
base: master
Are you sure you want to change the base?
fix(ingest/tableau): apply page_size
regardless of object count
#12026
Conversation
…://github.com/sid-acryl/datahub-fork into cus3379-tableau-ingestion-node-limit-exceeded
metadata-ingestion/src/datahub/ingestion/source/tableau/tableau.py
Outdated
Show resolved
Hide resolved
@@ -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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do you have a sense for why this code was added in the first place? should it be outright removed, or simply tweaked
I don't like removing code unless I understand why it was added in the first place
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure, @treff7es / @mayurinehate might be aware.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I confirm this change is safe to get in. It would have no adverse effects.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving given @mayurinehate's comment
page_size
regardless of object countpage_size
regardless of object count
No description provided.