markgomer opened a new pull request, #1179:
URL: https://github.com/apache/age/pull/1179
Changes made in order to reduce redundancy on calling `load_edges_from_file`
and `load_labels_from_file`, so calling `create_vlabel` and `create_elabel`
before loading a csv file is not needed anymore.
Updated regression tests.
#### BEFORE:
```sql
SELECT create_vlabel('agload_test_graph','City');
NOTICE: VLabel "City" has been created
create_vlabel
---------------
(1 row)
SELECT load_labels_from_file('agload_test_graph', 'City',
'age_load/cities.csv');
load_labels_from_file
-----------------------
(1 row)
SELECT create_elabel('agload_test_graph','has_city');
NOTICE: ELabel "has_city" has been created
create_elabel
---------------
(1 row)
SELECT load_edges_from_file('agload_test_graph', 'has_city',
'age_load/edges.csv');
load_edges_from_file
----------------------
(1 row)
```
#### AFTER:
```sql
SELECT load_labels_from_file('agload_test_graph', 'City',
'age_load/cities.csv');
NOTICE: VLabel "City" has been created
load_labels_from_file
-----------------------
(1 row)
SELECT load_edges_from_file('agload_test_graph', 'has_city',
'age_load/edges.csv');
NOTICE: ELabel "has_city" has been created
load_edges_from_file
----------------------
(1 row)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]