20#ifndef ORES_DQ_DOMAIN_PUBLICATION_HPP
21#define ORES_DQ_DOMAIN_PUBLICATION_HPP
26#include <boost/uuid/uuid.hpp>
27#include "ores.dq/domain/publication_mode.hpp"
29namespace ores::dq::domain {
41 boost::uuids::uuid
id;
59 publication_mode
mode = publication_mode::upsert;
Audit record for a dataset publication event.
Definition publication.hpp:37
std::uint64_t records_inserted
Number of records inserted during publication.
Definition publication.hpp:69
std::uint64_t records_skipped
Number of records skipped during publication.
Definition publication.hpp:79
std::string published_by
Username of the person who initiated the publication.
Definition publication.hpp:89
publication_mode mode
Publication mode used for this operation.
Definition publication.hpp:59
std::string target_table
Name of the production table that received the data.
Definition publication.hpp:64
boost::uuids::uuid id
Unique identifier for this publication record.
Definition publication.hpp:41
std::uint64_t records_deleted
Number of records deleted during publication.
Definition publication.hpp:84
std::chrono::system_clock::time_point published_at
Timestamp when the publication occurred.
Definition publication.hpp:94
std::string dataset_code
Code of the dataset that was published.
Definition publication.hpp:54
std::uint64_t records_updated
Number of records updated during publication.
Definition publication.hpp:74
boost::uuids::uuid dataset_id
ID of the dataset that was published.
Definition publication.hpp:46