Skip to content

Commit

Permalink
fix file source connector option rule bug (apache#3804)
Browse files Browse the repository at this point in the history
  • Loading branch information
EricJoy2048 authored and lhyundeadsoul committed Jan 3, 2023
1 parent 2e546ca commit 787f6a6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ public class BaseSourceConfig {
.stringType()
.noDefaultValue()
.withDescription("File type");
public static final Option<FileFormat> FILE_PATH = Options.key("path")
.enumType(FileFormat.class)
public static final Option<String> FILE_PATH = Options.key("path")
.stringType()
.noDefaultValue()
.withDescription("The file path of source files");
public static final Option<String> DELIMITER = Options.key("delimiter")
Expand Down

0 comments on commit 787f6a6

Please sign in to comment.