GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Bigtable system tests passing against V2 endpoints by tseaver · Pull Request #1930 · googleapis/google-cloud-python

Conversation

@tseaver

@tseaver tseaver commented Jun 28, 2016

Copy link
Copy Markdown
Contributor

/cc @garye, @lesv, @sduskis, @tswast, @mbrukman, @jgeewax

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
tseaver added 7 commits June 28, 2016 13:23
@tseaver
Work around borked gRPC generation for g.longrunning.operations.
3467d99
See reopened #1918.
@tseaver
Revise Bigtable system tests to fit instance-based patterns.
784fe01
@tseaver
Plumb cluster 'location'/'serve_nodes' through instance creation.
024c7f3
Note that 'location' is a required argument for new instances:  we
need it to pass to the automatically-created cluster belonging to
a newly-created instance.

Non-default 'serve_nodes' can be passed in the automatically-created
cluster belonging to a newly-created instance.
@tseaver
CreateInstance operation name includes location.
5e85b5d
@tseaver
'Row/ColumnFamily._table' has '_instance'.
d2c9daf
@tseaver
V2 UpdateTable no longer returns operation.
a01d02e
@tseaver
'PartialRowData' no longer keeps 'committed' state.
9bdeef7
The 'PartialRowsData' has state:  'Table.read_row()' ensures it is in
the correct state before emitting the PRD.
@tseaver tseaver added the api: bigtable Issues related to the Bigtable API. label Jun 28, 2016
@tseaver tseaver assigned daspecster and dhermes Jun 28, 2016
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jun 28, 2016
garye
garye reviewed Jun 28, 2016
View reviewed changes
Comment thread gcloud/bigtable/client.py

:type location: string
:param location: location name, in form
``projects/<project>/locations/<location>``; used to

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@tseaver tseaver mentioned this pull request Jun 28, 2016
Implement Bigtable v2 API #1850
Closed
@tseaver
Typo fix.
893d451
Addresses:
#1930 (comment)
mbrukman
mbrukman reviewed Jun 28, 2016
View reviewed changes
Comment thread gcloud/bigtable/instance.py Outdated
authorization and a project ID.

:type location: string
:param location: location name, in form

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@tseaver
Switch to passing location ID, rather than full path, to instance.
d8a01c2
It can synthesize the path using its client's project ID.

Addresses:
#1930 (comment)
@tswast

tswast commented Jun 28, 2016

Copy link
Copy Markdown
Contributor

@tseaver Once this goes in, can you start a PyPi release? Then I will be able to update the code samples to use this version.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@tseaver

tseaver commented Jun 28, 2016

Copy link
Copy Markdown
Contributor Author

@tswast This PR is still targeting the 'bigtable-v2' feature branch. I also need to get the gcloud.bigtable.happybase code working, including its separate system tests, before merging the feature branch to master and making a release.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@tswast

tswast commented Jun 28, 2016

Copy link
Copy Markdown
Contributor

I get an error when I try to use the code from this branch.

$ python main.py swast-bigtable-examples my-cluster us-central1-c
D0628 14:22:01.934576886    6633 ev_posix.c:101]             Using polling engine: poll
Traceback (most recent call last):
  File "main.py", line 29, in <module>
    from gcloud import bigtable
  File "/usr/local/google/home/swast/src/gcloud-python/gcloud/bigtable/__init__.py", line 18, in <module>
    from gcloud.bigtable.client import Client
  File "/usr/local/google/home/swast/src/gcloud-python/gcloud/bigtable/client.py", line 34, in <module>
    from gcloud.bigtable._generated_v2 import (
  File "/usr/local/google/home/swast/src/gcloud-python/gcloud/bigtable/_generated_v2/bigtable_instance_admin_pb2.py", line 6, in <module>
    from google.protobuf import descriptor as _descriptor
ImportError: cannot import name descriptor
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@garye

garye commented Jun 28, 2016

Copy link
Copy Markdown
Contributor

Do you need a more recent version of google.protobuf?

On Tue, Jun 28, 2016 at 5:23 PM Tim Swast [email protected] wrote:

I get an error when I try to use the code from this branch.

$ python main.py swast-bigtable-examples my-cluster us-central1-c
D0628 14:22:01.934576886 6633 ev_posix.c:101] Using polling engine: poll
Traceback (most recent call last):
File "main.py", line 29, in
from gcloud import bigtable
File "/usr/local/google/home/swast/src/gcloud-python/gcloud/bigtable/init.py", line 18, in
from gcloud.bigtable.client import Client
File "/usr/local/google/home/swast/src/gcloud-python/gcloud/bigtable/client.py", line 34, in
from gcloud.bigtable._generated_v2 import (
File "/usr/local/google/home/swast/src/gcloud-python/gcloud/bigtable/_generated_v2/bigtable_instance_admin_pb2.py", line 6, in
from google.protobuf import descriptor as _descriptor
ImportError: cannot import name descriptor

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#1930 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AACTr-qCHqJKAd8znyMxy0AiiNP7rjKhks5qQZDRgaJpZM4JAe64
.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@tswast

tswast commented Jun 28, 2016

Copy link
Copy Markdown
Contributor

@garye This is from a fresh virtualenv. I installed via python setup.py develop.

$ pip freeze | grep protobuf
protobuf==3.0.0b3

Version 3.0.0b3 appears to be the latest release.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@tseaver tseaver mentioned this pull request Jun 28, 2016
Convert gcloud.bigtable.happybase to V2 patterns #1931
Merged
@tseaver
Lint fixes.
6f4aced
@tseaver
tseaver merged commit 0c625c5 into googleapis:bigtable-v2 Jun 29, 2016
@tseaver
tseaver deleted the bigtable-v2-system_tests branch June 29, 2016 00:26
@tseaver tseaver mentioned this pull request Jun 29, 2016
Prepare 0.17.0 release. #1940
Merged
@tseaver

tseaver commented Jun 29, 2016

Copy link
Copy Markdown
Contributor Author

@tswast I cannot reproduce with the current HEAD of the bigtable-v2 branch:

$ /opt/Python-2.7.11/bin/virtualenv /tmp/issue_1930
$ cd /tmp/issue_1930
$ mkdir src; cd src
$ git clone -b bigtable-v2 --depth 1 [email protected]:GoogleCloudPlatform/gcloud-python
Cloning into 'gcloud-python'...
remote: Counting objects: 409, done.
remote: Compressing objects: 100% (384/384), done.
remote: Total 409 (delta 77), reused 103 (delta 21), pack-reused 0
Receiving objects: 100% (409/409), 5.76 MiB | 392.00 KiB/s, done.
Resolving deltas: 100% (77/77), done.
Checking connectivity... done.
$ cd ..
$ bin/pip install -e src/gcloud-python/
Obtaining file:///tmp/tswast/src/gcloud-python
Collecting httplib2>=0.9.1 (from gcloud==0.16.0)
Collecting googleapis-common-protos (from gcloud==0.16.0)
Collecting oauth2client>=2.0.1 (from gcloud==0.16.0)
Collecting protobuf!=3.0.0.b2.post1,>=3.0.0b2 (from gcloud==0.16.0)
  Using cached protobuf-3.0.0b3-py2-none-any.whl
Collecting six (from gcloud==0.16.0)
  Using cached six-1.10.0-py2.py3-none-any.whl
Collecting grpcio>=0.14.0 (from gcloud==0.16.0)
  Using cached grpcio-0.15.0-cp27-cp27m-manylinux1_x86_64.whl
Collecting google-gax>=0.12.0 (from gcloud==0.16.0)
Collecting gax-google-pubsub-v1 (from gcloud==0.16.0)
Collecting rsa>=3.1.4 (from oauth2client>=2.0.1->gcloud==0.16.0)
  Using cached rsa-3.4.2-py2.py3-none-any.whl
Collecting pyasn1-modules>=0.0.5 (from oauth2client>=2.0.1->gcloud==0.16.0)
  Using cached pyasn1_modules-0.0.8-py2.py3-none-any.whl
Collecting pyasn1>=0.1.7 (from oauth2client>=2.0.1->gcloud==0.16.0)
  Using cached pyasn1-0.1.9-py2.py3-none-any.whl
Requirement already satisfied (use --upgrade to upgrade): setuptools in ./lib/python2.7/site-packages (from protobuf!=3.0.0.b2.post1,>=3.0.0b2->gcloud==0.16.0)
Collecting enum34>=1.0.4 (from grpcio>=0.14.0->gcloud==0.16.0)
  Using cached enum34-1.1.6-py2-none-any.whl
Collecting futures>=2.2.0 (from grpcio>=0.14.0->gcloud==0.16.0)
  Using cached futures-3.0.5-py2-none-any.whl
Collecting ply==3.8 (from google-gax>=0.12.0->gcloud==0.16.0)
Collecting grpc-google-pubsub-v1>=0.7.10 (from gax-google-pubsub-v1->gcloud==0.16.0)
Installing collected packages: httplib2, six, protobuf, googleapis-common-protos, pyasn1, rsa, pyasn1-modules, oauth2client, enum34, futures, grpcio, ply, google-gax, grpc-google-pubsub-v1, gax-google-pubsub-v1, gcloud
  Running setup.py develop for gcloud
Successfully installed enum34-1.1.6 futures-3.0.5 gax-google-pubsub-v1-0.7.10 gcloud google-gax-0.12.1 googleapis-common-protos-1.1.0 grpc-google-pubsub-v1-0.7.10 grpcio-0.15.0 httplib2-0.9.2 oauth2client-2.2.0 ply-3.8 protobuf-3.0.0b3 pyasn1-0.1.9 pyasn1-modules-0.0.8 rsa-3.4.2 six-1.10.0
$ bin/python
Python 2.7.11 (default, Feb 22 2016, 07:44:44) 
[GCC 4.8.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from gcloud import bigtable
D0629 16:41:43.553773202   30989 ev_posix.c:101]             Using polling engine: poll
>>>
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@theacodes theacodes unassigned daspecster Sep 28, 2018
@theacodes theacodes unassigned dhermes Sep 28, 2018
parthea pushed a commit that referenced this pull request Mar 6, 2026
@tswast
fix: retry is_job_done on ConnectionError (#1930)
a408ef1
parthea pushed a commit that referenced this pull request Apr 1, 2026
@tswast @google-labs-jules @gcf-owl-bot
feat: support typed pyarrow.Scalar in assignment (#1930)
77c5abd
* I am working on adding support for pyarrow.Scalar to infer_literal_method.

* Update setup.py

* Update tests/unit/core/test_dtypes.py

* patch ibis

* increase timeout

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* lint

---------

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

api: bigtable Issues related to the Bigtable API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

7 participants

@tseaver @tswast @garye @mbrukman @daspecster @dhermes @googlebot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.