3 Replies Latest reply on Dec 10, 2018 3:22 PM by WGabriel

    [PGX 2.7.0] PGQL doesn't support property type vertex

    WGabriel

      Hello,

      using an older version of PGX (2.2.1) it was possible to use the type VERTEX

      (PropertyType.VERTEX) without any problems.

       

      Code snippet from your example "Electric network"

       

      https://docs.oracle.com/cd/E56133_01/latest/use-cases/electric-network/part3.html

       

      g = session.readGraphWithProperties(graph_path)
      
      g.createVertexProperty( PropertyType.VERTEX, "bfs_parent" )
      ...
      gm_bfs = session.compileProgram("bfs_reachable.gm")
      

       

       

      But now using PGX 2.7.0 there is a runtime error

       

      "property bfs_parent is of type vertex, but this type is not supported by PGQL"

       

      What part of the code has to be changed?

      Many thanks in advance.

       

      Kind regards,

      WGabriel