Release Notes July 21, 2023

No updates to Observe functionality or user interface this week.

OPAL Language Updates

make_array_range

Description

Returns an array that contains a list of consecutive integers ranging from start to end. Note the end is not included in the list and the largest element is end - 1. The size of the generated list is capped at 1000000.

Return type

array

Domain

This is a scalar function (calculates a single output value for a single input row.)

Categories

Usage

make_array_range( start, end )

Argument

Type

Required

Multiple

start

int64

Required

Only one

end

int64

Required

Only one

Examples

make_col arr:make_array_range(2, 5)

Make a new column ‘arr’ containing [2, 3, 4].

make_col arr:make_array_range(10, 5)

make_array_range returns an empty array if end is less or equal to start, so this creates a new column ‘arr’ containing an empty array.

drop_interface

Type of operation: Metadata

Description

Removes one or more interface implementations from the current dataset.

See also interface.

Usage

drop_interface interface name ...

Argument

Type

Required

Multiple

interface name

string

Required

Can be multiple

Accelerable

drop_interface is always accelerable if the input is accelerable. A dataset that only uses accelerable verbs can be accelerated, making queries on the dataset respond faster.

Examples

drop_interface "log", "metric"

Removes the log and metric interfaces from the current dataset.