tanmayrauth commented on code in PR #1430:
URL: https://github.com/apache/iceberg-go/pull/1430#discussion_r3560667965


##########
catalog/hive/hive.go:
##########
@@ -149,12 +150,18 @@ func (c *Catalog) LoadTable(ctx context.Context, 
identifier table.Identifier) (*
                return nil, fmt.Errorf("failed to get metadata location: %w", 
err)
        }
 
+       reporter, err := metrics.FromProperties(c.opts.props)

Review Comment:
   Agreed this should be pinned. For this PR I've kept it per-op since the 
built-ins are stateless and there's no Closer path yet — but the intended shape 
is a per-catalog cached reporter matching Java, once a stateful reporter  
(connection/buffer/pool) shows up. Happy to do the per-catalog caching in this 
PR as well if needed.



-- 
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