feat(connectors): BI-6608 YDB Array support - #1281
Closed
catsona wants to merge 37 commits into
Closed
Conversation
catsona
force-pushed
the
catsona/bi-6611/ydb_db_cast
branch
from
November 27, 2025 12:34
e843d79 to
f7b7ddc
Compare
catsona
force-pushed
the
catsona/bi-6608/ydb_array
branch
3 times, most recently
from
November 27, 2025 16:57
c254921 to
50497be
Compare
catsona
marked this pull request as ready for review
November 27, 2025 20:39
catsona
force-pushed
the
catsona/bi-6608/ydb_array
branch
from
November 28, 2025 11:58
50497be to
1350212
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds support for YDB array operations by implementing array functions, type handling, and compilation logic for the YQL dialect.
- Implements array types (List) with optional item support in the dialect layer
- Adds lambda/closure compilation and tuple access operations for complex array manipulations
- Implements comprehensive array function definitions (ARRAY, CONTAINS, SLICE, REPLACE, etc.)
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| lib/dl_sqlalchemy_ydb/dl_sqlalchemy_ydb/dialect.py | Adds YqlListType, YqlClosure, YqlDotAccess classes and custom compiler methods for array/lambda support |
| lib/dl_connector_ydb/docker-compose/Dockerfile.db-ydb | Updates YDB Docker image reference to use digest-based image from ydbplatform |
| lib/dl_connector_ydb/dl_connector_ydb_tests/db/formula/test_functions_array.py | Adds array function tests with view-based test setup for YDB |
| lib/dl_connector_ydb/dl_connector_ydb_tests/db/formula/base.py | Adds YQLDbEvaluator for handling bytes-to-string conversion in test results |
| lib/dl_connector_ydb/dl_connector_ydb/formula/definitions/functions_type.py | Adds List type specifications for Double, Int64, and String with optional item support |
| lib/dl_connector_ydb/dl_connector_ydb/formula/definitions/functions_array.py | Implements all array function definitions including ARRAY, CONTAINS, SLICE, REPLACE, etc. |
| lib/dl_connector_ydb/dl_connector_ydb/formula/definitions/all.py | Imports and includes DEFINITIONS_ARRAY in the master definitions list |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
catsona
force-pushed
the
catsona/bi-6608/ydb_array
branch
15 times, most recently
from
January 30, 2026 10:10
e653f08 to
9bef6b1
Compare
catsona
force-pushed
the
catsona/bi-6608/ydb_array
branch
from
February 2, 2026 11:22
9bef6b1 to
42351e6
Compare
catsona
force-pushed
the
catsona/bi-6608/ydb_array
branch
from
April 3, 2026 14:41
42351e6 to
f56c763
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.