{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/issues/41","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/issues/41/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/issues/41/events","html_url":"https://github.com/GoogleCloudPlatform/DataflowJavaSDK/pull/41","id":89117871,"number":41,"title":"Proof of concept of a typed BigQuery reader","user":{"login":"alexvanboxel","id":639539,"avatar_url":"https://avatars.githubusercontent.com/u/639539?v=3","gravatar_id":"","url":"https://api.github.com/users/alexvanboxel","html_url":"https://github.com/alexvanboxel","followers_url":"https://api.github.com/users/alexvanboxel/followers","following_url":"https://api.github.com/users/alexvanboxel/following{/other_user}","gists_url":"https://api.github.com/users/alexvanboxel/gists{/gist_id}","starred_url":"https://api.github.com/users/alexvanboxel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexvanboxel/subscriptions","organizations_url":"https://api.github.com/users/alexvanboxel/orgs","repos_url":"https://api.github.com/users/alexvanboxel/repos","events_url":"https://api.github.com/users/alexvanboxel/events{/privacy}","received_events_url":"https://api.github.com/users/alexvanboxel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/labels/cla:%20yes","name":"cla: yes","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-17T20:27:48Z","updated_at":"2015-06-30T06:37:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/pulls/41","html_url":"https://github.com/GoogleCloudPlatform/DataflowJavaSDK/pull/41","diff_url":"https://github.com/GoogleCloudPlatform/DataflowJavaSDK/pull/41.diff","patch_url":"https://github.com/GoogleCloudPlatform/DataflowJavaSDK/pull/41.patch"},"body":"The is not a Pull Request for merge, but a Request For Comment on a feature I'm developing. I like to know if this is a feature that would be considered to be merged in. It needs some more development but if I know it won't be accepted anyway I will abandon this feature as a \"core\" merge.\r\n\r\nWhat is the feature: An object mapper for BigQuery. My experience with Dataflow tells me to stop using loosely typed object as soon as possible, so it's best to go types at the border: The reader. So having a build in mapper helps data flow users. (this will come in handy more for ETL type of flows). Example usage: \r\n\r\n```java\r\n    PCollection<Match> pcMatch = pipeline\r\n      .apply(BigQueryIO.Read\r\n        .withType(Match.class)\r\n        .named(\"Foo\")\r\n        .from(\"test.match\"))\r\n```\r\n\r\nNote: This is a *Proof Of Concept* and need development. What needs development:\r\n\r\n* Only support Integer, Float and String. Need more types\r\n* Maybe use the Jackson Object mapper\r\n* Can't figure out to Coder working on the Dataflow service. Could use some pointers\r\n* Need more tests\r\n "},"comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/issues/comments/117017432","html_url":"https://github.com/GoogleCloudPlatform/DataflowJavaSDK/pull/41#issuecomment-117017432","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/issues/41","id":117017432,"user":{"login":"alexvanboxel","id":639539,"avatar_url":"https://avatars.githubusercontent.com/u/639539?v=3","gravatar_id":"","url":"https://api.github.com/users/alexvanboxel","html_url":"https://github.com/alexvanboxel","followers_url":"https://api.github.com/users/alexvanboxel/followers","following_url":"https://api.github.com/users/alexvanboxel/following{/other_user}","gists_url":"https://api.github.com/users/alexvanboxel/gists{/gist_id}","starred_url":"https://api.github.com/users/alexvanboxel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexvanboxel/subscriptions","organizations_url":"https://api.github.com/users/alexvanboxel/orgs","repos_url":"https://api.github.com/users/alexvanboxel/repos","events_url":"https://api.github.com/users/alexvanboxel/events{/privacy}","received_events_url":"https://api.github.com/users/alexvanboxel/received_events","type":"User","site_admin":false},"created_at":"2015-06-30T06:37:32Z","updated_at":"2015-06-30T06:37:32Z","body":"No problem. Note that it's a proof of concept and welcome any feedback. I'll be happy to incorporate that into my next iteration."}}