feat: fix parse wrong column type when parse sql for PostgreSQL(修复新建数据视图时解析数据模型字段类型不正确) #1889
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
新建数据视图时如果数据源是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