Open
Description
Hello Team ,
I am trying to execute the Stored procedure in the Memsql Db from my python script.
Sample code as below:
conn = mysql.connector.connect(host=str(memsqlHostIP), port=memsqlHostPort, user=str(memsqlUserName), password=str(memsqlPassword),database=str(memsqlDatabase),allow_local_infile=True,autocommit=True)
mycursor = conn.cursor()
args = ('NFType_1','Instid1','{"user" : "Shrinidhi", "uid" : {"clientId" : 1, "Role" : "God", "id" : 327 }}','LSTM',1610096364,'XDFWFWfwfnkfn')
mycursor.callproc('INJEST_MODEL',args)
for result in mycursor.stored_results():
print(result.fetchall())
But i am getting the below error:-
1706 (HY000): Feature 'user-defined variables without a SET clause or WHERE clause' is not supported by MemSQL.
What could be the possible solution for this.?
Thanks,
Vijayant
Metadata
Metadata
Assignees
Labels
No labels