You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
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).