Yandex Cloud
Documentation
PresentationContact UsTry it for free
© 2026 Direct Cursus Technology L.L.C.
Yandex DataLens
    • Overview
    • Formula syntax
    • Neuroanalyst for creating calculated fields
      • All Functions
        • Overview
        • DB_CALL_AGG_FLOAT
        • DB_CALL_AGG_INT
        • DB_CALL_AGG_STRING
        • DB_CALL_ARRAY_FLOAT
        • DB_CALL_ARRAY_INT
        • DB_CALL_ARRAY_STRING
        • DB_CALL_BOOL
        • DB_CALL_FLOAT
        • DB_CALL_INT
        • DB_CALL_STRING
        • DB_COLUMN
      • Function Availability
    • Parameters
  • DataLens Gallery
  • Audit Trails events

In this article:

  • DB_CALL_AGG_FLOAT
  • DB_CALL_AGG_INT
  • DB_CALL_AGG_STRING
  • DB_CALL_ARRAY_FLOAT
  • DB_CALL_ARRAY_INT
  • DB_CALL_ARRAY_STRING
  • DB_CALL_BOOL
  • DB_CALL_FLOAT
  • DB_CALL_INT
  • DB_CALL_STRING
  • DB_COLUMN
  1. Calculated fields
  2. Function reference
  3. Native functions
  4. Overview

Native functions

Written by
Yandex Cloud
Updated at November 18, 2026
View in Markdown
  • DB_CALL_AGG_FLOAT
  • DB_CALL_AGG_INT
  • DB_CALL_AGG_STRING
  • DB_CALL_ARRAY_FLOAT
  • DB_CALL_ARRAY_INT
  • DB_CALL_ARRAY_STRING
  • DB_CALL_BOOL
  • DB_CALL_FLOAT
  • DB_CALL_INT
  • DB_CALL_STRING
  • DB_COLUMN

Functions for calling native database functions by its name.

DB_CALL_AGG_FLOATDB_CALL_AGG_FLOAT

Syntax:
DB_CALL_AGG_FLOAT( db_agg_function_name [ , arg_1 [ , arg_2 [ , ... ] ] ] )
or
DB_CALL_AGG_FLOAT( db_agg_function_name [ , arg_1 [ , arg_2 [ , ... ] ] ] [ FIXED ... | INCLUDE ... | EXCLUDE ... ] [ BEFORE FILTER BY ... ] )

Calls a native database aggregate function by its name. Native function should return a value of type Fractional number. The function is executed as an aggregation across grouped rows.

The first argument db_agg_function_name must be a constant string with the name of the database function to call. All subsequent arguments are passed to the native function in the same order as written in the formula and can be of any type, including types that are not currently supported by DataLens.

The function name must contain only alphanumeric characters, underscore and colon characters.

DB_CALL_AGG_INTDB_CALL_AGG_INT

Syntax:
DB_CALL_AGG_INT( db_agg_function_name [ , arg_1 [ , arg_2 [ , ... ] ] ] )
or
DB_CALL_AGG_INT( db_agg_function_name [ , arg_1 [ , arg_2 [ , ... ] ] ] [ FIXED ... | INCLUDE ... | EXCLUDE ... ] [ BEFORE FILTER BY ... ] )

Calls a native database aggregate function by its name. Native function should return a value of type Integer. The function is executed as an aggregation across grouped rows.

The first argument db_agg_function_name must be a constant string with the name of the database function to call. All subsequent arguments are passed to the native function in the same order as written in the formula and can be of any type, including types that are not currently supported by DataLens.

The function name must contain only alphanumeric characters, underscore and colon characters.

DB_CALL_AGG_STRINGDB_CALL_AGG_STRING

Syntax:
DB_CALL_AGG_STRING( db_agg_function_name [ , arg_1 [ , arg_2 [ , ... ] ] ] )
or
DB_CALL_AGG_STRING( db_agg_function_name [ , arg_1 [ , arg_2 [ , ... ] ] ] [ FIXED ... | INCLUDE ... | EXCLUDE ... ] [ BEFORE FILTER BY ... ] )

Calls a native database aggregate function by its name. Native function should return a value of type String. The function is executed as an aggregation across grouped rows.

The first argument db_agg_function_name must be a constant string with the name of the database function to call. All subsequent arguments are passed to the native function in the same order as written in the formula and can be of any type, including types that are not currently supported by DataLens.

The function name must contain only alphanumeric characters, underscore and colon characters.

DB_CALL_ARRAY_FLOATDB_CALL_ARRAY_FLOAT

