Skip to content

Commit 1804b0a

Browse files
committed
Flink: Required Iceberg core changes to rewrite PartitionSpecs and test schema updates
1 parent 31c315f commit 1804b0a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

api/src/main/java/org/apache/iceberg/expressions/NamedReference.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
public class NamedReference<T> implements UnboundTerm<T>, Reference<T> {
2727
private final String name;
2828

29-
NamedReference(String name) {
29+
public NamedReference(String name) {
3030
Preconditions.checkNotNull(name, "Name cannot be null");
3131
this.name = name;
3232
}

api/src/main/java/org/apache/iceberg/expressions/UnboundTransform.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public class UnboundTransform<S, T> implements UnboundTerm<T>, Term {
2626
private final NamedReference<S> ref;
2727
private final Transform<S, T> transform;
2828

29-
UnboundTransform(NamedReference<S> ref, Transform<S, T> transform) {
29+
public UnboundTransform(NamedReference<S> ref, Transform<S, T> transform) {
3030
this.ref = ref;
3131
this.transform = transform;
3232
}

core/src/main/java/org/apache/iceberg/SchemaUpdate.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
import org.slf4j.LoggerFactory;
4747

4848
/** Schema evolution API implementation. */
49-
class SchemaUpdate implements UpdateSchema {
49+
public class SchemaUpdate implements UpdateSchema {
5050
private static final Logger LOG = LoggerFactory.getLogger(SchemaUpdate.class);
5151
private static final int TABLE_ROOT_ID = -1;
5252

@@ -71,7 +71,7 @@ class SchemaUpdate implements UpdateSchema {
7171
}
7272

7373
/** For testing only. */
74-
SchemaUpdate(Schema schema, int lastColumnId) {
74+
public SchemaUpdate(Schema schema, int lastColumnId) {
7575
this(null, null, schema, lastColumnId);
7676
}
7777

0 commit comments

Comments
 (0)