Databricks v1.56.0 published on Tuesday, Nov 12, 2024 by Pulumi
databricks.getFunctions
Explore with Pulumi AI
This data source can only be used with a workspace-level provider!
Retrieves a list of User-Defined Functions (UDFs) registered in the Unity Catalog.
Example Usage
List all functions defined in a specific schema (main.default
in this example):
import * as pulumi from "@pulumi/pulumi";
import * as databricks from "@pulumi/databricks";
const all = databricks.getFunctions({
catalogName: "main",
schemaName: "default",
});
export const allExternalLocations = all.then(all => all.functions);
import pulumi
import pulumi_databricks as databricks
all = databricks.get_functions(catalog_name="main",
schema_name="default")
pulumi.export("allExternalLocations", all.functions)
package main
import (
"github.com/pulumi/pulumi-databricks/sdk/go/databricks"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
all, err := databricks.GetFunctions(ctx, &databricks.GetFunctionsArgs{
CatalogName: "main",
SchemaName: "default",
}, nil)
if err != nil {
return err
}
ctx.Export("allExternalLocations", all.Functions)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Databricks = Pulumi.Databricks;
return await Deployment.RunAsync(() =>
{
var all = Databricks.GetFunctions.Invoke(new()
{
CatalogName = "main",
SchemaName = "default",
});
return new Dictionary<string, object?>
{
["allExternalLocations"] = all.Apply(getFunctionsResult => getFunctionsResult.Functions),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.databricks.DatabricksFunctions;
import com.pulumi.databricks.inputs.GetFunctionsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var all = DatabricksFunctions.getFunctions(GetFunctionsArgs.builder()
.catalogName("main")
.schemaName("default")
.build());
ctx.export("allExternalLocations", all.applyValue(getFunctionsResult -> getFunctionsResult.functions()));
}
}
variables:
all:
fn::invoke:
Function: databricks:getFunctions
Arguments:
catalogName: main
schemaName: default
outputs:
allExternalLocations: ${all.functions}
Related Resources
The following resources are used in the same context:
- databricks.Schema to get information about a single schema
Using getFunctions
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getFunctions(args: GetFunctionsArgs, opts?: InvokeOptions): Promise<GetFunctionsResult>
function getFunctionsOutput(args: GetFunctionsOutputArgs, opts?: InvokeOptions): Output<GetFunctionsResult>
def get_functions(catalog_name: Optional[str] = None,
functions: Optional[Sequence[GetFunctionsFunction]] = None,
include_browse: Optional[bool] = None,
schema_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetFunctionsResult
def get_functions_output(catalog_name: Optional[pulumi.Input[str]] = None,
functions: Optional[pulumi.Input[Sequence[pulumi.Input[GetFunctionsFunctionArgs]]]] = None,
include_browse: Optional[pulumi.Input[bool]] = None,
schema_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetFunctionsResult]
func GetFunctions(ctx *Context, args *GetFunctionsArgs, opts ...InvokeOption) (*GetFunctionsResult, error)
func GetFunctionsOutput(ctx *Context, args *GetFunctionsOutputArgs, opts ...InvokeOption) GetFunctionsResultOutput
> Note: This function is named GetFunctions
in the Go SDK.
public static class GetFunctions
{
public static Task<GetFunctionsResult> InvokeAsync(GetFunctionsArgs args, InvokeOptions? opts = null)
public static Output<GetFunctionsResult> Invoke(GetFunctionsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetFunctionsResult> getFunctions(GetFunctionsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: databricks:index/getFunctions:getFunctions
arguments:
# arguments dictionary
The following arguments are supported:
- Catalog
Name string - Name of databricks_catalog.
- Schema
Name string - Name of databricks_schema.
- Functions
List<Get
Functions Function> - list of objects describing individual UDF. Each object consists of the following attributes (refer to REST API documentation for up-to-date list of attributes. Default type is String):
- Include
Browse bool - flag to specify if include UDFs in the response for which the principal can only access selective metadata for.
- Catalog
Name string - Name of databricks_catalog.
- Schema
Name string - Name of databricks_schema.
- Functions
[]Get
Functions Function - list of objects describing individual UDF. Each object consists of the following attributes (refer to REST API documentation for up-to-date list of attributes. Default type is String):
- Include
Browse bool - flag to specify if include UDFs in the response for which the principal can only access selective metadata for.
- catalog
Name String - Name of databricks_catalog.
- schema
Name String - Name of databricks_schema.
- functions
List<Get
Functions Function> - list of objects describing individual UDF. Each object consists of the following attributes (refer to REST API documentation for up-to-date list of attributes. Default type is String):
- include
Browse Boolean - flag to specify if include UDFs in the response for which the principal can only access selective metadata for.
- catalog
Name string - Name of databricks_catalog.
- schema
Name string - Name of databricks_schema.
- functions
Get
Functions Function[] - list of objects describing individual UDF. Each object consists of the following attributes (refer to REST API documentation for up-to-date list of attributes. Default type is String):
- include
Browse boolean - flag to specify if include UDFs in the response for which the principal can only access selective metadata for.
- catalog_
name str - Name of databricks_catalog.
- schema_
name str - Name of databricks_schema.
- functions
Sequence[Get
Functions Function] - list of objects describing individual UDF. Each object consists of the following attributes (refer to REST API documentation for up-to-date list of attributes. Default type is String):
- include_
browse bool - flag to specify if include UDFs in the response for which the principal can only access selective metadata for.
- catalog
Name String - Name of databricks_catalog.
- schema
Name String - Name of databricks_schema.
- functions List<Property Map>
- list of objects describing individual UDF. Each object consists of the following attributes (refer to REST API documentation for up-to-date list of attributes. Default type is String):
- include
Browse Boolean - flag to specify if include UDFs in the response for which the principal can only access selective metadata for.
getFunctions Result
The following output properties are available:
- Catalog
Name string - Name of parent catalog.
- Id string
- The provider-assigned unique ID for this managed resource.
- Schema
Name string - Name of parent schema relative to its parent catalog.
- Functions
List<Get
Functions Function> - list of objects describing individual UDF. Each object consists of the following attributes (refer to REST API documentation for up-to-date list of attributes. Default type is String):
- Include
Browse bool
- Catalog
Name string - Name of parent catalog.
- Id string
- The provider-assigned unique ID for this managed resource.
- Schema
Name string - Name of parent schema relative to its parent catalog.
- Functions
[]Get
Functions Function - list of objects describing individual UDF. Each object consists of the following attributes (refer to REST API documentation for up-to-date list of attributes. Default type is String):
- Include
Browse bool
- catalog
Name String - Name of parent catalog.
- id String
- The provider-assigned unique ID for this managed resource.
- schema
Name String - Name of parent schema relative to its parent catalog.
- functions
List<Get
Functions Function> - list of objects describing individual UDF. Each object consists of the following attributes (refer to REST API documentation for up-to-date list of attributes. Default type is String):
- include
Browse Boolean
- catalog
Name string - Name of parent catalog.
- id string
- The provider-assigned unique ID for this managed resource.
- schema
Name string - Name of parent schema relative to its parent catalog.
- functions
Get
Functions Function[] - list of objects describing individual UDF. Each object consists of the following attributes (refer to REST API documentation for up-to-date list of attributes. Default type is String):
- include
Browse boolean
- catalog_
name str - Name of parent catalog.
- id str
- The provider-assigned unique ID for this managed resource.
- schema_
name str - Name of parent schema relative to its parent catalog.
- functions
Sequence[Get
Functions Function] - list of objects describing individual UDF. Each object consists of the following attributes (refer to REST API documentation for up-to-date list of attributes. Default type is String):
- include_
browse bool
- catalog
Name String - Name of parent catalog.
- id String
- The provider-assigned unique ID for this managed resource.
- schema
Name String - Name of parent schema relative to its parent catalog.
- functions List<Property Map>
- list of objects describing individual UDF. Each object consists of the following attributes (refer to REST API documentation for up-to-date list of attributes. Default type is String):
- include
Browse Boolean
Supporting Types
GetFunctionsFunction
- Browse
Only bool - Indicates whether the principal is limited to retrieving metadata for the associated object through the
BROWSE
privilege wheninclude_browse
is enabled in the request. - Catalog
Name string - Name of databricks_catalog.
- Comment string
- User-provided free-form text description.
- Created
At int - Time at which this function was created, in epoch milliseconds.
- Created
By string - Username of function creator.
- Data
Type string - Scalar function return data type.
- External
Language string - External function language.
- External
Name string - External function name.
- Full
Data stringType - Pretty printed function data type.
- Full
Name string - Full name of function, in form of catalog_name.schema_name.function__name
- Function
Id string - Id of Function, relative to parent schema.
- Input
Params GetFunctions Function Input Params - object describing input parameters. Consists of the single attribute:
- Is
Deterministic bool - Boolean flag specifying whether the function is deterministic.
- Is
Null boolCall - Boolean flag whether function null call.
- Metastore
Id string - Unique identifier of parent metastore.
- Name string
- Name of parameter.
- Owner string
- Username of current owner of function.
- Parameter
Style string - Function parameter style.
S
is the value for SQL. - Properties string
- JSON-serialized key-value pair map, encoded (escaped) as a string.
- Return
Params GetFunctions Function Return Params - Table function return parameters. See
input_params
for description. - Routine
Body string - Function language (
SQL
orEXTERNAL
). WhenEXTERNAL
is used, the language of the routine function should be specified in theexternal_language
field, and thereturn_params
of the function cannot be used (asTABLE
return type is not supported), and thesql_data_access
field must beNO_SQL
. - Routine
Definition string - Function body.
- Routine
Dependencies GetFunctions Function Routine Dependencies - Function dependencies.
- Schema
Name string - Name of databricks_schema.
- Security
Type string - Function security type. (Enum:
DEFINER
). - Specific
Name string - Specific name of the function; Reserved for future use.
- Sql
Data stringAccess - Function SQL data access (
CONTAINS_SQL
,READS_SQL_DATA
,NO_SQL
). - Sql
Path string - List of schemes whose objects can be referenced without qualification.
- Updated
At int - Time at which this function was created, in epoch milliseconds.
- Updated
By string - Username of user who last modified function.
- Browse
Only bool - Indicates whether the principal is limited to retrieving metadata for the associated object through the
BROWSE
privilege wheninclude_browse
is enabled in the request. - Catalog
Name string - Name of databricks_catalog.
- Comment string
- User-provided free-form text description.
- Created
At int - Time at which this function was created, in epoch milliseconds.
- Created
By string - Username of function creator.
- Data
Type string - Scalar function return data type.
- External
Language string - External function language.
- External
Name string - External function name.
- Full
Data stringType - Pretty printed function data type.
- Full
Name string - Full name of function, in form of catalog_name.schema_name.function__name
- Function
Id string - Id of Function, relative to parent schema.
- Input
Params GetFunctions Function Input Params - object describing input parameters. Consists of the single attribute:
- Is
Deterministic bool - Boolean flag specifying whether the function is deterministic.
- Is
Null boolCall - Boolean flag whether function null call.
- Metastore
Id string - Unique identifier of parent metastore.
- Name string
- Name of parameter.
- Owner string
- Username of current owner of function.
- Parameter
Style string - Function parameter style.
S
is the value for SQL. - Properties string
- JSON-serialized key-value pair map, encoded (escaped) as a string.
- Return
Params GetFunctions Function Return Params - Table function return parameters. See
input_params
for description. - Routine
Body string - Function language (
SQL
orEXTERNAL
). WhenEXTERNAL
is used, the language of the routine function should be specified in theexternal_language
field, and thereturn_params
of the function cannot be used (asTABLE
return type is not supported), and thesql_data_access
field must beNO_SQL
. - Routine
Definition string - Function body.
- Routine
Dependencies GetFunctions Function Routine Dependencies - Function dependencies.
- Schema
Name string - Name of databricks_schema.
- Security
Type string - Function security type. (Enum:
DEFINER
). - Specific
Name string - Specific name of the function; Reserved for future use.
- Sql
Data stringAccess - Function SQL data access (
CONTAINS_SQL
,READS_SQL_DATA
,NO_SQL
). - Sql
Path string - List of schemes whose objects can be referenced without qualification.
- Updated
At int - Time at which this function was created, in epoch milliseconds.
- Updated
By string - Username of user who last modified function.
- browse
Only Boolean - Indicates whether the principal is limited to retrieving metadata for the associated object through the
BROWSE
privilege wheninclude_browse
is enabled in the request. - catalog
Name String - Name of databricks_catalog.
- comment String
- User-provided free-form text description.
- created
At Integer - Time at which this function was created, in epoch milliseconds.
- created
By String - Username of function creator.
- data
Type String - Scalar function return data type.
- external
Language String - External function language.
- external
Name String - External function name.
- full
Data StringType - Pretty printed function data type.
- full
Name String - Full name of function, in form of catalog_name.schema_name.function__name
- function
Id String - Id of Function, relative to parent schema.
- input
Params GetFunctions Function Input Params - object describing input parameters. Consists of the single attribute:
- is
Deterministic Boolean - Boolean flag specifying whether the function is deterministic.
- is
Null BooleanCall - Boolean flag whether function null call.
- metastore
Id String - Unique identifier of parent metastore.
- name String
- Name of parameter.
- owner String
- Username of current owner of function.
- parameter
Style String - Function parameter style.
S
is the value for SQL. - properties String
- JSON-serialized key-value pair map, encoded (escaped) as a string.
- return
Params GetFunctions Function Return Params - Table function return parameters. See
input_params
for description. - routine
Body String - Function language (
SQL
orEXTERNAL
). WhenEXTERNAL
is used, the language of the routine function should be specified in theexternal_language
field, and thereturn_params
of the function cannot be used (asTABLE
return type is not supported), and thesql_data_access
field must beNO_SQL
. - routine
Definition String - Function body.
- routine
Dependencies GetFunctions Function Routine Dependencies - Function dependencies.
- schema
Name String - Name of databricks_schema.
- security
Type String - Function security type. (Enum:
DEFINER
). - specific
Name String - Specific name of the function; Reserved for future use.
- sql
Data StringAccess - Function SQL data access (
CONTAINS_SQL
,READS_SQL_DATA
,NO_SQL
). - sql
Path String - List of schemes whose objects can be referenced without qualification.
- updated
At Integer - Time at which this function was created, in epoch milliseconds.
- updated
By String - Username of user who last modified function.
- browse
Only boolean - Indicates whether the principal is limited to retrieving metadata for the associated object through the
BROWSE
privilege wheninclude_browse
is enabled in the request. - catalog
Name string - Name of databricks_catalog.
- comment string
- User-provided free-form text description.
- created
At number - Time at which this function was created, in epoch milliseconds.
- created
By string - Username of function creator.
- data
Type string - Scalar function return data type.
- external
Language string - External function language.
- external
Name string - External function name.
- full
Data stringType - Pretty printed function data type.
- full
Name string - Full name of function, in form of catalog_name.schema_name.function__name
- function
Id string - Id of Function, relative to parent schema.
- input
Params GetFunctions Function Input Params - object describing input parameters. Consists of the single attribute:
- is
Deterministic boolean - Boolean flag specifying whether the function is deterministic.
- is
Null booleanCall - Boolean flag whether function null call.
- metastore
Id string - Unique identifier of parent metastore.
- name string
- Name of parameter.
- owner string
- Username of current owner of function.
- parameter
Style string - Function parameter style.
S
is the value for SQL. - properties string
- JSON-serialized key-value pair map, encoded (escaped) as a string.
- return
Params GetFunctions Function Return Params - Table function return parameters. See
input_params
for description. - routine
Body string - Function language (
SQL
orEXTERNAL
). WhenEXTERNAL
is used, the language of the routine function should be specified in theexternal_language
field, and thereturn_params
of the function cannot be used (asTABLE
return type is not supported), and thesql_data_access
field must beNO_SQL
. - routine
Definition string - Function body.
- routine
Dependencies GetFunctions Function Routine Dependencies - Function dependencies.
- schema
Name string - Name of databricks_schema.
- security
Type string - Function security type. (Enum:
DEFINER
). - specific
Name string - Specific name of the function; Reserved for future use.
- sql
Data stringAccess - Function SQL data access (
CONTAINS_SQL
,READS_SQL_DATA
,NO_SQL
). - sql
Path string - List of schemes whose objects can be referenced without qualification.
- updated
At number - Time at which this function was created, in epoch milliseconds.
- updated
By string - Username of user who last modified function.
- browse_
only bool - Indicates whether the principal is limited to retrieving metadata for the associated object through the
BROWSE
privilege wheninclude_browse
is enabled in the request. - catalog_
name str - Name of databricks_catalog.
- comment str
- User-provided free-form text description.
- created_
at int - Time at which this function was created, in epoch milliseconds.
- created_
by str - Username of function creator.
- data_
type str - Scalar function return data type.
- external_
language str - External function language.
- external_
name str - External function name.
- full_
data_ strtype - Pretty printed function data type.
- full_
name str - Full name of function, in form of catalog_name.schema_name.function__name
- function_
id str - Id of Function, relative to parent schema.
- input_
params GetFunctions Function Input Params - object describing input parameters. Consists of the single attribute:
- is_
deterministic bool - Boolean flag specifying whether the function is deterministic.
- is_
null_ boolcall - Boolean flag whether function null call.
- metastore_
id str - Unique identifier of parent metastore.
- name str
- Name of parameter.
- owner str
- Username of current owner of function.
- parameter_
style str - Function parameter style.
S
is the value for SQL. - properties str
- JSON-serialized key-value pair map, encoded (escaped) as a string.
- return_
params GetFunctions Function Return Params - Table function return parameters. See
input_params
for description. - routine_
body str - Function language (
SQL
orEXTERNAL
). WhenEXTERNAL
is used, the language of the routine function should be specified in theexternal_language
field, and thereturn_params
of the function cannot be used (asTABLE
return type is not supported), and thesql_data_access
field must beNO_SQL
. - routine_
definition str - Function body.
- routine_
dependencies GetFunctions Function Routine Dependencies - Function dependencies.
- schema_
name str - Name of databricks_schema.
- security_
type str - Function security type. (Enum:
DEFINER
). - specific_
name str - Specific name of the function; Reserved for future use.
- sql_
data_ straccess - Function SQL data access (
CONTAINS_SQL
,READS_SQL_DATA
,NO_SQL
). - sql_
path str - List of schemes whose objects can be referenced without qualification.
- updated_
at int - Time at which this function was created, in epoch milliseconds.
- updated_
by str - Username of user who last modified function.
- browse
Only Boolean - Indicates whether the principal is limited to retrieving metadata for the associated object through the
BROWSE
privilege wheninclude_browse
is enabled in the request. - catalog
Name String - Name of databricks_catalog.
- comment String
- User-provided free-form text description.
- created
At Number - Time at which this function was created, in epoch milliseconds.
- created
By String - Username of function creator.
- data
Type String - Scalar function return data type.
- external
Language String - External function language.
- external
Name String - External function name.
- full
Data StringType - Pretty printed function data type.
- full
Name String - Full name of function, in form of catalog_name.schema_name.function__name
- function
Id String - Id of Function, relative to parent schema.
- input
Params Property Map - object describing input parameters. Consists of the single attribute:
- is
Deterministic Boolean - Boolean flag specifying whether the function is deterministic.
- is
Null BooleanCall - Boolean flag whether function null call.
- metastore
Id String - Unique identifier of parent metastore.
- name String
- Name of parameter.
- owner String
- Username of current owner of function.
- parameter
Style String - Function parameter style.
S
is the value for SQL. - properties String
- JSON-serialized key-value pair map, encoded (escaped) as a string.
- return
Params Property Map - Table function return parameters. See
input_params
for description. - routine
Body String - Function language (
SQL
orEXTERNAL
). WhenEXTERNAL
is used, the language of the routine function should be specified in theexternal_language
field, and thereturn_params
of the function cannot be used (asTABLE
return type is not supported), and thesql_data_access
field must beNO_SQL
. - routine
Definition String - Function body.
- routine
Dependencies Property Map - Function dependencies.
- schema
Name String - Name of databricks_schema.
- security
Type String - Function security type. (Enum:
DEFINER
). - specific
Name String - Specific name of the function; Reserved for future use.
- sql
Data StringAccess - Function SQL data access (
CONTAINS_SQL
,READS_SQL_DATA
,NO_SQL
). - sql
Path String - List of schemes whose objects can be referenced without qualification.
- updated
At Number - Time at which this function was created, in epoch milliseconds.
- updated
By String - Username of user who last modified function.
GetFunctionsFunctionInputParams
- Parameters
List<Get
Functions Function Input Params Parameter> - The array of definitions of the function's parameters:
- Parameters
[]Get
Functions Function Input Params Parameter - The array of definitions of the function's parameters:
- parameters
List<Get
Functions Function Input Params Parameter> - The array of definitions of the function's parameters:
- parameters
Get
Functions Function Input Params Parameter[] - The array of definitions of the function's parameters:
- parameters
Sequence[Get
Functions Function Input Params Parameter] - The array of definitions of the function's parameters:
- parameters List<Property Map>
- The array of definitions of the function's parameters:
GetFunctionsFunctionInputParamsParameter
- Name string
- Name of parameter.
- Position int
- Ordinal position of column (starting at position 0).
- Type
Name string - Name of type (INT, STRUCT, MAP, etc.).
- Type
Text string - Full data type spec, SQL/catalogString text.
- Comment string
- User-provided free-form text description.
- Parameter
Default string - Default value of the parameter.
- Parameter
Mode string - The mode of the function parameter.
- Parameter
Type string - The type of function parameter (
PARAM
orCOLUMN
). - Type
Interval stringType - Format of IntervalType.
- Type
Json string - Full data type spec, JSON-serialized.
- Type
Precision int - Digits of precision; required on Create for DecimalTypes.
- Type
Scale int - Digits to right of decimal; Required on Create for DecimalTypes.
- Name string
- Name of parameter.
- Position int
- Ordinal position of column (starting at position 0).
- Type
Name string - Name of type (INT, STRUCT, MAP, etc.).
- Type
Text string - Full data type spec, SQL/catalogString text.
- Comment string
- User-provided free-form text description.
- Parameter
Default string - Default value of the parameter.
- Parameter
Mode string - The mode of the function parameter.
- Parameter
Type string - The type of function parameter (
PARAM
orCOLUMN
). - Type
Interval stringType - Format of IntervalType.
- Type
Json string - Full data type spec, JSON-serialized.
- Type
Precision int - Digits of precision; required on Create for DecimalTypes.
- Type
Scale int - Digits to right of decimal; Required on Create for DecimalTypes.
- name String
- Name of parameter.
- position Integer
- Ordinal position of column (starting at position 0).
- type
Name String - Name of type (INT, STRUCT, MAP, etc.).
- type
Text String - Full data type spec, SQL/catalogString text.
- comment String
- User-provided free-form text description.
- parameter
Default String - Default value of the parameter.
- parameter
Mode String - The mode of the function parameter.
- parameter
Type String - The type of function parameter (
PARAM
orCOLUMN
). - type
Interval StringType - Format of IntervalType.
- type
Json String - Full data type spec, JSON-serialized.
- type
Precision Integer - Digits of precision; required on Create for DecimalTypes.
- type
Scale Integer - Digits to right of decimal; Required on Create for DecimalTypes.
- name string
- Name of parameter.
- position number
- Ordinal position of column (starting at position 0).
- type
Name string - Name of type (INT, STRUCT, MAP, etc.).
- type
Text string - Full data type spec, SQL/catalogString text.
- comment string
- User-provided free-form text description.
- parameter
Default string - Default value of the parameter.
- parameter
Mode string - The mode of the function parameter.
- parameter
Type string - The type of function parameter (
PARAM
orCOLUMN
). - type
Interval stringType - Format of IntervalType.
- type
Json string - Full data type spec, JSON-serialized.
- type
Precision number - Digits of precision; required on Create for DecimalTypes.
- type
Scale number - Digits to right of decimal; Required on Create for DecimalTypes.
- name str
- Name of parameter.
- position int
- Ordinal position of column (starting at position 0).
- type_
name str - Name of type (INT, STRUCT, MAP, etc.).
- type_
text str - Full data type spec, SQL/catalogString text.
- comment str
- User-provided free-form text description.
- parameter_
default str - Default value of the parameter.
- parameter_
mode str - The mode of the function parameter.
- parameter_
type str - The type of function parameter (
PARAM
orCOLUMN
). - type_
interval_ strtype - Format of IntervalType.
- type_
json str - Full data type spec, JSON-serialized.
- type_
precision int - Digits of precision; required on Create for DecimalTypes.
- type_
scale int - Digits to right of decimal; Required on Create for DecimalTypes.
- name String
- Name of parameter.
- position Number
- Ordinal position of column (starting at position 0).
- type
Name String - Name of type (INT, STRUCT, MAP, etc.).
- type
Text String - Full data type spec, SQL/catalogString text.
- comment String
- User-provided free-form text description.
- parameter
Default String - Default value of the parameter.
- parameter
Mode String - The mode of the function parameter.
- parameter
Type String - The type of function parameter (
PARAM
orCOLUMN
). - type
Interval StringType - Format of IntervalType.
- type
Json String - Full data type spec, JSON-serialized.
- type
Precision Number - Digits of precision; required on Create for DecimalTypes.
- type
Scale Number - Digits to right of decimal; Required on Create for DecimalTypes.
GetFunctionsFunctionReturnParams
- Parameters
List<Get
Functions Function Return Params Parameter> - The array of definitions of the function's parameters:
- Parameters
[]Get
Functions Function Return Params Parameter - The array of definitions of the function's parameters:
- parameters
List<Get
Functions Function Return Params Parameter> - The array of definitions of the function's parameters:
- parameters
Get
Functions Function Return Params Parameter[] - The array of definitions of the function's parameters:
- parameters
Sequence[Get
Functions Function Return Params Parameter] - The array of definitions of the function's parameters:
- parameters List<Property Map>
- The array of definitions of the function's parameters:
GetFunctionsFunctionReturnParamsParameter
- Name string
- Name of parameter.
- Position int
- Ordinal position of column (starting at position 0).
- Type
Name string - Name of type (INT, STRUCT, MAP, etc.).
- Type
Text string - Full data type spec, SQL/catalogString text.
- Comment string
- User-provided free-form text description.
- Parameter
Default string - Default value of the parameter.
- Parameter
Mode string - The mode of the function parameter.
- Parameter
Type string - The type of function parameter (
PARAM
orCOLUMN
). - Type
Interval stringType - Format of IntervalType.
- Type
Json string - Full data type spec, JSON-serialized.
- Type
Precision int - Digits of precision; required on Create for DecimalTypes.
- Type
Scale int - Digits to right of decimal; Required on Create for DecimalTypes.
- Name string
- Name of parameter.
- Position int
- Ordinal position of column (starting at position 0).
- Type
Name string - Name of type (INT, STRUCT, MAP, etc.).
- Type
Text string - Full data type spec, SQL/catalogString text.
- Comment string
- User-provided free-form text description.
- Parameter
Default string - Default value of the parameter.
- Parameter
Mode string - The mode of the function parameter.
- Parameter
Type string - The type of function parameter (
PARAM
orCOLUMN
). - Type
Interval stringType - Format of IntervalType.
- Type
Json string - Full data type spec, JSON-serialized.
- Type
Precision int - Digits of precision; required on Create for DecimalTypes.
- Type
Scale int - Digits to right of decimal; Required on Create for DecimalTypes.
- name String
- Name of parameter.
- position Integer
- Ordinal position of column (starting at position 0).
- type
Name String - Name of type (INT, STRUCT, MAP, etc.).
- type
Text String - Full data type spec, SQL/catalogString text.
- comment String
- User-provided free-form text description.
- parameter
Default String - Default value of the parameter.
- parameter
Mode String - The mode of the function parameter.
- parameter
Type String - The type of function parameter (
PARAM
orCOLUMN
). - type
Interval StringType - Format of IntervalType.
- type
Json String - Full data type spec, JSON-serialized.
- type
Precision Integer - Digits of precision; required on Create for DecimalTypes.
- type
Scale Integer - Digits to right of decimal; Required on Create for DecimalTypes.
- name string
- Name of parameter.
- position number
- Ordinal position of column (starting at position 0).
- type
Name string - Name of type (INT, STRUCT, MAP, etc.).
- type
Text string - Full data type spec, SQL/catalogString text.
- comment string
- User-provided free-form text description.
- parameter
Default string - Default value of the parameter.
- parameter
Mode string - The mode of the function parameter.
- parameter
Type string - The type of function parameter (
PARAM
orCOLUMN
). - type
Interval stringType - Format of IntervalType.
- type
Json string - Full data type spec, JSON-serialized.
- type
Precision number - Digits of precision; required on Create for DecimalTypes.
- type
Scale number - Digits to right of decimal; Required on Create for DecimalTypes.
- name str
- Name of parameter.
- position int
- Ordinal position of column (starting at position 0).
- type_
name str - Name of type (INT, STRUCT, MAP, etc.).
- type_
text str - Full data type spec, SQL/catalogString text.
- comment str
- User-provided free-form text description.
- parameter_
default str - Default value of the parameter.
- parameter_
mode str - The mode of the function parameter.
- parameter_
type str - The type of function parameter (
PARAM
orCOLUMN
). - type_
interval_ strtype - Format of IntervalType.
- type_
json str - Full data type spec, JSON-serialized.
- type_
precision int - Digits of precision; required on Create for DecimalTypes.
- type_
scale int - Digits to right of decimal; Required on Create for DecimalTypes.
- name String
- Name of parameter.
- position Number
- Ordinal position of column (starting at position 0).
- type
Name String - Name of type (INT, STRUCT, MAP, etc.).
- type
Text String - Full data type spec, SQL/catalogString text.
- comment String
- User-provided free-form text description.
- parameter
Default String - Default value of the parameter.
- parameter
Mode String - The mode of the function parameter.
- parameter
Type String - The type of function parameter (
PARAM
orCOLUMN
). - type
Interval StringType - Format of IntervalType.
- type
Json String - Full data type spec, JSON-serialized.
- type
Precision Number - Digits of precision; required on Create for DecimalTypes.
- type
Scale Number - Digits to right of decimal; Required on Create for DecimalTypes.
GetFunctionsFunctionRoutineDependencies
GetFunctionsFunctionRoutineDependenciesDependency
GetFunctionsFunctionRoutineDependenciesDependencyFunction
- Function
Full stringName
- Function
Full stringName
- function
Full StringName
- function
Full stringName
- function
Full StringName
GetFunctionsFunctionRoutineDependenciesDependencyTable
- Table
Full stringName
- Table
Full stringName
- table
Full StringName
- table
Full stringName
- table_
full_ strname
- table
Full StringName
Package Details
- Repository
- databricks pulumi/pulumi-databricks
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
databricks
Terraform Provider.