Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
  • Blog
  • Pricing
  • Documentation
Yandex project
© 2025 Yandex.Cloud LLC
Yandex DataLens
    • Overview
    • Formula syntax
      • All Functions
        • Overview
        • ARRAY
        • ARR_AVG
        • ARR_INTERSECT
        • ARR_MAX
        • ARR_MIN
        • ARR_PRODUCT
        • ARR_REMOVE
        • ARR_STR
        • ARR_SUM
        • CAST_ARR_FLOAT
        • CAST_ARR_INT
        • CAST_ARR_STR
        • CONTAINS
        • CONTAINS_ALL
        • CONTAINS_ANY
        • CONTAINS_SUBSEQUENCE
        • COUNT_ITEM
        • GET_ITEM
        • LEN
        • REPLACE
        • SLICE
        • STARTSWITH
        • UNNEST
      • Function Availability
    • Parameters
  • Audit Trails events
  1. Calculated fields
  2. Function reference
  3. Array functions
  4. CAST_ARR_STR

CAST_ARR_STR

Written by
Yandex Cloud
Updated at November 6, 2024

SyntaxSyntax

CAST_ARR_STR( array )

DescriptionDescription

Converts array to an array of strings. The conversion rules are the same as for STR.

Argument types:

  • array — Array of fractional numbers | Array of integers | Array of strings

Return type: Array of strings

ExampleExample

[int_array] [float_array] CAST_ARR_STR([int_array]) CAST_ARR_STR([float_array])
'[12,0,42]' '[12.3,0.43,42]' "['12','0','42']" "['12.3','0.43','42']"
'[-3,NULL,0]' '[0,NULL,12]' "['-3',NULL,'0']" "['0',NULL,'12']"
'[132,637,NULL]' '[3.2,2.3,3.5]' "['132','637',NULL]" "['3.2','2.3','3.5']"

Data source supportData source support

ClickHouse 21.8, Files, Google Sheets, PostgreSQL 9.3, Yandex Documents.

Was the article helpful?

Previous
CAST_ARR_INT
Next
CONTAINS
Yandex project
© 2025 Yandex.Cloud LLC