Skip to content

Commit

Permalink
[fix](iceberg) fix error when query iceberg v2 format
Browse files Browse the repository at this point in the history
  • Loading branch information
morningman committed Jul 24, 2023
1 parent 752cec9 commit 25f18e8
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,10 @@ private void setLocationPropertiesIfNecessary(TFileType locationType, FileSplit
} else if (locationType == TFileType.FILE_S3 && !params.isSetProperties()) {
params.setProperties(locationProperties);
}

if (!params.isSetFileType()) {
params.setFileType(locationType);
}
}

private TScanRangeLocations newLocations() {
Expand Down

0 comments on commit 25f18e8

Please sign in to comment.