sarmadmm commented on issue #966: URL: https://github.com/apache/age/issues/966#issuecomment-1594727209
These procedures may be used to export graph data from Apache AGE for Giraph analysis. Create your graph schema in Apache AGE first, then use its graph-specific SQL extensions to query the pertinent graph data. Use the PostgreSQL `COPY` command to export the data in the appropriate format after that. For instance, you may use the following command to export the data in CSV format: `COPY (SELECT * FROM graph_table) TO '/path/to/exported_data.csv' CSV HEADER; ` Then, if needed by Giraph's input format, convert the exported data into a Giraph-compatible format, such as edge lists or adjacency lists. Use Giraph's data loading procedures to import the converted data into the program for analysis. Finally, use Giraph's graph processing tools to run the analysis you want on the supplied graph data. For more thorough information and assistance during the export and analysis process, be sure to consult the documentation and resources of Apache AGE and Giraph. -- 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]
