Title: Using string array with magic block results in whitespace removal from first entry of the array · Issue #166 · googleapis/python-bigquery · GitHub
Open Graph Title: Using string array with magic block results in whitespace removal from first entry of the array · Issue #166 · googleapis/python-bigquery
X Title: Using string array with magic block results in whitespace removal from first entry of the array · Issue #166 · googleapis/python-bigquery
Description: On passing a dict { 'cats': ['apple orange', 'pear plum']} as params in bigquery magic cell, the first value is changed to appleorange - the space character is filtered out. Environment details OS type and version: colab Python version: ...
Open Graph Description: On passing a dict { 'cats': ['apple orange', 'pear plum']} as params in bigquery magic cell, the first value is changed to appleorange - the space character is filtered out. Environment details OS ...
X Description: On passing a dict { 'cats': ['apple orange', 'pear plum']} as params in bigquery magic cell, the first value is changed to appleorange - the space character is filtered out....
Opengraph URL: https://github.com/googleapis/python-bigquery/issues/166
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Using string array with magic block results in whitespace removal from first entry of the array","articleBody":"On passing a dict ` { 'cats': ['apple orange', 'pear plum']}` as params in bigquery magic cell, the first value is changed to `appleorange` - the space character is filtered out.\r\n\r\n#### Environment details\r\n\r\n - OS type and version: colab\r\n - Python version: Python 3.6.9\r\n - pip version: 19.3.1\r\n - `google-cloud-bigquery` version: 1.21.0\r\n\r\n#### Steps to reproduce\r\n\r\nA colab notebook illustrating the error:\r\nhttps://colab.research.google.com/gist/amardeep/63ec303ba8bac3db9849f4044cd19ff1/test-bigquery-array-parameter-bug.ipynb\r\n \r\n#### Code example\r\n\r\n```python\r\nparams = {\r\n 'cats': ['apple orange', 'pear plum']\r\n}\r\n\r\n%%bigquery --params $params\r\nSELECT * FROM UNNEST(@cats)\r\n```\r\n\r\nThis results in the output:\r\n```\r\n f0_\r\n0 appleorange\r\n1 pear plum\r\n```\r\n","author":{"url":"https://github.com/amardeep","@type":"Person","name":"amardeep"},"datePublished":"2020-07-14T08:34:29.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/166/python-bigquery/issues/166"}
| 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:ad5a3eed-1e6f-0f6e-8352-581473c505ad |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BF7E:193F03:D05EC5:1203F16:6A4DCD17 |
| html-safe-nonce | ce11ed002a9296637641dbfc4c1d06552a56d677302b9c647738157a148a970d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRjdFOjE5M0YwMzpEMDVFQzU6MTIwM0YxNjo2QTREQ0QxNyIsInZpc2l0b3JfaWQiOiI3MDU5MTcyNTk2OTY1NTU5NTc1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 8677e45c48edaadbcee14a231208c4876bf566dad915b18f6bdf4695cd377808 |
| hovercard-subject-tag | issue:656434369 |
| 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/python-bigquery/166/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1ac25bcfed2ac142e17d32b8d28262d60be4e3024b3a7b0e4b35147034ad08a8/googleapis/python-bigquery/issues/166 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1ac25bcfed2ac142e17d32b8d28262d60be4e3024b3a7b0e4b35147034ad08a8/googleapis/python-bigquery/issues/166 |
| og:image:alt | On passing a dict { 'cats': ['apple orange', 'pear plum']} as params in bigquery magic cell, the first value is changed to appleorange - the space character is filtered out. Environment details OS ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | amardeep |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/python-bigquery git https://github.com/googleapis/python-bigquery.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 226992475 |
| octolytics-dimension-repository_nwo | googleapis/python-bigquery |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 226992475 |
| octolytics-dimension-repository_network_root_nwo | googleapis/python-bigquery |
| 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