-
Notifications
You must be signed in to change notification settings - Fork 999
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Infer min and max timestamps from entity_df to limit data read from B…
…Q source (#1665) * filter data read by timestamp inferred from entity_df when querying BQ source Signed-off-by: Mwad22 <[email protected]> * timestamps inferred in SQL query rather than from pandas df when querying BQ source Signed-off-by: Mwad22 <[email protected]> * timestamps inferred in separate SQL query to avoid recomputin, and keep retrieval query simple Signed-off-by: Mwad22 <[email protected]> * Added an integration test for _get_entity_df_timestamp_bounds Signed-off-by: Mwad22 <[email protected]> * Linted and reformatted after merge conflict Signed-off-by: Mwad22 <[email protected]> * removed redundant function upload_entity_df_into_bigquery from historical retrieval test Signed-off-by: Mwad22 <[email protected]> * Explicitly set retrieved timestamps to same timezone when testing min/max timestamp inference Signed-off-by: Mwad22 <[email protected]> * typo fix, comparing object references instead of values Signed-off-by: Mwad22 <[email protected]> * fixed python linter issues, should be good to go Signed-off-by: Mwad22 <[email protected]>
- Loading branch information
Showing
2 changed files
with
65 additions
and
6 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