692 lines
18 KiB
XML
692 lines
18 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<pipeline>
|
|
<info>
|
|
<name>add_schema</name>
|
|
<name_sync_with_filename>Y</name_sync_with_filename>
|
|
<description/>
|
|
<extended_description/>
|
|
<pipeline_version/>
|
|
<pipeline_type>Normal</pipeline_type>
|
|
<parameters>
|
|
</parameters>
|
|
<capture_transform_performance>N</capture_transform_performance>
|
|
<transform_performance_capturing_delay>1000</transform_performance_capturing_delay>
|
|
<transform_performance_capturing_size_limit>100</transform_performance_capturing_size_limit>
|
|
<created_user>-</created_user>
|
|
<created_date>2025/01/17 12:24:07.728</created_date>
|
|
<modified_user>-</modified_user>
|
|
<modified_date>2025/01/17 12:24:07.728</modified_date>
|
|
</info>
|
|
<notepads>
|
|
</notepads>
|
|
<order>
|
|
<hop>
|
|
<from>Table input</from>
|
|
<to>Update (total_registered.driver_license)</to>
|
|
<enabled>Y</enabled>
|
|
</hop>
|
|
<hop>
|
|
<from>Table input</from>
|
|
<to>Update (total_registered.child_minor)</to>
|
|
<enabled>Y</enabled>
|
|
</hop>
|
|
<hop>
|
|
<from>Table input</from>
|
|
<to>Update (total_registered.age)</to>
|
|
<enabled>Y</enabled>
|
|
</hop>
|
|
<hop>
|
|
<from>Table input</from>
|
|
<to>Update (total_registered.marital_status)</to>
|
|
<enabled>Y</enabled>
|
|
</hop>
|
|
<hop>
|
|
<from>Table input</from>
|
|
<to>Update (total_registered.busyness)</to>
|
|
<enabled>Y</enabled>
|
|
</hop>
|
|
<hop>
|
|
<from>Table input</from>
|
|
<to>Update (total_registered.education_level)</to>
|
|
<enabled>Y</enabled>
|
|
</hop>
|
|
<hop>
|
|
<from>Table input</from>
|
|
<to>Update (total_registered.subpoenas)</to>
|
|
<enabled>Y</enabled>
|
|
</hop>
|
|
<hop>
|
|
<from>Table input</from>
|
|
<to>Update (total_registered.removed_registry)</to>
|
|
<enabled>Y</enabled>
|
|
</hop>
|
|
<hop>
|
|
<from>Table input</from>
|
|
<to>Update (total_registered.reg_mil_cat)</to>
|
|
<enabled>Y</enabled>
|
|
</hop>
|
|
<hop>
|
|
<from>Table input</from>
|
|
<to>Update (main_dashboard.waiting_registration)</to>
|
|
<enabled>Y</enabled>
|
|
</hop>
|
|
<hop>
|
|
<from>Table input</from>
|
|
<to>Update (main_dashboard.total_registered)</to>
|
|
<enabled>Y</enabled>
|
|
</hop>
|
|
<hop>
|
|
<from>Table input</from>
|
|
<to>Update (recruitment_campaign.appeals)</to>
|
|
<enabled>N</enabled>
|
|
</hop>
|
|
<hop>
|
|
<from>Table input</from>
|
|
<to>Update (recruitment_campaign.subpoenas)</to>
|
|
<enabled>Y</enabled>
|
|
</hop>
|
|
<hop>
|
|
<from>Table input</from>
|
|
<to>Update (main_dashboard.recruitment_campaign)</to>
|
|
<enabled>Y</enabled>
|
|
</hop>
|
|
</order>
|
|
<transform>
|
|
<name>Table input</name>
|
|
<type>TableInput</type>
|
|
<description/>
|
|
<distribute>N</distribute>
|
|
<custom_distribution/>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<connection>ervu-dashboard</connection>
|
|
<execute_each_row>N</execute_each_row>
|
|
<limit>0</limit>
|
|
<sql>SELECT
|
|
idm_id AS recruitment_id,
|
|
-- parent_id AS PARENT_ID,
|
|
CASE
|
|
WHEN schema = 'Department' THEN 'Department'
|
|
WHEN schema = 'Organization' THEN 'REG_LVL'
|
|
WHEN schema = 'Region' THEN 'MD_LVL'
|
|
WHEN schema = 'Ministry' THEN 'Ministry'
|
|
ELSE schema -- на случай, если появится неизвестное значение
|
|
END AS schema,
|
|
current_date AS recording_date
|
|
FROM
|
|
ervu_dashboard.recruitment
|
|
WHERE schema in ('Department', 'Organization', 'Region') </sql>
|
|
<variables_active>N</variables_active>
|
|
<attributes/>
|
|
<GUI>
|
|
<xloc>608</xloc>
|
|
<yloc>928</yloc>
|
|
</GUI>
|
|
</transform>
|
|
<transform>
|
|
<name>Update (main_dashboard.recruitment_campaign)</name>
|
|
<type>Update</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<custom_distribution/>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<commit>100</commit>
|
|
<connection>ervu-dashboard</connection>
|
|
<error_ignored>Y</error_ignored>
|
|
<lookup>
|
|
<key>
|
|
<condition>=</condition>
|
|
<field>recruitment_id</field>
|
|
<name>recruitment_id</name>
|
|
</key>
|
|
<key>
|
|
<condition>=</condition>
|
|
<field>recording_date</field>
|
|
<name>recording_date</name>
|
|
</key>
|
|
<schema>main_dashboard</schema>
|
|
<table>recruitment_campaign</table>
|
|
<value>
|
|
<name>schema</name>
|
|
<rename>schema</rename>
|
|
</value>
|
|
</lookup>
|
|
<skip_lookup>N</skip_lookup>
|
|
<use_batch>Y</use_batch>
|
|
<attributes/>
|
|
<GUI>
|
|
<xloc>1200</xloc>
|
|
<yloc>320</yloc>
|
|
</GUI>
|
|
</transform>
|
|
<transform>
|
|
<name>Update (main_dashboard.total_registered)</name>
|
|
<type>Update</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<custom_distribution/>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<commit>100</commit>
|
|
<connection>ervu-dashboard</connection>
|
|
<error_ignored>Y</error_ignored>
|
|
<lookup>
|
|
<key>
|
|
<condition>=</condition>
|
|
<field>recruitment_id</field>
|
|
<name>recruitment_id</name>
|
|
</key>
|
|
<key>
|
|
<condition>=</condition>
|
|
<field>recording_date</field>
|
|
<name>recording_date</name>
|
|
</key>
|
|
<schema>main_dashboard</schema>
|
|
<table>total_registered</table>
|
|
<value>
|
|
<name>schema</name>
|
|
<rename>schema</rename>
|
|
</value>
|
|
</lookup>
|
|
<skip_lookup>N</skip_lookup>
|
|
<use_batch>Y</use_batch>
|
|
<attributes/>
|
|
<GUI>
|
|
<xloc>1200</xloc>
|
|
<yloc>480</yloc>
|
|
</GUI>
|
|
</transform>
|
|
<transform>
|
|
<name>Update (main_dashboard.waiting_registration)</name>
|
|
<type>Update</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<custom_distribution/>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<commit>100</commit>
|
|
<connection>ervu-dashboard</connection>
|
|
<error_ignored>Y</error_ignored>
|
|
<lookup>
|
|
<key>
|
|
<condition>=</condition>
|
|
<field>recruitment_id</field>
|
|
<name>recruitment_id</name>
|
|
</key>
|
|
<key>
|
|
<condition>=</condition>
|
|
<field>recording_date</field>
|
|
<name>recording_date</name>
|
|
</key>
|
|
<schema>main_dashboard</schema>
|
|
<table>waiting_registration</table>
|
|
<value>
|
|
<name>schema</name>
|
|
<rename>schema</rename>
|
|
</value>
|
|
</lookup>
|
|
<skip_lookup>N</skip_lookup>
|
|
<use_batch>Y</use_batch>
|
|
<attributes/>
|
|
<GUI>
|
|
<xloc>1200</xloc>
|
|
<yloc>560</yloc>
|
|
</GUI>
|
|
</transform>
|
|
<transform>
|
|
<name>Update (recruitment_campaign.appeals)</name>
|
|
<type>Update</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<custom_distribution/>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<commit>100</commit>
|
|
<connection>ervu-dashboard</connection>
|
|
<error_ignored>Y</error_ignored>
|
|
<lookup>
|
|
<key>
|
|
<condition>=</condition>
|
|
<field>recruitment_id</field>
|
|
<name>recruitment_id</name>
|
|
</key>
|
|
<key>
|
|
<condition>=</condition>
|
|
<field>recording_date</field>
|
|
<name>recording_date</name>
|
|
</key>
|
|
<schema>recruitment_campaign</schema>
|
|
<table>appeals</table>
|
|
<value>
|
|
<name>schema</name>
|
|
<rename>schema</rename>
|
|
</value>
|
|
</lookup>
|
|
<skip_lookup>N</skip_lookup>
|
|
<use_batch>Y</use_batch>
|
|
<attributes/>
|
|
<GUI>
|
|
<xloc>1200</xloc>
|
|
<yloc>1376</yloc>
|
|
</GUI>
|
|
</transform>
|
|
<transform>
|
|
<name>Update (recruitment_campaign.subpoenas)</name>
|
|
<type>Update</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<custom_distribution/>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<commit>100</commit>
|
|
<connection>ervu-dashboard</connection>
|
|
<error_ignored>Y</error_ignored>
|
|
<lookup>
|
|
<key>
|
|
<condition>=</condition>
|
|
<field>recruitment_id</field>
|
|
<name>recruitment_id</name>
|
|
</key>
|
|
<key>
|
|
<condition>=</condition>
|
|
<field>recording_date</field>
|
|
<name>recording_date</name>
|
|
</key>
|
|
<schema>recruitment_campaign</schema>
|
|
<table>subpoenas</table>
|
|
<value>
|
|
<name>schema</name>
|
|
<rename>schema</rename>
|
|
</value>
|
|
</lookup>
|
|
<skip_lookup>N</skip_lookup>
|
|
<use_batch>Y</use_batch>
|
|
<attributes/>
|
|
<GUI>
|
|
<xloc>1200</xloc>
|
|
<yloc>400</yloc>
|
|
</GUI>
|
|
</transform>
|
|
<transform>
|
|
<name>Update (total_registered.age)</name>
|
|
<type>Update</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<custom_distribution/>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<commit>100</commit>
|
|
<connection>ervu-dashboard</connection>
|
|
<error_ignored>Y</error_ignored>
|
|
<lookup>
|
|
<key>
|
|
<condition>=</condition>
|
|
<field>recruitment_id</field>
|
|
<name>recruitment_id</name>
|
|
</key>
|
|
<key>
|
|
<condition>=</condition>
|
|
<field>recording_date</field>
|
|
<name>recording_date</name>
|
|
</key>
|
|
<schema>total_registered</schema>
|
|
<table>age</table>
|
|
<value>
|
|
<name>schema</name>
|
|
<rename>schema</rename>
|
|
</value>
|
|
</lookup>
|
|
<skip_lookup>N</skip_lookup>
|
|
<use_batch>Y</use_batch>
|
|
<attributes/>
|
|
<GUI>
|
|
<xloc>1200</xloc>
|
|
<yloc>1040</yloc>
|
|
</GUI>
|
|
</transform>
|
|
<transform>
|
|
<name>Update (total_registered.busyness)</name>
|
|
<type>Update</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<custom_distribution/>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<commit>100</commit>
|
|
<connection>ervu-dashboard</connection>
|
|
<error_ignored>Y</error_ignored>
|
|
<lookup>
|
|
<key>
|
|
<condition>=</condition>
|
|
<field>recruitment_id</field>
|
|
<name>recruitment_id</name>
|
|
</key>
|
|
<key>
|
|
<condition>=</condition>
|
|
<field>recording_date</field>
|
|
<name>recording_date</name>
|
|
</key>
|
|
<schema>total_registered</schema>
|
|
<table>busyness</table>
|
|
<value>
|
|
<name>schema</name>
|
|
<rename>schema</rename>
|
|
</value>
|
|
</lookup>
|
|
<skip_lookup>N</skip_lookup>
|
|
<use_batch>Y</use_batch>
|
|
<attributes/>
|
|
<GUI>
|
|
<xloc>1200</xloc>
|
|
<yloc>1200</yloc>
|
|
</GUI>
|
|
</transform>
|
|
<transform>
|
|
<name>Update (total_registered.child_minor)</name>
|
|
<type>Update</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<custom_distribution/>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<commit>100</commit>
|
|
<connection>ervu-dashboard</connection>
|
|
<error_ignored>Y</error_ignored>
|
|
<lookup>
|
|
<key>
|
|
<condition>=</condition>
|
|
<field>recruitment_id</field>
|
|
<name>recruitment_id</name>
|
|
</key>
|
|
<key>
|
|
<condition>=</condition>
|
|
<field>recording_date</field>
|
|
<name>recording_date</name>
|
|
</key>
|
|
<schema>total_registered</schema>
|
|
<table>child_minor</table>
|
|
<value>
|
|
<name>schema</name>
|
|
<rename>schema</rename>
|
|
</value>
|
|
</lookup>
|
|
<skip_lookup>N</skip_lookup>
|
|
<use_batch>Y</use_batch>
|
|
<attributes/>
|
|
<GUI>
|
|
<xloc>1200</xloc>
|
|
<yloc>960</yloc>
|
|
</GUI>
|
|
</transform>
|
|
<transform>
|
|
<name>Update (total_registered.driver_license)</name>
|
|
<type>Update</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<custom_distribution/>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<commit>100</commit>
|
|
<connection>ervu-dashboard</connection>
|
|
<error_ignored>Y</error_ignored>
|
|
<lookup>
|
|
<key>
|
|
<condition>=</condition>
|
|
<field>recruitment_id</field>
|
|
<name>recruitment_id</name>
|
|
</key>
|
|
<key>
|
|
<condition>=</condition>
|
|
<field>recording_date</field>
|
|
<name>recording_date</name>
|
|
</key>
|
|
<schema>total_registered</schema>
|
|
<table>driver_license</table>
|
|
<value>
|
|
<name>schema</name>
|
|
<rename>schema</rename>
|
|
</value>
|
|
</lookup>
|
|
<skip_lookup>N</skip_lookup>
|
|
<use_batch>Y</use_batch>
|
|
<attributes/>
|
|
<GUI>
|
|
<xloc>1200</xloc>
|
|
<yloc>880</yloc>
|
|
</GUI>
|
|
</transform>
|
|
<transform>
|
|
<name>Update (total_registered.education_level)</name>
|
|
<type>Update</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<custom_distribution/>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<commit>100</commit>
|
|
<connection>ervu-dashboard</connection>
|
|
<error_ignored>Y</error_ignored>
|
|
<lookup>
|
|
<key>
|
|
<condition>=</condition>
|
|
<field>recruitment_id</field>
|
|
<name>recruitment_id</name>
|
|
</key>
|
|
<key>
|
|
<condition>=</condition>
|
|
<field>recording_date</field>
|
|
<name>recording_date</name>
|
|
</key>
|
|
<schema>total_registered</schema>
|
|
<table>education_level</table>
|
|
<value>
|
|
<name>schema</name>
|
|
<rename>schema</rename>
|
|
</value>
|
|
</lookup>
|
|
<skip_lookup>N</skip_lookup>
|
|
<use_batch>Y</use_batch>
|
|
<attributes/>
|
|
<GUI>
|
|
<xloc>1200</xloc>
|
|
<yloc>1280</yloc>
|
|
</GUI>
|
|
</transform>
|
|
<transform>
|
|
<name>Update (total_registered.marital_status)</name>
|
|
<type>Update</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<custom_distribution/>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<commit>100</commit>
|
|
<connection>ervu-dashboard</connection>
|
|
<error_ignored>Y</error_ignored>
|
|
<lookup>
|
|
<key>
|
|
<condition>=</condition>
|
|
<field>recruitment_id</field>
|
|
<name>recruitment_id</name>
|
|
</key>
|
|
<key>
|
|
<condition>=</condition>
|
|
<field>recording_date</field>
|
|
<name>recording_date</name>
|
|
</key>
|
|
<schema>total_registered</schema>
|
|
<table>marital_status</table>
|
|
<value>
|
|
<name>schema</name>
|
|
<rename>schema</rename>
|
|
</value>
|
|
</lookup>
|
|
<skip_lookup>N</skip_lookup>
|
|
<use_batch>Y</use_batch>
|
|
<attributes/>
|
|
<GUI>
|
|
<xloc>1200</xloc>
|
|
<yloc>1120</yloc>
|
|
</GUI>
|
|
</transform>
|
|
<transform>
|
|
<name>Update (total_registered.reg_mil_cat)</name>
|
|
<type>Update</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<custom_distribution/>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<commit>100</commit>
|
|
<connection>ervu-dashboard</connection>
|
|
<error_ignored>Y</error_ignored>
|
|
<lookup>
|
|
<key>
|
|
<condition>=</condition>
|
|
<field>recruitment_id</field>
|
|
<name>recruitment_id</name>
|
|
</key>
|
|
<key>
|
|
<condition>=</condition>
|
|
<field>recording_date</field>
|
|
<name>recording_date</name>
|
|
</key>
|
|
<schema>total_registered</schema>
|
|
<table>reg_mil_cat</table>
|
|
<value>
|
|
<name>schema</name>
|
|
<rename>schema</rename>
|
|
</value>
|
|
</lookup>
|
|
<skip_lookup>N</skip_lookup>
|
|
<use_batch>Y</use_batch>
|
|
<attributes/>
|
|
<GUI>
|
|
<xloc>1200</xloc>
|
|
<yloc>640</yloc>
|
|
</GUI>
|
|
</transform>
|
|
<transform>
|
|
<name>Update (total_registered.removed_registry)</name>
|
|
<type>Update</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<custom_distribution/>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<commit>100</commit>
|
|
<connection>ervu-dashboard</connection>
|
|
<error_ignored>Y</error_ignored>
|
|
<lookup>
|
|
<key>
|
|
<condition>=</condition>
|
|
<field>recruitment_id</field>
|
|
<name>recruitment_id</name>
|
|
</key>
|
|
<key>
|
|
<condition>=</condition>
|
|
<field>recording_date</field>
|
|
<name>recording_date</name>
|
|
</key>
|
|
<schema>total_registered</schema>
|
|
<table>removed_registry</table>
|
|
<value>
|
|
<name>schema</name>
|
|
<rename>schema</rename>
|
|
</value>
|
|
</lookup>
|
|
<skip_lookup>N</skip_lookup>
|
|
<use_batch>Y</use_batch>
|
|
<attributes/>
|
|
<GUI>
|
|
<xloc>1200</xloc>
|
|
<yloc>720</yloc>
|
|
</GUI>
|
|
</transform>
|
|
<transform>
|
|
<name>Update (total_registered.subpoenas)</name>
|
|
<type>Update</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<custom_distribution/>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<commit>100</commit>
|
|
<connection>ervu-dashboard</connection>
|
|
<error_ignored>Y</error_ignored>
|
|
<lookup>
|
|
<key>
|
|
<condition>=</condition>
|
|
<field>recruitment_id</field>
|
|
<name>recruitment_id</name>
|
|
</key>
|
|
<key>
|
|
<condition>=</condition>
|
|
<field>recording_date</field>
|
|
<name>recording_date</name>
|
|
</key>
|
|
<schema>total_registered</schema>
|
|
<table>subpoenas</table>
|
|
<value>
|
|
<name>schema</name>
|
|
<rename>schema</rename>
|
|
</value>
|
|
</lookup>
|
|
<skip_lookup>N</skip_lookup>
|
|
<use_batch>Y</use_batch>
|
|
<attributes/>
|
|
<GUI>
|
|
<xloc>1200</xloc>
|
|
<yloc>800</yloc>
|
|
</GUI>
|
|
</transform>
|
|
<transform_error_handling>
|
|
</transform_error_handling>
|
|
<attributes/>
|
|
</pipeline>
|