Skip to contentManaged Kafka is live: Apache Kafka on AWS for half the cost of MSK

Event types

ddl.applied

Sent when Artie creates a destination table or adds or drops its columns, with the SQL statements that ran.

Each create table, add columns or drop columns operation sends one event with all of its statements. If an operation runs no statement, for example because the columns already exist, no event is sent. severity is info and message is DDL applied. For schema change statements read from a MySQL source, see ddl.seen.

Only changes Artie makes while it replicates send the event. Tables and columns that a backfill creates don’t send it, and neither do Artie’s temporary staging tables. Delta Lake, Iceberg, S3, GCS, SQS and Redis destinations never send it.

In properties, table and schema name the destination table. queries lists each data definition language (DDL) statement that ran, in the order it ran. When a statement fails, queries holds only the statements that ran before it.

On a Databricks destination, a column drop can add an extra statement to queries. When Delta rejects the drop because column mapping is off, Artie runs this statement and then retries the drop:

SQL
ALTER TABLE TABLE_NAME SET TBLPROPERTIES ('delta.columnMapping.mode' = 'name')

TABLE_NAME is the fully qualified name of the destination table. In queries, this statement comes just before the drop it allowed.

ddl_event in properties describes each statement that changed the table, in the order of queries. Every object has eventType (createTable, addColumns or dropColumns), schema, table and columns, plus catalog on Databricks. Each entry in columns has name, dataType and primaryKey, and dataType is empty for a dropped column. A createTable entry doesn’t prove the table is new. Where the destination supports it, Artie runs CREATE TABLE IF NOT EXISTS and sends the event even when another writer created the table first. The column mapping statement on Databricks has no ddl_event entry.

For the fields every event shares, retries and authentication, see Webhooks.

Payload

application/json

DDL applied

  • delivery_metadataobjectrequired
    Show child attributes
    • attemptintegerrequired

      1-based delivery attempt number for this event.

  • destinationstringrequired

    Destination connector type (e.g. bigquery).

  • environment_namestring

    Human-readable name of the environment. Omitted when the event has no environment.

  • environment_uuidstring<uuid> | null

    UUID of the environment the event belongs to. Omitted when the event has no environment.

  • eventstringrequired

    Event type identifier (e.g. replication.failed).

    Available options: ddl.applied

  • messagestringrequired

    Human-readable summary of the event.

  • pipelinesobject[]required
    Show child attributes
    • namestringrequired
    • uuidstring<uuid>required
  • propertiesobjectrequired

    Event-specific fields included in the properties object of a webhook delivery. The set of keys depends on the event type. Every field is optional; omitted keys should be treated as absent. Artie may add new fields at any time—clients must tolerate unknown keys and should not assume a fixed schema beyond this contract.

    Show child attributes
    • queriesstring[]

      SQL statements executed for this DDL operation.

    • schemastring

      Schema containing the affected table (scrubbed).

    • tablestring

      Table affected by the DDL (scrubbed).

  • severitystringrequired

    Severity of the event.

    Available options: info, warning, error

  • sourcestringrequired

    Source connector type (e.g. postgresql).

  • source_reader_uuidstring<uuid>required
  • timestampstring<date-time>required

    Time the event occurred (RFC 3339).

Example payload
{
  "delivery_metadata": {
    "attempt": 1
  },
  "destination": "snowflake",
  "environment_name": "Production",
  "environment_uuid": "33333333-3333-3333-3333-333333333333",
  "event": "ddl.applied",
  "message": "DDL applied",
  "pipelines": [
    {
      "name": "Production Postgres → Snowflake",
      "uuid": "22222222-2222-2222-2222-222222222222"
    }
  ],
  "properties": {
    "queries": [
      "ALTER TABLE orders ADD COLUMN promo_code VARCHAR(32)"
    ],
    "schema": "public",
    "table": "orders"
  },
  "severity": "info",
  "source": "postgresql",
  "source_reader_uuid": "11111111-1111-1111-1111-111111111111",
  "timestamp": "2026-06-20T12:00:00Z"
}

Was this page helpful?