@Override
    public List<RemoteFileInfo> getRemoteFiles(Table table, GetRemoteFilesParams params) {
        // add scanBuilder param for mock
        return getRemoteFiles(table, params, new TableReadSessionBuilder());
    }
@Test
    public void testGetRemoteFiles() throws AnalysisException, IOException {
        Table odpsTable = odpsMetadata.getTable("project", "tableName");
        PartitionKey partitionKey =
                PartitionKey.createPartitionKey(ImmutableList.of(new PartitionValue("a"), new PartitionValue("b")),
                        odpsTable.getPartitionColumns());
        GetRemoteFilesParams params = GetRemoteFilesParams.newBuilder().setFieldNames(odpsTable.getPartitionColumnNames())
                .setPartitionKeys(ImmutableList.of(partitionKey)).build();
        List<RemoteFileInfo> remoteFileInfos =
                odpsMetadata.getRemoteFiles(odpsTable, params, mockTableReadSessionBuilder);
        Assert.assertEquals(1, remoteFileInfos.size());
    }