Documentation ¶
Index ¶
Constants ¶
View Source
const ( Waiting = "waiting" GeneratedUploadSchema = "generated_upload_schema" CreatedTableUploads = "created_table_uploads" GeneratedLoadFiles = "generated_load_files" UpdatedTableUploadsCounts = "updated_table_uploads_counts" CreatedRemoteSchema = "created_remote_schema" ExportedUserTables = "exported_user_tables" ExportedData = "exported_data" ExportedIdentities = "exported_identities" Aborted = "aborted" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SchemaType ¶
type SchemaType string
const ( StringDataType SchemaType = "string" BooleanDataType SchemaType = "boolean" IntDataType SchemaType = "int" BigIntDataType SchemaType = "bigint" FloatDataType SchemaType = "float" JSONDataType SchemaType = "json" TextDataType SchemaType = "text" )
type StagingFile ¶
type StagingFile struct { ID int64 WorkspaceID string Location string SourceID string DestinationID string Status string // enum Error error FirstEventAt time.Time LastEventAt time.Time UseRudderStorage bool DestinationRevisionID string TotalEvents int // cloud sources specific info SourceBatchID string SourceTaskID string SourceTaskRunID string SourceJobID string SourceJobRunID string TimeWindow time.Time CreatedAt time.Time UpdatedAt time.Time }
StagingFile a domain model for a staging file.
The staging file contains events that should be loaded into a warehouse. It is located in a cloud storage bucket. The model includes ownership, file location, and other metadata.
func (StagingFile) WithSchema ¶ added in v1.4.3
func (s StagingFile) WithSchema(schema json.RawMessage) StagingFileWithSchema
type StagingFileWithSchema ¶ added in v1.4.3
type StagingFileWithSchema struct { StagingFile Schema json.RawMessage }
StagingFileWithSchema is a StagingFile with schema field for included events.
schema size can be really big, and thus it should be included only when required.
Click to show internal directories.
Click to hide internal directories.