From 8d6b81d1e90f8c27eac46cfaa6650d9ff278491b Mon Sep 17 00:00:00 2001 From: Tim Swast Date: Wed, 21 Dec 2016 11:56:56 -0800 Subject: [PATCH] Remove extraneous comment about BigQuery timestamps. That comment (about the format for timestamps) was copied from a raw API sample. It doesn't apply to the Java client library. --- .../main/java/com/example/bigquery/QueryParametersSample.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/bigquery/cloud-client/src/main/java/com/example/bigquery/QueryParametersSample.java b/bigquery/cloud-client/src/main/java/com/example/bigquery/QueryParametersSample.java index b2ee9362b75..2485fc0cf83 100644 --- a/bigquery/cloud-client/src/main/java/com/example/bigquery/QueryParametersSample.java +++ b/bigquery/cloud-client/src/main/java/com/example/bigquery/QueryParametersSample.java @@ -231,8 +231,6 @@ private static void runTimestamp() throws InterruptedException { BigQuery bigquery = new BigQueryOptions.DefaultBigqueryFactory().create(BigQueryOptions.getDefaultInstance()); - // Timestamps are expected to be in the format YYYY-MM-DD HH:MM:SS.DDDDDD time_zone - // See: https://cloud.google.com/bigquery/docs/reference/standard-sql/data-types#timestamp-type DateTime timestamp = new DateTime(2016, 12, 7, 8, 0, 0, DateTimeZone.UTC); String queryString = "SELECT TIMESTAMP_ADD(@ts_value, INTERVAL 1 HOUR);";