You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@age.apache.org by GitBox <gi...@apache.org> on 2022/04/26 08:27:40 UTC

[GitHub] [incubator-age] lnoir commented on issue #211: Query resulting in error: cannot cast agtype integer to type boolean

lnoir commented on issue #211:
URL: https://github.com/apache/incubator-age/issues/211#issuecomment-1109504583

   Hi @pdpotter, they were created via `load_labels_from_file`.
   
   Create statement:
   ```
   SET search_path = ag_catalog, "$user", public;
   SELECT create_vlabel('minmail','User');
   SELECT create_vlabel('minmail','Profile');
   SELECT create_elabel('minmail','has');
   SELECT load_labels_from_file('minmail', 'User', '/tmp/export/vertices/User.csv');
   SELECT load_labels_from_file('minmail', 'Profile', '/tmp/export/vertices/Profile.csv');
   SELECT load_edges_from_file('minmail', 'has', '/tmp/export/edges/has.csv');
   ```
   User data from CSV file:
   ```
   126,"e4510317-67dc-4002-b28d-347699c8f8ca"
   ```
   
   Profile data from CSV file:
   ```
   128,"011b5316-4390-44ba-9771-c2ff5921b71c","user3","locked","Protected address","TRUE","2022-03-31T18:17:42.000Z","","User Three","email",""
   ```


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

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