Skip to content

Preserve JSON indexes in table descriptions - #758

Merged
alex268 merged 3 commits into
masterfrom
fix-json-index-description
Oct 21, 2026
Merged

alex268 merged 3 commits into
masterfrom
fix-json-index-description

Conversation

@vgvoleg

@vgvoleg vgvoleg commented Oct 9, 2026 •

Copy link
Copy Markdown
Member

Include JSON indexes in describeTable() results as GLOBAL_JSON, preserving their names and columns. Keep the JSON index type when a table description is reused to create a table.

Use the typed GlobalJsonIndex fields from ydb-proto-api 1.9.7, following the existing index mappings.

Requires the 1.9.7 release from ydb-platform/ydb-java-genproto#7, with schema definitions from ydb-platform/ydb-api-protos#83.

Fixes #756.

@codecov

codecov Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.74%. Comparing base (105b4ac) to head (a889baa).
⚠️ Report is 53 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #758      +/-   ##
============================================
+ Coverage     75.28%   75.74%   +0.46%     
- Complexity     3713     3797      +84     
============================================
  Files           395      396       +1     
  Lines         16698    16964     +266     
  Branches       1760     1793      +33     
============================================
+ Hits          12571    12850     +279     
+ Misses         3515     3501      -14     
- Partials        612      613       +1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@alex268
alex268 marked this pull request as ready for review October 19, 2026 13:03
alex268
alex268 previously approved these changes Oct 19, 2026
@alex268
alex268 self-requested a review October 19, 2026 13:04
@alex268
alex268 merged commit 3932579 into master Oct 21, 2026
16 checks passed
@alex268
alex268 deleted the fix-json-index-description branch October 23, 2026 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Java SDK: describeTable() не возвращает JSON-индексы

3 participants