
alter class /test/cypher with core=cassandraonly;

update /test/cypher set person_to_master=null where id='cypher:e1'
/**
onerror(continue,"not exist")
**/
;

select * from /test/cypher
/**
output()
**/
;

drop edge type test.person_to_master;

select * from /test/cypher
/**
output()
**/
;

alter class /test/cypher with core=memory;

select * from /test/cypher/**output()**/;

-- wait for memdb load data
/**
sleep(1s)
**/
;

create edge type test.person_to_master "教师指导研究生"
;

create ('cypher:e1') - [:person_to_master] -> ('cypher2:e2');

match ('cypher:e1') - [:person_to_master] -> ('cypher2:e2')
/**
output()
match("graph.edges.len",1,"graph.nodes.len",2)
**/
;

