apache / apache/gravitino

[Subtask] Add Semantic Model create and load persistence in Gravitino

Open
#12,600 0 comments 0 reactions 0 assignees View on GitHub
subtask
Dominant language
Java
Stars
3.2k
Forks
935
Avg merge
1d 16h
Merged PRs (30d)
298

Description

### Describe the subtask

Add relational persistence for creating and loading Semantic Models. This includes persistent objects and serialization, the required mappers and SQL providers, metadata service insert/get operations, JDBC backend routing, and H2/MySQL/PostgreSQL tests.

Create must persist the identity and initial version atomically, and load must preserve the complete Semantic Model definition.

List, alter, drop, cascade deletion, garbage collection, version retention, REST APIs, and clients are out of scope.

### Parent issue

#12209

Contributor guide

Open the contributing guide

Research direction

Start with the metadata service create/get operations, relational persistence and serialization requirements, then trace JDBC backend routing. Done means create atomically persists the Semantic Model identity and initial version, load preserves the complete definition, and H2/MySQL/PostgreSQL tests cover both operations.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, mysql, postgresql
Domain
backend, database
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.