-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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] Support clickhouse jdbc datasource(#40894) #42930
[Feature] Support clickhouse jdbc datasource(#40894) #42930
Conversation
} | ||
|
||
} | ||
} |
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.
How can I help you today?
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.
clang-format
be/src/exec/jdbc_scanner.cpp
Outdated
if (type != TYPE_DATE) { | ||
return Status::NotSupported( | ||
fmt::format("Type mismatches on column[{}], JDBC result type is Date, please set the type to date", | ||
slot_desc->col_name())); | ||
} | ||
return TYPE_VARCHAR; | ||
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.
is this ok?
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.
Should be TYPE_VARCHAR
, fixed.
2ae27f0
to
d64eb2c
Compare
} | ||
} | ||
|
||
public static void main(String[] args) { |
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.
testing code?
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.
Sorry about that, I am kind of using the git for synchronizing the code between local mac and my dev server, hence, the main for test. It's all cleaned up in the latest commit. With unittest added, and function working just fine in my environment.
9072fbf
to
250e2f8
Compare
c43d28a
to
9f0c483
Compare
362508c
to
7228a86
Compare
@@ -97,7 +97,7 @@ jobs: | |||
feature-review: | |||
needs: info | |||
runs-on: [ self-hosted, normal ] | |||
if: github.event_name == 'pull_request_review' && contains(needs.info.outputs.LABELS, 'feature') && !contains(needs.info.outputs.LABELS, 'sync') && !startsWith(needs.info.outputs.HEAD_REF, 'mergify/') |
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 is this?
9c4379b
0f9f70a
to
4014e46
Compare
Signed-off-by: samcchen <[email protected]>
4014e46
to
8850898
Compare
Quality Gate passedIssues Measures |
[FE Incremental Coverage Report]✅ pass : 53 / 66 (80.30%) file detail
|
[BE Incremental Coverage Report]❌ fail : 6 / 34 (17.65%) file detail
|
https://github.com/Mergifyio backport branch-3.3 |
✅ Backports have been created
|
Why I'm doing: Enhance current clickhouse JDBC datasource support. What I'm doing: Support more fine-grained clickhouse JDBC datasource with partition information detection and more fine grained data types. Fixes #issue #40894 Signed-off-by: samcchen <[email protected]> (cherry picked from commit 36501fe)
#44415) Co-authored-by: Sam Chan <[email protected]>
…cks#42930) Why I'm doing: Enhance current clickhouse JDBC datasource support. What I'm doing: Support more fine-grained clickhouse JDBC datasource with partition information detection and more fine grained data types. Fixes #issue StarRocks#40894 Signed-off-by: samcchen <[email protected]>
Why I'm doing:
Enhance current clickhouse JDBC datasource support.
What I'm doing:
Support more fine-grained clickhouse JDBC datasource with partition information detection and more fine grained data types.
Fixes #issue
#40894
What type of PR is this:
Does this PR entail a change in behavior?
If yes, please specify the type of change:
Checklist:
Bugfix cherry-pick branch check: