@vihuma My guess is when setting up conn (connection) the graph wasn’t defined. I slightly modified your query by adding USE GRAPH FINNET_1 in the GSQL chuck. Can you let me know if you still get the same error?
Revised GSQL Chunk:
print(conn.gsql('''
USE GRAPH FINNET_1
DROP JOB LOAD_FINNET_1
CREATE LOADING JOB LOAD_FINNET_1 FOR GRAPH FINNET {
DEFINE FILENAME master_file;
LOAD master_file TO VERTEX master VALUES($0, $1, $2, $3, $4, $5, $6) USING HEADER=“true”, SEPARATOR=",", EOL="\n";
}
'''))
Hi Jon,
Thank you for the reply but it still did not work. When I open the connection I do provide the graph name.
Might it have to do with the version or permissions? I am running as super user.
Victor
can you please upgrade pyTG? 0.0.9.8.5 is latest version pip install -U pyTigerGraph
or pip3 install -U pyTigerGraph
depending on py version you are using?