Skip to content

Commit

Permalink
Revert "HCK-8971: include schema name in index name of DDL (#40)" (#41)
Browse files Browse the repository at this point in the history
<!--do not remove this marker, its needed to replace info when ticket
title is updated -->
<!--jira-description-action-hidden-marker-start-->

<table>
<td>
<a href="https://hackolade.atlassian.net/browse/HCK-8971"
title="HCK-8971" target="_blank"><img alt="Sub-task"
src="https://hackolade.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10316?size=medium"
/>HCK-8971</a> [BBVA] include schema name in index name of DDL
  </td></table>
  <br />
 

<!--jira-description-action-hidden-marker-end-->
This reverts commit dfd3415.
  • Loading branch information
Nightlngale authored Dec 5, 2024
1 parent dfd3415 commit 387c330
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ const { wrapInQuotes } = require('../../../utils/general');
const { getBasicValue } = require('../options/getOptionsByConfigs');

const getIndexName = ({ index }) => {
const indexName = getBasicValue({ prefix: '', modifier: name => wrapInQuotes({ name }) })(index.indxName);

return index.schemaName ? ` ${wrapInQuotes({ name: index.schemaName })}.${indexName}` : ` ${indexName}`;
return getBasicValue({ prefix: ' ', modifier: name => wrapInQuotes({ name }) })(index.indxName);
};

module.exports = {
Expand Down

0 comments on commit 387c330

Please sign in to comment.