jsell-rh commented on issue #2198:
URL: https://github.com/apache/age/issues/2198#issuecomment-3755484634

   @jrgemignani I am referring to the [Apache AGE file import 
functions](https://age.apache.org/age-manual/master/intro/agload.html#load-graph-functions).
   
   As I understand it, the CSV file must be available on a filesystem that is 
accessible by the Postgres instance where Apache AGE is running.  (If this is 
incorrect, I'd love to learn more!)
   
   We are running in a cloud-native environment, where I consider directly 
mounting CSV files to the Postgres pod a bit of an anti-pattern. 
   
   I have looked at `agefreighter` and actually used it as inspiration for our 
bulk loading strategy. It looks like it is directly copying to the underlying 
Postgres tables that Apache AGE uses to store edges and vertices (which is what 
we now do). I felt a bit weird about interacting with what seems to not be a 
public interface, since the documentation suggests that `load_labels_from_file` 
and `load_edges_from_file` are the officially recommended ways to bulk insert 
graph data. 
   
   
   Please feel free to point out any errors in my understanding - this is my 
first exposure to Apache AGE. Thanks for all your work on this.
   


-- 
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]

Reply via email to