Not able to add any attributes to existing graph after upgrading to 3.8 version

Not able to add any attributes to exissting graph after upgrading to 3.8 version.Getting below error.

Can anyone please consider this ticket as priority as we are blocked to add attributes from both tg studio and through gsql query after upgrading

@sushmakundapur Can we have the gsql log and the original schema, as well as the schema change job?

This is the script to add vertex through pytigergraph. Trying to add vertex/ attribute but nothing seems to be working. After upgrading to 3.8 we are facing problem.Before we were able to design schema both manually and through pytigergraph

import pyTigerGraph as tg

host = “abc”
graphname = “dummy”

conn = tg.TigerGraphConnection(host=host, graphname=graphname ,username=“abc”,password=“abc”)
schema = ‘’’
USE GRAPH dummy
CREATE SCHEMA_CHANGE JOB inventory FOR GRAPH dummy {
ADD VERTEX dummyvertex(PRIMARY_ID identifier STRING)WITH STATS=“OUTDEGREE_BY_EDGETYPE”,PRIMARY_ID_AS_ATTRIBUTE=“true”;
}
RUN SCHEMA_CHANGE JOB inventory
DROP JOB inventory
‘’’
print(conn.gsql(schema, options=[]));

@Matt_Zhang Not able to add any vertex on new graph via tigergraph studio in 3.8

@sushmakundapur The above schema change job looks correct, but doesn’t match the error message you posted above: it complains about adding attribute ‘dummy’ to local vertex ‘CPE’ for graph ‘nocvue_test4’. But anyways, in your original graph, do you have some vertex/edge which has an attribute named ‘type’ ? In 3.8 we disabled that which may caused the failure (but the error message you provided earlier doesn’t look like). Can you also share the gsql debug log? In order to do that, run the following command:

gadmin config set GSQL.BasicConfig.LogConfig.LogLevel DEBUG
gadmin config apply -y
gadmin restart gsql -y
1 Like