Databricks SDK for JavaScript
    Preparing search index...

    Interface AlertStatementParameter

    Redash-owned copy of the internal StatementParameter for the external AlertV2 API. The internal ordinal and args fields are intentionally omitted: the public API supports only flat, named scalar parameters; complex types (ARRAY, MAP, STRUCT) are not supported. This mirrors SEA's public StatementParameter schema, see: cmdexec/sql-exec-api/proto/sql_exec_api_service.proto:763-779

    interface AlertStatementParameter {
        name?: string;
        type?: string;
        value?: string;
    }
    Index

    Properties

    Properties

    name?: string

    The name of the parameter, referenced in the query as :name.

    type?: string

    The SQL data type of the parameter, e.g. STRING, INT, or DATE. Defaults to STRING. This is a string rather than an enum because scalar subtypes such as DECIMAL(10, 4) cannot be enumerated. Complex types such as ARRAY, MAP, and STRUCT are not supported.

    value?: string

    The bound value for the parameter, given as a string. If omitted, the value is interpreted as NULL.