From e4811b510038dadb0e35fd410a64a00a8f0b033a Mon Sep 17 00:00:00 2001 From: yevhenii-moroziuk Date: Tue, 17 Sep 2024 16:59:50 +0300 Subject: [PATCH] HCK-78094: resolve comments --- forward_engineering/configs/templates.js | 1 + reverse_engineering/helpers/snowflakeHelper.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/forward_engineering/configs/templates.js b/forward_engineering/configs/templates.js index a0ff324f..c8973481 100644 --- a/forward_engineering/configs/templates.js +++ b/forward_engineering/configs/templates.js @@ -23,6 +23,7 @@ module.exports = { '${clusterKeys}' + '${dataRetentionTime}' + '${maxDataExtensionTime}' + + '${copyGrants}' + '${comment}' + '${tagsStatement}' + '${selectStatement};\n', diff --git a/reverse_engineering/helpers/snowflakeHelper.js b/reverse_engineering/helpers/snowflakeHelper.js index b8143ae6..bdc3032f 100644 --- a/reverse_engineering/helpers/snowflakeHelper.js +++ b/reverse_engineering/helpers/snowflakeHelper.js @@ -1263,7 +1263,7 @@ const getDynamicTableData = async ({ fullName, logger }) => { MAX_DATA_EXTENSION_TIME_IN_DAYS, }; } catch (error) { - logger.log('error', { error }, 'Reverse Engineering error while retrieving schema data'); + logger.log('error', { error }, `Reverse Engineering error while retrieving schema data from table ${fullName}`); return {}; }