An event table is a Snowflake table with predefined columns for storing log messages emitted by stored procedures and other account features. Snowflake associates one active event table with each account, making it a shared destination for built-in logging. section 4.4 section 4.6
Set up and use an event table through these operational steps:
- Create the table in a suitable database and schema, such as BAKERY_DB.TRANSFORM.BAKERY_EVENTS. section 4.4
- Associate the table with the account; only one event table can be active for the account. section 4.6
Logging a pipeline procedure
A LOAD_CUSTOMER_ORDERS procedure emits a DEBUG message before merging data. After CALL LOAD_CUSTOMER_ORDERS(), querying BAKERY_EVENTS ordered by timestamp exposes the recorded activity.
