Skip to contents

Define a single-array UDF to be executed within a task graph

Usage

delayed_array_udf(
  array,
  udf = NULL,
  registered_udf_name = NULL,
  selectedRanges,
  attrs,
  layout = NULL,
  args = NULL,
  result_format = "native",
  name = NULL,
  namespace = NULL,
  language = "r"
)

Arguments

array

TileDB URI – see vignette for examples.

udf

User-defined function, as in UDF examples. Arguments are specified separately via args. One of udf and registered_udf_name must be non-null.

registered_udf_name

Name of a registered UDF, of the form namespace/udfname. Arguments are specified separately via args. One of udf and registered_udf_name must be non-null.

selectedRanges

As in UDF examples.

attrs

As in UDF examples.

layout

As in UDF examples.

result_format

As in UDF examples.

name

A display name for the query

namespace

If supplied, a namespace to use for executing this particular node. If omitted, a namespace can be applied at your top-level call to compute. If omitted there as well, your logged-in account's default namespace will be used.

language

If omitted, defaults to "r". Can be set to "python"

Value

The return value from the UDF as an R object.