Yandex Cloud
Search
Contact UsGet started
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex DataLens
  • DataLens neuroanalyst
  • DataLens Gallery
  • Audit Trails events

ROUND with precision parameter is not supported for double precision data type in PostgreSQL

Written by
Yandex Cloud
Updated at July 9, 2025

ERR.DS_API.DB.INVALID_FUNCTION.PG_DOUBLE_PRECISION_ROUND

The ROUND function with the precision parameter is not supported for the double precision type of PostgreSQL data source.

DataLens recognizes PostgreSQL's double precision and numeric types as a Fractional number. Out of these two types, the ROUND function with the precision parameter only supports numeric. To get double precision back to the database level, use another function: DB_CAST.

Here is an example:

ROUND(DB_CAST([your field]/1000000, 'numeric', 16, 8) [, precision ]), where 16 is the total number of digits in the fractional number, and 8 is its count of decimal places.

Was the article helpful?

© 2025 Direct Cursus Technology L.L.C.