Skip to content

Bigtable column family snippets#7014

Merged
crwilcox merged 19 commits intogoogleapis:masterfrom
sangramql:bigtable_colfamily_snippets
Mar 12, 2019
Merged

Bigtable column family snippets#7014
crwilcox merged 19 commits intogoogleapis:masterfrom
sangramql:bigtable_colfamily_snippets

Conversation

@sangramql
Copy link
Copy Markdown
Contributor

No description provided.

@sangramql sangramql requested a review from crwilcox as a code owner December 21, 2018 12:02
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Dec 21, 2018
@sangramql
Copy link
Copy Markdown
Contributor Author

@tseaver @sduskis @AVaksman
Please review the updated PR.

@crwilcox crwilcox requested a review from tseaver December 21, 2018 18:21
@tseaver tseaver added api: bigtable Issues related to the Bigtable API. type: docs Improvement to the documentation for an API. labels Jan 3, 2019
@JustinBeckwith JustinBeckwith added the 🚨 This issue needs some love. label Feb 7, 2019
@yoshi-automation yoshi-automation added 🚨 This issue needs some love. and removed 🚨 This issue needs some love. labels Feb 7, 2019
@sduskis sduskis added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Feb 28, 2019
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Feb 28, 2019


def test_bigtable_create_MaxVersionsGCRule():
# [START bigtable_create_MaxVersionsGCRule]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use bigtable_create_family_gc_max_versions



def test_bigtable_create_MaxAgeGCRule():
# [START bigtable_create_MaxAgeGCRule]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use bigtable_create_family_gc_max_age

assert column_family_id not in column_families


def test_bigtable_create_MaxVersionsGCRule():
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For consistency with other samples, can you put these in the following order and use these column family names:
cf1 with MaxAge GC Rule
cf2 with Max Versions GC Rule
cf3 with union GC rule
cf4 with Intersection GC rule
cf5 with a Nested GC rule (could you add this one similar to this sample https://github.com/GoogleCloudPlatform/python-docs-samples/blob/18f766ab2e84ea106c2fbedec2382f2061204934/bigtable/tableadmin/tableadmin.py#L151)



def test_bigtable_create_GCRuleUnion():
# [START bigtable_create_GCRuleUnion]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use bigtable_create_family_gc_union



def test_bigtable_create_GCRuleIntersection():
# [START bigtable_create_GCRuleIntersection]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use bigtable_create_family_gc_intersection

@crwilcox crwilcox added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Mar 8, 2019
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Mar 8, 2019
@crwilcox crwilcox added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Mar 8, 2019
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Mar 8, 2019
@crwilcox crwilcox added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Mar 9, 2019
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Mar 9, 2019
@crwilcox
Copy link
Copy Markdown
Contributor

crwilcox commented Mar 9, 2019

Tests passed fine against my account. Failing for quota here.

@crwilcox crwilcox requested a review from billyjacobson March 9, 2019 01:26
@crwilcox crwilcox removed the 🚨 This issue needs some love. label Mar 9, 2019
@yoshi-automation yoshi-automation added the 🚨 This issue needs some love. label Mar 9, 2019
@crwilcox crwilcox added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Mar 12, 2019
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Mar 12, 2019
@crwilcox crwilcox merged commit 58b7c3b into googleapis:master Mar 12, 2019
parthea pushed a commit that referenced this pull request Nov 22, 2025
* add conditional row snippets
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: bigtable Issues related to the Bigtable API. cla: yes This human has signed the Contributor License Agreement. 🚨 This issue needs some love. type: docs Improvement to the documentation for an API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants