Skip to content

Add second-engine point-in-time parity checks #4

Closed

Description

@pavanamthomas

SQLite is the current executable CI dialect and Pandas provides an independent implementation for selected features. The next useful validation is a second SQL engine so dialect differences are tested rather than discussed only in prose.

Scope:

  • add DuckDB or PostgreSQL for a deterministic subset of the point-in-time feature pipeline;
  • run the same fixture rows and prediction cutoffs;
  • compare result grain, keys, NULL behaviour, ranking/window results, recency/spend/count features, and sentinel exclusion;
  • document dialect-specific differences explicitly rather than normalising them away;
  • keep event-time versus ingest-time correctness as a separate unresolved bound.

Acceptance evidence:

  1. executable second-engine queries,
  2. cross-engine equality or deliberately documented difference tests,
  3. Pandas parity retained as a third route where applicable,
  4. CI or a reproducible local command,
  5. README/ROADMAP updated only after tests pass.

The purpose is not to add another SQL badge. It is to test whether the same information-set definition survives a different execution engine.

Activity

  1. pavanamthomas commented on Aug 24, 2026

    @pavanamthomas
    OwnerAuthor

    Implementation progress: draft PR #5 adds a real second SQL engine instead of another README claim. A deterministic fixture now runs through SQLite and DuckDB, with Pandas retained as an independent third calculation. Tests lock point-in-time count/spend/recency, NULL/no-history behavior, ranking-window semantics, and exclusion of the post-cutoff 99999 sentinel. CI is green on the documented branch. README/ROADMAP now state the narrower remaining bounds: event time is not ingest time, PostgreSQL-specific behavior is not tested, and cross-engine result parity is not optimizer parity. Leaving the issue open until merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions