NoopFederatedExportToCloudStorage extends UnshardedExportToCloudStorage { @VisibleForTesting static String getCommaSeparatedGcsPathList(final Table table) { Preconditions.checkNotNull(table.getExternalDataConfiguration()); for (String uri : table.getExternalDataConfiguration().getSourceUris()) { Preconditions.checkArgument(uri.startsWith("gs: } return Joiner.on(",").join(table.getExternalDataConfiguration().getSourceUris()); } NoopFederatedExportToCloudStorage(
      Configuration configuration,
      ExportFileFormat fileFormat,
      BigQueryHelper bigQueryHelper,
      String projectId,
      Table table,
      @Nullable InputFormat<LongWritable, Text> delegateInputFormat); @Override void prepare(); @Override void beginExport(); @Override void waitForUsableMapReduceInput(); @Override List<String> getExportPaths(); @Override void cleanupExport();  }
@Test public void testGetCommaSeparatedGcsPathList() throws Exception { String result = NoopFederatedExportToCloudStorage.getCommaSeparatedGcsPathList(table); assertThat(result) .isEqualTo("gs: }