Skip to content

Commit 335d641

Browse files
committed
fix: Public URLs
1 parent b8af18a commit 335d641

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

pages/data-migration/json.mdx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -247,23 +247,23 @@ The same approach works for S3 files when proper credentials are provided.
247247

248248
{<h3 className="custom-header">JSONL files</h3>}
249249

250-
- [`people_nodes.jsonl`](https://s3.eu-west-1.amazonaws.com/download.memgraph.com/asset/docs/people_nodes.jsonl) is used to create nodes labeled `:Person`.<br/> The file contains the following data:
250+
- [`people_nodes.jsonl`](https://download.memgraph.com/asset/docs/people_nodes.jsonl) is used to create nodes labeled `:Person`.<br/> The file contains the following data:
251251
```jsonl
252252
{"id": 100, "name": "Daniel", "age": 30, "city": "London"}
253253
{"id": 101, "name": "Alex", "age": 15, "city": "Paris"}
254254
{"id": 102, "name": "Sarah", "age": 17, "city": "London"}
255255
{"id": 103, "name": "Mia", "age": 25, "city": "Zagreb"}
256256
{"id": 104, "name": "Lucy", "age": 21, "city": "Paris"}
257257
```
258-
- [`restaurants_nodes.jsonl`](https://s3.eu-west-1.amazonaws.com/download.memgraph.com/asset/docs/restaurants_nodes.jsonl) is used to create nodes labeled `:Restaurants`.<br/> The file contains the following data:
258+
- [`restaurants_nodes.jsonl`](https://download.memgraph.com/asset/docs/restaurants_nodes.jsonl) is used to create nodes labeled `:Restaurants`.<br/> The file contains the following data:
259259
```jsonl
260260
{"id": 200, "name": "Mc Donalds", "menu": "Fries;BigMac;McChicken;Apple Pie"}
261261
{"id": 201, "name": "KFC", "menu": "Fried Chicken;Fries;Chicken Bucket"}
262262
{"id": 202, "name": "Subway", "menu": "Ham Sandwich;Turkey Sandwich;Foot-long"}
263263
{"id": 203, "name": "Dominos", "menu": "Pepperoni Pizza;Double Dish Pizza;Cheese filled Crust"}
264264
```
265265

266-
- [`people_relationships.jsonl`](https://s3.eu-west-1.amazonaws.com/download.memgraph.com/asset/docs/people_relationships.jsonl) is used to connect people with the `:IS_FRIENDS_WITH` relationship.<br/> The file contains the following data:
266+
- [`people_relationships.jsonl`](https://download.memgraph.com/asset/docs/people_relationships.jsonl) is used to connect people with the `:IS_FRIENDS_WITH` relationship.<br/> The file contains the following data:
267267
```jsonl
268268
{"first_person": 100, "second_person": 102, "met_in": 2014}
269269
{"first_person": 103, "second_person": 101, "met_in": 2021}
@@ -273,7 +273,7 @@ The same approach works for S3 files when proper credentials are provided.
273273
{"first_person": 101, "second_person": 102, "met_in": 2017}
274274
{"first_person": 100, "second_person": 103, "met_in": 2001}
275275
```
276-
- [`restaurants_relationships.jsonl`](https://s3.eu-west-1.amazonaws.com/download.memgraph.com/asset/docs/restaurants_relationships.parquet) is used to connect people with restaurants using the `:ATE_AT` relationship.<br/> The file contains the following data:
276+
- [`restaurants_relationships.jsonl`](https://download.memgraph.com/asset/docs/restaurants_relationships.jsonl) is used to connect people with restaurants using the `:ATE_AT` relationship.<br/> The file contains the following data:
277277
```jsonl
278278
{"PERSON_ID": 100, "REST_ID": 200, "liked": true}
279279
{"PERSON_ID": 103, "REST_ID": 201, "liked": false}
@@ -293,15 +293,15 @@ The same approach works for S3 files when proper credentials are provided.
293293
for each row with properties based on the parsed row values:
294294

295295
```cypher
296-
LOAD JSONL FROM "people_nodes.jsonl"
296+
LOAD JSONL FROM "https://download.memgraph.com/asset/docs/people_nodes.jsonl"
297297
AS row
298298
CREATE (n:Person {id: row.id, name: row.name, age: row.age, city: row.city});
299299
```
300300

301301
In the same manner, the following query will create a new node for each restaurant:
302302

303303
```cypher
304-
LOAD JSONL FROM "restaurants_nodes.jsonl" AS row
304+
LOAD JSONL FROM "https://download.memgraph.com/asset/docs/restaurants_nodes.jsonl" AS row
305305
CREATE (n:Restaurant {id: row.id, name: row.name, menu: row.menu});
306306
```
307307

@@ -319,7 +319,7 @@ The same approach works for S3 files when proper credentials are provided.
319319
The following query will create relationships between the people nodes:
320320

321321
```cypher
322-
LOAD JSONL FROM "people_relationships.jsonl" AS row
322+
LOAD JSONL FROM "https://download.memgraph.com/asset/docs/people_relationships.jsonl" AS row
323323
MATCH (p1:Person {id: row.first_person})
324324
MATCH (p2:Person {id: row.second_person})
325325
CREATE (p1)-[f:IS_FRIENDS_WITH]->(p2)
@@ -329,7 +329,7 @@ The same approach works for S3 files when proper credentials are provided.
329329
The following query will create relationships between people and restaurants where they ate:
330330

331331
```cypher
332-
LOAD JSONL FROM "restaurants_relationships.jsonl" AS row
332+
LOAD JSONL FROM "https://download.memgraph.com/asset/docs/restaurants_relationships.jsonl" AS row
333333
MATCH (p1:Person {id: row.PERSON_ID})
334334
MATCH (re:Restaurant {id: row.REST_ID})
335335
CREATE (p1)-[ate:ATE_AT]->(re)

pages/data-migration/parquet.mdx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ single label or relationships of a single type.
288288

289289
{<h3 className="custom-header">Parquet files</h3>}
290290

291-
- [`people_nodes.parquet`](s3://download.memgraph.com/asset/docs/people_nodes.parquet) is used to create nodes labeled `:Person`.<br/> The file contains the following data:
291+
- [`people_nodes.parquet`](https://download.memgraph.com/asset/docs/people_nodes.parquet) is used to create nodes labeled `:Person`.<br/> The file contains the following data:
292292
```parquet
293293
id,name,age,city
294294
100,Daniel,30,London
@@ -297,7 +297,7 @@ single label or relationships of a single type.
297297
103,Mia,25,Zagreb
298298
104,Lucy,21,Paris
299299
```
300-
- [`restaurants_nodes.parquet`](s3://download.memgraph.com/asset/docs/restaurants_nodes.parquet) is used to create nodes labeled `:Restaurants`.<br/> The file contains the following data:
300+
- [`restaurants_nodes.parquet`](https://download.memgraph.com/asset/docs/restaurants_nodes.parquet) is used to create nodes labeled `:Restaurants`.<br/> The file contains the following data:
301301
```parquet
302302
id,name,menu
303303
200,Mc Donalds,Fries;BigMac;McChicken;Apple Pie
@@ -306,7 +306,7 @@ single label or relationships of a single type.
306306
203,Dominos,Pepperoni Pizza;Double Dish Pizza;Cheese filled Crust
307307
```
308308

309-
- [`people_relationships.parquet`](s3://download.memgraph.com/asset/docs/people_relationships.parquet) is used to connect people with the `:IS_FRIENDS_WITH` relationship.<br/> The file contains the following data:
309+
- [`people_relationships.parquet`](https://download.memgraph.com/asset/docs/people_relationships.parquet) is used to connect people with the `:IS_FRIENDS_WITH` relationship.<br/> The file contains the following data:
310310
```parquet
311311
first_person,second_person,met_in
312312
100,102,2014
@@ -317,7 +317,7 @@ single label or relationships of a single type.
317317
101,102,2017
318318
100,103,2001
319319
```
320-
- [`restaurants_relationships.parquet`](s3://download.memgraph.com/asset/docs/restaurants_relationships.parquet) is used to connect people with restaurants using the `:ATE_AT` relationship.<br/> The file contains the following data:
320+
- [`restaurants_relationships.parquet`](https://download.memgraph.com/asset/docs/restaurants_relationships.parquet) is used to connect people with restaurants using the `:ATE_AT` relationship.<br/> The file contains the following data:
321321
```parquet
322322
PERSON_ID,REST_ID,liked
323323
100,200,true
@@ -338,14 +338,14 @@ single label or relationships of a single type.
338338
for each row with properties based on the parsed row values:
339339

340340
```cypher
341-
LOAD PARQUET FROM "s3://download.memgraph.com/asset/docs/people_nodes.parquet" AS row
341+
LOAD PARQUET FROM "https://download.memgraph.com/asset/docs/people_nodes.parquet" AS row
342342
CREATE (n:Person {id: row.id, name: row.name, age: row.age, city: row.city});
343343
```
344344

345345
In the same manner, the following query will create new nodes for each restaurant:
346346

347347
```cypher
348-
LOAD PARQUET FROM "s3://download.memgraph.com/asset/docs/restaurants_nodes.parquet" AS row
348+
LOAD PARQUET FROM "https://download.memgraph.com/asset/docs/restaurants_nodes.parquet" AS row
349349
CREATE (n:Restaurant {id: row.id, name: row.name, menu: row.menu});
350350
```
351351

@@ -363,7 +363,7 @@ single label or relationships of a single type.
363363
The following query will create relationships between the people nodes:
364364

365365
```cypher
366-
LOAD PARQUET FROM "s3://download.memgraph.com/asset/docs/people_relationships.parquet" AS row
366+
LOAD PARQUET FROM "https://download.memgraph.com/asset/docs/people_relationships.parquet" AS row
367367
MATCH (p1:Person {id: row.first_person})
368368
MATCH (p2:Person {id: row.second_person})
369369
CREATE (p1)-[f:IS_FRIENDS_WITH]->(p2)
@@ -373,7 +373,7 @@ single label or relationships of a single type.
373373
The following query will create relationships between people and restaurants where they ate:
374374

375375
```cypher
376-
LOAD PARQUET FROM "s3://download.memgraph.com/asset/docs/restaurants_relationships.parquet" AS row
376+
LOAD PARQUET FROM "https://download.memgraph.com/asset/docs/restaurants_relationships.parquet" AS row
377377
MATCH (p1:Person {id: row.PERSON_ID})
378378
MATCH (re:Restaurant {id: row.REST_ID})
379379
CREATE (p1)-[ate:ATE_AT]->(re)

0 commit comments

Comments
 (0)