-
Notifications
You must be signed in to change notification settings - Fork 5k
[Feature][plugin] Add databend datasource in datasource plugin #13866
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
EricGao888
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.
Could u plz add related docs? Thx : )
EricGao888
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.
Backend part LGTM, would u like to double check? @SbloodyS @caishunfeng
Codecov Report
@@ Coverage Diff @@
## dev #13866 +/- ##
============================================
+ Coverage 38.92% 38.94% +0.02%
- Complexity 4470 4488 +18
============================================
Files 1164 1170 +6
Lines 42445 42506 +61
Branches 4761 4762 +1
============================================
+ Hits 16520 16556 +36
- Misses 24105 24128 +23
- Partials 1820 1822 +2
... and 3 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
|
|
||
| String[] hostSeperator = connectionParams.getAddress().split(Constants.DOUBLE_SLASH); | ||
| String[] hostPortArray = hostSeperator[hostSeperator.length - 1].split(Constants.COMMA); | ||
| databendDatasourceParamDTO.setPort(Integer.parseInt(hostPortArray[0].split(Constants.COLON)[1])); |
Check notice
Code scanning / CodeQL
Missing catch of NumberFormatException
davidzollo
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.
+1
LGTM
|
Hi @hantmac Can you do some tests related to parsing parameters? as follows |
Of course. |
fuchanghai
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.
looking forward to perfecting simple parsing parameter tests
|
I have run |
Hi bro, Would u like to help me review the tests ❤? |
|
@SbloodyS it doesn't look like a problem with the code ,plz rerun CI |
|
LGTM,I am waiting for this |
caishunfeng
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
|
|
||
| ## Native Supported | ||
|
|
||
| Yes, could use this datasource by default. |
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.
Chinese and English version is different?
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 also add new docs in
dolphinscheduler/docs/configs/docsdev.js
Lines 1011 to 1014 in c0126b7
| { | |
| title: 'SSH', | |
| link: '/zh-cn/docs/dev/user_doc/guide/datasource/ssh.html', | |
| }, |
dolphinscheduler/docs/configs/docsdev.js
Lines 330 to 333 in c0126b7
| { | |
| title: 'SSH', | |
| link: '/en-us/docs/dev/user_doc/guide/datasource/ssh.html', | |
| }, |
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 also add new docs in
dolphinscheduler/docs/configs/docsdev.js
Lines 1011 to 1014 in c0126b7
{ title: 'SSH', link: '/zh-cn/docs/dev/user_doc/guide/datasource/ssh.html', }, and
dolphinscheduler/docs/configs/docsdev.js
Lines 330 to 333 in c0126b7
{ title: 'SSH', link: '/en-us/docs/dev/user_doc/guide/datasource/ssh.html', },
we need to add some ci for it, or change our website template
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.
Add this line for databend but where is the content of /en-us/docs/dev/user_doc/guide/datasource/ssh.html?
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.
it will auto-generated during website build, from markdown to html
dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-databend/pom.xml
Outdated
Show resolved
Hide resolved
dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-datax.ts
Show resolved
Hide resolved
|
@devosend and @calvinjiang do you have time to take a look the frontend part? |
zhongjiajie
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, waiting for CI, BTW, databend is good, I had watch it for a while
|
spotless failed, please run |
|
I had update it by myself |
|
Kudos, SonarCloud Quality Gate passed! |
|
Thanks all of you! |











Purpose of the pull request
Add databend datasource in datasource plugin and close #13857