-- added small optimization:    if we know the cardinality of an attach node and the generated column    is the only referenced one then we can generate a one column literal    table containing the attached attribute.
-- added small optimization:
   if we know the cardinality of an attach node and the generated column
   is the only referenced one then we can generate a one column literal
   table containing the attached attribute.

zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb