ftsrg / ingraph

Incremental view maintenance for openCypher graph queries.
http://docs.inf.mit.bme.hu/ingraph/
Eclipse Public License 1.0
47 stars 10 forks source link

Use parsed text from query as name for unnamed columns #367

Closed marci543 closed 5 years ago

marci543 commented 5 years ago

Use expression instead of _expr as column name if the column has no alias, e.g. count(*). https://github.com/FTSRG/ingraph/blob/db71f51f5ead36a6c7aeee9bbb61b68c8df5b729/compiler/src/main/scala/ingraph/compiler/cypher2gplan/GPlanResolver.scala#L151

Test case: https://github.com/FTSRG/ingraph/pull/367/commits/dc1cb5956e358769588da21d522e75a9e416cb00#diff-7c3111ac35db49278487e33313f7bc2fR217

jmarton commented 5 years ago

Pls defer merging this a bit. I'm just merging this into the issue-331 branch.

jmarton commented 5 years ago

merge block lifted