Created
April 5, 2016 23:02
-
-
Save jonathanmv/bd9b5057ee8275c4be5c879fdedfa103 to your computer and use it in GitHub Desktop.
A simple Thrift schema
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
union PersonID { | |
1: string person_id; | |
} | |
struct FriendsEdge { | |
1: required PersonID one; | |
2: required PersonID two; | |
3: required i64 timestamp; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment