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

feat: fix parse wrong column type when parse sql for PostgreSQL(修复新建数据视图时解析数据模型字段类型不正确) #1889

Merged
merged 1 commit into from
Aug 17, 2022

Conversation

ShayvChan
Copy link

@ShayvChan ShayvChan commented Aug 15, 2022

新建数据视图时如果数据源是PG类,数据模型的字段类型很多解析不出来,因为使用了columnTypeName(String)作为解析,PG存在int4、int8之类的名称,使用jdbc columnType(int)会更加通用
data type in data model is wrong when create data view, it cause by
use jdbc column type name(String) to parse, this method cannot parse correct when type name like int4、int8, change to use use jdbc column type(int),is more general
图片

@ShayvChan ShayvChan changed the title feat: fix parse wrong column type when parse sql for PostgreSQL feat: fix parse wrong column type when parse sql for PostgreSQL(修复新建数据视图时解析数据模型字段类型不正确) Aug 15, 2022
@tianlu-root tianlu-root merged commit ad200b9 into running-elephant:dev Aug 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants