-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Truncate string with size > 4096 for CSV copier
- Loading branch information
Showing
7 changed files
with
142 additions
and
12 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,100 @@ | ||
MATCH (e:edge) RETURN e.ID, e.value; | ||
MATCH (e:edge) RETURN e.value; | ||
CREATE node table edgecase(ID INT64, value STRING); | ||
COPY edgecase FROM "/Users/lc/Desktop/edge_cases_csvs/e2.csv"; | ||
CREATE node table edgecase(ID INT64, value STRING); | ||
COPY edgecase FROM "/Users/lc/Desktop/edge_cases_csvs/e1.csv"; | ||
COPY edgecase FROM "/Users/lc/Desktop/edge_cases_csvs/e2.csv"; | ||
COPY edgecase FROM "/Users/lc/Desktop/edge_cases_csvs/e3.csv"; | ||
CREATE node table edgecase(ID STRING, value STRING); | ||
CREATE node table edgecase(ID STRING, value STRING, PRIMARY KEY (ID)); | ||
COPY edgecase FROM "/Users/lc/Desktop/edge_cases_csvs/normal.csv"; | ||
CREATE node table edgecase(ID STRING, value STRING, PRIMARY KEY (ID)); | ||
CREATE node table edgecase(ID STRING, value STRING); | ||
COPY edgecase FROM "/Users/lc/Desktop/LongString.csv"; | ||
COPY edgecase FROM "/Users/lc/Desktop/LongString.csv" (HEADER=true); | ||
COPY edgecase FROM "/Users/lc/Desktop/LongString.csv"; | ||
CREATE node table edgecase(ID STRING, value STRING); | ||
COPY edgecase FROM "/Users/lc/Desktop/LongString.csv"; | ||
MATCH (e:edgecase) RETURN value; | ||
MATCH (e:edgecase) RETURN e.value; | ||
MATCH (e:edgecase) RETURN e.ID | ||
MATCH (e:edgecase) RETURN e.ID; | ||
COPY edgecase FROM "/Users/lc/Desktop/LongString.csv"; | ||
COPY edgecase FROM "/Users/lc/Desktop/LongString.csv" (HEADER=true); | ||
COPY edgecase FROM "/Users/lc/Desktop/LongString.csv"; | ||
CREATE node table edgecase(ID STRING, value STRING); | ||
COPY edgecase FROM "/Users/lc/Desktop/LongString.csv" (HEADER=true); | ||
COPY edgecase FROM "/Users/lc/Desktop/LongString.csv"; | ||
COPY edgecase FROM "/Users/lc/Desktop/LongString.csv" (HEADER=true); | ||
MATCH (e:edgecase) RETURN e.ID; | ||
MATCH (e:edgecase) RETURN e.value; | ||
MATCH e RETURN e.value; | ||
MATCH e RETURN e; | ||
MATCH (e:edgecase) WHERE e.ID="A" RETURN e.value; | ||
MATCH (e:edgecase) WHERE e.ID="B" RETURN e.value; | ||
CREATE node table edgecase(ID STRING, value STRING); | ||
COPY edgecase FROM "/Users/lc/Desktop/LongString.csv" (HEADER=true); | ||
MATCH (e:edgecase) WHERE e.ID="B" RETURN e.value; | ||
MATCH (e:edgecase) WHERE e.ID="A" RETURN e.value; | ||
CREATE node table edgecase(ID STRING, value STRING); | ||
COPY edgecase FROM "/Users/lc/Desktop/LongString.csv" (HEADER=true); | ||
MATCH (e:edgecase) WHERE e.ID="A" RETURN e.value; | ||
MATCH (e:edgecase) WHERE e.ID="B" RETURN e.value; | ||
COPY edgecase FROM "/Users/lc/Desktop/LongString.csv" (HEADER=true); | ||
CREATE node table edgecase(ID STRING, value STRING); | ||
COPY edgecase FROM "/Users/lc/Desktop/LongString.csv" (HEADER=true); | ||
MATCH (e:edgecase) WHERE e.ID="B" RETURN e.value; | ||
MATCH (e:edgecase) WHERE e.ID="A" RETURN e.value; | ||
CREATE node table edgecase(ID STRING, value STRING); | ||
MATCH (e:edgecase) WHERE e.ID="A" RETURN e.value; | ||
CREATE node table edgecase(ID STRING, value STRING); | ||
MATCH (e:edgecase) WHERE e.ID="A" RETURN e.value; | ||
CREATE node table edgecase(ID STRING, value STRING); | ||
MATCH (e:edgecase) WHERE e.ID="A" RETURN e.value; | ||
CREATE node table edgecase(ID STRING, value STRING); | ||
COPY edgecase FROM "/Users/lc/Desktop/LongString.csv" (HEADER=true); | ||
CREATE node table edgecase(ID STRING, value STRING); | ||
COPY edgecase FROM "/Users/lc/Desktop/LongString.csv" (HEADER=true); | ||
CREATE node table edgecase(ID STRING, value STRING); | ||
COPY edgecase FROM "/Users/lc/Desktop/LongString.csv" (HEADER=true); | ||
MATCH (e:edgecase) WHERE e.ID="A" RETURN e.value; | ||
MATCH (e:edgecase) WHERE e.ID="B" RETURN e.value; | ||
CREATE NODE TABLE edgecase(ID STRING, value STRING); | ||
COPY edgecase FROM "/Users/lc/Desktop/LongString.csv" (HEADER=true); | ||
CREATE node table edgecase(ID STRING, value STRING); | ||
COPY edgecase FROM "/Users/lc/Desktop/LongString.csv" (HEADER=true); | ||
CREATE (c:City {name: "Zagreb", population_size: 1000000}); | ||
CREATE (c:edgecase {ID: "c", value: "cccccc"}); | ||
MATCH (e:edgecase) WHERE e.ID="c" RETURN e.value; | ||
MATCH (e:edgecase) WHERE e.ID="C" RETURN e.value; | ||
MATCH (e:edgecase) RETURN e.value; | ||
MATCH (e:edgecase) RETURN e.value SKIP1; | ||
MATCH (e:edgecase) RETURN e.value SKIP 1; | ||
MATCH (e:edgecase) RETURN e.value SKIP 2; | ||
MATCH (e:edgecase) RETURN e.ID SKIP 2; | ||
MATCH (e:edgecase) RETURN e.ID SKIP 1; | ||
MATCH (e:edgecase) RETURN e.ID SKIP 2; | ||
MATCH (e:edgecase) RETURN e.ID SKIP 3; | ||
MATCH (e:edgecase) RETURN e.ID SKIP 1; | ||
MATCH (e:edgecase) RETURN e.ID SKIP 0; | ||
CREATE (c:edgecase {ID: "C", value: "cccccc"}); | ||
MATCH (e:edgecase) RETURN e.ID SKIP 3; | ||
MATCH (e:edgecase) RETURN e.ID SKIP 4; | ||
MATCH (e:edgecase) RETURN e.ID LIMIT 5; | ||
MATCH (e:edgecase) RETURN e.ID LIMIT 100; | ||
CREATE (c:edgecase {ID: "C", value: "cccccc"}); | ||
MATCH (e:edgecase) RETURN e.ID LIMIT 10; | ||
MATCH (c:nd) RETURN e.value LIMIT 10; | ||
CREATE (c:edgecase {ID: "C", value: "TestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATe | ||
tATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestATestA"); | ||
CREATE NODE TABLE n(ID STRING, value STRING); | ||
CREATE NODE TABLE nd(ID STRING, value STRING); | ||
CREATE (c:nd {ID: "C", value: "cccccc"}); | ||
MATCH (c:nd) RETURN c.value; | ||
MATCH (c:nd) RETURN c.ID; | ||
CREATE NODE TABLE nd(ID STRING, value STRING); | ||
CREATE (c:nd {ID: "C", value: "cccccc"}); | ||
MATCH (n:nd) WHERE n.ID="C" RETURN n.ID; | ||
MATCH (n:nd) RETURN n.ID; | ||
MATCH (n:nd) RETURN COUNT(*) |
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
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