{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/issues/468","repository_url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/issues/468/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/issues/468/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/issues/468/events","html_url":"https://github.com/GoogleCloudPlatform/DataflowJavaSDK/issues/468","id":183715591,"number":468,"title":"AvroCoders fail with /java-class property","user":{"login":"lahirug","id":8514624,"avatar_url":"https://avatars.githubusercontent.com/u/8514624?v=3","gravatar_id":"","url":"https://api.github.com/users/lahirug","html_url":"https://github.com/lahirug","followers_url":"https://api.github.com/users/lahirug/followers","following_url":"https://api.github.com/users/lahirug/following{/other_user}","gists_url":"https://api.github.com/users/lahirug/gists{/gist_id}","starred_url":"https://api.github.com/users/lahirug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lahirug/subscriptions","organizations_url":"https://api.github.com/users/lahirug/orgs","repos_url":"https://api.github.com/users/lahirug/repos","events_url":"https://api.github.com/users/lahirug/events{/privacy}","received_events_url":"https://api.github.com/users/lahirug/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-10-18T15:12:06Z","updated_at":"2016-10-18T16:50:43Z","closed_at":null,"body":"Hi Devs,\r\nI have an avro looks like below and I used this in dataflow and I am getting an error telling OffsetDateTime cannot be cast to string.\r\nIs there anything I can do in dataflow side to get this working. My dataflow code is attached below.\r\n\r\n```\r\nrecord SessionVideoQuality {\r\n    string sessionId;\r\n    /* @java-class(\"java.time.OffsetDateTime\")  */string endTime;\r\n    boolean isComplexityHealthy;\r\n    boolean isUplinkHealthy;\r\n  }\r\n```\r\n\r\n```\r\n@Override\r\n    public PCollection<KV<String, SessionVideoQuality>> apply(PBegin begin) {\r\n      return begin.apply(new DateRangeChunker(startDate, endDate, chunkSize, maxChunks))\r\n          .setCoder(SerializableCoder.of(DateBoundsQueryOptions.class))\r\n          .apply(ParDo.of(new CassandraVideoQualityReaderFn<>(options, sessionIds))\r\n              .named(\"Read server telemetry series from Fatline storage\"))\r\n          .setCoder(AvroCoder.of(SessionVideoQuality.class, com.parlaylabs.fatline.analytics.avro.SessionVideoQuality.SCHEMA$()))\r\n          .apply(WithKeys.of(ServerTelemetrySeriesInputTransform::extractClientId))\r\n          .setCoder(KvCoder.of(StringUtf8Coder.of(),\r\n              AvroCoder.of(SessionVideoQuality.class, com.parlaylabs.fatline.analytics.avro.SessionVideoQuality.SCHEMA$())));\r\n```"},"comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/issues/comments/254569108","html_url":"https://github.com/GoogleCloudPlatform/DataflowJavaSDK/issues/468#issuecomment-254569108","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/issues/468","id":254569108,"user":{"login":"lahirug","id":8514624,"avatar_url":"https://avatars.githubusercontent.com/u/8514624?v=3","gravatar_id":"","url":"https://api.github.com/users/lahirug","html_url":"https://github.com/lahirug","followers_url":"https://api.github.com/users/lahirug/followers","following_url":"https://api.github.com/users/lahirug/following{/other_user}","gists_url":"https://api.github.com/users/lahirug/gists{/gist_id}","starred_url":"https://api.github.com/users/lahirug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lahirug/subscriptions","organizations_url":"https://api.github.com/users/lahirug/orgs","repos_url":"https://api.github.com/users/lahirug/repos","events_url":"https://api.github.com/users/lahirug/events{/privacy}","received_events_url":"https://api.github.com/users/lahirug/received_events","type":"User","site_admin":false},"created_at":"2016-10-18T16:50:43Z","updated_at":"2016-10-18T16:50:43Z","body":"@lukecwik 0.8.2.2."}}
{"actor":{"display_login":"lahirug"}}