protected function getOutputTable(Account $account, $tableName) { $outputBucket = $this->configuration->getInBucketId($account->getAccountId()); if ($account->getAttribute('outputBucket') != null) { $outputBucket = $account->getAttribute('outputBucket'); } return $outputBucket . '.' . $tableName; }