Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unstructured properties #1051

Merged
merged 1 commit into from
Nov 21, 2022
Merged
Show file tree
Hide file tree
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
1 change: 0 additions & 1 deletion dataset/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ filegroup(
"read-list-tests/**",
"tinysnb/**",
"tinysnb-variant/**",
"unstructured-property-lists-updates-tests/**",
"rel-insertion-tests/**",
"demo-db/**",
]),
Expand Down
2 changes: 1 addition & 1 deletion dataset/copy-csv-empty-lists-test/vPerson.csv
Original file line number Diff line number Diff line change
Expand Up @@ -1028,7 +1028,7 @@
1027
1028
1029
1030,unstrINT64Prop1:INT64:12345
1030
1031
1032
1033
Expand Down
8 changes: 0 additions & 8 deletions dataset/copy-csv-node-property-test/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,3 @@ vPerson.csv
# length x count pairs: 10x100, 4x10, 90x100, 40x100, 2x10, 780x80, 9x100,
# 2000x10, 13x100, 6x100, 83x100, 23x90, 41x100.
# Every 100th node's string properties are NULL (so v0, v100, v200, ..., v900)
# Except for 3 nodes, each node also contains 4 unstructured properties: (1) STRING: (strPropKey1, strPropVal1);
# (2) INT64: (int64PropKey1, 1); (3) DOUBLE: (doublePropKey1, 1.0); and (4) BOOLEAN: (boolPropKey1, True).
# Exceptions are nodes with offsets 300, 400, and 500. These contain: 300x4, 400x4, and 500x4 unstructured properties:
# e.g., for node 300: (1) (strPropKey0, strPropVal0), ..., (strPropKey299, strPropVal299); (2) (int64PropKey0, 0), ...
# (int64PropKey0, 299); (3) (doublePropKey0, 0.0), ..., (doublePropKey299, 299.0); (4) (boolPropKey1, False), ...,
# (boolPropKey1, False) (note that the exception vertices are False this time and the key indices start from 0 not 1).
# At least 1 unstructured property of the following nodes spans 2 pages: 77, 154, 231, 300, 310, 387, 400, 465, 500,
# 589, 666, 743, 821, 898, 975.
2,000 changes: 1,000 additions & 1,000 deletions dataset/copy-csv-node-property-test/vPerson.csv

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dataset/copy-csv-special-char-test/vOrganisation.csv
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
1,ABFsUni,325,3.7,-2,10 years 5 months 13 hours 24 us,3 years 5 days,unstrNumericProp:DOUBLE:-12.5,unstrIntervalProp1:INTERVAL:23 hours 48 days,unstrIntervalProp2:INTERVAL:23 hours 48 days
4,=CsW,ork=,934,4.1,-100,2 years 4 days 10 hours,26 years 52 days 48 hours,unstrIntervalProp1:INTERVAL:26 years 52 days 48 hours,unstrIntervalProp2:INTERVAL:32 years 123 days 48 hours
6,=DEsW##ork=,824,4.1,7,2 years 4 hours 22 us 34 minutes,82 hours 100 milliseconds,unstrNumericProp:DOUBLE:-3.1
1,ABFsUni,325,3.7,-2,10 years 5 months 13 hours 24 us,3 years 5 days
4,=CsW,ork=,934,4.1,-100,2 years 4 days 10 hours,26 years 52 days 48 hours
6,=DEsW##ork=,824,4.1,7,2 years 4 hours 22 us 34 minutes,82 hours 100 milliseconds
6 changes: 3 additions & 3 deletions dataset/copy-csv-special-char-test/vPerson.csv
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
0|-this is |the first line-|2020-02-18|strPropKey1:STRING:strPropVal1
0|-this is |the first line-|2020-02-18
1|-the " should be ignored-|2003-01-02
2|-the #- should be escaped-|2017-09-12|doublePropKey1:DOUBLE:1.0|boolPropKey1:BOOLEAN:True
3|-this #-is ##a #mixed test-|2000-12-11|unstrProp1:INT64:4
2|-the #- should be escaped-|2017-09-12
3|-this #-is ##a #mixed test-|2000-12-11
4|-only one ## should be recognized-|2013-05-01
5|this is a ##plain## #string|2013-05-01
6|this is another ##plain## #string with \|2013-05-01
6 changes: 0 additions & 6 deletions dataset/non-empty-disk-array-db/readme.txt

