Skip to content

Commit

Permalink
Remove obsolete sample weight comment
Browse files Browse the repository at this point in the history
  • Loading branch information
electrum committed Aug 5, 2022
1 parent dd4224c commit 71e11c3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,6 @@ public DeltaLakePageSink(

Map<String, String> canonicalToOriginalPartitionColumns = originalPartitionColumns.stream()
.collect(toImmutableMap(TransactionLogAccess::canonicalizeColumnName, identity()));
// sample weight column is passed separately, so index must be calculated without this column
for (int inputIndex = 0; inputIndex < inputColumns.size(); inputIndex++) {
DeltaLakeColumnHandle column = inputColumns.get(inputIndex);
switch (column.getColumnType()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ public HivePageSink(
ImmutableList.Builder<Integer> dataColumnsInputIndex = ImmutableList.builder();
Object2IntMap<String> dataColumnNameToIdMap = new Object2IntOpenHashMap<>();
Map<String, HiveType> dataColumnNameToTypeMap = new HashMap<>();
// sample weight column is passed separately, so index must be calculated without this column
for (int inputIndex = 0; inputIndex < inputColumns.size(); inputIndex++) {
HiveColumnHandle column = inputColumns.get(inputIndex);
if (column.isPartitionKey()) {
Expand Down

0 comments on commit 71e11c3

Please sign in to comment.