You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@age.apache.org by "rafsun42 (via GitHub)" <gi...@apache.org> on 2023/10/23 17:59:22 UTC

Re: [PR] Auto creates vertex or edge label on agload [age]

rafsun42 commented on code in PR #1179:
URL: https://github.com/apache/age/pull/1179#discussion_r1369056152


##########
regress/sql/age_load.sql:
##########
@@ -78,4 +76,27 @@ SELECT * FROM cypher('agload_test_graph', $$
     RETURN u.name, u.region
 $$) AS (result_1 agtype, result_2 agtype);
 
+
+-- TEST DOUBLE LOAD files
+-- These files have been loaded at the beggining with these same labels
+
+SELECT load_labels_from_file('agload_test_graph', 'Country',

Review Comment:
   The existing tests creates labels before loading. I was thinking instead of modifying them, let's append the new tests at the end. So, you may load City3, Country3 and has_city3 without creating labels first. Then, for exampe, call the COUNT(*) on both Country and Country3 and they should match.



-- 
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: commits-unsubscribe@age.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org