This file was deleted.

6 changes: 3 additions & 3 deletions dataset/tinysnb/vOrganisation.csv
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
1,ABFsUni,325,3.7,-2,10 years 5 months 13 hours 24 us,3 years 5 days,1,unstrNumericProp:DOUBLE:-12.5,unstrIntervalProp1:INTERVAL:23 hours 48 days,unstrIntervalProp2:INTERVAL:23 hours 48 days,unstrStr:STRING: pERfECt
4,CsWork,934,4.1,-100,2 years 4 days 10 hours,26 years 52 days 48 hours,0.78,unstrIntervalProp1:INTERVAL:26 years 52 days 48 hours,unstrIntervalProp2:INTERVAL:32 years 123 days 48 hours,unstrInt64Prop:INT64:-4,unstrStr:STRING: EXcELLENT organisation
6,DEsWork,824,4.1,7,2 years 4 hours 22 us 34 minutes,82 hours 100 milliseconds,0.52,unstrNumericProp:DOUBLE:3.3,unstrInt64Prop:INT64:10,unstrStringProp:STRING:1900-01-01,unstrStr:STRING:GoOd organisation ! ,unstrStringProp1:STRING:1955-11-23 15:22:31
1,ABFsUni,325,3.7,-2,10 years 5 months 13 hours 24 us,3 years 5 days,1
4,CsWork,934,4.1,-100,2 years 4 days 10 hours,26 years 52 days 48 hours,0.78
6,DEsWork,824,4.1,7,2 years 4 hours 22 us 34 minutes,82 hours 100 milliseconds,0.52
16 changes: 8 additions & 8 deletions dataset/tinysnb/vPerson.csv
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
id,fname,Gender,ISStudent,isWorker,age,eyeSight,birthdate,registerTime,lastJobDuration,workedHours,usedNames,courseScoresPerTerm
0,Alice,1,true,false,35,5.0,1900-01-01,2011-08-20 11:25:30Z+00:00,3 years 2 days 13 hours 2 minutes,[10,5],["Aida"],[[10,8],[6,7,8]],unstrDateProp1:DATE:1900-01-01,unstrDateProp2:DATE:1920-01-01,unstrTimeProp1:DATE:1900-01-01,label1:STRING:good,label2:STRING:excellent,unstrDateProp:DATE:1952-07-15,unstrInt64Prop:INT64:451244124
2,Bob,2,true,false,30,5.1,1900-01-01,2008-11-03 13:25:30.000526-02:00,10 years 5 months 13 hours 24 us,[12,8],[Bobby],[[8,9],[9,10]],unstrDateProp1:DATE:1950-01-01,unstrNumericProp:INT64:47,unstrNumericProp2:INT64:20,unstrDateProp2:DATE:1970-01-01,label2:STRING:excellent,unstrIntervalProp:INTERVAL:5 years 700 days 5000 hours
3,Carol,1,false,true,45,5.0,1940-06-22,1911-08-20 02:32:21,48 hours 24 minutes 11 seconds,[4,5],[Carmen,Fred],[[8,10]],unstrNumericProp:INT64:52,unstrDateProp1:DATE:1950-01-01,unstrDateProp2:DATE:1950-01-01,unstrTimeProp1:TIMESTAMP:2008-11-03 13:25:30.000526,unstrInt64Prop:INT64:4541124,unstrBoolProp1:BOOLEAN:False
5,Dan,2,false,true,20,4.8,1950-7-23,2031-11-30 12:25:30Z,10 years 5 months 13 hours 24 us,[1,9],[Wolfeschlegelstein,Daniel],[[7,4],[8,8],[9]],unstrTimestampProp1:TIMESTAMP:2031-11-30 12:25:30,label1:STRING:good,label2:STRING:excellent,label3:STRING:fabulous,unstrDateProp:DATE:2019-02-12,unstrInt64Prop2:INT64:20,unstrBoolProp1:BOOLEAN:False
7,Elizabeth,1,false,true,20,4.7,1980-10-26,1976-12-23 11:21:42,48 hours 24 minutes 11 seconds,[2],[Ein],[[6],[7],[8]],unstrNumericProp:DOUBLE:68,unstrTimestampProp1:TIMESTAMP:1946-08-25 19:07:22,unstrTimestampProp2:TIMESTAMP:2008-11-03 13:25:30.000526,unstrBoolProp1:BOOLEAN:True,datePart:STRING:YEAR
8,Farooq,2,true,false,25,4.5,1980-10-26,1972-07-31 13:22:30.678559,18 minutes 24 milliseconds,[3,4,5,6,7],[Fesdwe],[[8]],unstrTimeProp1:DATE:1982-05-04,label1:STRING:excellent,label2:STRING:excellent,unstrIntervalProp:INTERVAL:300 days 50 hours 1000 microsecond 40 minutes,unstrInt64Prop2:INT64:43
9,Greg,2,false,false,40,4.9,1980-10-26,1976-12-23 11:21:42Z+06:40,10 years 5 months 13 hours 24 us,[1],[Grad],[[10]],unstrTimestampProp1:TIMESTAMP:1962-05-22 13:11:22.562,unstrTimestampProp2:TIMESTAMP:1976-12-23 11:21:42,label1:STRING:good,unstrDateProp:DATE:2020-02-29,unstrInt64Prop:INT64:4412124,datePart:STRING:MONTH
10,Hubert Blaine Wolfeschlegelsteinhausenbergerdorff,2,false,true,83,4.9,1990-11-27,2023-02-21 13:25:30,3 years 2 days 13 hours 2 minutes,[10,11,12,3,4,5,6,7],[Ad,De,Hi,Kye,Orlan],[[7],[10],[6,7]],unstrTimestampProp1:TIMESTAMP:2023-02-21 13:25:30,unstrTimeProp1:TIMESTAMP:1982-05-04 01:02:07,label2:STRING:good,unstrBoolProp1:BOOLEAN:True
0,Alice,1,true,false,35,5.0,1900-01-01,2011-08-20 11:25:30Z+00:00,3 years 2 days 13 hours 2 minutes,[10,5],["Aida"],[[10,8],[6,7,8]]
2,Bob,2,true,false,30,5.1,1900-01-01,2008-11-03 13:25:30.000526-02:00,10 years 5 months 13 hours 24 us,[12,8],[Bobby],[[8,9],[9,10]]
3,Carol,1,false,true,45,5.0,1940-06-22,1911-08-20 02:32:21,48 hours 24 minutes 11 seconds,[4,5],[Carmen,Fred],[[8,10]]
5,Dan,2,false,true,20,4.8,1950-7-23,2031-11-30 12:25:30Z,10 years 5 months 13 hours 24 us,[1,9],[Wolfeschlegelstein,Daniel],[[7,4],[8,8],[9]]
7,Elizabeth,1,false,true,20,4.7,1980-10-26,1976-12-23 11:21:42,48 hours 24 minutes 11 seconds,[2],[Ein],[[6],[7],[8]]
8,Farooq,2,true,false,25,4.5,1980-10-26,1972-07-31 13:22:30.678559,18 minutes 24 milliseconds,[3,4,5,6,7],[Fesdwe],[[8]]
9,Greg,2,false,false,40,4.9,1980-10-26,1976-12-23 11:21:42Z+06:40,10 years 5 months 13 hours 24 us,[1],[Grad],[[10]]
10,Hubert Blaine Wolfeschlegelsteinhausenbergerdorff,2,false,true,83,4.9,1990-11-27,2023-02-21 13:25:30,3 years 2 days 13 hours 2 minutes,[10,11,12,3,4,5,6,7],[Ad,De,Hi,Kye,Orlan],[[7],[10],[6,7]]

This file was deleted.

5 changes: 0 additions & 5 deletions dataset/unstructured-property-lists-updates-tests/readme.txt

This file was deleted.

This file was deleted.

Loading