Yandex Cloud
Search
Discuss with expertTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
    • Cloud Interconnect
    • Cloud Backup
    • Cloud Registry
    • Yandex AI Studio
    • Compute Cloud
    • Object Storage
    • Managed Service for Kubernetes®
    • Yandex BareMetal
    • Smart Web Security
    • Security Deck
    • Managed Service for PostgreSQL
    • Managed Service for ClickHouse®
    • Monium
    • Cloud CDN
    • Network Load Balancer
    • Virtual Private Cloud
    • Cloud DNS
    • Application Load Balancer
    • Yandex Cloud Video
    • Stackland
    • Yandex Cloud Router
    • Yandex Managed Service for Trino
    • Managed Service for MySQL®
    • Managed Service for Valkey™
    • Managed Service for Apache Spark™
    • Yandex StoreDoc
    • Managed Service for OpenSearch
    • Managed Service for Apache Kafka®
    • Data Transfer
    • Yandex MPP Analytics Engine for PostgreSQL
    • Yandex Managed Service for Apache Airflow®
    • Data Processing
    • Yandex MetaData Hub
    • Managed Service for YDB
    • Managed Service for Sharded PostgreSQL
    • Managed Service for YTsaurus
    • Yandex WebSQL
    • DataLens
    • Yandex Search API
    • SpeechSense
    • SpeechKit
    • DataSphere
    • Vision OCR
    • Translate
    • Yandex Identity Hub
    • Key Management Service
    • Certificate Manager
    • Yandex Lockbox
    • Audit Trails
    • SmartCaptcha
    • Cloud Desktop
    • SourceCraft Code Assistant
    • Container Registry
    • Managed Service for GitLab
    • Managed Service for Prometheus®
    • Cloud Functions
    • API Gateway
    • Yandex Cloud Postbox
    • Message Queue
    • Serverless Integrations
    • IoT Core
    • Data Streams
    • Serverless Containers
    • Cloud Notification Service
    • Yandex Query
    • Identity and Access Management
    • Yandex Cloud Console
    • Resource Manager
    • Yandex Cloud Billing
    • Yandex Cloud Quota Manager
    • Cloud Apps
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • 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
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 Direct Cursus Technology L.L.C.
Yandex Query
    • Data formats and compression algorithms
      • Reading data via connections
      • Reading data via bindings
      • Writing data
    • Working with Managed Service for ClickHouse® databases
    • Working with Yandex MPP Analytics for PostgreSQL databases
    • Working with Managed Service for MySQL® databases
    • Working with Managed Service for PostgreSQL databases
    • Working with Managed Service for YDB databases
    • Reading Iceberg tables
  • Access management
  • Pricing policy
  • Integrations
  • Audit Trails events
  • FAQ

In this article:

  • Setting up a data binding
  • Data model
  • Example of reading data via bindings
  1. Data sources and sinks
  2. Working with Yandex Object Storage
  3. Reading data via bindings

Reading data from Object Storage via Query data bindings

Written by
Yandex Cloud
Updated at June 17, 2026
View in Markdown
  • Setting up a data binding
  • Data model
  • Example of reading data via bindings

When you need to run the same queries repeatedly, you can use bindings to avoid specifying all query details each time.

Query example for reading data via a binding:

SELECT
    *
FROM
    `logs`
WHERE
    version>1

Setting up a data bindingSetting up a data binding

To create a binding to read data from Object Storage:

  1. In the management console, select the folder where you want to create a binding.

  2. Navigate to Yandex Query.

  3. In the left-hand panel, switch to the Bindings tab.

  4. Click Create.

  5. Under Connection parameters:

    1. In the Type field, select Object Storage.
    2. In the Connection field, select an existing connection or create a new one.
  6. Under Binding parameters:

    1. In the Name field, specify the binding name.

    2. In the Path field, specify the path to bucket data. You can specify parts of file names using /*, e.g., yellow/*.csv.

    3. In the Compression field, specify the data compression method.

    4. In the Format field, specify the data storage format.

    5. Select a partitioning mode and specify the list of partition columns with their types.

      For the Extended mode, specify the partition projection columns.

    6. Specify the data columns and their types.

      Alternatively, you can click Detect columns to do this automatically.

  7. To validate the data, click Preview.

  8. Click Create.

Data modelData model

Object Storage stores data as binary files. To read data, use the following SQL statement:

SELECT
    <expression>
FROM
    `<binding>`
WHERE
    <filter>;

Where:

  • <binding>: Name of the data binding you created earlier.

Example of reading data via bindingsExample of reading data via bindings

Query example for reading Object Storage data via bindings:

SELECT
    *
FROM
    `binding_name`

Where binding_name is the Object Storage data binding name.

Was the article helpful?

Previous
Reading data via connections
Next
Writing data
© 2026 Direct Cursus Technology L.L.C.