Raises an error with the specified error message.
Attempts to execute an expression and handles any errors gracefully.

Type parameters. T means matching inputs and outputs use the same type.

Parameters
The input value. T means matching inputs and outputs use the same type.
Wraps a blocking function call with execution policies and catalog invocation options.

Type parameters. T means matching inputs and outputs use the same type.

Parameters
T means matching inputs and outputs use the same type.
retry:
struct<max_retries: int64, key: string, initial_backoff_ms: int64, backoff_multiplier: double, max_backoff_ms: int64, ready_retry_timeout_ms: int64>
= NULL
rate_limit:
struct<rate: int64, key: string, per: string, enforce_globally: bool>
= NULL
concurrency:
struct<max_concurrent: int64, key: string, enforce_globally: bool>
= NULL
logging:
struct<level: string, log_args: bool, key: string>
= NULL
cache:
struct<key: string, ttl_seconds: int64, path: string>
= NULL
batch_size:
struct<rows_per_call: int64>
= NULL
asynchronous:
bool
= NULL
timeout:
$Timeout
= NULL
on_error:
string
= NULL
metadata:
$Metadata
= NULL
row_metadata:
$RowMetadata
= NULL
Examples
SELECT with_policies(functions.fetch_url(url => release_url), timeout => 30, retry => {'max_retries': 3, 'key': 'fetch_url'}) FROM releases;