Skip to content

Expect database schema 3.2.0 - #228

Open
raylim wants to merge 1 commit into
cBioPortal:mainfrom
raylim:feat/db-version-3.2.0
Open

raylim wants to merge 1 commit into
cBioPortal:mainfrom
raylim:feat/db-version-3.2.0

Conversation

@raylim

@raylim raylim commented Nov 17, 2026

Copy link
Copy Markdown

Sets db.version to 3.2.0, the schema of cBioPortal/cbioportal#12474 (resource.metadata_json, a MATERIALIZED JSON column). The importer checks the database's info.db_schema_version against db.version before loading, so it needs this to import into a 3.2.0 database. The test seed's info row moves to 3.2.0 to match.

No importer code changes: metadata_json is computed by ClickHouse from metadata on insert, so resource imports write the same columns as before. This core build (main with db.version 3.2.0) is what the MSK dev stacks have used to import WSI resource data into 3.2.0 databases.

Merge together with cBioPortal/cbioportal#12474: that PR's integration tests import with the cbioportal/cbioportal:master image, which bundles core main, and fail with "expected 3.1.0, found 3.2.0" until core expects 3.2.0 and the image is rebuilt.

🤖 Generated with Claude Code

cBioPortal/cbioportal#12474 moves the portal schema to 3.2.0 (resource.metadata_json).
The importer checks the database's schema version against db.version.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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.

1 participant