Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,26 @@ message LogicalTypes {
// A variable-length string with its maximum length as the argument.
VAR_CHAR = 7 [(org.apache.beam.model.pipeline.v1.beam_urn) =
"beam:logical_type:var_char:v1"];

// A URN for Date type
// - Representation type: INT64
// - A date without a time-zone, stored as incrementing count of days
// where day 0 is 1970-01-01 (ISO).
DATE = 8 [(org.apache.beam.model.pipeline.v1.beam_urn) =
"beam:logical_type:date:v1"];

// A URN for Time type
// - Representation type: INT64
// - A time without a time-zone, stored as a count of time in
// nanoseconds.
TIME = 9 [(org.apache.beam.model.pipeline.v1.beam_urn) =
"beam:logical_type:time:v1"];

// A URN for DateTime type
// - Representation type: ROW<Date: INT64, Time: INT64>
// - A date-time without a time-zone, combining Date and Time.
DATETIME = 10 [(org.apache.beam.model.pipeline.v1.beam_urn) =
"beam:logical_type:datetime:v1"];
}
}

Expand Down
Loading