cancel
Showing results for 
Search instead for 
Did you mean: 

Neo.ClientError.Statement.SyntaxError

IchsanALi
Node Link
CALL gds.graph.list()
YIELD nodeID, nodeCount, relationshipCount, density
where nodeID = '3'
RETURN nodeCount, relationshipCount, density
 

Neo.ClientError.Statement.SyntaxError

Unknown procedure output: `nodeID` (line 2, column 7 (offset: 29))
"YIELD nodeID, nodeCount, relationshipCount, density"
       ^
 
I want to take the 3rd row
1 ACCEPTED SOLUTION

glilienfield
Ninja
Ninja

The 'gds.graph.list' procedure provides information about a graph.  As such, it doesn't yield a nodeId. These are the outputs from the procedure:

  graphName: String,
  database: String,
  configuration: Map,
  nodeCount: Integer,
  relationshipCount: Integer,
  schema: Map,
  degreeDistribution: Map,
  density: Float,
  creationTime: Datetime,
  modificationTime: Datetime,
  sizeInBytes: Integer,
  memoryUsage: String

What are you trying to achieve? 

View solution in original post

2 REPLIES 2

glilienfield
Ninja
Ninja

The 'gds.graph.list' procedure provides information about a graph.  As such, it doesn't yield a nodeId. These are the outputs from the procedure:

  graphName: String,
  database: String,
  configuration: Map,
  nodeCount: Integer,
  relationshipCount: Integer,
  schema: Map,
  degreeDistribution: Map,
  density: Float,
  creationTime: Datetime,
  modificationTime: Datetime,
  sizeInBytes: Integer,
  memoryUsage: String

What are you trying to achieve? 

IchsanALi
Node Link

Thanks very much

Nodes 2022
Nodes
NODES 2022, Neo4j Online Education Summit

On November 16 and 17 for 24 hours across all timezones, you’ll learn about best practices for beginners and experts alike.