-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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][DataSource]Add trino datasource plugin #12911
Conversation
dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-trino/pom.xml
Outdated
Show resolved
Hide resolved
...ain/java/org/apache/dolphinscheduler/plugin/datasource/trino/param/TrinoConnectionParam.java
Outdated
Show resolved
Hide resolved
...java/org/apache/dolphinscheduler/plugin/datasource/trino/param/TrinoDataSourceProcessor.java
Outdated
Show resolved
Hide resolved
...java/org/apache/dolphinscheduler/plugin/datasource/trino/param/TrinoDataSourceProcessor.java
Outdated
Show resolved
Hide resolved
...est/java/org/apache/dolphinscheduler/plugin/datasource/trino/TrinoDataSourceChannelTest.java
Outdated
Show resolved
Hide resolved
@insist777 please run |
dolphinscheduler-spi/src/main/java/org/apache/dolphinscheduler/spi/enums/DbType.java
Outdated
Show resolved
Hide resolved
dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-trino/pom.xml
Outdated
Show resolved
Hide resolved
Codecov Report
@@ Coverage Diff @@
## dev #12911 +/- ##
============================================
- Coverage 39.44% 39.36% -0.09%
- Complexity 4244 4269 +25
============================================
Files 1052 1067 +15
Lines 39859 40116 +257
Branches 4586 4606 +20
============================================
+ Hits 15722 15790 +68
- Misses 22359 22549 +190
+ Partials 1778 1777 -1
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
...java/org/apache/dolphinscheduler/plugin/datasource/trino/param/TrinoDataSourceProcessor.java
Fixed
Show fixed
Hide fixed
...java/org/apache/dolphinscheduler/plugin/datasource/trino/param/TrinoDataSourceProcessor.java
Fixed
Show resolved
Hide resolved
...java/org/apache/dolphinscheduler/plugin/datasource/trino/param/TrinoDataSourceProcessor.java
Fixed
Show fixed
Hide fixed
...java/org/apache/dolphinscheduler/plugin/datasource/trino/param/TrinoDataSourceProcessor.java
Fixed
Show fixed
Hide fixed
...java/org/apache/dolphinscheduler/plugin/datasource/trino/param/TrinoDataSourceProcessor.java
Fixed
Show fixed
Hide fixed
TrinoDataSourceParamDTO TrinoDatasourceParamDTO = new TrinoDataSourceParamDTO(); | ||
String[] split = hostPortArray[0].split(Constants.COLON); | ||
TrinoDatasourceParamDTO.setHost(split[0]); | ||
TrinoDatasourceParamDTO.setPort(Integer.valueOf(split[1])); |
Check notice
Code scanning / CodeQL
Missing catch of NumberFormatException
SonarCloud Quality Gate failed. |
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 👍
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
Purpose of the pull request
Brief change log
Add trino data source plugin, version 402.
Verify this pull request
This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(or)
If your pull request contain incompatible change, you should also add it to
docs/docs/en/guide/upgrede/incompatible.md