bitnine-oss / agensgraph

AgensGraph, a transactional graph database based on PostgreSQL
http://www.agensgraph.org
Other
1.32k stars 146 forks source link

fix: Corrects CypherTypecast in expression_tree_walker(). #567

Closed emotionbug closed 2 years ago

emotionbug commented 2 years ago

The argument of CypherTypeCast must be passed to "walker". but, "expression_tree_walker" is called again and the "walker" cannot perform the required tasks.

So, changed to call walker. If required, "expression_tree_walker" is called back from "walker".

In addition, this corrects errors caused by Cypher not detecting the nested aggregate function.