Skip to main content

Syntax

Basic parameters

Sink output schema

The HTTP sink supports two output shapes:
  • Single-column sink: Output exactly one column of type varchar or jsonb, and set WITH (url = '...').
  • Dynamic URL sink: Output columns named payload and url. The payload column must be varchar or jsonb, and the url column must be varchar.
For multi-column HTTP sinks, only payload and url are allowed. When using a dynamic URL sink, do not also set the url option in the WITH clause.

Examples

The following examples use append-only upstream data.

Static URL

Dynamic URL from a sink column

Dynamic URL with CREATE SINK AS SELECT