twuebi commented on code in PR #620:
URL: https://github.com/apache/iceberg-go/pull/620#discussion_r2533256651


##########
view/metadata.go:
##########
@@ -58,6 +58,39 @@ func LoadMetadata(ctx context.Context,
        return &m, nil
 }
 
+// NewMetadata returns a view metadata for a given version.
+func NewMetadata(schema *iceberg.Schema,
+       version Version,
+       loc string,
+       props iceberg.Properties,
+) Metadata {
+       // override the corresponding view version fields with the following 
values.
+       versionId := int64(1)

Review Comment:
   removed



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to