apache / apache/paimon

[Feature] make jdbc catalog support using database location to create table.

Open
#3,225 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
3.4k
Forks
1.4k
Avg merge
1d 11h
Merged PRs (30d)
396

Description

### Search before asking

- [X] I searched in the [issues](https://github.com/apache/paimon/issues) and found nothing similar.

### Motivation

Now paimon support jdbc catalog to maintain metadata in relationship database. But when create database and table, it still using default warehouse path. Hope to use location in database properties to create table if it exists.

### Solution

_No response_

### Anything else?

_No response_

### Are you willing to submit a PR?

- [X] I'm willing to submit a PR!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the JDBC catalog code that creates databases and tables, then trace how database properties and the default warehouse path are resolved. Verify table creation uses the database location when that property exists, while retaining the default path when it does not.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.