As a transitional step, this site will temporarily be made Read-Only from July 8th until the new community launch. During this time, you can still search and read articles and discussions.

While the community is read-only, if you have questions or issues requiring TIBCO review/response, please access the new TIBCO Community and select "Ask A Question."

You will need to register or log in or register to engage in the new community.

Unable to use "as" operator to label parts of the traversel.

Hi there,

We have a group of vertices labeled as AGENTS, which are connected to CUSTOMERS vertices via 'SERVES' edge. Each agent node has a "ID" property.

I am looking to build a statement which counts the number of customers served by each agent by running something along the lines of:

g.V().has('AGENTS','STATUS','A').as('a').out().as('b').groupCount().by('ID');

However, I face the following error: "Gremlin step not supported. Error Name: TGQueryStepNotSupported Error Code: 8103".

After testing further, I have narrowed down the issue to some error in labeling the traversal appropriately.

For example, this works : g.V().has('AGENTS','STATUS','A').out().limit(1);

However, this does not: g.V().has('AGENTS','STATUS','A').as('a').out().limit(1); and returns the following "Gremlin step not supported. Error Name: TGQueryStepNotSupported Error Code: 8103".

Possible to receive some guidance?

Many thanks!

 

 

(1) Answer