-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[improvement](jdbc catalog) support jdbc external catalog insert stmt in nereids #39813
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
Conversation
|
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
532f354 to
559b20c
Compare
|
run buildall |
TPC-H: Total hot run time: 37773 ms |
TPC-DS: Total hot run time: 190838 ms |
ClickBench: Total hot run time: 31.47 s |
| return new UnboundJdbcTableSink<>(nameParts, colNames, hints, partitions, | ||
| dmlCommandType, groupExpression, Optional.empty(), children.get(0)); |
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.
with children should not inherit groupExpression use Optional.empty()
| @Override | ||
| public Void visitPhysicalJdbcTableSink( | ||
| PhysicalJdbcTableSink<? extends Plan> jdbcTableSink, PlanContext context) { | ||
| if (connectContext != null && !connectContext.getSessionVariable().enableStrictConsistencyDml) { |
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.
i think jdbc sink should always use gather properties
| dmlCommandType, Optional.empty(), Optional.empty(), plan); | ||
| } | ||
| // TODO: we need to support insert into other catalog | ||
| try { |
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.
remove these force fallback code
559b20c to
9da9724
Compare
|
run buildall |
TPC-H: Total hot run time: 38234 ms |
TPC-DS: Total hot run time: 187543 ms |
ClickBench: Total hot run time: 31.56 s |
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
9da9724 to
4d4ccbc
Compare
|
run buildall |
TPC-H: Total hot run time: 38380 ms |
morningman
left a comment
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. |
No description provided.