Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DDL 对象名映射功能 #1432

Closed
gcvirus opened this issue Sep 23, 2016 · 3 comments
Closed

DDL 对象名映射功能 #1432

gcvirus opened this issue Sep 23, 2016 · 3 comments
Milestone

Comments

@gcvirus
Copy link

gcvirus commented Sep 23, 2016

  1. 希望Druid 能够支持这样的应用场景,输入源SQL,调用某个接口,替换库名,表名,列名。
  2. 同时希望能够支持MySQL, SQLServer, PostgreSQL,Oracle 等更多的数据库类型。

例子:
源SQL:
create table database_source.table_source(
source_key int,
source_value varchar(32),
primary key(source_key)
);

目标SQL:
create table database_target.table_target(
target_key int,
target_value varchar(32),
primary key(target_key)
);

@wenshao wenshao added this to the 1.0.27 milestone Sep 24, 2016
@wenshao
Copy link
Member

wenshao commented Sep 24, 2016

很好的需求,下个版本实现

@wenshao
Copy link
Member

wenshao commented Sep 24, 2016

https://github.com/alibaba/druid/wiki/TableMapping_cn

看一下文档描述,看是否满足你的需求

wenshao added a commit that referenced this issue Sep 24, 2016
@wenshao wenshao modified the milestones: 1.0.28, 1.0.27 Nov 26, 2016
@wenshao wenshao closed this as completed Nov 26, 2016
@gcvirus
Copy link
Author

gcvirus commented Jan 4, 2017

只有表名吗?能否支持到,库名,表名,列名呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants