From 80cb3156f4732bd68d27cf6cf50db11b2baabf53 Mon Sep 17 00:00:00 2001
From: HouliangQi <neuyilan@163.com>
Date: Thu, 19 Dec 2024 10:20:13 +0800
Subject: [PATCH] fix the test

---
 .../main/java/org/apache/paimon/io/DataFileMetaSerializer.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/paimon-core/src/main/java/org/apache/paimon/io/DataFileMetaSerializer.java b/paimon-core/src/main/java/org/apache/paimon/io/DataFileMetaSerializer.java
index 06e583593bf3..8e17c2e91b61 100644
--- a/paimon-core/src/main/java/org/apache/paimon/io/DataFileMetaSerializer.java
+++ b/paimon-core/src/main/java/org/apache/paimon/io/DataFileMetaSerializer.java
@@ -59,7 +59,7 @@ public InternalRow toRow(DataFileMeta meta) {
                 meta.embeddedIndex(),
                 meta.fileSource().map(FileSource::toByteValue).orElse(null),
                 toStringArrayData(meta.valueStatsCols()),
-                BinaryString.fromString(meta.fileName()));
+                BinaryString.fromString(meta.getDataRootLocationString()));
     }
 
     @Override