Skip to content

Commit

Permalink
fix ut
Browse files Browse the repository at this point in the history
Signed-off-by: yanz <[email protected]>
  • Loading branch information
dirtysalt committed Sep 12, 2024
1 parent b930694 commit 5a33bdc
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import com.starrocks.catalog.HudiTable;
import com.starrocks.common.ExceptionChecker;
import com.starrocks.common.FeConstants;
import com.starrocks.connector.exception.StarRocksConnectorException;
Expand Down Expand Up @@ -73,7 +74,8 @@ public void testGetHiveRemoteFiles() {
Map<String, Partition> partitions = metastore.getPartitionsByNames("db1", "table1", partitionNames);

List<RemoteFileInfo> remoteFileInfos =
ops.getRemoteFiles(null, Lists.newArrayList(partitions.values()), GetRemoteFilesParams.newBuilder().build());
ops.getRemoteFiles(new HudiTable(), Lists.newArrayList(partitions.values()),
GetRemoteFilesParams.newBuilder().build());
Assert.assertEquals(2, remoteFileInfos.size());
Assert.assertTrue(remoteFileInfos.get(0).toString().contains("emoteFileInfo{format=ORC, files=["));

Expand Down

0 comments on commit 5a33bdc

Please sign in to comment.