nastra commented on code in PR #8909:
URL: https://github.com/apache/iceberg/pull/8909#discussion_r1375094889
##########
nessie/src/main/java/org/apache/iceberg/nessie/NessieIcebergClient.java:
##########
@@ -136,15 +143,23 @@ private UpdateableReference loadReference(String
requestedRef, String hash) {
}
public List<TableIdentifier> listTables(Namespace namespace) {
+ return listContents(namespace, Content.Type.ICEBERG_TABLE);
+ }
+
+ public List<TableIdentifier> listViews(Namespace namespace) {
+ return listContents(namespace, Content.Type.ICEBERG_VIEW);
+ }
+
+ private List<TableIdentifier> listContents(Namespace namespace, Content.Type
type) {
Review Comment:
```suggestion
private List<TableIdentifier> listContent(Namespace namespace,
Content.Type type) {
```
--
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]