code: @Override
    public CompletableFuture<TableDescriptor> getDescriptor(TableName tableName) {
      if (tableName == null) {
        return CompletableFuture.completedFuture(null);
      }
  
      return toCompletableFuture(bigtableTableAdminClient.getTableAsync(tableName.getNameAsString()))
          .handle((resp, ex) -> {
            if (ex != null) {
              if (Status.fromThrowable(ex).getCode() == Status.Code.NOT_FOUND) {
                throw new CompletionException(new TableNotFoundException(tableName));
              } else {
                throw new CompletionException(ex);
              }
            } else {
              return tableAdapter2x.adapt(resp);
            }
      });
    }
docs: {@inheritDoc}