Skip to content

Commit

Permalink
Adding DATE/TIME/DATETIME to LegacySQLTypeName
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettjonesgoogle committed Dec 7, 2016
1 parent 38451c2 commit 0173f63
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,18 @@ public enum LegacySQLTypeName {
BOOLEAN(StandardSQLTypeName.BOOL),
/** Represents an absolute point in time, with microsecond precision. */
TIMESTAMP(StandardSQLTypeName.TIMESTAMP),
/** Represents a logical calendar date. Note, support for this type is limited in legacy SQL. */
DATE(StandardSQLTypeName.DATE),
/**
* Represents a time, independent of a specific date, to microsecond precision. Note, support for
* this type is limited in legacy SQL.
*/
TIME(StandardSQLTypeName.TIME),
/**
* Represents a year, month, day, hour, minute, second, and subsecond (microsecond precision).
* Note, support for this type is limited in legacy SQL.
*/
DATETIME(StandardSQLTypeName.DATETIME),
/** A record type with a nested schema. */
RECORD(StandardSQLTypeName.STRUCT);

Expand Down

0 comments on commit 0173f63

Please sign in to comment.