-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Bigtable column family snippets #7014
Bigtable column family snippets #7014
Conversation
Moved re after END tag to avoid confusion.
bigtable/docs/snippets_table.py
Outdated
|
||
|
||
def test_bigtable_create_MaxVersionsGCRule(): | ||
# [START bigtable_create_MaxVersionsGCRule] |
There was a problem hiding this comment.
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
bigtable/docs/snippets_table.py
Outdated
|
||
|
||
def test_bigtable_create_MaxAgeGCRule(): | ||
# [START bigtable_create_MaxAgeGCRule] |
There was a problem hiding this comment.
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
bigtable/docs/snippets_table.py
Outdated
assert column_family_id not in column_families | ||
|
||
|
||
def test_bigtable_create_MaxVersionsGCRule(): |
There was a problem hiding this comment.
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)
bigtable/docs/snippets_table.py
Outdated
|
||
|
||
def test_bigtable_create_GCRuleUnion(): | ||
# [START bigtable_create_GCRuleUnion] |
There was a problem hiding this comment.
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
bigtable/docs/snippets_table.py
Outdated
|
||
|
||
def test_bigtable_create_GCRuleIntersection(): | ||
# [START bigtable_create_GCRuleIntersection] |
There was a problem hiding this comment.
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
…ogle-cloud-python into bigtable_colfamily_snippets
Tests passed fine against my account. Failing for quota here. |
No description provided.