napkin-0.5.13
Safe HaskellNone
LanguageHaskell2010

Napkin.Experimental.Tardis

Synopsis

Documentation

programs :: forall b. Typeable b => [SpecProgramForYaml b] #

tardis_ :: forall b. (TardisCompat b, Default (BackendTableMeta b)) => BackendTableMeta b -> Relation -> DryRunFields -> IgnoredFields -> Maybe (NonEmpty PrimaryKeyColumn) -> SpecProgram' b () #

class HasBackendSchemaField b => TardisCompat b #

Minimal complete definition

toBase64, sha256, datetimeColType, concat_, coalesce_

Instances

Instances details
TardisCompat Postgres # 
Instance details

Defined in Napkin.Experimental.Tardis

TardisCompat BigQuery # 
Instance details

Defined in Napkin.Experimental.Tardis

pattern ColFingerprint :: (Eq a, IsString a) => a #

Fingerprint of all columns in source table. Implemented as base-64 encoded sha256 of contents separated by '1'

pattern ColFingerprintSerial :: (Eq a, IsString a) => a #

Used to differentiate duplicates

pattern ColValidFrom :: (Eq a, IsString a) => a #

Timestamp of first tardis run the row appeared in

pattern ColValidTo :: (Eq a, IsString a) => a #

Null when the row was still there last time tardis ran, otherwise a timestamp of tardis run that detected row missing

pattern ColIsLatest :: (Eq a, IsString a) => a #

Indicates the last revision of a record (if primary key is in use). If ColValidTo is not null then the row has been deleted already.