From a6034649b1352a2b950e4bbe5ce384d51ae17a34 Mon Sep 17 00:00:00 2001 From: FIN-IT_AndriFP Date: Thu, 22 Jan 2026 14:36:04 +0700 Subject: (andri) add transform job magento --- magento_sync_attribute_set.ktr | 1168 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 1168 insertions(+) create mode 100644 magento_sync_attribute_set.ktr (limited to 'magento_sync_attribute_set.ktr') diff --git a/magento_sync_attribute_set.ktr b/magento_sync_attribute_set.ktr new file mode 100644 index 0000000..d47b85a --- /dev/null +++ b/magento_sync_attribute_set.ktr @@ -0,0 +1,1168 @@ + + + + sync attribute set magento + + + + Normal + / + + + + + + + + + + + + ID_BATCH + Y + ID_BATCH + + + CHANNEL_ID + Y + CHANNEL_ID + + + TRANSNAME + Y + TRANSNAME + + + STATUS + Y + STATUS + + + LINES_READ + Y + LINES_READ + + + + LINES_WRITTEN + Y + LINES_WRITTEN + + + + LINES_UPDATED + Y + LINES_UPDATED + + + + LINES_INPUT + Y + LINES_INPUT + + + + LINES_OUTPUT + Y + LINES_OUTPUT + + + + LINES_REJECTED + Y + LINES_REJECTED + + + + ERRORS + Y + ERRORS + + + STARTDATE + Y + STARTDATE + + + ENDDATE + Y + ENDDATE + + + LOGDATE + Y + LOGDATE + + + DEPDATE + Y + DEPDATE + + + REPLAYDATE + Y + REPLAYDATE + + + LOG_FIELD + Y + LOG_FIELD + + + EXECUTING_SERVER + N + EXECUTING_SERVER + + + EXECUTING_USER + N + EXECUTING_USER + + + CLIENT + N + CLIENT + + + + + +
+ + + + ID_BATCH + Y + ID_BATCH + + + SEQ_NR + Y + SEQ_NR + + + LOGDATE + Y + LOGDATE + + + TRANSNAME + Y + TRANSNAME + + + STEPNAME + Y + STEPNAME + + + STEP_COPY + Y + STEP_COPY + + + LINES_READ + Y + LINES_READ + + + LINES_WRITTEN + Y + LINES_WRITTEN + + + LINES_UPDATED + Y + LINES_UPDATED + + + LINES_INPUT + Y + LINES_INPUT + + + LINES_OUTPUT + Y + LINES_OUTPUT + + + LINES_REJECTED + Y + LINES_REJECTED + + + ERRORS + Y + ERRORS + + + INPUT_BUFFER_ROWS + Y + INPUT_BUFFER_ROWS + + + OUTPUT_BUFFER_ROWS + Y + OUTPUT_BUFFER_ROWS + + + + + +
+ + + ID_BATCH + Y + ID_BATCH + + + CHANNEL_ID + Y + CHANNEL_ID + + + LOG_DATE + Y + LOG_DATE + + + LOGGING_OBJECT_TYPE + Y + LOGGING_OBJECT_TYPE + + + OBJECT_NAME + Y + OBJECT_NAME + + + OBJECT_COPY + Y + OBJECT_COPY + + + REPOSITORY_DIRECTORY + Y + REPOSITORY_DIRECTORY + + + FILENAME + Y + FILENAME + + + OBJECT_ID + Y + OBJECT_ID + + + OBJECT_REVISION + Y + OBJECT_REVISION + + + PARENT_CHANNEL_ID + Y + PARENT_CHANNEL_ID + + + ROOT_CHANNEL_ID + Y + ROOT_CHANNEL_ID + + + + + +
+ + + ID_BATCH + Y + ID_BATCH + + + CHANNEL_ID + Y + CHANNEL_ID + + + LOG_DATE + Y + LOG_DATE + + + TRANSNAME + Y + TRANSNAME + + + STEPNAME + Y + STEPNAME + + + STEP_COPY + Y + STEP_COPY + + + LINES_READ + Y + LINES_READ + + + LINES_WRITTEN + Y + LINES_WRITTEN + + + LINES_UPDATED + Y + LINES_UPDATED + + + LINES_INPUT + Y + LINES_INPUT + + + LINES_OUTPUT + Y + LINES_OUTPUT + + + LINES_REJECTED + Y + LINES_REJECTED + + + ERRORS + Y + ERRORS + + + LOG_FIELD + N + LOG_FIELD + + + + + +
+ + + ID_BATCH + Y + ID_BATCH + + + CHANNEL_ID + Y + CHANNEL_ID + + + LOG_DATE + Y + LOG_DATE + + + METRICS_DATE + Y + METRICS_DATE + + + METRICS_CODE + Y + METRICS_CODE + + + METRICS_DESCRIPTION + Y + METRICS_DESCRIPTION + + + METRICS_SUBJECT + Y + METRICS_SUBJECT + + + METRICS_TYPE + Y + METRICS_TYPE + + + METRICS_VALUE + Y + METRICS_VALUE + + + + + +
+ + 0.0 + 0.0 + + 10000 + 50 + 50 + N + Y + 50000 + Y + + N + 1000 + 100 + + + + + + + + + - + 2025/12/30 11:23:45.059 + - + 2025/12/30 11:23:45.059 + H4sIAAAAAAAAAAMAAAAAAAAAAAA= + N + + + + + live indoteknik + localhost + POSTGRESQL + Native + erp_indoteknik + 5432 + dev + Encrypted 2be98afc86ad59d89aa17ff2087c4f783 + + + + + + FORCE_IDENTIFIERS_TO_LOWERCASE + N + + + FORCE_IDENTIFIERS_TO_UPPERCASE + N + + + IS_CLUSTERED + N + + + PORT_NUMBER + 5432 + + + PRESERVE_RESERVED_WORD_CASE + Y + + + QUOTE_ALL_FIELDS + N + + + SUPPORTS_BOOLEAN_DATA_TYPE + Y + + + SUPPORTS_TIMESTAMP_DATA_TYPE + Y + + + USE_POOLING + N + + + + + magento mysql + localhost + MYSQL + Native + magento + 3306 + m2 + Encrypted 2be98afc83ae78197bd0ffe62dac5fa8f + + + + + + EXTRA_OPTION_MYSQL.defaultFetchSize + 500 + + + EXTRA_OPTION_MYSQL.useCursorFetch + true + + + FORCE_IDENTIFIERS_TO_LOWERCASE + N + + + FORCE_IDENTIFIERS_TO_UPPERCASE + N + + + IS_CLUSTERED + N + + + PORT_NUMBER + 3306 + + + PRESERVE_RESERVED_WORD_CASE + Y + + + QUOTE_ALL_FIELDS + N + + + STREAM_RESULTS + Y + + + SUPPORTS_BOOLEAN_DATA_TYPE + Y + + + SUPPORTS_TIMESTAMP_DATA_TYPE + Y + + + USE_POOLING + N + + + + + + Table input + Select values + Y + + + Table input 2 + Merge join + Y + + + Select values + Merge join + Y + + + Merge join + Sort rows + Y + + + Unique rows + Add constants + Y + + + Add constants + Update + Y + + + Sort rows + Filter rows + Y + + + Filter rows + Unique rows + Y + + + + Add constants + Constant + + Y + + 1 + + none + + + + + set_solr_flag + Integer + + + + + 2 + -1 + -1 + N + + + + + + + + + + + + 384 + 416 + Y + + + + Filter rows + FilterRows + + Y + + 1 + + none + + + Unique rows + + + + N + + + N + x_attribute_set_id + IS NULL + + + + N + OR + x_attribute_set_id + <> + attribute_set_id + + + + + + + + + + + + + + 80 + 272 + Y + + + + Merge join + MergeJoin + + Y + + 1 + + none + + + INNER + Select values + Table input 2 + + variant_id + + + variant_id + + + + + + + + + + + 384 + 272 + Y + + + + Select values + SelectValues + + Y + + 1 + + none + + + + N + + sku + variant_id + Integer + -2 + -2 + + false + + + false + + + + + + + + + + + + + + + + + 384 + 128 + Y + + + + Sort rows + SortRows + + Y + + 1 + + none + + + %%java.io.tmpdir%% + out + 1000000 + + N + + N + + + product_tmpl_id + Y + N + N + 0 + N + + + + + + + + + + + + 224 + 272 + Y + + + + Table input + TableInput + + Y + + 1 + + none + + + magento mysql + SELECT + cpe.sku, + cpe.attribute_set_id, + eas.attribute_set_name +FROM catalog_product_entity cpe +JOIN eav_attribute_set eas ON cpe.attribute_set_id = eas.attribute_set_id +WHERE cpe.sku REGEXP '^[0-9]+$' +order by sku; + 0 + + N + N + N + N + + + String + normal + sku + 64 + -1 + Table input + sku + + . + , + + none + N + Y + 0 + N + N + N + en_US + Asia/Bangkok + N + + + Integer + normal + attribute_set_id + 4 + 0 + Table input + attribute_set_id + ####0;-####0 + . + , + + none + N + Y + 0 + N + N + N + en_US + Asia/Bangkok + N + + + String + normal + attribute_set_name + 255 + -1 + Table input + attribute_set_name + + . + , + + none + N + Y + 0 + N + N + N + en_US + Asia/Bangkok + N + + + + + + + + + + + + 224 + 128 + Y + + + + Table input 2 + TableInput + + Y + + 1 + + none + + + live indoteknik + SELECT + pp.id AS variant_id, + pp.product_tmpl_id, + pt.x_attribute_set_id, + pt.x_attribute_set_name, + pt.solr_flag +FROM product_product pp +JOIN product_template pt ON pp.product_tmpl_id = pt.id +WHERE + (pt.x_attribute_set_id = 0 OR pt.x_attribute_set_id IS NULL) + OR + pt.x_attribute_set_name IS NULL +ORDER BY pp.id; + 0 + + N + N + N + N + + + Integer + normal + variant_id + 9 + 0 + Table input 2 + variant_id + ####0;-####0 + . + , + + none + N + Y + 0 + N + N + N + en_US + Asia/Bangkok + N + + + Integer + normal + product_tmpl_id + 9 + 0 + Table input 2 + product_tmpl_id + ####0;-####0 + . + , + + none + N + Y + 0 + N + N + N + en_US + Asia/Bangkok + N + + + Integer + normal + x_attribute_set_id + 9 + 0 + Table input 2 + x_attribute_set_id + ####0;-####0 + . + , + + none + N + Y + 0 + N + N + N + en_US + Asia/Bangkok + N + + + String + normal + x_attribute_set_name + 2147483647 + -1 + Table input 2 + x_attribute_set_name + + . + , + + none + N + Y + 0 + N + N + N + en_US + Asia/Bangkok + N + + + Integer + normal + solr_flag + 9 + 0 + Table input 2 + solr_flag + ####0;-####0 + . + , + + none + N + Y + 0 + N + N + N + en_US + Asia/Bangkok + N + + + + + + + + + + + + 560 + 272 + Y + + + + Unique rows + Unique + + Y + + 1 + + none + + + N + + N + + + + product_tmpl_id + N + + + + + + + + + + + + 224 + 416 + Y + + + + Update + Update + + Y + + 1 + + none + + + live indoteknik + N + 100 + N + N + + + public +
product_template
+ + product_tmpl_id + id + = + + + + x_attribute_set_id + attribute_set_id + + + x_attribute_set_name + attribute_set_name + + + solr_flag + set_solr_flag + + + + + + + + + + + + 560 + 416 + Y + + + + + + + N + +
-- cgit v1.2.3 From e077a72debbe7b8a97f3c0eb566c50d950992c02 Mon Sep 17 00:00:00 2001 From: FIN-IT_AndriFP Date: Thu, 22 Jan 2026 18:07:14 +0700 Subject: fixconnection --- magento_sync_attribute_set.ktr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'magento_sync_attribute_set.ktr') diff --git a/magento_sync_attribute_set.ktr b/magento_sync_attribute_set.ktr index d47b85a..ada2b20 100644 --- a/magento_sync_attribute_set.ktr +++ b/magento_sync_attribute_set.ktr @@ -442,8 +442,8 @@ Native erp_indoteknik 5432 - dev - Encrypted 2be98afc86ad59d89aa17ff2087c4f783 + pdi + Encrypted 2be989bb20084ca95810197629d9ea18e -- cgit v1.2.3 From 86530af2324aa2c1f9d5b7c1ef82972615d42b6d Mon Sep 17 00:00:00 2001 From: FIN-IT_AndriFP Date: Thu, 22 Jan 2026 19:18:45 +0700 Subject: fix --- magento_sync_attribute_set.ktr | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'magento_sync_attribute_set.ktr') diff --git a/magento_sync_attribute_set.ktr b/magento_sync_attribute_set.ktr index ada2b20..1b0b7b0 100644 --- a/magento_sync_attribute_set.ktr +++ b/magento_sync_attribute_set.ktr @@ -499,6 +499,10 @@ + + EXTRA_OPTION_MYSQL.allowPublicKeyRetrieval + true + EXTRA_OPTION_MYSQL.defaultFetchSize 500 @@ -507,6 +511,10 @@ EXTRA_OPTION_MYSQL.useCursorFetch true + + EXTRA_OPTION_MYSQL.useSSL + false + FORCE_IDENTIFIERS_TO_LOWERCASE N -- cgit v1.2.3 From 18c743dbb6ca182f2ddd08ef395223937d187c31 Mon Sep 17 00:00:00 2001 From: FIN-IT_AndriFP Date: Thu, 22 Jan 2026 19:22:23 +0700 Subject: fix --- magento_sync_attribute_set.ktr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'magento_sync_attribute_set.ktr') diff --git a/magento_sync_attribute_set.ktr b/magento_sync_attribute_set.ktr index 1b0b7b0..2a9e7c8 100644 --- a/magento_sync_attribute_set.ktr +++ b/magento_sync_attribute_set.ktr @@ -488,7 +488,7 @@ magento mysql - localhost + 127.0.0.1 MYSQL Native magento -- cgit v1.2.3 From ecc5b30e44c93a720f076d6e62b22e8c304bdfd1 Mon Sep 17 00:00:00 2001 From: FIN-IT_AndriFP Date: Mon, 26 Jan 2026 16:30:38 +0700 Subject: fixxxxz --- magento_sync_attribute_set.ktr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'magento_sync_attribute_set.ktr') diff --git a/magento_sync_attribute_set.ktr b/magento_sync_attribute_set.ktr index 2a9e7c8..24e4011 100644 --- a/magento_sync_attribute_set.ktr +++ b/magento_sync_attribute_set.ktr @@ -488,7 +488,7 @@ magento mysql - 127.0.0.1 + 10.149.0.3 MYSQL Native magento -- cgit v1.2.3 From 00ac8f58f05f082c2992f62a84d218106267f67a Mon Sep 17 00:00:00 2001 From: FIN-IT_AndriFP Date: Mon, 26 Jan 2026 16:48:13 +0700 Subject: fix --- magento_sync_attribute_set.ktr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'magento_sync_attribute_set.ktr') diff --git a/magento_sync_attribute_set.ktr b/magento_sync_attribute_set.ktr index 24e4011..1ecd2b2 100644 --- a/magento_sync_attribute_set.ktr +++ b/magento_sync_attribute_set.ktr @@ -437,7 +437,7 @@ live indoteknik - localhost + 10.148.0.3 POSTGRESQL Native erp_indoteknik -- cgit v1.2.3