Skip to content

GC for AsOf joins #2010

@ryzhyk

Description

@ryzhyk

Consider an asof-join query T1 ASOF JOIN T2 MATCH_CONDITION(T1.ts1 >= T2.ts2), where ts1 and ts2 are timestamp columns in T1 and T2 with LATENESS values L1 and L2 respectively.

Let TS1 and TS2 be the latest observed timestamps in T1 and T2.

Let WL = min(TS1 - L1, TS2 - L2), i.e., the timestamp before which neither of the two streams can see any updates.

Metadata

Metadata

Labels

DBSP coreRelated to the core DBSP librarySQL compilerRelated to the SQL compiler

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions