Skip to content

v0.11.1.0

Latest

Choose a tag to compare

@LaurentRDC LaurentRDC released this 13 May 22:21
· 18 commits to master since this release
v0.11.1.0
5c059d7

New features

  • Added a cross-backend abstraction for the COPY statement in
    Database.Beam.Backend.SQL.BeamExtensions:
    • file-mode COPY ... TO 'file' / COPY ... FROM 'file'. Defines
      MonadBeamCopyTo / MonadBeamCopyFrom, and the user-facing
      copyTableTo / copySelectTo / copyTableFrom builders.
    • streaming COPY ... TO STDOUT / COPY ... FROM STDIN. Mirrors the file-mode
      API: MonadBeamCopyToStream / MonadBeamCopyFromStream,
      and the copyTableToStream / copySelectToStream / copyTableFromStream builders.

Bug fixes

  • Fixed an issue where a window function applied over the result of nub_ (or
    the Postgres-specific pgNubBy_) would emit DISTINCT and the window
    expression in the same SELECT, causing the window to evaluate against the
    pre-deduplicated rows. The inner select is now materialised as a subquery
    whenever it carries DISTINCT, GROUP BY, or HAVING (#756).

Dependencies

  • Removed dependency on ghc-prim.