diff --git a/gluten-core/src/main/scala/org/apache/spark/sql/hive/HivePartitionConverter.scala b/gluten-core/src/main/scala/org/apache/spark/sql/hive/HivePartitionConverter.scala index 2825730e938d..e8380ce2b0f5 100644 --- a/gluten-core/src/main/scala/org/apache/spark/sql/hive/HivePartitionConverter.scala +++ b/gluten-core/src/main/scala/org/apache/spark/sql/hive/HivePartitionConverter.scala @@ -111,7 +111,7 @@ class HivePartitionConverter(hadoopConf: Configuration, session: SparkSession) } }) .filter(isNonEmptyDataFile) - PartitionDirectory(partValues, dirContents.toArray) + PartitionDirectory(partValues, dirContents) } }