Skip to content
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

[improve] update localfile connector config #8765

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from

Conversation

misi1987107
Copy link

Purpose of this pull request

subtask of #8576

Does this PR introduce any user-facing change?

How was this patch tested?

Check list

@@ -37,7 +36,7 @@ public HadoopConf getHadoopConfig() {

@Override
public String getPluginName() {
return FileSystemType.LOCAL.getFileSystemPluginName();
return "LocalFile";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change is not necessary.

@@ -35,7 +33,7 @@
import static org.apache.seatunnel.api.sink.DataSaveMode.DROP_DATA;
import static org.apache.seatunnel.api.sink.DataSaveMode.ERROR_WHEN_DATA_EXISTS;

public class BaseSinkConfig {
public class BaseSinkConfig extends FileBaseOptions {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggest we have an unified class name style.
How about rename to

  • FileBaseSinkOptions
  • FileBaseSourceOptions
  • FileBaseOptions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants