skip to Main Content

I have PostgreSQL 15 running with the Apache AGE extension installed on it. I can view graphs and run queries using AGE Viewer, but I get the following error when creating a new graph from AGE Viewer.

Screenshot of the error

I restarted AGE Viewer, but still, it didn’t work. I expected a new, empty graph to be created if it worked properly. Does anyone know how to fix this?

2

Answers


  1. The error is occurring because the object on which you are using map function is undefined.

    • Make sure that the object on which you are using the map function is properly initialized.
    • Object should contain valid data for using map on it.
    Login or Signup to reply.
  2. I believe you cannot create an empty graph using this functionality; you have to upload a CSV file.id

    There’s an issue open for this.

    However, using a simple query like the one below can generate an empty graph for you:

    SELECT ag_catalog.create_graph('graph_name');
    

    OR

    SELECT create_graph('graph_name');
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search