{"action":"closed","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/issues/1526","repository_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/issues/1526/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/issues/1526/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/issues/1526/events","html_url":"https://github.com/GoogleCloudPlatform/google-cloud-node/issues/1526","id":173097124,"number":1526,"title":"Binary data in BigTable column","user":{"login":"arbesfeld","id":2458431,"avatar_url":"https://avatars.githubusercontent.com/u/2458431?v=3","gravatar_id":"","url":"https://api.github.com/users/arbesfeld","html_url":"https://github.com/arbesfeld","followers_url":"https://api.github.com/users/arbesfeld/followers","following_url":"https://api.github.com/users/arbesfeld/following{/other_user}","gists_url":"https://api.github.com/users/arbesfeld/gists{/gist_id}","starred_url":"https://api.github.com/users/arbesfeld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arbesfeld/subscriptions","organizations_url":"https://api.github.com/users/arbesfeld/orgs","repos_url":"https://api.github.com/users/arbesfeld/repos","events_url":"https://api.github.com/users/arbesfeld/events{/privacy}","received_events_url":"https://api.github.com/users/arbesfeld/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/labels/bigtable","name":"bigtable","color":"006b75"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-08-25T01:53:47Z","updated_at":"2016-09-06T13:35:24Z","closed_at":"2016-09-06T13:35:24Z","body":"Hi, I am trying to store an encode protobuf in BigTable and I'm not able to insert binary data (represented as a Buffer) into a BigTable column. I have tried the following ways: \r\n\r\n```js\r\nthis.table.insert([\r\n  key: `foo`,\r\n  data: {\r\n    event: new Buffer(),\r\n  },\r\n]);\r\n\r\nthis.table.insert([\r\n  key: `foo`,\r\n  data: {\r\n    event: {\r\n     data: new Buffer(),\r\n    }\r\n  },\r\n]);\r\n```\r\n\r\nIt seems to get stringified somewhere in the client library, which is making the data invalid."}}
{"actor":{"display_login":"stephenplusplus"}}