Tengri Data Platform Tengri Docs
Architecture Advantages Contacts
    • Tengri Documentation
    • Architecture
      • Ideology of use
      • Compute & Storage partitioning
      • Storage
      • Calculation
      • PostgreSQL dialect and protocols
      • Developed system of differentiation of rights
    • Test results
      • TPC-H, Comparison with Greenplum
      • TPC-DS
    • Manual
      • Computing pools
      • User and rights management
        • User operations
        • Role operations
        • Privilege operations
      • Data Description (DDL)
        • Operations with tables
        • Operations with schemes
        • Operations with views
      • Data query syntax
        • SELECT
        • WITH
        • FROM
        • JOIN
        • UNION
        • WHERE
        • CASE
        • GROUP BY
        • HAVING
        • QUALIFY
        • ORDER BY
        • LIMIT
        • OFFSET
        • LIKE
        • ILIKE
        • SIMILAR TO
        • AS
        • DELETE
        • UPDATE
        • Functions
          • Aggregate functions
          • Numerical functions
          • Text functions
          • Functions for regular expressions
          • Functions for date and time
          • Functions for JSON
          • Functions for binary data
          • Functions for geodata
          • Window functions
          • Utilities
          • Python module tngri functions
      • Data types
        • Numeric types
        • Text type
        • Types for date and time
        • JSON type
        • Types for arrays
        • Binary type
        • Logical type
        • Type for geodata
    • Administrator’s Manual
    • Scenarios
      • Initial system setup
      • Data loading
      • Automating data loading from multiple files
      • Accessing Iceberg storage directly using Python
      • Analytical scenarios
        • Analysing data from Instagram* posts
        • Analysing geodata from sports trackers
        • Analysing texts on the example of FineWeb dataset
    • Alphabetical Index
  • Tengri Documentation
  • Manual
  • Data query syntax
  • Functions
Download to PDF
EN
RU

Functions

Aggregate functions

  • any_value

  • array_agg

  • avg

  • count

  • count(argument)

  • count_if

  • max

  • min

  • median

  • sum

Numerical functions

  • abs

  • add

  • ceil

  • cos

  • divide

  • even

  • exp

  • floor

  • fmod

  • gcd

  • greatest

  • isfinite

  • isinf

  • isnan

  • lcm

  • least

  • lgamma

  • ln

  • log

  • log2

  • multiply

  • nextafter

  • pi

  • pow

  • radians

  • random

  • round_even

  • round

  • setseed

  • sign

  • signbit

  • sin

  • sqrt

  • subtract

  • trunc

  • Оператор +

  • Оператор -

  • Оператор *

  • Оператор /

  • Оператор %

  • Оператор ^

Text functions

  • contains

  • length

  • strlen

  • trim

  • ltrim

  • rtrim

  • lower

  • upper

  • replace

  • split

  • substring

  • chr

Functions for regular expressions

  • regexp_extract

  • regexp_extract_all

  • regexp_full_match

  • regexp_matches

  • regexp_replace

  • regexp_split_to_array

  • regexp_split_to_table

  • Оператор ~

Functions for date and time

  • current_time

  • now

  • datepart

  • date_diff

  • date_trunc

  • strptime

Functions for JSON

  • json_array_length

  • json_contains

  • json_exists

  • json_extract

  • json_extract_string

  • json_group_array

  • json_group_object

  • json_keys

  • json_transform

  • json_transform_strict

  • json_valid

  • json_value

  • json

  • read_json

Functions for binary data

  • concat

  • md5

  • sha1

  • sha256

  • Оператор ||

Window functions

  • cume_dist

  • dense_rank

  • first_value

  • lag

  • last_value

  • lead

  • nth_value

  • ntile

  • percent_rank

  • rank

  • row_number

Utilities

  • coalesce

  • generate_series

  • hash

  • read_csv

  • read_parquet

  • read_xlsx

  • cast

  • try_cast

  • unnest

  • Оператор ::

Python module tngri functions

  • tngri.run_notebook

  • tngri.sql

  • tngri.upload_df

  • tngri.upload_file

  • tngri.upload_s3

UPDATE Aggregate functions
Postgres Pro
VK
Youtube

© Postgres Pro
Legal Information
Tengri Data Platform is included in the Russian software registry.
Entry No. 31091 was made in the register on the basis of an order from the Ministry of Digital Development, Communications and Mass Media of the Russian Federation dated December 10, 2025.