-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1328 from kuzudb/int-types
Add INT16,INT32 datatype
- Loading branch information
Showing
53 changed files
with
815 additions
and
246 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
create node table person (ID INT64, gender INT32, PRIMARY KEY (ID)); | ||
create node table movie (ID INT64, length INT32, PRIMARY KEY (ID)); |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
0,312abc |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
0,4 | ||
2,2147483650 |
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,3 +1,3 @@ | ||
0,2,"[toronto]", | ||
3,5,,"long long long string" | ||
7,8,"[vancouver]","short str" | ||
0,2,"[toronto]","[4,5]", | ||
3,5,,"[2,5]","long long long string" | ||
7,8,"[vancouver]","[3,9]","short str" |
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,7 +1,7 @@ | ||
0,2,"[7.82,3.54]" | ||
2,5,"[2.87,4.23]" | ||
3,7,"[3.65,8.44]" | ||
7,3,"[2.11,3.1]" | ||
8,3,"[2.2,9.0]" | ||
9,3,"[3,5.2]" | ||
10,2,"[3.5,1.1]" | ||
0,2,"[7.82,3.54]",5 | ||
2,5,"[2.87,4.23]",2 | ||
3,7,"[3.65,8.44]",3 | ||
7,3,"[2.11,3.1]",7 | ||
8,3,"[2.2,9.0]",9 | ||
9,3,"[3,5.2]",11 | ||
10,2,"[3.5,1.1]",13 |
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,4 +1,4 @@ | ||
from,to,YEAR,Places | ||
0,1,2021,"[wwAewsdndweusd,wek]" | ||
2,1,2020,"[anew,jsdnwusklklklwewsd]" | ||
8,1,2020,"[awndsnjwejwen,isuhuwennjnuhuhuwewe]" | ||
from,to,YEAR,Places,length | ||
0,1,2021,"[wwAewsdndweusd,wek]",5 | ||
2,1,2020,"[anew,jsdnwusklklklwewsd]",55 | ||
8,1,2020,"[awndsnjwejwen,isuhuwennjnuhuhuwewe]",22 |
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,8 +1,8 @@ | ||
create node table person (ID INt64, fName StRING, gender INT64, isStudent BoOLEAN, isWorker BOOLEAN, age INT64, eyeSight DOUBLE, birthdate DATE, registerTime TIMESTAMP, lastJobDuration interval, workedHours INT64[], usedNames STRING[], courseScoresPerTerm INT64[][], grades INT64[4], height float, PRIMARY KEY (ID)); | ||
create node table organisation (ID INT64, name STRING, orgCode INT64, mark DOUBLE, score INT64, history STRING, licenseValidInterval INTERVAL, rating DOUBLE, PRIMARY KEY (ID)); | ||
create node table movies (name STRING, PRIMARY KEY (name)); | ||
create node table movies (name STRING, length INT32, PRIMARY KEY (name)); | ||
create rel table knows (FROM person TO person, date DATE, meetTime TIMESTAMP, validInterval INTERVAL, comments STRING[], MANY_MANY); | ||
create rel table studyAt (FROM person TO organisation, year INT64, places STRING[], MANY_ONE); | ||
create rel table studyAt (FROM person TO organisation, year INT64, places STRING[], length INT16,MANY_ONE); | ||
create rel table workAt (FROM person TO organisation, year INT64, grading DOUBLE[2], rating float, MANY_ONE); | ||
create rel table meets (FROM person TO person, location FLOAT[2], MANY_ONE); | ||
create rel table marries (FROM person TO person, usedAddress STRING[], note STRING, ONE_ONE); | ||
create rel table meets (FROM person TO person, location FLOAT[2], times INT, MANY_ONE); | ||
create rel table marries (FROM person TO person, usedAddress STRING[], address INT16[2], note STRING, ONE_ONE); |
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,3 +1,3 @@ | ||
Sóló cón tu párejâ | ||
The 😂😃🧘🏻♂️🌍🌦️🍞🚗 movie | ||
Roma | ||
Sóló cón tu párejâ,126 | ||
The 😂😃🧘🏻♂️🌍🌦️🍞🚗 movie,2544 | ||
Roma,298 |
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
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
Oops, something went wrong.