Repository navigation
Conversation
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>
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.
Sets
db.versionto 3.2.0, the schema of cBioPortal/cbioportal#12474 (resource.metadata_json, aMATERIALIZEDJSON column). The importer checks the database'sinfo.db_schema_versionagainstdb.versionbefore loading, so it needs this to import into a 3.2.0 database. The test seed'sinforow moves to 3.2.0 to match.No importer code changes:
metadata_jsonis computed by ClickHouse frommetadataon insert, so resource imports write the same columns as before. This core build (mainwithdb.version3.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:masterimage, which bundles coremain, 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