Skip to content

Commit

Permalink
Remove unnecessary comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kbendick committed Jul 20, 2022
1 parent dde6740 commit fa5ad6e
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,6 @@ public UnboundFunction loadFunction(Identifier ident) throws NoSuchFunctionExcep
// i.e. `SELECT ns.truncate(1, 4)` or `SELECT my_catalog.ns.truncate(1, 4)`
private boolean isValidNamespaceForFunction(String[] namespace) {
Preconditions.checkNotNull(namespace, "Invalid namespace: null");
// Provided the namespace exists, all Iceberg functions are shared to avoid having to register functions
// to each namespace. The usage of the `system` namespace is also allowed.
return namespace.length == 0 ||
(namespace.length == 1 && namespace[0].equalsIgnoreCase("system")) ||
namespaceExists(namespace);
Expand Down

0 comments on commit fa5ad6e

Please sign in to comment.