Skip to content

Commit

Permalink
[!] fix change dirs
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhongFuze committed Sep 29, 2024
1 parent 039e8db commit e0e28dd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions src/script/farcaster_graphdb_loading.sql
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
CREATE LOADING JOB Load_Ens FOR GRAPH SocialGraph {
LOAD "/home/tigergraph/shared_data/import_graphs/ensname/Identities.csv"
LOAD "/home/tigergraph/shared_data/import_graphs/farcaster/Identities.csv"
TO VERTEX Identities VALUES($"primary_id", $"primary_id", $"platform", $"identity", $"update_time") USING SEPARATOR="\t", HEADER="true", EOL="\n";
LOAD "/home/tigergraph/shared_data/import_graphs/ensname/IdentitiesGraph.csv"
LOAD "/home/tigergraph/shared_data/import_graphs/farcaster/IdentitiesGraph.csv"
TO VERTEX IdentitiesGraph VALUES($"primary_id", $"primary_id", $"updated_nanosecond") USING SEPARATOR="\t", HEADER="true", EOL="\n";
LOAD "/home/tigergraph/shared_data/import_graphs/ensname/PartOfIdentitiesGraph.csv"
LOAD "/home/tigergraph/shared_data/import_graphs/farcaster/PartOfIdentitiesGraph.csv"
TO EDGE PartOfIdentitiesGraph VALUES ($"from", $"to") USING SEPARATOR = "\t", EOL = "\n", HEADER = "true";

LOAD "/home/tigergraph/shared_data/import_graphs/ensname/Hold.csv"
LOAD "/home/tigergraph/shared_data/import_graphs/farcaster/Hold.csv"
TO EDGE Hold VALUES ($"from", $"to", $"source", $"level") USING SEPARATOR = "\t", EOL = "\n", HEADER = "true";
}
12 changes: 6 additions & 6 deletions src/script/lens_graphdb_loading.sql
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
CREATE LOADING JOB Load_Ens FOR GRAPH SocialGraph {
LOAD "/home/tigergraph/shared_data/import_graphs/ensname/Identities.csv"
LOAD "/home/tigergraph/shared_data/import_graphs/lens/Identities.csv"
TO VERTEX Identities VALUES($"primary_id", $"primary_id", $"platform", $"identity", $"update_time") USING SEPARATOR="\t", HEADER="true", EOL="\n";
LOAD "/home/tigergraph/shared_data/import_graphs/ensname/IdentitiesGraph.csv"
LOAD "/home/tigergraph/shared_data/import_graphs/lens/IdentitiesGraph.csv"
TO VERTEX IdentitiesGraph VALUES($"primary_id", $"primary_id", $"updated_nanosecond") USING SEPARATOR="\t", HEADER="true", EOL="\n";
LOAD "/home/tigergraph/shared_data/import_graphs/ensname/PartOfIdentitiesGraph.csv"
LOAD "/home/tigergraph/shared_data/import_graphs/lens/PartOfIdentitiesGraph.csv"
TO EDGE PartOfIdentitiesGraph VALUES ($"from", $"to") USING SEPARATOR = "\t", EOL = "\n", HEADER = "true";

LOAD "/home/tigergraph/shared_data/import_graphs/ensname/Hold.csv"
LOAD "/home/tigergraph/shared_data/import_graphs/lens/Hold.csv"
TO EDGE Hold VALUES ($"from", $"to", $"source", $"level") USING SEPARATOR = "\t", EOL = "\n", HEADER = "true";
LOAD "/home/tigergraph/shared_data/import_graphs/ensname/Resolve.csv"
LOAD "/home/tigergraph/shared_data/import_graphs/lens/Resolve.csv"
TO EDGE Resolve VALUES ($"from", $"to", $"source", $"level") USING SEPARATOR = "\t", EOL = "\n", HEADER = "true";
LOAD "/home/tigergraph/shared_data/import_graphs/ensname/Reverse_Resolve.csv"
LOAD "/home/tigergraph/shared_data/import_graphs/lens/Reverse_Resolve.csv"
TO EDGE Reverse_Resolve VALUES ($"from", $"to", $"source", $"level") USING SEPARATOR = "\t", EOL = "\n", HEADER = "true";
}

0 comments on commit e0e28dd

Please sign in to comment.