-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
810 additions
and
213 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,29 @@ | ||
-- https://cloud.google.com/spanner/docs/reference/standard-sql/data-definition-language#data_types | ||
create table types ( | ||
b bool, | ||
i int64, | ||
f32 float32, | ||
f float64, | ||
d date, | ||
t timestamp, | ||
s string(256), | ||
sh string(0x100), | ||
smax string(max), | ||
bs bytes(256), | ||
bh bytes(0x100), | ||
bsmax bytes(max), | ||
j json, | ||
d date, | ||
t timestamp, | ||
ab array<bool>, | ||
abs array<bytes(max)>, | ||
p examples.ProtoType, | ||
af32vl array<float32>(vector_length=>128), | ||
p ProtoType, | ||
p_quoted `ProtoType`, | ||
p_path examples.ProtoType, | ||
p_partly_quoted_path examples.shipping.`Order`, | ||
p_fully_quoted_path `examples.shipping.Order`, | ||
ap ARRAY<ProtoType>, | ||
ap_quoted ARRAY<`ProtoType`>, | ||
ap_path ARRAY<examples.ProtoType>, | ||
ap_partly_quoted_path ARRAY<examples.shipping.`Order`>, | ||
ap_fully_quoted_path ARRAY<`examples.shipping.Order`>, | ||
) primary key (i) |
Oops, something went wrong.