-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent error when time partitioning is populated with empty dict (#7904
) * Prevent error when time partitioning is populated with empty dict As reported in internal bug 131167013, calling `table.time_partitioning` can sometimes fail with `KeyError: 'type'` when attempting to read this property on a non-partitioned table. * Add tests for TimePartitioning.from_api_repr * Remove unused imports * Speed up lint session by installing local deps inplace.
- Loading branch information
Showing
3 changed files
with
74 additions
and
4 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