Skip to content

Commit

Permalink
[apache#1460] feat(iceberg): Iceberg supports distributions.
Browse files Browse the repository at this point in the history
  • Loading branch information
Clearvive authored and Clearvive committed Jan 24, 2024
1 parent 03e165f commit d1d9ee7
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
import com.datastrato.gravitino.rel.expressions.Expression;
import com.datastrato.gravitino.rel.expressions.distributions.Distribution;
import com.datastrato.gravitino.rel.expressions.distributions.Strategy;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.google.common.base.Preconditions;
Expand All @@ -28,11 +27,9 @@ public class DistributionDTO implements Distribution {
// Distribution strategy/method
private final Strategy strategy;

@JsonIgnoreProperties(ignoreUnknown = true)
// Number of buckets/distribution
private final int number;

@JsonIgnoreProperties(ignoreUnknown = true)
private final FunctionArg[] args;

private DistributionDTO(Strategy strategy, int number, FunctionArg[] args) {
Expand Down

0 comments on commit d1d9ee7

Please sign in to comment.