-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
[feature](multi-catalog) support postgresql jdbc catalog #15570
Conversation
TeamCity pipeline, clickbench performance test result: |
@@ -371,11 +395,10 @@ public Type mysqlTypeToDoris(JdbcFieldSchema fieldSchema) { | |||
case "BIGINT": | |||
return Type.BIGINT; | |||
case "DATE": | |||
return ScalarType.getDefaultDateType(Type.DATE); | |||
return Type.DATE; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not still using ScalarType.getDefaultDateType
, so that we can control the behavior by FE config?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because jdbc external table do not support convert other database type to DATEV2/TIMESTAMPV2 type of doris
fe/fe-core/src/main/java/org/apache/doris/external/jdbc/JdbcClient.java
Outdated
Show resolved
Hide resolved
docs/en/docs/sql-manual/sql-reference/Data-Definition-Statements/Create/CREATE-CATALOG.md
Outdated
Show resolved
Hide resolved
clang-tidy review says "All clean, LGTM! 👍" |
clang-tidy review says "All clean, LGTM! 👍" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
support postgresql jdbc catalog
support postgresql jdbc catalog
Proposed changes
Issue Number: close #14527
support postgresql jdbc catalog
Problem summary
Describe your changes.
Checklist(Required)
Further comments
If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...