Skip to content

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

Merged
tswast merged 4 commits intogoogleapis:masterfrom
tswast:b131167013-time-partitioning-type
May 9, 2019
Merged

Prevent error when time partitioning is populated with empty dict#7904
tswast merged 4 commits intogoogleapis:masterfrom
tswast:b131167013-time-partitioning-type

Conversation

@tswast
Copy link
Copy Markdown
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