apache / apache/gravitino

[Question] Why must metalake names be strictly alphanumeric

Open
#7,749 1 comment 0 reactions 0 assignees View on GitHub
question
Dominant language
Java
Stars
3.2k
Forks
935
Avg merge
1d 15h
Merged PRs (30d)
315

Description

https://github.com/apache/gravitino/blob/58e0a2f331149ee5aefff844cd44145443423cd1/core/src/main/java/org/apache/gravitino/metalake/MetalakeNormalizeDispatcher.java#L42C1-L53C1

I guess I don't understand why the naming must be this strict, what technical reason would this preclude a name like`my_metalake-1`

Contributor guide

Open the contributing guide

Research direction

Read core/src/main/java/org/apache/gravitino/metalake/MetalakeNormalizeDispatcher.java around lines 42-53 and trace where the normalized metalake name is consumed. Determine the technical rationale for the alphanumeric restriction; done means documenting that rationale and clarifying whether names such as my_metalake-1 are intentionally unsupported.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend-api-design
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.