@Override
  public Stream<ColumnName> resolveSelectStar(
      final Optional<SourceName> sourceName
  ) {
    if (sourceName.isPresent() && !sourceName.equals(getSourceName())) {
      throw new IllegalArgumentException("Expected sourceName of " + getSourceName()
          + ", but was " + sourceName.get());
    }

    // Note: the 'value' columns include the key columns at this point:
    return orderColumns(getSchema().value(), getSchema());
  }
@Test
  public void shouldResolveSelectStarIfSourceMatchesAndValuesOnly() {
    // When:
    final Stream<ColumnName> result = repartitionNode.resolveSelectStar(
        Optional.of(SOURCE_NAME)
    );

    // Then:
    assertThat(result.collect(Collectors.toList()), contains(K0, V0, V1, V2));
  }