apache / apache/druid

Create wrapper scripts for the druid database init scripts

Open
#13,738 0 comments 0 reactions 0 assignees View on GitHub
Contributions Welcome Feature/Change Description
Dominant language
Java
Stars
14.1k
Forks
3.8k
Avg merge
2d 58m
Merged PRs (30d)
233

Description

### Description

Per @paul-rogers comment in #13713 , suggest creating a script to wrap the database initialization scripts to migrate from Derby to Postgres or MySQL

For example: `bin/init-metadata`

### Motivation

The scripts in `docs/operations/metadata-migration.md` are now mature enough that we don't really need to force the user to check that they copy/pasted this command correctly, and filled in the blanks.

Contributor guide

Open the contributing guide

Research direction

Start by reading docs/operations/metadata-migration.md and reviewing the existing database initialization scripts it documents. Use the proposed bin/init-metadata entry point as the scope, and consider the work complete when the wrapper covers the documented migration from Derby to PostgreSQL or MySQL without requiring users to copy and fill in the commands manually.

Written by the indexing model from the issue text.

Assessment

Tech stack
mysql, postgres, shell
Domain
databases, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.