Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit cda2c4b

Browse filesBrowse files
tswastdpebot
authored andcommitted
Remove extraneous comment about BigQuery timestamps. (GoogleCloudPlatform#466)
1 parent d573a4d commit cda2c4b
Copy full SHA for cda2c4b

File tree

Expand file treeCollapse file tree

1 file changed

+0
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-2
lines changed
Open diff view settings
Collapse file

‎bigquery/cloud-client/src/main/java/com/example/bigquery/QueryParametersSample.java‎

Copy file name to clipboardExpand all lines: bigquery/cloud-client/src/main/java/com/example/bigquery/QueryParametersSample.java
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,8 +231,6 @@ private static void runTimestamp() throws InterruptedException {
231231
BigQuery bigquery =
232232
new BigQueryOptions.DefaultBigqueryFactory().create(BigQueryOptions.getDefaultInstance());
233233

234-
// Timestamps are expected to be in the format YYYY-MM-DD HH:MM:SS.DDDDDD time_zone
235-
// See: https://cloud.google.com/bigquery/docs/reference/standard-sql/data-types#timestamp-type
236234
DateTime timestamp = new DateTime(2016, 12, 7, 8, 0, 0, DateTimeZone.UTC);
237235

238236
String queryString = "SELECT TIMESTAMP_ADD(@ts_value, INTERVAL 1 HOUR);";

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.