Skip to content

Commit

Permalink
rebase from dev
Browse files Browse the repository at this point in the history
  • Loading branch information
EricJoy2048 committed Apr 9, 2024
1 parent 0d85176 commit 979c175
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,9 @@ public SeaTunnelRowType getSeaTunnelRowTypeInfo(String path) {
+ "SeaTunnel will not support column projection");
}
TextDeserializationSchema.Builder builder =
TextDeserializationSchema.builder().delimiter(TextFormatConstant.PLACEHOLDER).textLineSplitor(textLineSplitor);
TextDeserializationSchema.builder()
.delimiter(TextFormatConstant.PLACEHOLDER)
.textLineSplitor(textLineSplitor);
if (isMergePartition) {
deserializationSchema =
builder.seaTunnelRowType(this.seaTunnelRowTypeWithPartition).build();
Expand Down Expand Up @@ -180,7 +182,9 @@ public void setSeaTunnelRowTypeInfo(SeaTunnelRowType seaTunnelRowType) {
}
initFormatter();
TextDeserializationSchema.Builder builder =
TextDeserializationSchema.builder().delimiter(fieldDelimiter).textLineSplitor(textLineSplitor);
TextDeserializationSchema.builder()
.delimiter(fieldDelimiter)
.textLineSplitor(textLineSplitor);
if (isMergePartition) {
deserializationSchema =
builder.seaTunnelRowType(userDefinedRowTypeWithPartition).build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ public Builder textLineSplitor(TextLineSplitor splitor) {
}

public TextDeserializationSchema build() {
return new TextDeserializationSchema(seaTunnelRowType, separators, encoding, textLineSplitor);
return new TextDeserializationSchema(
seaTunnelRowType, separators, encoding, textLineSplitor);
}
}

Expand Down

0 comments on commit 979c175

Please sign in to comment.