This is an automated email from the ASF dual-hosted git repository.

aokolnychyi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iceberg.git


The following commit(s) were added to refs/heads/master by this push:
     new 9b590cfb60 Core: Fix variable name in SetDefaultPartitionSpec (#7350)
9b590cfb60 is described below

commit 9b590cfb60d99ecc45083bb367ba9bfd2c3419ad
Author: Hongyue/Steve Zhang <[email protected]>
AuthorDate: Mon Apr 17 23:22:26 2023 -0700

    Core: Fix variable name in SetDefaultPartitionSpec (#7350)
    
    Co-authored-by: Steve Zhang <[email protected]>
---
 core/src/main/java/org/apache/iceberg/MetadataUpdate.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/src/main/java/org/apache/iceberg/MetadataUpdate.java 
b/core/src/main/java/org/apache/iceberg/MetadataUpdate.java
index 4671e54bad..819974dfe4 100644
--- a/core/src/main/java/org/apache/iceberg/MetadataUpdate.java
+++ b/core/src/main/java/org/apache/iceberg/MetadataUpdate.java
@@ -126,8 +126,8 @@ public interface MetadataUpdate extends Serializable {
   class SetDefaultPartitionSpec implements MetadataUpdate {
     private final int specId;
 
-    public SetDefaultPartitionSpec(int schemaId) {
-      this.specId = schemaId;
+    public SetDefaultPartitionSpec(int specId) {
+      this.specId = specId;
     }
 
     public int specId() {

Reply via email to