IITDBGroup / gprom

GProM is a middleware that adds support for provenance to database backends.
http://www.cs.iit.edu/%7edbgroup/research/gprom.php
Apache License 2.0
8 stars 5 forks source link

generic SQL serializer dealing with LATERAL subqueries #78

Open lordpretzel opened 3 years ago

lordpretzel commented 3 years ago

The generic SQL serializer, serializes the nested subqueries of nesting operators into strings and stores these strings in map: attribute name -> serialized subquery. Then in serialization of selection operators, references to the subquery result attribute are replaced with the serialized subquery. This does not work for LATERAL subqueries which have to be treated as FROM clause items. Plan of attack: