Skip to content

Commit

Permalink
[core] small fix of FilesTable system table column name
Browse files Browse the repository at this point in the history
  • Loading branch information
hongli.wwj committed Nov 12, 2024
1 parent 9b281bc commit e27b395
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,9 @@ private LazyGenericRow toRow(
partitionConverter.convert(
dataSplit.partition()))),
dataSplit::bucket,
() -> BinaryString.fromString(dataFileMeta.fileName()),
() ->
BinaryString.fromString(
dataSplit.bucketPath() + "/" + dataFileMeta.fileName()),
() ->
BinaryString.fromString(
DataFilePathFactory.formatIdentifier(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,16 @@ private List<InternalRow> getExpectedResult(long snapshotId) {
BinaryString.fromString(
Arrays.toString(new String[] {partition1, partition2})),
fileEntry.bucket(),
BinaryString.fromString(file.fileName()),
BinaryString.fromString(
table.location()
+ "/pt1="
+ partition1
+ "/pt2="
+ partition2
+ "/bucket-"
+ fileEntry.bucket()
+ "/"
+ file.fileName()),
BinaryString.fromString(file.fileFormat()),
file.schemaId(),
file.level(),
Expand Down

0 comments on commit e27b395

Please sign in to comment.