You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use the latest code and test as follows, no problem.
The case is as follows:
case one: without ttl,data exists
create tag player1(age int);
show create tag player1;
create tag index player1_index on player1(age);
insert vertex player1(age) values "11":(1);
insert vertex player1(age) values "22":(2);
insert vertex player1(age) values "33":(3);
insert vertex player1(age) values "44":(4);
rebuild tag index player1_index
FETCH PROP ON player1 "11" yield player1.age;
MATCH (v:player1) return v;
MATCH (v:player1) where v.player1.age == 1 return v;
case two: use ttl, data not exists
create tag player(age int) ttl_duration= 100, ttl_col = "age";
create tag index player_index on player(age);
show create tag player;
insert vertex player(age) values "11":(1);
insert vertex player(age) values "22":(2);
insert vertex player(age) values "33":(3);
insert vertex player(age) values "44":(4);
rebuild tag index player_index
FETCH PROP ON player "11" yield player.age;
Use the latest code and test as follows, no problem. The case is as follows:
case one: without ttl,data exists
create tag player1(age int);
show create tag player1;
create tag index player1_index on player1(age);
insert vertex player1(age) values "11":(1);
insert vertex player1(age) values "22":(2);
insert vertex player1(age) values "33":(3);
insert vertex player1(age) values "44":(4);
rebuild tag index player1_index
FETCH PROP ON player1 "11" yield player1.age;
MATCH (v:player1) return v;
MATCH (v:player1) where v.player1.age == 1 return v;
case two: use ttl, data not exists
create tag player(age int) ttl_duration= 100, ttl_col = "age";
create tag index player_index on player(age);
show create tag player;
insert vertex player(age) values "11":(1);
insert vertex player(age) values "22":(2);
insert vertex player(age) values "33":(3);
insert vertex player(age) values "44":(4);
rebuild tag index player_index
FETCH PROP ON player "11" yield player.age;
Describe the bug
The int type field sets the ttl attribute, and it can still be queried after expiration.
Expired data match cannot be queried, but fetch can still be queried.
How to query the setting of ttl, the desc tag cannot be viewed.
Your Environments (required)
nebula version: 2.6.1
ref: https://discuss.nebula-graph.com.cn/t/topic/7268
The text was updated successfully, but these errors were encountered: