You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by GitBox <gi...@apache.org> on 2022/09/02 09:10:44 UTC

[GitHub] [incubator-seatunnel] hililiwei opened a new pull request, #2609: [Feature][connector] Standardize plugin name

hililiwei opened a new pull request, #2609:
URL: https://github.com/apache/incubator-seatunnel/pull/2609

   <!--
   
   Thank you for contributing to SeaTunnel! Please make sure that your code changes
   are covered with tests. And in case of new features or big changes
   remember to adjust the documentation.
   
   Feel free to ping committers for the review!
   
   ## Contribution Checklist
   
     - Make sure that the pull request corresponds to a [GITHUB issue](https://github.com/apache/incubator-seatunnel/issues).
   
     - Name the pull request in the form "[Feature] [component] Title of the pull request", where *Feature* can be replaced by `Hotfix`, `Bug`, etc.
   
     - Minor fixes should be named following this pattern: `[hotfix] [docs] Fix typo in README.md doc`.
   
   -->
   
   ## Purpose of this pull request
   
   <!-- Describe the purpose of this pull request. For example: This pull request adds checkstyle plugin.-->
   Close #1694 
   
   ## Check list
   
   * [ ] Code changed are covered with tests, or it does not need tests for reason:
   * [ ] If any new Jar binary package adding in your PR, please add License Notice according
     [New License Guide](https://github.com/apache/incubator-seatunnel/blob/dev/docs/en/contribution/new-license.md)
   * [ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/incubator-seatunnel/tree/dev/docs
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-seatunnel] hililiwei commented on pull request #2609: [Feature][connector] Standardize plugin name

Posted by GitBox <gi...@apache.org>.
hililiwei commented on PR #2609:
URL: https://github.com/apache/incubator-seatunnel/pull/2609#issuecomment-1282010426

   > > [hililiwei#2](https://github.com/hililiwei/incubator-seatunnel/pull/2)
   > 
   > you need to update this file: `.github/workflows/backend.yml`
   > 
   > reference [hailin0@10f8d78](https://github.com/hailin0/incubator-seatunnel/commit/10f8d7840ffae1061d57fce27e9954b3b3aa4166)
   
   @hailin0 Thank you very much for your guidance. I re-edited the code and passed the test in my fork repo. Could you help to review the code?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-seatunnel] ashulin commented on a diff in pull request #2609: [Feature][connector] Standardize plugin name

Posted by GitBox <gi...@apache.org>.
ashulin commented on code in PR #2609:
URL: https://github.com/apache/incubator-seatunnel/pull/2609#discussion_r997891002


##########
.github/workflows/backend.yml:
##########
@@ -30,7 +30,7 @@ concurrency:
 
 jobs:
   license-header:
-    if: github.repository == 'apache/incubator-seatunnel'
+    if: github.repository == 'hililiwei/incubator-seatunnel'

Review Comment:
   revert this file



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-seatunnel] Hisoka-X commented on pull request #2609: [Feature][connector] Standardize plugin name

Posted by GitBox <gi...@apache.org>.
Hisoka-X commented on PR #2609:
URL: https://github.com/apache/incubator-seatunnel/pull/2609#issuecomment-1299519580

   Please resolved confilct, thanks!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-seatunnel] hililiwei commented on pull request #2609: [Feature][connector] Standardize plugin name

Posted by GitBox <gi...@apache.org>.
hililiwei commented on PR #2609:
URL: https://github.com/apache/incubator-seatunnel/pull/2609#issuecomment-1257912074

   > update or add e2e-testcase check this changes?
   > 
   > reference: https://github.com/apache/incubator-seatunnel/tree/dev/seatunnel-e2e
   
   Sorry for the late reply, I'll add it.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-seatunnel] hililiwei commented on a diff in pull request #2609: [Feature][connector] Standardize plugin name

Posted by GitBox <gi...@apache.org>.
hililiwei commented on code in PR #2609:
URL: https://github.com/apache/incubator-seatunnel/pull/2609#discussion_r979923803


##########
docs/en/connector/source/File.mdx:
##########
@@ -44,13 +44,13 @@ Format for reading files, currently supports text, parquet, json, orc, csv.
 
 | name           | type   | required | default value |
 | -------------- | ------ | -------- | ------------- |
-| format.type    | string | yes      | -             |
+| format         | string | yes      | -             |
 | path           | string | yes      | -             |
 | schema         | string | yes      | -             |
 | common-options | string | no       | -             |
 | parallelism    | int    | no       | -             |
 
-### format.type [string]
+### format [string]

Review Comment:
   `.type` is redundant.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-seatunnel] hililiwei commented on pull request #2609: [Feature][connector] Standardize plugin name

Posted by GitBox <gi...@apache.org>.
hililiwei commented on PR #2609:
URL: https://github.com/apache/incubator-seatunnel/pull/2609#issuecomment-1257911420

   I tried running UT in my private fork repository to avoid needing approval every time to see what went wrong. But it doesn't seem to work properly, can anyone offer some advice?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-seatunnel] hililiwei commented on a diff in pull request #2609: [Feature][connector] Standardize plugin name

Posted by GitBox <gi...@apache.org>.
hililiwei commented on code in PR #2609:
URL: https://github.com/apache/incubator-seatunnel/pull/2609#discussion_r979922849


##########
docs/en/connector/sink/Jdbc.mdx:
##########
@@ -30,10 +30,10 @@ Engine Supported and plugin name
 <TabItem value="spark">
 
 | name             | type   | required | default value |
-|------------------| ------ |----------|---------------|
+| ---------------- | ------ | -------- | ------------- |
 | driver           | string | yes      | -             |
 | url              | string | yes      | -             |
-| user             | string | yes      | -             |
+| username         | string | yes      | -             |

Review Comment:
   The JDBC uses `username` instead of `user` in flink and spark.
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-seatunnel] hililiwei commented on a diff in pull request #2609: [Feature][connector] Standardize plugin name

Posted by GitBox <gi...@apache.org>.
hililiwei commented on code in PR #2609:
URL: https://github.com/apache/incubator-seatunnel/pull/2609#discussion_r979915649


##########
seatunnel-connectors/seatunnel-connectors-flink/seatunnel-connector-flink-doris/src/main/java/org/apache/seatunnel/flink/doris/sink/Doris.java:
##########
@@ -101,7 +101,7 @@ public void prepare(FlinkEnvironment prepareEnv) {
 
     @Override
     public String getPluginName() {
-        return "DorisSink";
+        return "Doris";

Review Comment:
   Make it the same as the Spark plug-in name.
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-seatunnel] TyrantLucifer closed pull request #2609: [Feature][connector] Standardize plugin name

Posted by "TyrantLucifer (via GitHub)" <gi...@apache.org>.
TyrantLucifer closed pull request #2609: [Feature][connector] Standardize plugin name
URL: https://github.com/apache/incubator-seatunnel/pull/2609


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-seatunnel] hililiwei commented on a diff in pull request #2609: [Feature][connector] Standardize plugin name

Posted by GitBox <gi...@apache.org>.
hililiwei commented on code in PR #2609:
URL: https://github.com/apache/incubator-seatunnel/pull/2609#discussion_r979920036


##########
seatunnel-connectors/seatunnel-connectors-flink/seatunnel-connector-flink-file/src/main/java/org/apache/seatunnel/flink/file/sink/FileSink.java:
##########
@@ -161,6 +161,6 @@ public void close() throws Exception {
 
     @Override
     public String getPluginName() {
-        return "FileSink";
+        return "File";

Review Comment:
   Make it the same as the Spark plug-in name.



##########
seatunnel-connectors/seatunnel-connectors-flink/seatunnel-connector-flink-file/src/main/java/org/apache/seatunnel/flink/file/source/FileSource.java:
##########
@@ -125,6 +143,6 @@ public void prepare(FlinkEnvironment env) {
 
     @Override
     public String getPluginName() {
-        return "FileSource";
+        return "File";

Review Comment:
   Make it the same as the Spark plug-in name.



##########
seatunnel-connectors/seatunnel-connectors-flink/seatunnel-connector-flink-doris/src/main/java/org/apache/seatunnel/flink/doris/sink/Doris.java:
##########
@@ -101,7 +101,7 @@ public void prepare(FlinkEnvironment prepareEnv) {
 
     @Override
     public String getPluginName() {
-        return "DorisSink";
+        return "Doris";

Review Comment:
   Make it the same as the Spark plug-in name.
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-seatunnel] hililiwei commented on a diff in pull request #2609: [Feature][connector] Standardize plugin name

Posted by GitBox <gi...@apache.org>.
hililiwei commented on code in PR #2609:
URL: https://github.com/apache/incubator-seatunnel/pull/2609#discussion_r997891468


##########
.github/workflows/backend.yml:
##########
@@ -30,7 +30,7 @@ concurrency:
 
 jobs:
   license-header:
-    if: github.repository == 'apache/incubator-seatunnel'
+    if: github.repository == 'hililiwei/incubator-seatunnel'

Review Comment:
   Done.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-seatunnel] hililiwei commented on a diff in pull request #2609: [Feature][connector] Standardize plugin name

Posted by GitBox <gi...@apache.org>.
hililiwei commented on code in PR #2609:
URL: https://github.com/apache/incubator-seatunnel/pull/2609#discussion_r979920036


##########
seatunnel-connectors/seatunnel-connectors-flink/seatunnel-connector-flink-file/src/main/java/org/apache/seatunnel/flink/file/sink/FileSink.java:
##########
@@ -161,6 +161,6 @@ public void close() throws Exception {
 
     @Override
     public String getPluginName() {
-        return "FileSink";
+        return "File";

Review Comment:
   Make it the same as the Spark plug-in name.



##########
seatunnel-connectors/seatunnel-connectors-flink/seatunnel-connector-flink-file/src/main/java/org/apache/seatunnel/flink/file/source/FileSource.java:
##########
@@ -125,6 +143,6 @@ public void prepare(FlinkEnvironment env) {
 
     @Override
     public String getPluginName() {
-        return "FileSource";
+        return "File";

Review Comment:
   Make it the same as the Spark plug-in name.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-seatunnel] hailin0 commented on pull request #2609: [Feature][connector] Standardize plugin name

Posted by GitBox <gi...@apache.org>.
hailin0 commented on PR #2609:
URL: https://github.com/apache/incubator-seatunnel/pull/2609#issuecomment-1261719994

   > hililiwei#2
   
   you need to update this file: `.github/workflows/backend.yml`
   
   reference
   https://github.com/hailin0/incubator-seatunnel/commit/10f8d7840ffae1061d57fce27e9954b3b3aa4166


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org