vesoft-inc / nebula

A distributed, fast open-source graph database featuring horizontal scalability and high availability
https://nebula-graph.io
Apache License 2.0
10.69k stars 1.2k forks source link

Support column pruning in plan rewriter #5448

Open yixinglu opened 1 year ago

yixinglu commented 1 year ago

refer: https://discuss.nebula-graph.com.cn/t/topic/12581/23

nebula should prune the unused columns in plan node before entering optimization stage.

yixinglu commented 1 year ago

another test case:

match (v:player) 
where id(v)=='Tim Duncan' 
with v.player.name AS name 
match (v:player)-[]-(v2) 
where v.player.name IN name 
return v2;