Run an Airbyte source connector and return one stream as a typed table
Positional arguments
Named arguments
accept_license :=
VARCHAR
allow_custom_code :=
BOOLEAN
timeout_seconds :=
BIGINT
Returns columns
date-time property
TIMESTAMP WITH TIME ZONE
naive date-time property
TIMESTAMP
object property
STRUCT(w BIGINT, h BIGINT)
Returns columns · depends on the arguments
date-time property
TIMESTAMP WITH TIME ZONE
naive date-time property
TIMESTAMP
object property
STRUCT(w BIGINT, h BIGINT)
Examples (2)
Read the pokemon stream of the declarative PokeAPI connector
SELECT id, name, base_experience
FROM airbyte.main.read_stream('source-pokeapi', 'pokemon', accept_license := 'ELv2');
Read a declarative manifest by URL, resuming from a saved Airbyte state
SELECT count(*) AS pokemon
FROM airbyte.main.read_stream('https://connectors.airbyte.com/files/metadata/airbyte/source-pokeapi/0.3.79/manifest.yaml', 'pokemon', state := getvariable('pokemon_state'));