Sha256: b37722c887c4f075d612cc1dd24cbd2e3b82666c73802e3a892fc9714471a538

Contents?: true

Size: 479 Bytes

Versions: 1

Compression:

Stored size: 479 Bytes

Contents

- alf: |-
    project(minus(suppliers_in_london, suppliers_in_paris), [:name])
  optimized: |-
    project(minus(suppliers_in_london, suppliers_in_paris), [:name])
  comment: |-
    This is NOT minus(project, project). Indeed, as a supplier cannot be both
    in Paris and in London, the minus simply returns the left operand. In
    contrast, if we project first then the city information is lost and we
    could restrict the left operand through common names, which is wrong.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
alf-0.15.0 spec/optimizer/project/minus.yml