Title: view.query property not exposed by Bigquery API · Issue #3754 · googleapis/google-cloud-python · GitHub
Open Graph Title: view.query property not exposed by Bigquery API · Issue #3754 · googleapis/google-cloud-python
X Title: view.query property not exposed by Bigquery API · Issue #3754 · googleapis/google-cloud-python
Description: OS X 10 Python 2.7.10 Name: google-cloud Version: 0.24.0 To reproduce, make a view. In our case it was existing. ! bq show --format=json nytdata:audit_et.audit_ab_alloc_view Note that the property view.query is present in the json: {"kin...
Open Graph Description: OS X 10 Python 2.7.10 Name: google-cloud Version: 0.24.0 To reproduce, make a view. In our case it was existing. ! bq show --format=json nytdata:audit_et.audit_ab_alloc_view Note that the property ...
X Description: OS X 10 Python 2.7.10 Name: google-cloud Version: 0.24.0 To reproduce, make a view. In our case it was existing. ! bq show --format=json nytdata:audit_et.audit_ab_alloc_view Note that the property ...
Opengraph URL: https://github.com/googleapis/google-cloud-python/issues/3754
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"view.query property not exposed by Bigquery API","articleBody":"\r\n```\r\nOS X 10\r\nPython 2.7.10\r\nName: google-cloud Version: 0.24.0\r\n```\r\n\r\nTo reproduce, make a view. In our case it was existing.\r\n`! bq show --format=json nytdata:audit_et.audit_ab_alloc_view`\r\n\r\nNote that the property view.query is present in the json:\r\n\r\n```\r\n{\"kind\":\"bigquery#table\",\"creationTime\":\"1471555852846\",\r\n...\r\n\"view\":{\"query\":\"with date_range a ... REDACTED ...\",\r\n\"useLegacySql\":false},\"type\":\"VIEW\",\"id\":\"nytdata:audit_et.audit_ab_alloc_view\",\"selfLink\":\"https://www.googleapis.com/bigquery/v2/projects/nytdata/datasets/audit_et/tables/audit_ab_alloc_view\",\"\r\n...\r\n}\r\n```\r\n\r\nBut if I try to get it from the API, nothing:\r\n\r\n```\r\nfrom google.cloud import bigquery\r\n\r\nproject=\"nytdata\"\r\ndataset=\"audit_et\"\r\ntable=\"audit_ab_alloc_view\"\r\n\r\nbigquery_client = bigquery.Client(project=project)\r\ndataset_temp = bigquery_client.dataset(dataset)\r\nt=dataset_temp.table(table)\r\nt=dataset_temp.table(u'audit_ab_alloc_view')\r\n\r\nt.exists()\r\n\u003e\u003e True\r\n\r\nt.view_query == None\r\n\u003e\u003e True\r\n```","author":{"url":"https://github.com/nicku33","@type":"Person","name":"nicku33"},"datePublished":"2017-08-08T16:57:24.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/3754/google-cloud-python/issues/3754"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e5fef495-df81-95de-a6f4-c6ac0226eb0e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8B76:2279D0:37B1EC:4CE773:6A4DC448 |
| html-safe-nonce | 1a4fd0baa5131841c618c7e3be89942898e3160d54682a929ea61c735e3bb172 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Qjc2OjIyNzlEMDozN0IxRUM6NENFNzczOjZBNERDNDQ4IiwidmlzaXRvcl9pZCI6IjE1NTA0ODE2MDIyMDY2MTQ2MDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8e625e4d6e975af86c97ca46a923e0040d220bd91bd2659c922a4abc3727e2ae |
| hovercard-subject-tag | issue:248781089 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/google-cloud-python/3754/issue_layout |
| twitter:image | https://opengraph.githubassets.com/314e5698d600df349df9627f93088b389079eaa060ddba041001755e7cb95326/googleapis/google-cloud-python/issues/3754 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/314e5698d600df349df9627f93088b389079eaa060ddba041001755e7cb95326/googleapis/google-cloud-python/issues/3754 |
| og:image:alt | OS X 10 Python 2.7.10 Name: google-cloud Version: 0.24.0 To reproduce, make a view. In our case it was existing. ! bq show --format=json nytdata:audit_et.audit_ab_alloc_view Note that the property ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nicku33 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/google-cloud-python git https://github.com/googleapis/google-cloud-python.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 16316451 |
| octolytics-dimension-repository_nwo | googleapis/google-cloud-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 16316451 |
| octolytics-dimension-repository_network_root_nwo | googleapis/google-cloud-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width