Skip to content
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

Prevent error when time partitioning is populated with empty dict #7904

Merged
merged 4 commits into from
May 9, 2019

Conversation

tswast
Copy link
Contributor

@tswast tswast commented May 8, 2019

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.

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.
@tswast tswast requested a review from a team May 8, 2019 20:08
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label May 8, 2019
@tswast tswast merged commit 1b2c6f8 into googleapis:master May 9, 2019
@tswast tswast deleted the b131167013-time-partitioning-type branch May 9, 2019 00:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants