{"action":"opened","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/issues/48","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/issues/48/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/issues/48/events","html_url":"https://github.com/GoogleCloudPlatform/DataflowJavaSDK/issues/48","id":97397135,"number":48,"title":"A bug related to the per-window table names.","user":{"login":"mbarragan","id":9413404,"avatar_url":"https://avatars.githubusercontent.com/u/9413404?v=3","gravatar_id":"","url":"https://api.github.com/users/mbarragan","html_url":"https://github.com/mbarragan","followers_url":"https://api.github.com/users/mbarragan/followers","following_url":"https://api.github.com/users/mbarragan/following{/other_user}","gists_url":"https://api.github.com/users/mbarragan/gists{/gist_id}","starred_url":"https://api.github.com/users/mbarragan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbarragan/subscriptions","organizations_url":"https://api.github.com/users/mbarragan/orgs","repos_url":"https://api.github.com/users/mbarragan/repos","events_url":"https://api.github.com/users/mbarragan/events{/privacy}","received_events_url":"https://api.github.com/users/mbarragan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-27T06:33:28Z","updated_at":"2015-07-27T06:33:28Z","closed_at":null,"body":"I've tried to use the bellow example that there is in BigQueryIO.java:\r\n\r\n<pre>\r\nPCollection<TableRow> quotes = ...\r\n\r\nList<TableFieldSchema> fields = new ArrayList<>();\r\nfields.add(new TableFieldSchema().setName(\"source\").setType(\"STRING\"));\r\nfields.add(new TableFieldSchema().setName(\"quote\").setType(\"STRING\"));\r\nTableSchema schema = new TableSchema().setFields(fields);\r\n\r\nquotes.apply(BigQueryIO.Write\r\n  .named(\"Write\")\r\n  .to(\"my-project:output.output_table\")\r\n  .withSchema(schema)\r\n  .withWriteDisposition(BigQueryIO.Write.WriteDisposition.WRITE_TRUNCATE));\r\n</pre>\r\n\r\nAnd the bellow error has appeared:\r\n\r\n\r\n<pre>\r\nException: java.lang.IllegalArgumentException: Table reference is not in [project_id]:[dataset_id].[table_id] format: my-project:output.output_table-[2015-07-24:00:00.000Z..2015-07-25T00:00:00.000Z)\r\n</pre>\r\n\r\nThis is actually incorrect, since it appears to generate strings that are not legal in BigQuery table names."}}