XJDKC commented on code in PR #14465:
URL: https://github.com/apache/iceberg/pull/14465#discussion_r2562113832


##########
core/src/main/java/org/apache/iceberg/rest/RESTTableOperations.java:
##########
@@ -44,10 +44,10 @@
 import org.apache.iceberg.rest.responses.LoadTableResponse;
 import org.apache.iceberg.util.LocationUtil;
 
-class RESTTableOperations implements TableOperations {
+public class RESTTableOperations implements TableOperations {

Review Comment:
   Technically, it's possible to extend this class by putting a subclass in the 
same package, but that approach goes against recommended Java practices. It 
encourages manipulating package structure in ways that create brittle and make 
maintenance harder. If extension is a valid use case, the visibility should 
reflect that directly, just like RESTCatalog and RESTSessionCatalog.
   
   I don't have a strong opinion on this, WDYT?



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