Streams Metadata

This dataset describes the metadata of a stream, to help data team understand the streams they are running within their marketing strategy.

📘

Same across all versions: the schema of this view is identical in V1.3, V1.5, and V1.6 — only the view-name suffix changes. To migrate, change the suffix in your query.

How to use it with other data parts?

Use STREAM_ID and TREATMENT_ID to connect to other parts of the data share, to understand which customers are receiving these campaigns and what is the STREAM_OBJECTIVE each customer was targeted with, or understanding which customers were allocated to a control treatment using the IS_CONTROL_STREAM flag.

Query

-- FOR V1.6
SELECT *
FROM [SHARED_DB].BI.VW_STREAMS_METADATA_V1_6
LIMIT 10

🔑 Primary Keys

  • Composite Key - STREAM_ID, TREATMENT_ID
  • Watermark - UPDATED_AT

Table description

Field NameDescriptionData TypeFormat
STREAM_IDIdentifier of the streamNUMBER (38,0)
STREAM_NAMEName of the streamTEXT (200)
STREAM_OBJECTIVEStream Objective as stated upon building this streamTEXT (16777216)
RECURRENCE_PATTERN_CODEInternal code representing the stream recurrence patternTEXT (16777216)
RECURRENCE_PATTERNTextual description of recurrence patternTEXT (16777216)
STREAM_DURATIONDuration period for this streamNUMBER (38,0)
START_DATEStream start dateTIMESTAMP_NTZ
END_DATEStream end dateTIMESTAMP_NTZ
TREATMENT_IDIdentifier of the treatmentNUMBER (38,0)
TREATMENT_NAMEName of the treatmentTEXT (200)
TREATMENT_PORTIONPercentage of the customers in stream that are allocated to this treatmentNUMBER (38,0)
IS_CONTROL_STREAMFlag represents control treatmentsNUMBER (38,0)
UPDATED_ATTimestamp the record was updatedTIMESTAMP_NTZ


Did this page help you?