From 6362c9d964836a6016fe714e2dbcc1706d313bdf Mon Sep 17 00:00:00 2001 From: Lin Zhou Date: Tue, 3 Oct 2023 23:08:02 -0700 Subject: [PATCH] Fix type of files used for DeltaTableFiles --- .../main/scala/io/delta/sharing/client/DeltaSharingClient.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/main/scala/io/delta/sharing/client/DeltaSharingClient.scala b/client/src/main/scala/io/delta/sharing/client/DeltaSharingClient.scala index 22db7c87d..acdd14173 100644 --- a/client/src/main/scala/io/delta/sharing/client/DeltaSharingClient.scala +++ b/client/src/main/scala/io/delta/sharing/client/DeltaSharingClient.scala @@ -342,7 +342,7 @@ class DeltaSharingRestClient( throw new IllegalStateException(s"Unexpected Line:${line}") } } - DeltaTableFiles(version, protocol, metadata, files, refreshToken = refreshTokenOpt) + DeltaTableFiles(version, protocol, metadata, files.toSeq, refreshToken = refreshTokenOpt) } override def getFiles(