Syntax:DB_CALL_ARRAY_FLOAT( db_function_name [ , arg_1 [ , arg_2 [ , ... ] ] ] )

Calls a native database function by its name. Native function should return a value of type Array of fractional numbers. The function is executed for every row in the dataset (non-aggregated).

The first argument db_function_name must be a constant string with the name of the database function to call. All subsequent arguments are passed to the native function in the same order as written in the formula and can be of any type, including types that are not currently supported by DataLens.

The function name must contain only alphanumeric characters, underscore and colon characters.

DB_CALL_ARRAY_INTDB_CALL_ARRAY_INT

Syntax:DB_CALL_ARRAY_INT( db_function_name [ , arg_1 [ , arg_2 [ , ... ] ] ] )

Calls a native database function by its name. Native function should return a value of type Array of integers. The function is executed for every row in the dataset (non-aggregated).

The first argument db_function_name must be a constant string with the name of the database function to call. All subsequent arguments are passed to the native function in the same order as written in the formula and can be of any type, including types that are not currently supported by DataLens.

The function name must contain only alphanumeric characters, underscore and colon characters.

DB_CALL_ARRAY_STRINGDB_CALL_ARRAY_STRING

Syntax:DB_CALL_ARRAY_STRING( db_function_name [ , arg_1 [ , arg_2 [ , ... ] ] ] )

Calls a native database function by its name. Native function should return a value of type Array of strings. The function is executed for every row in the dataset (non-aggregated).

The first argument db_function_name must be a constant string with the name of the database function to call. All subsequent arguments are passed to the native function in the same order as written in the formula and can be of any type, including types that are not currently supported by DataLens.

The function name must contain only alphanumeric characters, underscore and colon characters.

DB_CALL_BOOLDB_CALL_BOOL

Syntax:DB_CALL_BOOL( db_function_name [ , arg_1 [ , arg_2 [ , ... ] ] ] )

Calls a native database function by its name. Native function should return a value of type Boolean. The function is executed for every row in the dataset (non-aggregated).

The first argument db_function_name must be a constant string with the name of the database function to call. All subsequent arguments are passed to the native function in the same order as written in the formula and can be of any type, including types that are not currently supported by DataLens.

The function name must contain only alphanumeric characters, underscore and colon characters.

DB_CALL_FLOATDB_CALL_FLOAT

Syntax:DB_CALL_FLOAT( db_function_name [ , arg_1 [ , arg_2 [ , ... ] ] ] )

Calls a native database function by its name. Native function should return a value of type Fractional number. The function is executed for every row in the dataset (non-aggregated).

The first argument db_function_name must be a constant string with the name of the database function to call. All subsequent arguments are passed to the native function in the same order as written in the formula and can be of any type, including types that are not currently supported by DataLens.

The function name must contain only alphanumeric characters, underscore and colon characters.

DB_CALL_INTDB_CALL_INT

Syntax:DB_CALL_INT( db_function_name [ , arg_1 [ , arg_2 [ , ... ] ] ] )

Calls a native database function by its name. Native function should return a value of type Integer. The function is executed for every row in the dataset (non-aggregated).

The first argument db_function_name must be a constant string with the name of the database function to call. All subsequent arguments are passed to the native function in the same order as written in the formula and can be of any type, including types that are not currently supported by DataLens.

The function name must contain only alphanumeric characters, underscore and colon characters.

DB_CALL_STRINGDB_CALL_STRING

Syntax:DB_CALL_STRING( db_function_name [ , arg_1 [ , arg_2 [ , ... ] ] ] )

Calls a native database function by its name. Native function should return a value of type String. The function is executed for every row in the dataset (non-aggregated).

The first argument db_function_name must be a constant string with the name of the database function to call. All subsequent arguments are passed to the native function in the same order as written in the formula and can be of any type, including types that are not currently supported by DataLens.

The function name must contain only alphanumeric characters, underscore and colon characters.

DB_COLUMNDB_COLUMN

Syntax:DB_COLUMN( column_name )

Returns a native database column by its name. Supported column names and their result types are defined by the connector.

The argument column_name must be a constant string with one of the values supported by the connector. For ClickHouse, all results have type String and the supported values are:
"_table", "_partition_id", "_file", "_path".

Unlike DB_CALL_* formulas, this formula emits a column reference, not a function call. On ClickHouse, virtual-column availability depends on the table engine and server version: _partition_id belongs to the MergeTree family, _table to the Merge engine/table function, and _file / _path to File/S3.

Was the article helpful?

Previous
TAN
Next
DB_CALL_AGG_FLOAT
© 2026 Direct Cursus Technology L.L.C.