3010 lines
98 KiB
XML
3010 lines
98 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<transformation>
|
|
<info>
|
|
<name>recruitment</name>
|
|
<description/>
|
|
<extended_description/>
|
|
<trans_version/>
|
|
<trans_type>Normal</trans_type>
|
|
<trans_status>0</trans_status>
|
|
<directory>/</directory>
|
|
<parameters>
|
|
<parameter>
|
|
<name>LOAD_DATE</name>
|
|
<default_value>20240809</default_value>
|
|
<description/>
|
|
</parameter>
|
|
</parameters>
|
|
<log>
|
|
<trans-log-table>
|
|
<connection/>
|
|
<schema/>
|
|
<table/>
|
|
<size_limit_lines/>
|
|
<interval/>
|
|
<timeout_days/>
|
|
<field>
|
|
<id>ID_BATCH</id>
|
|
<enabled>Y</enabled>
|
|
<name>ID_BATCH</name>
|
|
</field>
|
|
<field>
|
|
<id>CHANNEL_ID</id>
|
|
<enabled>Y</enabled>
|
|
<name>CHANNEL_ID</name>
|
|
</field>
|
|
<field>
|
|
<id>TRANSNAME</id>
|
|
<enabled>Y</enabled>
|
|
<name>TRANSNAME</name>
|
|
</field>
|
|
<field>
|
|
<id>STATUS</id>
|
|
<enabled>Y</enabled>
|
|
<name>STATUS</name>
|
|
</field>
|
|
<field>
|
|
<id>LINES_READ</id>
|
|
<enabled>Y</enabled>
|
|
<name>LINES_READ</name>
|
|
<subject/>
|
|
</field>
|
|
<field>
|
|
<id>LINES_WRITTEN</id>
|
|
<enabled>Y</enabled>
|
|
<name>LINES_WRITTEN</name>
|
|
<subject/>
|
|
</field>
|
|
<field>
|
|
<id>LINES_UPDATED</id>
|
|
<enabled>Y</enabled>
|
|
<name>LINES_UPDATED</name>
|
|
<subject/>
|
|
</field>
|
|
<field>
|
|
<id>LINES_INPUT</id>
|
|
<enabled>Y</enabled>
|
|
<name>LINES_INPUT</name>
|
|
<subject/>
|
|
</field>
|
|
<field>
|
|
<id>LINES_OUTPUT</id>
|
|
<enabled>Y</enabled>
|
|
<name>LINES_OUTPUT</name>
|
|
<subject/>
|
|
</field>
|
|
<field>
|
|
<id>LINES_REJECTED</id>
|
|
<enabled>Y</enabled>
|
|
<name>LINES_REJECTED</name>
|
|
<subject/>
|
|
</field>
|
|
<field>
|
|
<id>ERRORS</id>
|
|
<enabled>Y</enabled>
|
|
<name>ERRORS</name>
|
|
</field>
|
|
<field>
|
|
<id>STARTDATE</id>
|
|
<enabled>Y</enabled>
|
|
<name>STARTDATE</name>
|
|
</field>
|
|
<field>
|
|
<id>ENDDATE</id>
|
|
<enabled>Y</enabled>
|
|
<name>ENDDATE</name>
|
|
</field>
|
|
<field>
|
|
<id>LOGDATE</id>
|
|
<enabled>Y</enabled>
|
|
<name>LOGDATE</name>
|
|
</field>
|
|
<field>
|
|
<id>DEPDATE</id>
|
|
<enabled>Y</enabled>
|
|
<name>DEPDATE</name>
|
|
</field>
|
|
<field>
|
|
<id>REPLAYDATE</id>
|
|
<enabled>Y</enabled>
|
|
<name>REPLAYDATE</name>
|
|
</field>
|
|
<field>
|
|
<id>LOG_FIELD</id>
|
|
<enabled>Y</enabled>
|
|
<name>LOG_FIELD</name>
|
|
</field>
|
|
<field>
|
|
<id>EXECUTING_SERVER</id>
|
|
<enabled>N</enabled>
|
|
<name>EXECUTING_SERVER</name>
|
|
</field>
|
|
<field>
|
|
<id>EXECUTING_USER</id>
|
|
<enabled>N</enabled>
|
|
<name>EXECUTING_USER</name>
|
|
</field>
|
|
<field>
|
|
<id>CLIENT</id>
|
|
<enabled>N</enabled>
|
|
<name>CLIENT</name>
|
|
</field>
|
|
</trans-log-table>
|
|
<perf-log-table>
|
|
<connection/>
|
|
<schema/>
|
|
<table/>
|
|
<interval/>
|
|
<timeout_days/>
|
|
<field>
|
|
<id>ID_BATCH</id>
|
|
<enabled>Y</enabled>
|
|
<name>ID_BATCH</name>
|
|
</field>
|
|
<field>
|
|
<id>SEQ_NR</id>
|
|
<enabled>Y</enabled>
|
|
<name>SEQ_NR</name>
|
|
</field>
|
|
<field>
|
|
<id>LOGDATE</id>
|
|
<enabled>Y</enabled>
|
|
<name>LOGDATE</name>
|
|
</field>
|
|
<field>
|
|
<id>TRANSNAME</id>
|
|
<enabled>Y</enabled>
|
|
<name>TRANSNAME</name>
|
|
</field>
|
|
<field>
|
|
<id>STEPNAME</id>
|
|
<enabled>Y</enabled>
|
|
<name>STEPNAME</name>
|
|
</field>
|
|
<field>
|
|
<id>STEP_COPY</id>
|
|
<enabled>Y</enabled>
|
|
<name>STEP_COPY</name>
|
|
</field>
|
|
<field>
|
|
<id>LINES_READ</id>
|
|
<enabled>Y</enabled>
|
|
<name>LINES_READ</name>
|
|
</field>
|
|
<field>
|
|
<id>LINES_WRITTEN</id>
|
|
<enabled>Y</enabled>
|
|
<name>LINES_WRITTEN</name>
|
|
</field>
|
|
<field>
|
|
<id>LINES_UPDATED</id>
|
|
<enabled>Y</enabled>
|
|
<name>LINES_UPDATED</name>
|
|
</field>
|
|
<field>
|
|
<id>LINES_INPUT</id>
|
|
<enabled>Y</enabled>
|
|
<name>LINES_INPUT</name>
|
|
</field>
|
|
<field>
|
|
<id>LINES_OUTPUT</id>
|
|
<enabled>Y</enabled>
|
|
<name>LINES_OUTPUT</name>
|
|
</field>
|
|
<field>
|
|
<id>LINES_REJECTED</id>
|
|
<enabled>Y</enabled>
|
|
<name>LINES_REJECTED</name>
|
|
</field>
|
|
<field>
|
|
<id>ERRORS</id>
|
|
<enabled>Y</enabled>
|
|
<name>ERRORS</name>
|
|
</field>
|
|
<field>
|
|
<id>INPUT_BUFFER_ROWS</id>
|
|
<enabled>Y</enabled>
|
|
<name>INPUT_BUFFER_ROWS</name>
|
|
</field>
|
|
<field>
|
|
<id>OUTPUT_BUFFER_ROWS</id>
|
|
<enabled>Y</enabled>
|
|
<name>OUTPUT_BUFFER_ROWS</name>
|
|
</field>
|
|
</perf-log-table>
|
|
<channel-log-table>
|
|
<connection/>
|
|
<schema/>
|
|
<table/>
|
|
<timeout_days/>
|
|
<field>
|
|
<id>ID_BATCH</id>
|
|
<enabled>Y</enabled>
|
|
<name>ID_BATCH</name>
|
|
</field>
|
|
<field>
|
|
<id>CHANNEL_ID</id>
|
|
<enabled>Y</enabled>
|
|
<name>CHANNEL_ID</name>
|
|
</field>
|
|
<field>
|
|
<id>LOG_DATE</id>
|
|
<enabled>Y</enabled>
|
|
<name>LOG_DATE</name>
|
|
</field>
|
|
<field>
|
|
<id>LOGGING_OBJECT_TYPE</id>
|
|
<enabled>Y</enabled>
|
|
<name>LOGGING_OBJECT_TYPE</name>
|
|
</field>
|
|
<field>
|
|
<id>OBJECT_NAME</id>
|
|
<enabled>Y</enabled>
|
|
<name>OBJECT_NAME</name>
|
|
</field>
|
|
<field>
|
|
<id>OBJECT_COPY</id>
|
|
<enabled>Y</enabled>
|
|
<name>OBJECT_COPY</name>
|
|
</field>
|
|
<field>
|
|
<id>REPOSITORY_DIRECTORY</id>
|
|
<enabled>Y</enabled>
|
|
<name>REPOSITORY_DIRECTORY</name>
|
|
</field>
|
|
<field>
|
|
<id>FILENAME</id>
|
|
<enabled>Y</enabled>
|
|
<name>FILENAME</name>
|
|
</field>
|
|
<field>
|
|
<id>OBJECT_ID</id>
|
|
<enabled>Y</enabled>
|
|
<name>OBJECT_ID</name>
|
|
</field>
|
|
<field>
|
|
<id>OBJECT_REVISION</id>
|
|
<enabled>Y</enabled>
|
|
<name>OBJECT_REVISION</name>
|
|
</field>
|
|
<field>
|
|
<id>PARENT_CHANNEL_ID</id>
|
|
<enabled>Y</enabled>
|
|
<name>PARENT_CHANNEL_ID</name>
|
|
</field>
|
|
<field>
|
|
<id>ROOT_CHANNEL_ID</id>
|
|
<enabled>Y</enabled>
|
|
<name>ROOT_CHANNEL_ID</name>
|
|
</field>
|
|
</channel-log-table>
|
|
<step-log-table>
|
|
<connection/>
|
|
<schema/>
|
|
<table/>
|
|
<timeout_days/>
|
|
<field>
|
|
<id>ID_BATCH</id>
|
|
<enabled>Y</enabled>
|
|
<name>ID_BATCH</name>
|
|
</field>
|
|
<field>
|
|
<id>CHANNEL_ID</id>
|
|
<enabled>Y</enabled>
|
|
<name>CHANNEL_ID</name>
|
|
</field>
|
|
<field>
|
|
<id>LOG_DATE</id>
|
|
<enabled>Y</enabled>
|
|
<name>LOG_DATE</name>
|
|
</field>
|
|
<field>
|
|
<id>TRANSNAME</id>
|
|
<enabled>Y</enabled>
|
|
<name>TRANSNAME</name>
|
|
</field>
|
|
<field>
|
|
<id>STEPNAME</id>
|
|
<enabled>Y</enabled>
|
|
<name>STEPNAME</name>
|
|
</field>
|
|
<field>
|
|
<id>STEP_COPY</id>
|
|
<enabled>Y</enabled>
|
|
<name>STEP_COPY</name>
|
|
</field>
|
|
<field>
|
|
<id>LINES_READ</id>
|
|
<enabled>Y</enabled>
|
|
<name>LINES_READ</name>
|
|
</field>
|
|
<field>
|
|
<id>LINES_WRITTEN</id>
|
|
<enabled>Y</enabled>
|
|
<name>LINES_WRITTEN</name>
|
|
</field>
|
|
<field>
|
|
<id>LINES_UPDATED</id>
|
|
<enabled>Y</enabled>
|
|
<name>LINES_UPDATED</name>
|
|
</field>
|
|
<field>
|
|
<id>LINES_INPUT</id>
|
|
<enabled>Y</enabled>
|
|
<name>LINES_INPUT</name>
|
|
</field>
|
|
<field>
|
|
<id>LINES_OUTPUT</id>
|
|
<enabled>Y</enabled>
|
|
<name>LINES_OUTPUT</name>
|
|
</field>
|
|
<field>
|
|
<id>LINES_REJECTED</id>
|
|
<enabled>Y</enabled>
|
|
<name>LINES_REJECTED</name>
|
|
</field>
|
|
<field>
|
|
<id>ERRORS</id>
|
|
<enabled>Y</enabled>
|
|
<name>ERRORS</name>
|
|
</field>
|
|
<field>
|
|
<id>LOG_FIELD</id>
|
|
<enabled>N</enabled>
|
|
<name>LOG_FIELD</name>
|
|
</field>
|
|
</step-log-table>
|
|
<metrics-log-table>
|
|
<connection/>
|
|
<schema/>
|
|
<table/>
|
|
<timeout_days/>
|
|
<field>
|
|
<id>ID_BATCH</id>
|
|
<enabled>Y</enabled>
|
|
<name>ID_BATCH</name>
|
|
</field>
|
|
<field>
|
|
<id>CHANNEL_ID</id>
|
|
<enabled>Y</enabled>
|
|
<name>CHANNEL_ID</name>
|
|
</field>
|
|
<field>
|
|
<id>LOG_DATE</id>
|
|
<enabled>Y</enabled>
|
|
<name>LOG_DATE</name>
|
|
</field>
|
|
<field>
|
|
<id>METRICS_DATE</id>
|
|
<enabled>Y</enabled>
|
|
<name>METRICS_DATE</name>
|
|
</field>
|
|
<field>
|
|
<id>METRICS_CODE</id>
|
|
<enabled>Y</enabled>
|
|
<name>METRICS_CODE</name>
|
|
</field>
|
|
<field>
|
|
<id>METRICS_DESCRIPTION</id>
|
|
<enabled>Y</enabled>
|
|
<name>METRICS_DESCRIPTION</name>
|
|
</field>
|
|
<field>
|
|
<id>METRICS_SUBJECT</id>
|
|
<enabled>Y</enabled>
|
|
<name>METRICS_SUBJECT</name>
|
|
</field>
|
|
<field>
|
|
<id>METRICS_TYPE</id>
|
|
<enabled>Y</enabled>
|
|
<name>METRICS_TYPE</name>
|
|
</field>
|
|
<field>
|
|
<id>METRICS_VALUE</id>
|
|
<enabled>Y</enabled>
|
|
<name>METRICS_VALUE</name>
|
|
</field>
|
|
</metrics-log-table>
|
|
</log>
|
|
<maxdate>
|
|
<connection/>
|
|
<table/>
|
|
<field/>
|
|
<offset>0.0</offset>
|
|
<maxdiff>0.0</maxdiff>
|
|
</maxdate>
|
|
<size_rowset>10000</size_rowset>
|
|
<sleep_time_empty>50</sleep_time_empty>
|
|
<sleep_time_full>50</sleep_time_full>
|
|
<unique_connections>N</unique_connections>
|
|
<feedback_shown>Y</feedback_shown>
|
|
<feedback_size>50000</feedback_size>
|
|
<using_thread_priorities>Y</using_thread_priorities>
|
|
<shared_objects_file/>
|
|
<capture_step_performance>N</capture_step_performance>
|
|
<step_performance_capturing_delay>1000</step_performance_capturing_delay>
|
|
<step_performance_capturing_size_limit>100</step_performance_capturing_size_limit>
|
|
<dependencies>
|
|
</dependencies>
|
|
<partitionschemas>
|
|
</partitionschemas>
|
|
<slaveservers>
|
|
</slaveservers>
|
|
<clusterschemas>
|
|
</clusterschemas>
|
|
<created_user>-</created_user>
|
|
<created_date>2024/08/09 13:13:59.825</created_date>
|
|
<modified_user>-</modified_user>
|
|
<modified_date>2024/08/09 13:13:59.825</modified_date>
|
|
<key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key>
|
|
<is_key_private>N</is_key_private>
|
|
</info>
|
|
<notepads>
|
|
</notepads>
|
|
<connection>
|
|
<name>ervu_business_metrics</name>
|
|
<server>10.10.31.119</server>
|
|
<type>POSTGRESQL</type>
|
|
<access>Native</access>
|
|
<database>ervu-dashboard</database>
|
|
<port>5432</port>
|
|
<username>ervu-dashboard</username>
|
|
<password>Encrypted 2be98caba1cd2df80aa0aa672d193bdde</password>
|
|
<servername/>
|
|
<data_tablespace/>
|
|
<index_tablespace/>
|
|
<attributes>
|
|
<attribute>
|
|
<code>PORT_NUMBER</code>
|
|
<attribute>5432</attribute>
|
|
</attribute>
|
|
</attributes>
|
|
</connection>
|
|
<connection>
|
|
<name>postgres.subpoena</name>
|
|
<server>10.10.31.118</server>
|
|
<type>POSTGRESQL</type>
|
|
<access>Native</access>
|
|
<database>subpoena</database>
|
|
<port>5432</port>
|
|
<username>postgres</username>
|
|
<password>Encrypted 2be98afc86aa7f2e4b11ba562feabf7eb</password>
|
|
<servername/>
|
|
<data_tablespace/>
|
|
<index_tablespace/>
|
|
<attributes>
|
|
<attribute>
|
|
<code>PORT_NUMBER</code>
|
|
<attribute>5432</attribute>
|
|
</attribute>
|
|
</attributes>
|
|
</connection>
|
|
<order>
|
|
<hop>
|
|
<from>Get variables 4</from>
|
|
<to>Select values 4</to>
|
|
<enabled>Y</enabled>
|
|
</hop>
|
|
<hop>
|
|
<from>Select values 4</from>
|
|
<to>Insert / update (recruitment_campaign.subpoenas)</to>
|
|
<enabled>Y</enabled>
|
|
</hop>
|
|
<hop>
|
|
<from>Table input (subpoena) осень/РФ</from>
|
|
<to>Get variables 4</to>
|
|
<enabled>Y</enabled>
|
|
</hop>
|
|
<hop>
|
|
<from>Get variables 4 2</from>
|
|
<to>Select values 4 2</to>
|
|
<enabled>Y</enabled>
|
|
</hop>
|
|
<hop>
|
|
<from>Select values 4 2</from>
|
|
<to>Insert / update (recruitment_campaign.subpoenas) 2</to>
|
|
<enabled>Y</enabled>
|
|
</hop>
|
|
<hop>
|
|
<from>Table input (subpoena) Весна/РФ</from>
|
|
<to>Get variables 4 2</to>
|
|
<enabled>Y</enabled>
|
|
</hop>
|
|
<hop>
|
|
<from>Get variables 4 3</from>
|
|
<to>Select values 4 3</to>
|
|
<enabled>Y</enabled>
|
|
</hop>
|
|
<hop>
|
|
<from>Select values 4 3</from>
|
|
<to>Insert / update (recruitment_campaign.subpoenas) 3</to>
|
|
<enabled>Y</enabled>
|
|
</hop>
|
|
<hop>
|
|
<from>Table input (subpoena) осень/липец</from>
|
|
<to>Get variables 4 3</to>
|
|
<enabled>Y</enabled>
|
|
</hop>
|
|
<hop>
|
|
<from>Get variables 4 3 2</from>
|
|
<to>Select values 4 3 2</to>
|
|
<enabled>Y</enabled>
|
|
</hop>
|
|
<hop>
|
|
<from>Select values 4 3 2</from>
|
|
<to>Insert / update (recruitment_campaign.subpoenas) 3 2</to>
|
|
<enabled>Y</enabled>
|
|
</hop>
|
|
<hop>
|
|
<from>Table input (subpoena) весна/липец 2</from>
|
|
<to>Get variables 4 3 2</to>
|
|
<enabled>Y</enabled>
|
|
</hop>
|
|
<hop>
|
|
<from>Get variables 4 4</from>
|
|
<to>Select values 4 4</to>
|
|
<enabled>Y</enabled>
|
|
</hop>
|
|
<hop>
|
|
<from>Select values 4 4</from>
|
|
<to>Insert / update (recruitment_campaign.subpoenas) 4</to>
|
|
<enabled>Y</enabled>
|
|
</hop>
|
|
<hop>
|
|
<from>Table input (subpoena) осень/ряз</from>
|
|
<to>Get variables 4 4</to>
|
|
<enabled>Y</enabled>
|
|
</hop>
|
|
<hop>
|
|
<from>Get variables 4 4 2</from>
|
|
<to>Select values 4 4 2</to>
|
|
<enabled>Y</enabled>
|
|
</hop>
|
|
<hop>
|
|
<from>Select values 4 4 2</from>
|
|
<to>Insert / update (recruitment_campaign.subpoenas) 4 2</to>
|
|
<enabled>Y</enabled>
|
|
</hop>
|
|
<hop>
|
|
<from>Table input (subpoena) весна/ряз</from>
|
|
<to>Get variables 4 4 2</to>
|
|
<enabled>Y</enabled>
|
|
</hop>
|
|
<hop>
|
|
<from>Get variables 4 5</from>
|
|
<to>Select values 4 5</to>
|
|
<enabled>Y</enabled>
|
|
</hop>
|
|
<hop>
|
|
<from>Select values 4 5</from>
|
|
<to>Insert / update (recruitment_campaign.subpoenas) 5</to>
|
|
<enabled>Y</enabled>
|
|
</hop>
|
|
<hop>
|
|
<from>Table input (subpoena) осень/сахал</from>
|
|
<to>Get variables 4 5</to>
|
|
<enabled>Y</enabled>
|
|
</hop>
|
|
<hop>
|
|
<from>Get variables 4 5 2</from>
|
|
<to>Select values 4 5 2</to>
|
|
<enabled>Y</enabled>
|
|
</hop>
|
|
<hop>
|
|
<from>Select values 4 5 2</from>
|
|
<to>Insert / update (recruitment_campaign.subpoenas) 5 2</to>
|
|
<enabled>Y</enabled>
|
|
</hop>
|
|
<hop>
|
|
<from>Table input (subpoena) весна/сахал 2</from>
|
|
<to>Get variables 4 5 2</to>
|
|
<enabled>Y</enabled>
|
|
</hop>
|
|
</order>
|
|
<step>
|
|
<name>Get variables 4</name>
|
|
<type>GetVariable</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<custom_distribution/>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<fields>
|
|
<field>
|
|
<name>LOAD_DATE</name>
|
|
<variable>${LOAD_DATE}</variable>
|
|
<type>Date</type>
|
|
<format>yyyyMMdd</format>
|
|
<currency/>
|
|
<decimal/>
|
|
<group/>
|
|
<length>-1</length>
|
|
<precision>-1</precision>
|
|
<trim_type>none</trim_type>
|
|
</field>
|
|
</fields>
|
|
<attributes/>
|
|
<cluster_schema/>
|
|
<remotesteps>
|
|
<input>
|
|
</input>
|
|
<output>
|
|
</output>
|
|
</remotesteps>
|
|
<GUI>
|
|
<xloc>336</xloc>
|
|
<yloc>128</yloc>
|
|
<draw>Y</draw>
|
|
</GUI>
|
|
</step>
|
|
<step>
|
|
<name>Get variables 4 2</name>
|
|
<type>GetVariable</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<custom_distribution/>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<fields>
|
|
<field>
|
|
<name>LOAD_DATE</name>
|
|
<variable>${LOAD_DATE}</variable>
|
|
<type>Date</type>
|
|
<format>yyyyMMdd</format>
|
|
<currency/>
|
|
<decimal/>
|
|
<group/>
|
|
<length>-1</length>
|
|
<precision>-1</precision>
|
|
<trim_type>none</trim_type>
|
|
</field>
|
|
</fields>
|
|
<attributes/>
|
|
<cluster_schema/>
|
|
<remotesteps>
|
|
<input>
|
|
</input>
|
|
<output>
|
|
</output>
|
|
</remotesteps>
|
|
<GUI>
|
|
<xloc>336</xloc>
|
|
<yloc>240</yloc>
|
|
<draw>Y</draw>
|
|
</GUI>
|
|
</step>
|
|
<step>
|
|
<name>Get variables 4 3</name>
|
|
<type>GetVariable</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<custom_distribution/>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<fields>
|
|
<field>
|
|
<name>LOAD_DATE</name>
|
|
<variable>${LOAD_DATE}</variable>
|
|
<type>Date</type>
|
|
<format>yyyyMMdd</format>
|
|
<currency/>
|
|
<decimal/>
|
|
<group/>
|
|
<length>-1</length>
|
|
<precision>-1</precision>
|
|
<trim_type>none</trim_type>
|
|
</field>
|
|
</fields>
|
|
<attributes/>
|
|
<cluster_schema/>
|
|
<remotesteps>
|
|
<input>
|
|
</input>
|
|
<output>
|
|
</output>
|
|
</remotesteps>
|
|
<GUI>
|
|
<xloc>336</xloc>
|
|
<yloc>400</yloc>
|
|
<draw>Y</draw>
|
|
</GUI>
|
|
</step>
|
|
<step>
|
|
<name>Get variables 4 3 2</name>
|
|
<type>GetVariable</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<custom_distribution/>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<fields>
|
|
<field>
|
|
<name>LOAD_DATE</name>
|
|
<variable>${LOAD_DATE}</variable>
|
|
<type>Date</type>
|
|
<format>yyyyMMdd</format>
|
|
<currency/>
|
|
<decimal/>
|
|
<group/>
|
|
<length>-1</length>
|
|
<precision>-1</precision>
|
|
<trim_type>none</trim_type>
|
|
</field>
|
|
</fields>
|
|
<attributes/>
|
|
<cluster_schema/>
|
|
<remotesteps>
|
|
<input>
|
|
</input>
|
|
<output>
|
|
</output>
|
|
</remotesteps>
|
|
<GUI>
|
|
<xloc>336</xloc>
|
|
<yloc>480</yloc>
|
|
<draw>Y</draw>
|
|
</GUI>
|
|
</step>
|
|
<step>
|
|
<name>Get variables 4 4</name>
|
|
<type>GetVariable</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<custom_distribution/>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<fields>
|
|
<field>
|
|
<name>LOAD_DATE</name>
|
|
<variable>${LOAD_DATE}</variable>
|
|
<type>Date</type>
|
|
<format>yyyyMMdd</format>
|
|
<currency/>
|
|
<decimal/>
|
|
<group/>
|
|
<length>-1</length>
|
|
<precision>-1</precision>
|
|
<trim_type>none</trim_type>
|
|
</field>
|
|
</fields>
|
|
<attributes/>
|
|
<cluster_schema/>
|
|
<remotesteps>
|
|
<input>
|
|
</input>
|
|
<output>
|
|
</output>
|
|
</remotesteps>
|
|
<GUI>
|
|
<xloc>336</xloc>
|
|
<yloc>608</yloc>
|
|
<draw>Y</draw>
|
|
</GUI>
|
|
</step>
|
|
<step>
|
|
<name>Get variables 4 4 2</name>
|
|
<type>GetVariable</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<custom_distribution/>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<fields>
|
|
<field>
|
|
<name>LOAD_DATE</name>
|
|
<variable>${LOAD_DATE}</variable>
|
|
<type>Date</type>
|
|
<format>yyyyMMdd</format>
|
|
<currency/>
|
|
<decimal/>
|
|
<group/>
|
|
<length>-1</length>
|
|
<precision>-1</precision>
|
|
<trim_type>none</trim_type>
|
|
</field>
|
|
</fields>
|
|
<attributes/>
|
|
<cluster_schema/>
|
|
<remotesteps>
|
|
<input>
|
|
</input>
|
|
<output>
|
|
</output>
|
|
</remotesteps>
|
|
<GUI>
|
|
<xloc>336</xloc>
|
|
<yloc>688</yloc>
|
|
<draw>Y</draw>
|
|
</GUI>
|
|
</step>
|
|
<step>
|
|
<name>Get variables 4 5</name>
|
|
<type>GetVariable</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<custom_distribution/>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<fields>
|
|
<field>
|
|
<name>LOAD_DATE</name>
|
|
<variable>${LOAD_DATE}</variable>
|
|
<type>Date</type>
|
|
<format>yyyyMMdd</format>
|
|
<currency/>
|
|
<decimal/>
|
|
<group/>
|
|
<length>-1</length>
|
|
<precision>-1</precision>
|
|
<trim_type>none</trim_type>
|
|
</field>
|
|
</fields>
|
|
<attributes/>
|
|
<cluster_schema/>
|
|
<remotesteps>
|
|
<input>
|
|
</input>
|
|
<output>
|
|
</output>
|
|
</remotesteps>
|
|
<GUI>
|
|
<xloc>336</xloc>
|
|
<yloc>816</yloc>
|
|
<draw>Y</draw>
|
|
</GUI>
|
|
</step>
|
|
<step>
|
|
<name>Get variables 4 5 2</name>
|
|
<type>GetVariable</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<custom_distribution/>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<fields>
|
|
<field>
|
|
<name>LOAD_DATE</name>
|
|
<variable>${LOAD_DATE}</variable>
|
|
<type>Date</type>
|
|
<format>yyyyMMdd</format>
|
|
<currency/>
|
|
<decimal/>
|
|
<group/>
|
|
<length>-1</length>
|
|
<precision>-1</precision>
|
|
<trim_type>none</trim_type>
|
|
</field>
|
|
</fields>
|
|
<attributes/>
|
|
<cluster_schema/>
|
|
<remotesteps>
|
|
<input>
|
|
</input>
|
|
<output>
|
|
</output>
|
|
</remotesteps>
|
|
<GUI>
|
|
<xloc>336</xloc>
|
|
<yloc>896</yloc>
|
|
<draw>Y</draw>
|
|
</GUI>
|
|
</step>
|
|
<step>
|
|
<name>Insert / update (recruitment_campaign.subpoenas)</name>
|
|
<type>InsertUpdate</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<custom_distribution/>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<connection>ervu_business_metrics</connection>
|
|
<commit>100</commit>
|
|
<update_bypassed>N</update_bypassed>
|
|
<lookup>
|
|
<schema>recruitment_campaign</schema>
|
|
<table>subpoenas</table>
|
|
<key>
|
|
<name>LOAD_DATE</name>
|
|
<field>recording_date</field>
|
|
<condition>=</condition>
|
|
<name2/>
|
|
</key>
|
|
<value>
|
|
<name>subpoena</name>
|
|
<rename>subpoena</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>appeared</name>
|
|
<rename>appeared</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>not_appeared</name>
|
|
<rename>not_appeared</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>not_ap_good_reason</name>
|
|
<rename>not_ap_good_reason</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>introduced_measures</name>
|
|
<rename>introduced_measures</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>ap_not_required</name>
|
|
<rename>ap_not_required</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>restrictions_applied</name>
|
|
<rename>restrictions_applied</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>appeared_percent</name>
|
|
<rename>appeared_percent</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>not_appeared_percent</name>
|
|
<rename>not_appeared_percent</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>not_ap_good_reason_percent</name>
|
|
<rename>not_ap_good_reason_percent</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>ap_not_required_percent</name>
|
|
<rename>ap_not_required_percent</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>restrictions_applied_percent</name>
|
|
<rename>restrictions_applied_percent</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>introduced_measures_percent</name>
|
|
<rename>introduced_measures_percent</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>testrecruitment_id</name>
|
|
<rename>recruitment_id</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>rest</name>
|
|
<rename>rest</rename>
|
|
<update>N</update>
|
|
</value>
|
|
<value>
|
|
<name>testspring_autumn</name>
|
|
<rename>spring_autumn</rename>
|
|
<update>N</update>
|
|
</value>
|
|
<value>
|
|
<name>recording_date</name>
|
|
<rename>LOAD_DATE</rename>
|
|
<update>N</update>
|
|
</value>
|
|
</lookup>
|
|
<attributes/>
|
|
<cluster_schema/>
|
|
<remotesteps>
|
|
<input>
|
|
</input>
|
|
<output>
|
|
</output>
|
|
</remotesteps>
|
|
<GUI>
|
|
<xloc>656</xloc>
|
|
<yloc>128</yloc>
|
|
<draw>Y</draw>
|
|
</GUI>
|
|
</step>
|
|
<step>
|
|
<name>Insert / update (recruitment_campaign.subpoenas) 2</name>
|
|
<type>InsertUpdate</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<custom_distribution/>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<connection>ervu_business_metrics</connection>
|
|
<commit>100</commit>
|
|
<update_bypassed>N</update_bypassed>
|
|
<lookup>
|
|
<schema>recruitment_campaign</schema>
|
|
<table>subpoenas</table>
|
|
<key>
|
|
<name>LOAD_DATE</name>
|
|
<field>recording_date</field>
|
|
<condition>=</condition>
|
|
<name2/>
|
|
</key>
|
|
<value>
|
|
<name>subpoena</name>
|
|
<rename>subpoena</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>appeared</name>
|
|
<rename>appeared</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>not_appeared</name>
|
|
<rename>not_appeared</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>not_ap_good_reason</name>
|
|
<rename>not_ap_good_reason</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>introduced_measures</name>
|
|
<rename>introduced_measures</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>ap_not_required</name>
|
|
<rename>ap_not_required</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>restrictions_applied</name>
|
|
<rename>restrictions_applied</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>appeared_percent</name>
|
|
<rename>appeared_percent</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>not_appeared_percent</name>
|
|
<rename>not_appeared_percent</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>not_ap_good_reason_percent</name>
|
|
<rename>not_ap_good_reason_percent</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>ap_not_required_percent</name>
|
|
<rename>ap_not_required_percent</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>restrictions_applied_percent</name>
|
|
<rename>restrictions_applied_percent</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>introduced_measures_percent</name>
|
|
<rename>introduced_measures_percent</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>testrecruitment_id</name>
|
|
<rename>recruitment_id</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>rest</name>
|
|
<rename>rest</rename>
|
|
<update>N</update>
|
|
</value>
|
|
<value>
|
|
<name>testspring_autumn</name>
|
|
<rename>spring_autumn</rename>
|
|
<update>N</update>
|
|
</value>
|
|
<value>
|
|
<name>recording_date</name>
|
|
<rename>LOAD_DATE</rename>
|
|
<update>N</update>
|
|
</value>
|
|
</lookup>
|
|
<attributes/>
|
|
<cluster_schema/>
|
|
<remotesteps>
|
|
<input>
|
|
</input>
|
|
<output>
|
|
</output>
|
|
</remotesteps>
|
|
<GUI>
|
|
<xloc>656</xloc>
|
|
<yloc>240</yloc>
|
|
<draw>Y</draw>
|
|
</GUI>
|
|
</step>
|
|
<step>
|
|
<name>Insert / update (recruitment_campaign.subpoenas) 3</name>
|
|
<type>InsertUpdate</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<custom_distribution/>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<connection>ervu_business_metrics</connection>
|
|
<commit>100</commit>
|
|
<update_bypassed>N</update_bypassed>
|
|
<lookup>
|
|
<schema>recruitment_campaign</schema>
|
|
<table>subpoenas</table>
|
|
<key>
|
|
<name>LOAD_DATE</name>
|
|
<field>recording_date</field>
|
|
<condition>=</condition>
|
|
<name2/>
|
|
</key>
|
|
<value>
|
|
<name>subpoena</name>
|
|
<rename>subpoena</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>appeared</name>
|
|
<rename>appeared</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>not_appeared</name>
|
|
<rename>not_appeared</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>not_ap_good_reason</name>
|
|
<rename>not_ap_good_reason</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>introduced_measures</name>
|
|
<rename>introduced_measures</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>ap_not_required</name>
|
|
<rename>ap_not_required</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>restrictions_applied</name>
|
|
<rename>restrictions_applied</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>appeared_percent</name>
|
|
<rename>appeared_percent</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>not_appeared_percent</name>
|
|
<rename>not_appeared_percent</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>not_ap_good_reason_percent</name>
|
|
<rename>not_ap_good_reason_percent</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>ap_not_required_percent</name>
|
|
<rename>ap_not_required_percent</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>restrictions_applied_percent</name>
|
|
<rename>restrictions_applied_percent</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>introduced_measures_percent</name>
|
|
<rename>introduced_measures_percent</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>testrecruitment_id</name>
|
|
<rename>recruitment_id</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>rest</name>
|
|
<rename>rest</rename>
|
|
<update>N</update>
|
|
</value>
|
|
<value>
|
|
<name>testspring_autumn</name>
|
|
<rename>spring_autumn</rename>
|
|
<update>N</update>
|
|
</value>
|
|
<value>
|
|
<name>recording_date</name>
|
|
<rename>LOAD_DATE</rename>
|
|
<update>N</update>
|
|
</value>
|
|
</lookup>
|
|
<attributes/>
|
|
<cluster_schema/>
|
|
<remotesteps>
|
|
<input>
|
|
</input>
|
|
<output>
|
|
</output>
|
|
</remotesteps>
|
|
<GUI>
|
|
<xloc>656</xloc>
|
|
<yloc>400</yloc>
|
|
<draw>Y</draw>
|
|
</GUI>
|
|
</step>
|
|
<step>
|
|
<name>Insert / update (recruitment_campaign.subpoenas) 3 2</name>
|
|
<type>InsertUpdate</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<custom_distribution/>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<connection>ervu_business_metrics</connection>
|
|
<commit>100</commit>
|
|
<update_bypassed>N</update_bypassed>
|
|
<lookup>
|
|
<schema>recruitment_campaign</schema>
|
|
<table>subpoenas</table>
|
|
<key>
|
|
<name>LOAD_DATE</name>
|
|
<field>recording_date</field>
|
|
<condition>=</condition>
|
|
<name2/>
|
|
</key>
|
|
<value>
|
|
<name>subpoena</name>
|
|
<rename>subpoena</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>appeared</name>
|
|
<rename>appeared</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>not_appeared</name>
|
|
<rename>not_appeared</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>not_ap_good_reason</name>
|
|
<rename>not_ap_good_reason</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>introduced_measures</name>
|
|
<rename>introduced_measures</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>ap_not_required</name>
|
|
<rename>ap_not_required</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>restrictions_applied</name>
|
|
<rename>restrictions_applied</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>appeared_percent</name>
|
|
<rename>appeared_percent</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>not_appeared_percent</name>
|
|
<rename>not_appeared_percent</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>not_ap_good_reason_percent</name>
|
|
<rename>not_ap_good_reason_percent</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>ap_not_required_percent</name>
|
|
<rename>ap_not_required_percent</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>restrictions_applied_percent</name>
|
|
<rename>restrictions_applied_percent</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>introduced_measures_percent</name>
|
|
<rename>introduced_measures_percent</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>testrecruitment_id</name>
|
|
<rename>recruitment_id</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>rest</name>
|
|
<rename>rest</rename>
|
|
<update>N</update>
|
|
</value>
|
|
<value>
|
|
<name>testspring_autumn</name>
|
|
<rename>spring_autumn</rename>
|
|
<update>N</update>
|
|
</value>
|
|
<value>
|
|
<name>recording_date</name>
|
|
<rename>LOAD_DATE</rename>
|
|
<update>N</update>
|
|
</value>
|
|
</lookup>
|
|
<attributes/>
|
|
<cluster_schema/>
|
|
<remotesteps>
|
|
<input>
|
|
</input>
|
|
<output>
|
|
</output>
|
|
</remotesteps>
|
|
<GUI>
|
|
<xloc>656</xloc>
|
|
<yloc>480</yloc>
|
|
<draw>Y</draw>
|
|
</GUI>
|
|
</step>
|
|
<step>
|
|
<name>Insert / update (recruitment_campaign.subpoenas) 4</name>
|
|
<type>InsertUpdate</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<custom_distribution/>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<connection>ervu_business_metrics</connection>
|
|
<commit>100</commit>
|
|
<update_bypassed>N</update_bypassed>
|
|
<lookup>
|
|
<schema>recruitment_campaign</schema>
|
|
<table>subpoenas</table>
|
|
<key>
|
|
<name>LOAD_DATE</name>
|
|
<field>recording_date</field>
|
|
<condition>=</condition>
|
|
<name2/>
|
|
</key>
|
|
<value>
|
|
<name>subpoena</name>
|
|
<rename>subpoena</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>appeared</name>
|
|
<rename>appeared</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>not_appeared</name>
|
|
<rename>not_appeared</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>not_ap_good_reason</name>
|
|
<rename>not_ap_good_reason</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>introduced_measures</name>
|
|
<rename>introduced_measures</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>ap_not_required</name>
|
|
<rename>ap_not_required</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>restrictions_applied</name>
|
|
<rename>restrictions_applied</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>appeared_percent</name>
|
|
<rename>appeared_percent</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>not_appeared_percent</name>
|
|
<rename>not_appeared_percent</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>not_ap_good_reason_percent</name>
|
|
<rename>not_ap_good_reason_percent</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>ap_not_required_percent</name>
|
|
<rename>ap_not_required_percent</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>restrictions_applied_percent</name>
|
|
<rename>restrictions_applied_percent</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>introduced_measures_percent</name>
|
|
<rename>introduced_measures_percent</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>testrecruitment_id</name>
|
|
<rename>recruitment_id</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>rest</name>
|
|
<rename>rest</rename>
|
|
<update>N</update>
|
|
</value>
|
|
<value>
|
|
<name>testspring_autumn</name>
|
|
<rename>spring_autumn</rename>
|
|
<update>N</update>
|
|
</value>
|
|
<value>
|
|
<name>recording_date</name>
|
|
<rename>LOAD_DATE</rename>
|
|
<update>N</update>
|
|
</value>
|
|
</lookup>
|
|
<attributes/>
|
|
<cluster_schema/>
|
|
<remotesteps>
|
|
<input>
|
|
</input>
|
|
<output>
|
|
</output>
|
|
</remotesteps>
|
|
<GUI>
|
|
<xloc>656</xloc>
|
|
<yloc>608</yloc>
|
|
<draw>Y</draw>
|
|
</GUI>
|
|
</step>
|
|
<step>
|
|
<name>Insert / update (recruitment_campaign.subpoenas) 4 2</name>
|
|
<type>InsertUpdate</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<custom_distribution/>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<connection>ervu_business_metrics</connection>
|
|
<commit>100</commit>
|
|
<update_bypassed>N</update_bypassed>
|
|
<lookup>
|
|
<schema>recruitment_campaign</schema>
|
|
<table>subpoenas</table>
|
|
<key>
|
|
<name>LOAD_DATE</name>
|
|
<field>recording_date</field>
|
|
<condition>=</condition>
|
|
<name2/>
|
|
</key>
|
|
<value>
|
|
<name>subpoena</name>
|
|
<rename>subpoena</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>appeared</name>
|
|
<rename>appeared</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>not_appeared</name>
|
|
<rename>not_appeared</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>not_ap_good_reason</name>
|
|
<rename>not_ap_good_reason</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>introduced_measures</name>
|
|
<rename>introduced_measures</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>ap_not_required</name>
|
|
<rename>ap_not_required</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>restrictions_applied</name>
|
|
<rename>restrictions_applied</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>appeared_percent</name>
|
|
<rename>appeared_percent</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>not_appeared_percent</name>
|
|
<rename>not_appeared_percent</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>not_ap_good_reason_percent</name>
|
|
<rename>not_ap_good_reason_percent</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>ap_not_required_percent</name>
|
|
<rename>ap_not_required_percent</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>restrictions_applied_percent</name>
|
|
<rename>restrictions_applied_percent</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>introduced_measures_percent</name>
|
|
<rename>introduced_measures_percent</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>testrecruitment_id</name>
|
|
<rename>recruitment_id</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>rest</name>
|
|
<rename>rest</rename>
|
|
<update>N</update>
|
|
</value>
|
|
<value>
|
|
<name>testspring_autumn</name>
|
|
<rename>spring_autumn</rename>
|
|
<update>N</update>
|
|
</value>
|
|
<value>
|
|
<name>recording_date</name>
|
|
<rename>LOAD_DATE</rename>
|
|
<update>N</update>
|
|
</value>
|
|
</lookup>
|
|
<attributes/>
|
|
<cluster_schema/>
|
|
<remotesteps>
|
|
<input>
|
|
</input>
|
|
<output>
|
|
</output>
|
|
</remotesteps>
|
|
<GUI>
|
|
<xloc>656</xloc>
|
|
<yloc>688</yloc>
|
|
<draw>Y</draw>
|
|
</GUI>
|
|
</step>
|
|
<step>
|
|
<name>Insert / update (recruitment_campaign.subpoenas) 5</name>
|
|
<type>InsertUpdate</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<custom_distribution/>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<connection>ervu_business_metrics</connection>
|
|
<commit>100</commit>
|
|
<update_bypassed>N</update_bypassed>
|
|
<lookup>
|
|
<schema>recruitment_campaign</schema>
|
|
<table>subpoenas</table>
|
|
<key>
|
|
<name>LOAD_DATE</name>
|
|
<field>recording_date</field>
|
|
<condition>=</condition>
|
|
<name2/>
|
|
</key>
|
|
<value>
|
|
<name>subpoena</name>
|
|
<rename>subpoena</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>appeared</name>
|
|
<rename>appeared</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>not_appeared</name>
|
|
<rename>not_appeared</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>not_ap_good_reason</name>
|
|
<rename>not_ap_good_reason</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>introduced_measures</name>
|
|
<rename>introduced_measures</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>ap_not_required</name>
|
|
<rename>ap_not_required</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>restrictions_applied</name>
|
|
<rename>restrictions_applied</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>appeared_percent</name>
|
|
<rename>appeared_percent</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>not_appeared_percent</name>
|
|
<rename>not_appeared_percent</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>not_ap_good_reason_percent</name>
|
|
<rename>not_ap_good_reason_percent</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>ap_not_required_percent</name>
|
|
<rename>ap_not_required_percent</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>restrictions_applied_percent</name>
|
|
<rename>restrictions_applied_percent</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>introduced_measures_percent</name>
|
|
<rename>introduced_measures_percent</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>testrecruitment_id</name>
|
|
<rename>recruitment_id</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>rest</name>
|
|
<rename>rest</rename>
|
|
<update>N</update>
|
|
</value>
|
|
<value>
|
|
<name>testspring_autumn</name>
|
|
<rename>spring_autumn</rename>
|
|
<update>N</update>
|
|
</value>
|
|
<value>
|
|
<name>recording_date</name>
|
|
<rename>LOAD_DATE</rename>
|
|
<update>N</update>
|
|
</value>
|
|
</lookup>
|
|
<attributes/>
|
|
<cluster_schema/>
|
|
<remotesteps>
|
|
<input>
|
|
</input>
|
|
<output>
|
|
</output>
|
|
</remotesteps>
|
|
<GUI>
|
|
<xloc>656</xloc>
|
|
<yloc>816</yloc>
|
|
<draw>Y</draw>
|
|
</GUI>
|
|
</step>
|
|
<step>
|
|
<name>Insert / update (recruitment_campaign.subpoenas) 5 2</name>
|
|
<type>InsertUpdate</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<custom_distribution/>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<connection>ervu_business_metrics</connection>
|
|
<commit>100</commit>
|
|
<update_bypassed>N</update_bypassed>
|
|
<lookup>
|
|
<schema>recruitment_campaign</schema>
|
|
<table>subpoenas</table>
|
|
<key>
|
|
<name>LOAD_DATE</name>
|
|
<field>recording_date</field>
|
|
<condition>=</condition>
|
|
<name2/>
|
|
</key>
|
|
<value>
|
|
<name>subpoena</name>
|
|
<rename>subpoena</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>appeared</name>
|
|
<rename>appeared</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>not_appeared</name>
|
|
<rename>not_appeared</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>not_ap_good_reason</name>
|
|
<rename>not_ap_good_reason</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>introduced_measures</name>
|
|
<rename>introduced_measures</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>ap_not_required</name>
|
|
<rename>ap_not_required</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>restrictions_applied</name>
|
|
<rename>restrictions_applied</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>appeared_percent</name>
|
|
<rename>appeared_percent</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>not_appeared_percent</name>
|
|
<rename>not_appeared_percent</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>not_ap_good_reason_percent</name>
|
|
<rename>not_ap_good_reason_percent</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>ap_not_required_percent</name>
|
|
<rename>ap_not_required_percent</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>restrictions_applied_percent</name>
|
|
<rename>restrictions_applied_percent</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>introduced_measures_percent</name>
|
|
<rename>introduced_measures_percent</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>testrecruitment_id</name>
|
|
<rename>recruitment_id</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>rest</name>
|
|
<rename>rest</rename>
|
|
<update>N</update>
|
|
</value>
|
|
<value>
|
|
<name>testspring_autumn</name>
|
|
<rename>spring_autumn</rename>
|
|
<update>N</update>
|
|
</value>
|
|
<value>
|
|
<name>recording_date</name>
|
|
<rename>LOAD_DATE</rename>
|
|
<update>N</update>
|
|
</value>
|
|
</lookup>
|
|
<attributes/>
|
|
<cluster_schema/>
|
|
<remotesteps>
|
|
<input>
|
|
</input>
|
|
<output>
|
|
</output>
|
|
</remotesteps>
|
|
<GUI>
|
|
<xloc>656</xloc>
|
|
<yloc>896</yloc>
|
|
<draw>Y</draw>
|
|
</GUI>
|
|
</step>
|
|
<step>
|
|
<name>Select values 4</name>
|
|
<type>SelectValues</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<custom_distribution/>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<fields>
|
|
<select_unspecified>N</select_unspecified>
|
|
<meta>
|
|
<name>LOAD_DATE</name>
|
|
<rename>LOAD_DATE</rename>
|
|
<type>Date</type>
|
|
<length>-2</length>
|
|
<precision>-2</precision>
|
|
<conversion_mask>yyyy-MM-dd</conversion_mask>
|
|
<date_format_lenient>false</date_format_lenient>
|
|
<date_format_locale/>
|
|
<date_format_timezone/>
|
|
<lenient_string_to_number>false</lenient_string_to_number>
|
|
<encoding/>
|
|
<decimal_symbol/>
|
|
<grouping_symbol/>
|
|
<currency_symbol/>
|
|
<storage_type/>
|
|
</meta>
|
|
<meta>
|
|
<name>mil_reg</name>
|
|
<rename>mil_reg</rename>
|
|
<type>Boolean</type>
|
|
<length>-2</length>
|
|
<precision>-2</precision>
|
|
<conversion_mask/>
|
|
<date_format_lenient>false</date_format_lenient>
|
|
<date_format_locale/>
|
|
<date_format_timezone/>
|
|
<lenient_string_to_number>false</lenient_string_to_number>
|
|
<encoding/>
|
|
<decimal_symbol/>
|
|
<grouping_symbol/>
|
|
<currency_symbol/>
|
|
<storage_type>normal</storage_type>
|
|
</meta>
|
|
</fields>
|
|
<attributes/>
|
|
<cluster_schema/>
|
|
<remotesteps>
|
|
<input>
|
|
</input>
|
|
<output>
|
|
</output>
|
|
</remotesteps>
|
|
<GUI>
|
|
<xloc>448</xloc>
|
|
<yloc>128</yloc>
|
|
<draw>Y</draw>
|
|
</GUI>
|
|
</step>
|
|
<step>
|
|
<name>Select values 4 2</name>
|
|
<type>SelectValues</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<custom_distribution/>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<fields>
|
|
<select_unspecified>N</select_unspecified>
|
|
<meta>
|
|
<name>LOAD_DATE</name>
|
|
<rename>LOAD_DATE</rename>
|
|
<type>Date</type>
|
|
<length>-2</length>
|
|
<precision>-2</precision>
|
|
<conversion_mask>yyyy-MM-dd</conversion_mask>
|
|
<date_format_lenient>false</date_format_lenient>
|
|
<date_format_locale/>
|
|
<date_format_timezone/>
|
|
<lenient_string_to_number>false</lenient_string_to_number>
|
|
<encoding/>
|
|
<decimal_symbol/>
|
|
<grouping_symbol/>
|
|
<currency_symbol/>
|
|
<storage_type/>
|
|
</meta>
|
|
<meta>
|
|
<name>mil_reg</name>
|
|
<rename>mil_reg</rename>
|
|
<type>Boolean</type>
|
|
<length>-2</length>
|
|
<precision>-2</precision>
|
|
<conversion_mask/>
|
|
<date_format_lenient>false</date_format_lenient>
|
|
<date_format_locale/>
|
|
<date_format_timezone/>
|
|
<lenient_string_to_number>false</lenient_string_to_number>
|
|
<encoding/>
|
|
<decimal_symbol/>
|
|
<grouping_symbol/>
|
|
<currency_symbol/>
|
|
<storage_type>normal</storage_type>
|
|
</meta>
|
|
</fields>
|
|
<attributes/>
|
|
<cluster_schema/>
|
|
<remotesteps>
|
|
<input>
|
|
</input>
|
|
<output>
|
|
</output>
|
|
</remotesteps>
|
|
<GUI>
|
|
<xloc>448</xloc>
|
|
<yloc>240</yloc>
|
|
<draw>Y</draw>
|
|
</GUI>
|
|
</step>
|
|
<step>
|
|
<name>Select values 4 3</name>
|
|
<type>SelectValues</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<custom_distribution/>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<fields>
|
|
<select_unspecified>N</select_unspecified>
|
|
<meta>
|
|
<name>LOAD_DATE</name>
|
|
<rename>LOAD_DATE</rename>
|
|
<type>Date</type>
|
|
<length>-2</length>
|
|
<precision>-2</precision>
|
|
<conversion_mask>yyyy-MM-dd</conversion_mask>
|
|
<date_format_lenient>false</date_format_lenient>
|
|
<date_format_locale/>
|
|
<date_format_timezone/>
|
|
<lenient_string_to_number>false</lenient_string_to_number>
|
|
<encoding/>
|
|
<decimal_symbol/>
|
|
<grouping_symbol/>
|
|
<currency_symbol/>
|
|
<storage_type/>
|
|
</meta>
|
|
<meta>
|
|
<name>mil_reg</name>
|
|
<rename>mil_reg</rename>
|
|
<type>Boolean</type>
|
|
<length>-2</length>
|
|
<precision>-2</precision>
|
|
<conversion_mask/>
|
|
<date_format_lenient>false</date_format_lenient>
|
|
<date_format_locale/>
|
|
<date_format_timezone/>
|
|
<lenient_string_to_number>false</lenient_string_to_number>
|
|
<encoding/>
|
|
<decimal_symbol/>
|
|
<grouping_symbol/>
|
|
<currency_symbol/>
|
|
<storage_type>normal</storage_type>
|
|
</meta>
|
|
</fields>
|
|
<attributes/>
|
|
<cluster_schema/>
|
|
<remotesteps>
|
|
<input>
|
|
</input>
|
|
<output>
|
|
</output>
|
|
</remotesteps>
|
|
<GUI>
|
|
<xloc>448</xloc>
|
|
<yloc>400</yloc>
|
|
<draw>Y</draw>
|
|
</GUI>
|
|
</step>
|
|
<step>
|
|
<name>Select values 4 3 2</name>
|
|
<type>SelectValues</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<custom_distribution/>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<fields>
|
|
<select_unspecified>N</select_unspecified>
|
|
<meta>
|
|
<name>LOAD_DATE</name>
|
|
<rename>LOAD_DATE</rename>
|
|
<type>Date</type>
|
|
<length>-2</length>
|
|
<precision>-2</precision>
|
|
<conversion_mask>yyyy-MM-dd</conversion_mask>
|
|
<date_format_lenient>false</date_format_lenient>
|
|
<date_format_locale/>
|
|
<date_format_timezone/>
|
|
<lenient_string_to_number>false</lenient_string_to_number>
|
|
<encoding/>
|
|
<decimal_symbol/>
|
|
<grouping_symbol/>
|
|
<currency_symbol/>
|
|
<storage_type/>
|
|
</meta>
|
|
<meta>
|
|
<name>mil_reg</name>
|
|
<rename>mil_reg</rename>
|
|
<type>Boolean</type>
|
|
<length>-2</length>
|
|
<precision>-2</precision>
|
|
<conversion_mask/>
|
|
<date_format_lenient>false</date_format_lenient>
|
|
<date_format_locale/>
|
|
<date_format_timezone/>
|
|
<lenient_string_to_number>false</lenient_string_to_number>
|
|
<encoding/>
|
|
<decimal_symbol/>
|
|
<grouping_symbol/>
|
|
<currency_symbol/>
|
|
<storage_type>normal</storage_type>
|
|
</meta>
|
|
</fields>
|
|
<attributes/>
|
|
<cluster_schema/>
|
|
<remotesteps>
|
|
<input>
|
|
</input>
|
|
<output>
|
|
</output>
|
|
</remotesteps>
|
|
<GUI>
|
|
<xloc>448</xloc>
|
|
<yloc>480</yloc>
|
|
<draw>Y</draw>
|
|
</GUI>
|
|
</step>
|
|
<step>
|
|
<name>Select values 4 4</name>
|
|
<type>SelectValues</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<custom_distribution/>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<fields>
|
|
<select_unspecified>N</select_unspecified>
|
|
<meta>
|
|
<name>LOAD_DATE</name>
|
|
<rename>LOAD_DATE</rename>
|
|
<type>Date</type>
|
|
<length>-2</length>
|
|
<precision>-2</precision>
|
|
<conversion_mask>yyyy-MM-dd</conversion_mask>
|
|
<date_format_lenient>false</date_format_lenient>
|
|
<date_format_locale/>
|
|
<date_format_timezone/>
|
|
<lenient_string_to_number>false</lenient_string_to_number>
|
|
<encoding/>
|
|
<decimal_symbol/>
|
|
<grouping_symbol/>
|
|
<currency_symbol/>
|
|
<storage_type/>
|
|
</meta>
|
|
<meta>
|
|
<name>mil_reg</name>
|
|
<rename>mil_reg</rename>
|
|
<type>Boolean</type>
|
|
<length>-2</length>
|
|
<precision>-2</precision>
|
|
<conversion_mask/>
|
|
<date_format_lenient>false</date_format_lenient>
|
|
<date_format_locale/>
|
|
<date_format_timezone/>
|
|
<lenient_string_to_number>false</lenient_string_to_number>
|
|
<encoding/>
|
|
<decimal_symbol/>
|
|
<grouping_symbol/>
|
|
<currency_symbol/>
|
|
<storage_type>normal</storage_type>
|
|
</meta>
|
|
</fields>
|
|
<attributes/>
|
|
<cluster_schema/>
|
|
<remotesteps>
|
|
<input>
|
|
</input>
|
|
<output>
|
|
</output>
|
|
</remotesteps>
|
|
<GUI>
|
|
<xloc>448</xloc>
|
|
<yloc>608</yloc>
|
|
<draw>Y</draw>
|
|
</GUI>
|
|
</step>
|
|
<step>
|
|
<name>Select values 4 4 2</name>
|
|
<type>SelectValues</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<custom_distribution/>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<fields>
|
|
<select_unspecified>N</select_unspecified>
|
|
<meta>
|
|
<name>LOAD_DATE</name>
|
|
<rename>LOAD_DATE</rename>
|
|
<type>Date</type>
|
|
<length>-2</length>
|
|
<precision>-2</precision>
|
|
<conversion_mask>yyyy-MM-dd</conversion_mask>
|
|
<date_format_lenient>false</date_format_lenient>
|
|
<date_format_locale/>
|
|
<date_format_timezone/>
|
|
<lenient_string_to_number>false</lenient_string_to_number>
|
|
<encoding/>
|
|
<decimal_symbol/>
|
|
<grouping_symbol/>
|
|
<currency_symbol/>
|
|
<storage_type/>
|
|
</meta>
|
|
<meta>
|
|
<name>mil_reg</name>
|
|
<rename>mil_reg</rename>
|
|
<type>Boolean</type>
|
|
<length>-2</length>
|
|
<precision>-2</precision>
|
|
<conversion_mask/>
|
|
<date_format_lenient>false</date_format_lenient>
|
|
<date_format_locale/>
|
|
<date_format_timezone/>
|
|
<lenient_string_to_number>false</lenient_string_to_number>
|
|
<encoding/>
|
|
<decimal_symbol/>
|
|
<grouping_symbol/>
|
|
<currency_symbol/>
|
|
<storage_type>normal</storage_type>
|
|
</meta>
|
|
</fields>
|
|
<attributes/>
|
|
<cluster_schema/>
|
|
<remotesteps>
|
|
<input>
|
|
</input>
|
|
<output>
|
|
</output>
|
|
</remotesteps>
|
|
<GUI>
|
|
<xloc>448</xloc>
|
|
<yloc>688</yloc>
|
|
<draw>Y</draw>
|
|
</GUI>
|
|
</step>
|
|
<step>
|
|
<name>Select values 4 5</name>
|
|
<type>SelectValues</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<custom_distribution/>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<fields>
|
|
<select_unspecified>N</select_unspecified>
|
|
<meta>
|
|
<name>LOAD_DATE</name>
|
|
<rename>LOAD_DATE</rename>
|
|
<type>Date</type>
|
|
<length>-2</length>
|
|
<precision>-2</precision>
|
|
<conversion_mask>yyyy-MM-dd</conversion_mask>
|
|
<date_format_lenient>false</date_format_lenient>
|
|
<date_format_locale/>
|
|
<date_format_timezone/>
|
|
<lenient_string_to_number>false</lenient_string_to_number>
|
|
<encoding/>
|
|
<decimal_symbol/>
|
|
<grouping_symbol/>
|
|
<currency_symbol/>
|
|
<storage_type/>
|
|
</meta>
|
|
<meta>
|
|
<name>mil_reg</name>
|
|
<rename>mil_reg</rename>
|
|
<type>Boolean</type>
|
|
<length>-2</length>
|
|
<precision>-2</precision>
|
|
<conversion_mask/>
|
|
<date_format_lenient>false</date_format_lenient>
|
|
<date_format_locale/>
|
|
<date_format_timezone/>
|
|
<lenient_string_to_number>false</lenient_string_to_number>
|
|
<encoding/>
|
|
<decimal_symbol/>
|
|
<grouping_symbol/>
|
|
<currency_symbol/>
|
|
<storage_type>normal</storage_type>
|
|
</meta>
|
|
</fields>
|
|
<attributes/>
|
|
<cluster_schema/>
|
|
<remotesteps>
|
|
<input>
|
|
</input>
|
|
<output>
|
|
</output>
|
|
</remotesteps>
|
|
<GUI>
|
|
<xloc>448</xloc>
|
|
<yloc>816</yloc>
|
|
<draw>Y</draw>
|
|
</GUI>
|
|
</step>
|
|
<step>
|
|
<name>Select values 4 5 2</name>
|
|
<type>SelectValues</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<custom_distribution/>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<fields>
|
|
<select_unspecified>N</select_unspecified>
|
|
<meta>
|
|
<name>LOAD_DATE</name>
|
|
<rename>LOAD_DATE</rename>
|
|
<type>Date</type>
|
|
<length>-2</length>
|
|
<precision>-2</precision>
|
|
<conversion_mask>yyyy-MM-dd</conversion_mask>
|
|
<date_format_lenient>false</date_format_lenient>
|
|
<date_format_locale/>
|
|
<date_format_timezone/>
|
|
<lenient_string_to_number>false</lenient_string_to_number>
|
|
<encoding/>
|
|
<decimal_symbol/>
|
|
<grouping_symbol/>
|
|
<currency_symbol/>
|
|
<storage_type/>
|
|
</meta>
|
|
<meta>
|
|
<name>mil_reg</name>
|
|
<rename>mil_reg</rename>
|
|
<type>Boolean</type>
|
|
<length>-2</length>
|
|
<precision>-2</precision>
|
|
<conversion_mask/>
|
|
<date_format_lenient>false</date_format_lenient>
|
|
<date_format_locale/>
|
|
<date_format_timezone/>
|
|
<lenient_string_to_number>false</lenient_string_to_number>
|
|
<encoding/>
|
|
<decimal_symbol/>
|
|
<grouping_symbol/>
|
|
<currency_symbol/>
|
|
<storage_type>normal</storage_type>
|
|
</meta>
|
|
</fields>
|
|
<attributes/>
|
|
<cluster_schema/>
|
|
<remotesteps>
|
|
<input>
|
|
</input>
|
|
<output>
|
|
</output>
|
|
</remotesteps>
|
|
<GUI>
|
|
<xloc>448</xloc>
|
|
<yloc>896</yloc>
|
|
<draw>Y</draw>
|
|
</GUI>
|
|
</step>
|
|
<step>
|
|
<name>Table input (subpoena) Весна/РФ</name>
|
|
<type>TableInput</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<custom_distribution/>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<connection>postgres.subpoena</connection>
|
|
<sql>with
|
|
t1 as (select count(distinct subpoena.id) as subpoena FROM subpoena
|
|
JOIN subpoena_history ON subpoena_history.subpoena_id = subpoena.id
|
|
JOIN subpoena_status AS sub_status ON sub_status.id = subpoena.status_id
|
|
JOIN subpoena_status AS sub_stat_hist ON sub_stat_hist.id = subpoena_history.status_id
|
|
JOIN subpoena_reason ON subpoena_reason.id = subpoena.reason_id
|
|
where not subpoena_reason.type='3' and sub_stat_hist.code ='3'),
|
|
t2 as (select count(distinct subpoena.id) as appeared FROM subpoena
|
|
JOIN subpoena_history ON subpoena_history.subpoena_id = subpoena.id
|
|
JOIN subpoena_status AS sub_status ON sub_status.id = subpoena.status_id
|
|
JOIN subpoena_status AS sub_stat_hist ON sub_stat_hist.id = subpoena_history.status_id
|
|
JOIN subpoena_reason ON subpoena_reason.id = subpoena.reason_id
|
|
where not subpoena_reason.type='3' and sub_stat_hist.code in ('4.1','4.2')),
|
|
t3 as (select count(distinct subpoena.id) as not_appeared FROM subpoena
|
|
JOIN subpoena_history ON subpoena_history.subpoena_id = subpoena.id
|
|
JOIN subpoena_status AS sub_status ON sub_status.id = subpoena.status_id
|
|
JOIN subpoena_status AS sub_stat_hist ON sub_stat_hist.id = subpoena_history.status_id
|
|
JOIN subpoena_reason ON subpoena_reason.id = subpoena.reason_id
|
|
where not subpoena_reason.type='3' and sub_stat_hist.code ='5'),
|
|
t4 as (select count(*) as not_ap_good_reason FROM subpoena
|
|
JOIN subpoena_history ON subpoena_history.subpoena_id = subpoena.id
|
|
JOIN subpoena_status AS sub_status ON sub_status.id = subpoena.status_id
|
|
JOIN subpoena_status AS sub_stat_hist ON sub_stat_hist.id = subpoena_history.status_id
|
|
JOIN subpoena_reason ON subpoena_reason.id = subpoena.reason_id
|
|
where not subpoena_reason.type='3' and sub_stat_hist.code='5.1'),
|
|
t5 as (select count(distinct subpoena.id) as ap_not_required FROM subpoena
|
|
JOIN subpoena_history ON subpoena_history.subpoena_id = subpoena.id
|
|
JOIN subpoena_status AS sub_status ON sub_status.id = subpoena.status_id
|
|
JOIN subpoena_status AS sub_stat_hist ON sub_stat_hist.id = subpoena_history.status_id
|
|
JOIN subpoena_reason ON subpoena_reason.id = subpoena.reason_id
|
|
where not subpoena_reason.type='3' and sub_stat_hist.code in ('3.8','5.2')),
|
|
t6 as (select count(distinct rdi.id) as restrictions_applied from restriction_document_item rdi
|
|
join restriction_document on restriction_document.id = rdi.restriction_document_create_id
|
|
join subpoena on subpoena.id = restriction_document.subpoena_id
|
|
join subpoena_reason on subpoena_reason.id = subpoena.reason_id
|
|
where rdi.restriction_document_cancel_id is null and subpoena_reason.type = '3'),
|
|
t7 as (select count(distinct rdi.id) as introduced_measures from restriction_document_item rdi
|
|
join restriction_document on restriction_document.id = rdi.restriction_document_create_id
|
|
join subpoena on subpoena.id = restriction_document.subpoena_id
|
|
join subpoena_reason on subpoena_reason.id = subpoena.reason_id
|
|
where rdi.restriction_document_cancel_id is null and rdi.applied_date is not null and subpoena_reason.type = '3')
|
|
select t1.subpoena, t2.appeared, t3.not_appeared, t4.not_ap_good_reason, t5.ap_not_required, t6.restrictions_applied, t7.introduced_measures, 1 as mil_reg, '76e40191-adc7-4f03-84a4-0c29c44961a6' as recruitment_id, 1 as org,
|
|
0 as appeared_percent, 0 as not_appeared_percent, 0 as not_ap_good_reason_percent, 0 as ap_not_required_percent, 0 as restrictions_applied_percent, 0 as introduced_measures_percent, 0 as rest, 'Весна' as spring_autumn
|
|
from t1 full outer join t2 on 1 = 1 full outer join t3 on 1 = 1 full outer join t4 on 1 = 1 full outer join t5 on 1 = 1 full outer join t6 on 1 = 1 full outer join t7 on 1 = 1
|
|
</sql>
|
|
<limit>0</limit>
|
|
<lookup/>
|
|
<execute_each_row>N</execute_each_row>
|
|
<variables_active>N</variables_active>
|
|
<lazy_conversion_active>N</lazy_conversion_active>
|
|
<attributes/>
|
|
<cluster_schema/>
|
|
<remotesteps>
|
|
<input>
|
|
</input>
|
|
<output>
|
|
</output>
|
|
</remotesteps>
|
|
<GUI>
|
|
<xloc>176</xloc>
|
|
<yloc>240</yloc>
|
|
<draw>Y</draw>
|
|
</GUI>
|
|
</step>
|
|
<step>
|
|
<name>Table input (subpoena) весна/липец 2</name>
|
|
<type>TableInput</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<custom_distribution/>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<connection>postgres.subpoena</connection>
|
|
<sql>with
|
|
t1 as (select count(distinct subpoena.id) as subpoena FROM subpoena
|
|
JOIN subpoena_history ON subpoena_history.subpoena_id = subpoena.id
|
|
JOIN subpoena_status AS sub_status ON sub_status.id = subpoena.status_id
|
|
JOIN subpoena_status AS sub_stat_hist ON sub_stat_hist.id = subpoena_history.status_id
|
|
JOIN subpoena_reason ON subpoena_reason.id = subpoena.reason_id
|
|
where not subpoena_reason.type='3' and sub_stat_hist.code ='3' and subpoena.department_id = '191e81ae-8f1d-495a-aee5-ec1f200ba509'),
|
|
t2 as (select count(distinct subpoena.id) as appeared FROM subpoena
|
|
JOIN subpoena_history ON subpoena_history.subpoena_id = subpoena.id
|
|
JOIN subpoena_status AS sub_status ON sub_status.id = subpoena.status_id
|
|
JOIN subpoena_status AS sub_stat_hist ON sub_stat_hist.id = subpoena_history.status_id
|
|
JOIN subpoena_reason ON subpoena_reason.id = subpoena.reason_id
|
|
where not subpoena_reason.type='3' and sub_stat_hist.code in ('4.1','4.2') and subpoena.department_id = '191e81ae-8f1d-495a-aee5-ec1f200ba509'),
|
|
t3 as (select count(distinct subpoena.id) as not_appeared FROM subpoena
|
|
JOIN subpoena_history ON subpoena_history.subpoena_id = subpoena.id
|
|
JOIN subpoena_status AS sub_status ON sub_status.id = subpoena.status_id
|
|
JOIN subpoena_status AS sub_stat_hist ON sub_stat_hist.id = subpoena_history.status_id
|
|
JOIN subpoena_reason ON subpoena_reason.id = subpoena.reason_id
|
|
where not subpoena_reason.type='3' and sub_stat_hist.code ='5' and subpoena.department_id = '191e81ae-8f1d-495a-aee5-ec1f200ba509'),
|
|
t4 as (select count(*) as not_ap_good_reason FROM subpoena
|
|
JOIN subpoena_history ON subpoena_history.subpoena_id = subpoena.id
|
|
JOIN subpoena_status AS sub_status ON sub_status.id = subpoena.status_id
|
|
JOIN subpoena_status AS sub_stat_hist ON sub_stat_hist.id = subpoena_history.status_id
|
|
JOIN subpoena_reason ON subpoena_reason.id = subpoena.reason_id
|
|
where not subpoena_reason.type='3' and sub_stat_hist.code='5.1' and subpoena.department_id = '191e81ae-8f1d-495a-aee5-ec1f200ba509'),
|
|
t5 as (select count(distinct subpoena.id) as ap_not_required FROM subpoena
|
|
JOIN subpoena_history ON subpoena_history.subpoena_id = subpoena.id
|
|
JOIN subpoena_status AS sub_status ON sub_status.id = subpoena.status_id
|
|
JOIN subpoena_status AS sub_stat_hist ON sub_stat_hist.id = subpoena_history.status_id
|
|
JOIN subpoena_reason ON subpoena_reason.id = subpoena.reason_id
|
|
where not subpoena_reason.type='3' and sub_stat_hist.code in ('3.8','5.2') and subpoena.department_id = '191e81ae-8f1d-495a-aee5-ec1f200ba509'),
|
|
t6 as (select count(distinct rdi.id) as restrictions_applied from restriction_document_item rdi
|
|
join restriction_document on restriction_document.id = rdi.restriction_document_create_id
|
|
join subpoena on subpoena.id = restriction_document.subpoena_id
|
|
join subpoena_reason on subpoena_reason.id = subpoena.reason_id
|
|
where rdi.restriction_document_cancel_id is null and subpoena_reason.type = '3' and subpoena.department_id = '191e81ae-8f1d-495a-aee5-ec1f200ba509'),
|
|
t7 as (select count(distinct rdi.id) as introduced_measures from restriction_document_item rdi
|
|
join restriction_document on restriction_document.id = rdi.restriction_document_create_id
|
|
join subpoena on subpoena.id = restriction_document.subpoena_id
|
|
join subpoena_reason on subpoena_reason.id = subpoena.reason_id
|
|
where rdi.restriction_document_cancel_id is null and rdi.applied_date is not null and subpoena_reason.type = '3' and subpoena.department_id = '191e81ae-8f1d-495a-aee5-ec1f200ba509')
|
|
select t1.subpoena, t2.appeared, t3.not_appeared, t4.not_ap_good_reason, t5.ap_not_required, t6.restrictions_applied, t7.introduced_measures, 1 as mil_reg, '794ed0fa-a25b-4858-b89e-815bb391f2b5' as recruitment_id, 1 as org,
|
|
0 as appeared_percent, 0 as not_appeared_percent, 0 as not_ap_good_reason_percent, 0 as ap_not_required_percent, 0 as restrictions_applied_percent, 0 as introduced_measures_percent, 0 as rest, 'Весна' as spring_autumn
|
|
from t1 full outer join t2 on 1 = 1 full outer join t3 on 1 = 1 full outer join t4 on 1 = 1 full outer join t5 on 1 = 1 full outer join t6 on 1 = 1 full outer join t7 on 1 = 1
|
|
</sql>
|
|
<limit>0</limit>
|
|
<lookup/>
|
|
<execute_each_row>N</execute_each_row>
|
|
<variables_active>N</variables_active>
|
|
<lazy_conversion_active>N</lazy_conversion_active>
|
|
<attributes/>
|
|
<cluster_schema/>
|
|
<remotesteps>
|
|
<input>
|
|
</input>
|
|
<output>
|
|
</output>
|
|
</remotesteps>
|
|
<GUI>
|
|
<xloc>176</xloc>
|
|
<yloc>480</yloc>
|
|
<draw>Y</draw>
|
|
</GUI>
|
|
</step>
|
|
<step>
|
|
<name>Table input (subpoena) весна/ряз</name>
|
|
<type>TableInput</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<custom_distribution/>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<connection>postgres.subpoena</connection>
|
|
<sql>with
|
|
t1 as (select count(distinct subpoena.id) as subpoena FROM subpoena
|
|
JOIN subpoena_history ON subpoena_history.subpoena_id = subpoena.id
|
|
JOIN subpoena_status AS sub_status ON sub_status.id = subpoena.status_id
|
|
JOIN subpoena_status AS sub_stat_hist ON sub_stat_hist.id = subpoena_history.status_id
|
|
JOIN subpoena_reason ON subpoena_reason.id = subpoena.reason_id
|
|
where not subpoena_reason.type='3' and sub_stat_hist.code ='3' and subpoena.department_id = '1284964b-3bf8-41b5-adb5-c6d1ec1bc13c'),
|
|
t2 as (select count(distinct subpoena.id) as appeared FROM subpoena
|
|
JOIN subpoena_history ON subpoena_history.subpoena_id = subpoena.id
|
|
JOIN subpoena_status AS sub_status ON sub_status.id = subpoena.status_id
|
|
JOIN subpoena_status AS sub_stat_hist ON sub_stat_hist.id = subpoena_history.status_id
|
|
JOIN subpoena_reason ON subpoena_reason.id = subpoena.reason_id
|
|
where not subpoena_reason.type='3' and sub_stat_hist.code in ('4.1','4.2') and subpoena.department_id = '1284964b-3bf8-41b5-adb5-c6d1ec1bc13c'),
|
|
t3 as (select count(distinct subpoena.id) as not_appeared FROM subpoena
|
|
JOIN subpoena_history ON subpoena_history.subpoena_id = subpoena.id
|
|
JOIN subpoena_status AS sub_status ON sub_status.id = subpoena.status_id
|
|
JOIN subpoena_status AS sub_stat_hist ON sub_stat_hist.id = subpoena_history.status_id
|
|
JOIN subpoena_reason ON subpoena_reason.id = subpoena.reason_id
|
|
where not subpoena_reason.type='3' and sub_stat_hist.code ='5' and subpoena.department_id = '1284964b-3bf8-41b5-adb5-c6d1ec1bc13c'),
|
|
t4 as (select count(*) as not_ap_good_reason FROM subpoena
|
|
JOIN subpoena_history ON subpoena_history.subpoena_id = subpoena.id
|
|
JOIN subpoena_status AS sub_status ON sub_status.id = subpoena.status_id
|
|
JOIN subpoena_status AS sub_stat_hist ON sub_stat_hist.id = subpoena_history.status_id
|
|
JOIN subpoena_reason ON subpoena_reason.id = subpoena.reason_id
|
|
where not subpoena_reason.type='3' and sub_stat_hist.code='5.1' and subpoena.department_id = '1284964b-3bf8-41b5-adb5-c6d1ec1bc13c'),
|
|
t5 as (select count(distinct subpoena.id) as ap_not_required FROM subpoena
|
|
JOIN subpoena_history ON subpoena_history.subpoena_id = subpoena.id
|
|
JOIN subpoena_status AS sub_status ON sub_status.id = subpoena.status_id
|
|
JOIN subpoena_status AS sub_stat_hist ON sub_stat_hist.id = subpoena_history.status_id
|
|
JOIN subpoena_reason ON subpoena_reason.id = subpoena.reason_id
|
|
where not subpoena_reason.type='3' and sub_stat_hist.code in ('3.8','5.2') and subpoena.department_id = '1284964b-3bf8-41b5-adb5-c6d1ec1bc13c'),
|
|
t6 as (select count(distinct rdi.id) as restrictions_applied from restriction_document_item rdi
|
|
join restriction_document on restriction_document.id = rdi.restriction_document_create_id
|
|
join subpoena on subpoena.id = restriction_document.subpoena_id
|
|
join subpoena_reason on subpoena_reason.id = subpoena.reason_id
|
|
where rdi.restriction_document_cancel_id is null and subpoena_reason.type = '3' and subpoena.department_id = '1284964b-3bf8-41b5-adb5-c6d1ec1bc13c'),
|
|
t7 as (select count(distinct rdi.id) as introduced_measures from restriction_document_item rdi
|
|
join restriction_document on restriction_document.id = rdi.restriction_document_create_id
|
|
join subpoena on subpoena.id = restriction_document.subpoena_id
|
|
join subpoena_reason on subpoena_reason.id = subpoena.reason_id
|
|
where rdi.restriction_document_cancel_id is null and rdi.applied_date is not null and subpoena_reason.type = '3' and subpoena.department_id = '1284964b-3bf8-41b5-adb5-c6d1ec1bc13c')
|
|
select t1.subpoena, t2.appeared, t3.not_appeared, t4.not_ap_good_reason, t5.ap_not_required, t6.restrictions_applied, t7.introduced_measures, 1 as mil_reg, 'd2e839ef-933c-48df-9a3a-ac1c00663154' as recruitment_id, 1 as org,
|
|
0 as appeared_percent, 0 as not_appeared_percent, 0 as not_ap_good_reason_percent, 0 as ap_not_required_percent, 0 as restrictions_applied_percent, 0 as introduced_measures_percent, 0 as rest, 'Весна' as spring_autumn
|
|
from t1 full outer join t2 on 1 = 1 full outer join t3 on 1 = 1 full outer join t4 on 1 = 1 full outer join t5 on 1 = 1 full outer join t6 on 1 = 1 full outer join t7 on 1 = 1
|
|
</sql>
|
|
<limit>0</limit>
|
|
<lookup/>
|
|
<execute_each_row>N</execute_each_row>
|
|
<variables_active>N</variables_active>
|
|
<lazy_conversion_active>N</lazy_conversion_active>
|
|
<attributes/>
|
|
<cluster_schema/>
|
|
<remotesteps>
|
|
<input>
|
|
</input>
|
|
<output>
|
|
</output>
|
|
</remotesteps>
|
|
<GUI>
|
|
<xloc>176</xloc>
|
|
<yloc>688</yloc>
|
|
<draw>Y</draw>
|
|
</GUI>
|
|
</step>
|
|
<step>
|
|
<name>Table input (subpoena) весна/сахал 2</name>
|
|
<type>TableInput</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<custom_distribution/>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<connection>postgres.subpoena</connection>
|
|
<sql>with
|
|
t1 as (select count(distinct subpoena.id) as subpoena FROM subpoena
|
|
JOIN subpoena_history ON subpoena_history.subpoena_id = subpoena.id
|
|
JOIN subpoena_status AS sub_status ON sub_status.id = subpoena.status_id
|
|
JOIN subpoena_status AS sub_stat_hist ON sub_stat_hist.id = subpoena_history.status_id
|
|
JOIN subpoena_reason ON subpoena_reason.id = subpoena.reason_id
|
|
where not subpoena_reason.type='3' and sub_stat_hist.code ='3' and subpoena.department_id = 'de265e31-4b82-4dc8-9bf6-af990d6d649e'),
|
|
t2 as (select count(distinct subpoena.id) as appeared FROM subpoena
|
|
JOIN subpoena_history ON subpoena_history.subpoena_id = subpoena.id
|
|
JOIN subpoena_status AS sub_status ON sub_status.id = subpoena.status_id
|
|
JOIN subpoena_status AS sub_stat_hist ON sub_stat_hist.id = subpoena_history.status_id
|
|
JOIN subpoena_reason ON subpoena_reason.id = subpoena.reason_id
|
|
where not subpoena_reason.type='3' and sub_stat_hist.code in ('4.1','4.2') and subpoena.department_id = 'de265e31-4b82-4dc8-9bf6-af990d6d649e'),
|
|
t3 as (select count(distinct subpoena.id) as not_appeared FROM subpoena
|
|
JOIN subpoena_history ON subpoena_history.subpoena_id = subpoena.id
|
|
JOIN subpoena_status AS sub_status ON sub_status.id = subpoena.status_id
|
|
JOIN subpoena_status AS sub_stat_hist ON sub_stat_hist.id = subpoena_history.status_id
|
|
JOIN subpoena_reason ON subpoena_reason.id = subpoena.reason_id
|
|
where not subpoena_reason.type='3' and sub_stat_hist.code ='5' and subpoena.department_id = 'de265e31-4b82-4dc8-9bf6-af990d6d649e'),
|
|
t4 as (select count(*) as not_ap_good_reason FROM subpoena
|
|
JOIN subpoena_history ON subpoena_history.subpoena_id = subpoena.id
|
|
JOIN subpoena_status AS sub_status ON sub_status.id = subpoena.status_id
|
|
JOIN subpoena_status AS sub_stat_hist ON sub_stat_hist.id = subpoena_history.status_id
|
|
JOIN subpoena_reason ON subpoena_reason.id = subpoena.reason_id
|
|
where not subpoena_reason.type='3' and sub_stat_hist.code='5.1' and subpoena.department_id = 'de265e31-4b82-4dc8-9bf6-af990d6d649e'),
|
|
t5 as (select count(distinct subpoena.id) as ap_not_required FROM subpoena
|
|
JOIN subpoena_history ON subpoena_history.subpoena_id = subpoena.id
|
|
JOIN subpoena_status AS sub_status ON sub_status.id = subpoena.status_id
|
|
JOIN subpoena_status AS sub_stat_hist ON sub_stat_hist.id = subpoena_history.status_id
|
|
JOIN subpoena_reason ON subpoena_reason.id = subpoena.reason_id
|
|
where not subpoena_reason.type='3' and sub_stat_hist.code in ('3.8','5.2') and subpoena.department_id = 'de265e31-4b82-4dc8-9bf6-af990d6d649e'),
|
|
t6 as (select count(distinct rdi.id) as restrictions_applied from restriction_document_item rdi
|
|
join restriction_document on restriction_document.id = rdi.restriction_document_create_id
|
|
join subpoena on subpoena.id = restriction_document.subpoena_id
|
|
join subpoena_reason on subpoena_reason.id = subpoena.reason_id
|
|
where rdi.restriction_document_cancel_id is null and subpoena_reason.type = '3' and subpoena.department_id = 'de265e31-4b82-4dc8-9bf6-af990d6d649e'),
|
|
t7 as (select count(distinct rdi.id) as introduced_measures from restriction_document_item rdi
|
|
join restriction_document on restriction_document.id = rdi.restriction_document_create_id
|
|
join subpoena on subpoena.id = restriction_document.subpoena_id
|
|
join subpoena_reason on subpoena_reason.id = subpoena.reason_id
|
|
where rdi.restriction_document_cancel_id is null and rdi.applied_date is not null and subpoena_reason.type = '3' and subpoena.department_id = 'de265e31-4b82-4dc8-9bf6-af990d6d649e')
|
|
select t1.subpoena, t2.appeared, t3.not_appeared, t4.not_ap_good_reason, t5.ap_not_required, t6.restrictions_applied, t7.introduced_measures, 1 as mil_reg, '6b56f46a-16e7-4c0f-83a8-05fbddf2e6cb' as recruitment_id, 1 as org,
|
|
0 as appeared_percent, 0 as not_appeared_percent, 0 as not_ap_good_reason_percent, 0 as ap_not_required_percent, 0 as restrictions_applied_percent, 0 as introduced_measures_percent, 0 as rest, 'Весна' as spring_autumn
|
|
from t1 full outer join t2 on 1 = 1 full outer join t3 on 1 = 1 full outer join t4 on 1 = 1 full outer join t5 on 1 = 1 full outer join t6 on 1 = 1 full outer join t7 on 1 = 1
|
|
</sql>
|
|
<limit>0</limit>
|
|
<lookup/>
|
|
<execute_each_row>N</execute_each_row>
|
|
<variables_active>N</variables_active>
|
|
<lazy_conversion_active>N</lazy_conversion_active>
|
|
<attributes/>
|
|
<cluster_schema/>
|
|
<remotesteps>
|
|
<input>
|
|
</input>
|
|
<output>
|
|
</output>
|
|
</remotesteps>
|
|
<GUI>
|
|
<xloc>176</xloc>
|
|
<yloc>896</yloc>
|
|
<draw>Y</draw>
|
|
</GUI>
|
|
</step>
|
|
<step>
|
|
<name>Table input (subpoena) осень/РФ</name>
|
|
<type>TableInput</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<custom_distribution/>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<connection>postgres.subpoena</connection>
|
|
<sql>with
|
|
t1 as (select count(distinct subpoena.id) as subpoena FROM subpoena
|
|
JOIN subpoena_history ON subpoena_history.subpoena_id = subpoena.id
|
|
JOIN subpoena_status AS sub_status ON sub_status.id = subpoena.status_id
|
|
JOIN subpoena_status AS sub_stat_hist ON sub_stat_hist.id = subpoena_history.status_id
|
|
JOIN subpoena_reason ON subpoena_reason.id = subpoena.reason_id
|
|
where not subpoena_reason.type='3' and sub_stat_hist.code ='3'),
|
|
t2 as (select count(distinct subpoena.id) as appeared FROM subpoena
|
|
JOIN subpoena_history ON subpoena_history.subpoena_id = subpoena.id
|
|
JOIN subpoena_status AS sub_status ON sub_status.id = subpoena.status_id
|
|
JOIN subpoena_status AS sub_stat_hist ON sub_stat_hist.id = subpoena_history.status_id
|
|
JOIN subpoena_reason ON subpoena_reason.id = subpoena.reason_id
|
|
where not subpoena_reason.type='3' and sub_stat_hist.code in ('4.1','4.2')),
|
|
t3 as (select count(distinct subpoena.id) as not_appeared FROM subpoena
|
|
JOIN subpoena_history ON subpoena_history.subpoena_id = subpoena.id
|
|
JOIN subpoena_status AS sub_status ON sub_status.id = subpoena.status_id
|
|
JOIN subpoena_status AS sub_stat_hist ON sub_stat_hist.id = subpoena_history.status_id
|
|
JOIN subpoena_reason ON subpoena_reason.id = subpoena.reason_id
|
|
where not subpoena_reason.type='3' and sub_stat_hist.code ='5'),
|
|
t4 as (select count(*) as not_ap_good_reason FROM subpoena
|
|
JOIN subpoena_history ON subpoena_history.subpoena_id = subpoena.id
|
|
JOIN subpoena_status AS sub_status ON sub_status.id = subpoena.status_id
|
|
JOIN subpoena_status AS sub_stat_hist ON sub_stat_hist.id = subpoena_history.status_id
|
|
JOIN subpoena_reason ON subpoena_reason.id = subpoena.reason_id
|
|
where not subpoena_reason.type='3' and sub_stat_hist.code='5.1'),
|
|
t5 as (select count(distinct subpoena.id) as ap_not_required FROM subpoena
|
|
JOIN subpoena_history ON subpoena_history.subpoena_id = subpoena.id
|
|
JOIN subpoena_status AS sub_status ON sub_status.id = subpoena.status_id
|
|
JOIN subpoena_status AS sub_stat_hist ON sub_stat_hist.id = subpoena_history.status_id
|
|
JOIN subpoena_reason ON subpoena_reason.id = subpoena.reason_id
|
|
where not subpoena_reason.type='3' and sub_stat_hist.code in ('3.8','5.2')),
|
|
t6 as (select count(distinct rdi.id) as restrictions_applied from restriction_document_item rdi
|
|
join restriction_document on restriction_document.id = rdi.restriction_document_create_id
|
|
join subpoena on subpoena.id = restriction_document.subpoena_id
|
|
join subpoena_reason on subpoena_reason.id = subpoena.reason_id
|
|
where rdi.restriction_document_cancel_id is null and subpoena_reason.type = '3'),
|
|
t7 as (select count(distinct rdi.id) as introduced_measures from restriction_document_item rdi
|
|
join restriction_document on restriction_document.id = rdi.restriction_document_create_id
|
|
join subpoena on subpoena.id = restriction_document.subpoena_id
|
|
join subpoena_reason on subpoena_reason.id = subpoena.reason_id
|
|
where rdi.restriction_document_cancel_id is null and rdi.applied_date is not null and subpoena_reason.type = '3')
|
|
select t1.subpoena, t2.appeared, t3.not_appeared, t4.not_ap_good_reason, t5.ap_not_required, t6.restrictions_applied, t7.introduced_measures, 1 as mil_reg, '76e40191-adc7-4f03-84a4-0c29c44961a6' as recruitment_id, 1 as org,
|
|
0 as appeared_percent, 0 as not_appeared_percent, 0 as not_ap_good_reason_percent, 0 as ap_not_required_percent, 0 as restrictions_applied_percent, 0 as introduced_measures_percent, 0 as rest, 'Осень' as spring_autumn
|
|
from t1 full outer join t2 on 1 = 1 full outer join t3 on 1 = 1 full outer join t4 on 1 = 1 full outer join t5 on 1 = 1 full outer join t6 on 1 = 1 full outer join t7 on 1 = 1
|
|
</sql>
|
|
<limit>0</limit>
|
|
<lookup/>
|
|
<execute_each_row>N</execute_each_row>
|
|
<variables_active>N</variables_active>
|
|
<lazy_conversion_active>N</lazy_conversion_active>
|
|
<attributes/>
|
|
<cluster_schema/>
|
|
<remotesteps>
|
|
<input>
|
|
</input>
|
|
<output>
|
|
</output>
|
|
</remotesteps>
|
|
<GUI>
|
|
<xloc>176</xloc>
|
|
<yloc>128</yloc>
|
|
<draw>Y</draw>
|
|
</GUI>
|
|
</step>
|
|
<step>
|
|
<name>Table input (subpoena) осень/липец</name>
|
|
<type>TableInput</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<custom_distribution/>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<connection>postgres.subpoena</connection>
|
|
<sql>with
|
|
t1 as (select count(distinct subpoena.id) as subpoena FROM subpoena
|
|
JOIN subpoena_history ON subpoena_history.subpoena_id = subpoena.id
|
|
JOIN subpoena_status AS sub_status ON sub_status.id = subpoena.status_id
|
|
JOIN subpoena_status AS sub_stat_hist ON sub_stat_hist.id = subpoena_history.status_id
|
|
JOIN subpoena_reason ON subpoena_reason.id = subpoena.reason_id
|
|
where not subpoena_reason.type='3' and sub_stat_hist.code ='3' and subpoena.department_id = '191e81ae-8f1d-495a-aee5-ec1f200ba509'),
|
|
t2 as (select count(distinct subpoena.id) as appeared FROM subpoena
|
|
JOIN subpoena_history ON subpoena_history.subpoena_id = subpoena.id
|
|
JOIN subpoena_status AS sub_status ON sub_status.id = subpoena.status_id
|
|
JOIN subpoena_status AS sub_stat_hist ON sub_stat_hist.id = subpoena_history.status_id
|
|
JOIN subpoena_reason ON subpoena_reason.id = subpoena.reason_id
|
|
where not subpoena_reason.type='3' and sub_stat_hist.code in ('4.1','4.2') and subpoena.department_id = '191e81ae-8f1d-495a-aee5-ec1f200ba509'),
|
|
t3 as (select count(distinct subpoena.id) as not_appeared FROM subpoena
|
|
JOIN subpoena_history ON subpoena_history.subpoena_id = subpoena.id
|
|
JOIN subpoena_status AS sub_status ON sub_status.id = subpoena.status_id
|
|
JOIN subpoena_status AS sub_stat_hist ON sub_stat_hist.id = subpoena_history.status_id
|
|
JOIN subpoena_reason ON subpoena_reason.id = subpoena.reason_id
|
|
where not subpoena_reason.type='3' and sub_stat_hist.code ='5' and subpoena.department_id = '191e81ae-8f1d-495a-aee5-ec1f200ba509'),
|
|
t4 as (select count(*) as not_ap_good_reason FROM subpoena
|
|
JOIN subpoena_history ON subpoena_history.subpoena_id = subpoena.id
|
|
JOIN subpoena_status AS sub_status ON sub_status.id = subpoena.status_id
|
|
JOIN subpoena_status AS sub_stat_hist ON sub_stat_hist.id = subpoena_history.status_id
|
|
JOIN subpoena_reason ON subpoena_reason.id = subpoena.reason_id
|
|
where not subpoena_reason.type='3' and sub_stat_hist.code='5.1' and subpoena.department_id = '191e81ae-8f1d-495a-aee5-ec1f200ba509'),
|
|
t5 as (select count(distinct subpoena.id) as ap_not_required FROM subpoena
|
|
JOIN subpoena_history ON subpoena_history.subpoena_id = subpoena.id
|
|
JOIN subpoena_status AS sub_status ON sub_status.id = subpoena.status_id
|
|
JOIN subpoena_status AS sub_stat_hist ON sub_stat_hist.id = subpoena_history.status_id
|
|
JOIN subpoena_reason ON subpoena_reason.id = subpoena.reason_id
|
|
where not subpoena_reason.type='3' and sub_stat_hist.code in ('3.8','5.2') and subpoena.department_id = '191e81ae-8f1d-495a-aee5-ec1f200ba509'),
|
|
t6 as (select count(distinct rdi.id) as restrictions_applied from restriction_document_item rdi
|
|
join restriction_document on restriction_document.id = rdi.restriction_document_create_id
|
|
join subpoena on subpoena.id = restriction_document.subpoena_id
|
|
join subpoena_reason on subpoena_reason.id = subpoena.reason_id
|
|
where rdi.restriction_document_cancel_id is null and subpoena_reason.type = '3' and subpoena.department_id = '191e81ae-8f1d-495a-aee5-ec1f200ba509'),
|
|
t7 as (select count(distinct rdi.id) as introduced_measures from restriction_document_item rdi
|
|
join restriction_document on restriction_document.id = rdi.restriction_document_create_id
|
|
join subpoena on subpoena.id = restriction_document.subpoena_id
|
|
join subpoena_reason on subpoena_reason.id = subpoena.reason_id
|
|
where rdi.restriction_document_cancel_id is null and rdi.applied_date is not null and subpoena_reason.type = '3' and subpoena.department_id = '191e81ae-8f1d-495a-aee5-ec1f200ba509')
|
|
select t1.subpoena, t2.appeared, t3.not_appeared, t4.not_ap_good_reason, t5.ap_not_required, t6.restrictions_applied, t7.introduced_measures, 1 as mil_reg, '794ed0fa-a25b-4858-b89e-815bb391f2b5' as recruitment_id, 1 as org,
|
|
0 as appeared_percent, 0 as not_appeared_percent, 0 as not_ap_good_reason_percent, 0 as ap_not_required_percent, 0 as restrictions_applied_percent, 0 as introduced_measures_percent, 0 as rest, 'Осень' as spring_autumn
|
|
from t1 full outer join t2 on 1 = 1 full outer join t3 on 1 = 1 full outer join t4 on 1 = 1 full outer join t5 on 1 = 1 full outer join t6 on 1 = 1 full outer join t7 on 1 = 1
|
|
</sql>
|
|
<limit>0</limit>
|
|
<lookup/>
|
|
<execute_each_row>N</execute_each_row>
|
|
<variables_active>N</variables_active>
|
|
<lazy_conversion_active>N</lazy_conversion_active>
|
|
<attributes/>
|
|
<cluster_schema/>
|
|
<remotesteps>
|
|
<input>
|
|
</input>
|
|
<output>
|
|
</output>
|
|
</remotesteps>
|
|
<GUI>
|
|
<xloc>176</xloc>
|
|
<yloc>400</yloc>
|
|
<draw>Y</draw>
|
|
</GUI>
|
|
</step>
|
|
<step>
|
|
<name>Table input (subpoena) осень/ряз</name>
|
|
<type>TableInput</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<custom_distribution/>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<connection>postgres.subpoena</connection>
|
|
<sql>with
|
|
t1 as (select count(distinct subpoena.id) as subpoena FROM subpoena
|
|
JOIN subpoena_history ON subpoena_history.subpoena_id = subpoena.id
|
|
JOIN subpoena_status AS sub_status ON sub_status.id = subpoena.status_id
|
|
JOIN subpoena_status AS sub_stat_hist ON sub_stat_hist.id = subpoena_history.status_id
|
|
JOIN subpoena_reason ON subpoena_reason.id = subpoena.reason_id
|
|
where not subpoena_reason.type='3' and sub_stat_hist.code ='3' and subpoena.department_id = '1284964b-3bf8-41b5-adb5-c6d1ec1bc13c'),
|
|
t2 as (select count(distinct subpoena.id) as appeared FROM subpoena
|
|
JOIN subpoena_history ON subpoena_history.subpoena_id = subpoena.id
|
|
JOIN subpoena_status AS sub_status ON sub_status.id = subpoena.status_id
|
|
JOIN subpoena_status AS sub_stat_hist ON sub_stat_hist.id = subpoena_history.status_id
|
|
JOIN subpoena_reason ON subpoena_reason.id = subpoena.reason_id
|
|
where not subpoena_reason.type='3' and sub_stat_hist.code in ('4.1','4.2') and subpoena.department_id = '1284964b-3bf8-41b5-adb5-c6d1ec1bc13c'),
|
|
t3 as (select count(distinct subpoena.id) as not_appeared FROM subpoena
|
|
JOIN subpoena_history ON subpoena_history.subpoena_id = subpoena.id
|
|
JOIN subpoena_status AS sub_status ON sub_status.id = subpoena.status_id
|
|
JOIN subpoena_status AS sub_stat_hist ON sub_stat_hist.id = subpoena_history.status_id
|
|
JOIN subpoena_reason ON subpoena_reason.id = subpoena.reason_id
|
|
where not subpoena_reason.type='3' and sub_stat_hist.code ='5' and subpoena.department_id = '1284964b-3bf8-41b5-adb5-c6d1ec1bc13c'),
|
|
t4 as (select count(*) as not_ap_good_reason FROM subpoena
|
|
JOIN subpoena_history ON subpoena_history.subpoena_id = subpoena.id
|
|
JOIN subpoena_status AS sub_status ON sub_status.id = subpoena.status_id
|
|
JOIN subpoena_status AS sub_stat_hist ON sub_stat_hist.id = subpoena_history.status_id
|
|
JOIN subpoena_reason ON subpoena_reason.id = subpoena.reason_id
|
|
where not subpoena_reason.type='3' and sub_stat_hist.code='5.1' and subpoena.department_id = '1284964b-3bf8-41b5-adb5-c6d1ec1bc13c'),
|
|
t5 as (select count(distinct subpoena.id) as ap_not_required FROM subpoena
|
|
JOIN subpoena_history ON subpoena_history.subpoena_id = subpoena.id
|
|
JOIN subpoena_status AS sub_status ON sub_status.id = subpoena.status_id
|
|
JOIN subpoena_status AS sub_stat_hist ON sub_stat_hist.id = subpoena_history.status_id
|
|
JOIN subpoena_reason ON subpoena_reason.id = subpoena.reason_id
|
|
where not subpoena_reason.type='3' and sub_stat_hist.code in ('3.8','5.2') and subpoena.department_id = '1284964b-3bf8-41b5-adb5-c6d1ec1bc13c'),
|
|
t6 as (select count(distinct rdi.id) as restrictions_applied from restriction_document_item rdi
|
|
join restriction_document on restriction_document.id = rdi.restriction_document_create_id
|
|
join subpoena on subpoena.id = restriction_document.subpoena_id
|
|
join subpoena_reason on subpoena_reason.id = subpoena.reason_id
|
|
where rdi.restriction_document_cancel_id is null and subpoena_reason.type = '3' and subpoena.department_id = '1284964b-3bf8-41b5-adb5-c6d1ec1bc13c'),
|
|
t7 as (select count(distinct rdi.id) as introduced_measures from restriction_document_item rdi
|
|
join restriction_document on restriction_document.id = rdi.restriction_document_create_id
|
|
join subpoena on subpoena.id = restriction_document.subpoena_id
|
|
join subpoena_reason on subpoena_reason.id = subpoena.reason_id
|
|
where rdi.restriction_document_cancel_id is null and rdi.applied_date is not null and subpoena_reason.type = '3' and subpoena.department_id = '1284964b-3bf8-41b5-adb5-c6d1ec1bc13c')
|
|
select t1.subpoena, t2.appeared, t3.not_appeared, t4.not_ap_good_reason, t5.ap_not_required, t6.restrictions_applied, t7.introduced_measures, 1 as mil_reg, 'd2e839ef-933c-48df-9a3a-ac1c00663154' as recruitment_id, 1 as org,
|
|
0 as appeared_percent, 0 as not_appeared_percent, 0 as not_ap_good_reason_percent, 0 as ap_not_required_percent, 0 as restrictions_applied_percent, 0 as introduced_measures_percent, 0 as rest, 'Осень' as spring_autumn
|
|
from t1 full outer join t2 on 1 = 1 full outer join t3 on 1 = 1 full outer join t4 on 1 = 1 full outer join t5 on 1 = 1 full outer join t6 on 1 = 1 full outer join t7 on 1 = 1
|
|
</sql>
|
|
<limit>0</limit>
|
|
<lookup/>
|
|
<execute_each_row>N</execute_each_row>
|
|
<variables_active>N</variables_active>
|
|
<lazy_conversion_active>N</lazy_conversion_active>
|
|
<attributes/>
|
|
<cluster_schema/>
|
|
<remotesteps>
|
|
<input>
|
|
</input>
|
|
<output>
|
|
</output>
|
|
</remotesteps>
|
|
<GUI>
|
|
<xloc>176</xloc>
|
|
<yloc>608</yloc>
|
|
<draw>Y</draw>
|
|
</GUI>
|
|
</step>
|
|
<step>
|
|
<name>Table input (subpoena) осень/сахал</name>
|
|
<type>TableInput</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<custom_distribution/>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<connection>postgres.subpoena</connection>
|
|
<sql>with
|
|
t1 as (select count(distinct subpoena.id) as subpoena FROM subpoena
|
|
JOIN subpoena_history ON subpoena_history.subpoena_id = subpoena.id
|
|
JOIN subpoena_status AS sub_status ON sub_status.id = subpoena.status_id
|
|
JOIN subpoena_status AS sub_stat_hist ON sub_stat_hist.id = subpoena_history.status_id
|
|
JOIN subpoena_reason ON subpoena_reason.id = subpoena.reason_id
|
|
where not subpoena_reason.type='3' and sub_stat_hist.code ='3' and subpoena.department_id = 'de265e31-4b82-4dc8-9bf6-af990d6d649e'),
|
|
t2 as (select count(distinct subpoena.id) as appeared FROM subpoena
|
|
JOIN subpoena_history ON subpoena_history.subpoena_id = subpoena.id
|
|
JOIN subpoena_status AS sub_status ON sub_status.id = subpoena.status_id
|
|
JOIN subpoena_status AS sub_stat_hist ON sub_stat_hist.id = subpoena_history.status_id
|
|
JOIN subpoena_reason ON subpoena_reason.id = subpoena.reason_id
|
|
where not subpoena_reason.type='3' and sub_stat_hist.code in ('4.1','4.2') and subpoena.department_id = 'de265e31-4b82-4dc8-9bf6-af990d6d649e'),
|
|
t3 as (select count(distinct subpoena.id) as not_appeared FROM subpoena
|
|
JOIN subpoena_history ON subpoena_history.subpoena_id = subpoena.id
|
|
JOIN subpoena_status AS sub_status ON sub_status.id = subpoena.status_id
|
|
JOIN subpoena_status AS sub_stat_hist ON sub_stat_hist.id = subpoena_history.status_id
|
|
JOIN subpoena_reason ON subpoena_reason.id = subpoena.reason_id
|
|
where not subpoena_reason.type='3' and sub_stat_hist.code ='5' and subpoena.department_id = 'de265e31-4b82-4dc8-9bf6-af990d6d649e'),
|
|
t4 as (select count(*) as not_ap_good_reason FROM subpoena
|
|
JOIN subpoena_history ON subpoena_history.subpoena_id = subpoena.id
|
|
JOIN subpoena_status AS sub_status ON sub_status.id = subpoena.status_id
|
|
JOIN subpoena_status AS sub_stat_hist ON sub_stat_hist.id = subpoena_history.status_id
|
|
JOIN subpoena_reason ON subpoena_reason.id = subpoena.reason_id
|
|
where not subpoena_reason.type='3' and sub_stat_hist.code='5.1' and subpoena.department_id = 'de265e31-4b82-4dc8-9bf6-af990d6d649e'),
|
|
t5 as (select count(distinct subpoena.id) as ap_not_required FROM subpoena
|
|
JOIN subpoena_history ON subpoena_history.subpoena_id = subpoena.id
|
|
JOIN subpoena_status AS sub_status ON sub_status.id = subpoena.status_id
|
|
JOIN subpoena_status AS sub_stat_hist ON sub_stat_hist.id = subpoena_history.status_id
|
|
JOIN subpoena_reason ON subpoena_reason.id = subpoena.reason_id
|
|
where not subpoena_reason.type='3' and sub_stat_hist.code in ('3.8','5.2') and subpoena.department_id = 'de265e31-4b82-4dc8-9bf6-af990d6d649e'),
|
|
t6 as (select count(distinct rdi.id) as restrictions_applied from restriction_document_item rdi
|
|
join restriction_document on restriction_document.id = rdi.restriction_document_create_id
|
|
join subpoena on subpoena.id = restriction_document.subpoena_id
|
|
join subpoena_reason on subpoena_reason.id = subpoena.reason_id
|
|
where rdi.restriction_document_cancel_id is null and subpoena_reason.type = '3' and subpoena.department_id = 'de265e31-4b82-4dc8-9bf6-af990d6d649e'),
|
|
t7 as (select count(distinct rdi.id) as introduced_measures from restriction_document_item rdi
|
|
join restriction_document on restriction_document.id = rdi.restriction_document_create_id
|
|
join subpoena on subpoena.id = restriction_document.subpoena_id
|
|
join subpoena_reason on subpoena_reason.id = subpoena.reason_id
|
|
where rdi.restriction_document_cancel_id is null and rdi.applied_date is not null and subpoena_reason.type = '3' and subpoena.department_id = 'de265e31-4b82-4dc8-9bf6-af990d6d649e')
|
|
select t1.subpoena, t2.appeared, t3.not_appeared, t4.not_ap_good_reason, t5.ap_not_required, t6.restrictions_applied, t7.introduced_measures, 1 as mil_reg, '6b56f46a-16e7-4c0f-83a8-05fbddf2e6cb' as recruitment_id, 1 as org,
|
|
0 as appeared_percent, 0 as not_appeared_percent, 0 as not_ap_good_reason_percent, 0 as ap_not_required_percent, 0 as restrictions_applied_percent, 0 as introduced_measures_percent, 0 as rest, 'Осень' as spring_autumn
|
|
from t1 full outer join t2 on 1 = 1 full outer join t3 on 1 = 1 full outer join t4 on 1 = 1 full outer join t5 on 1 = 1 full outer join t6 on 1 = 1 full outer join t7 on 1 = 1
|
|
</sql>
|
|
<limit>0</limit>
|
|
<lookup/>
|
|
<execute_each_row>N</execute_each_row>
|
|
<variables_active>N</variables_active>
|
|
<lazy_conversion_active>N</lazy_conversion_active>
|
|
<attributes/>
|
|
<cluster_schema/>
|
|
<remotesteps>
|
|
<input>
|
|
</input>
|
|
<output>
|
|
</output>
|
|
</remotesteps>
|
|
<GUI>
|
|
<xloc>176</xloc>
|
|
<yloc>816</yloc>
|
|
<draw>Y</draw>
|
|
</GUI>
|
|
</step>
|
|
<step_error_handling>
|
|
</step_error_handling>
|
|
<slave-step-copy-partition-distribution>
|
|
</slave-step-copy-partition-distribution>
|
|
<slave_transformation>N</slave_transformation>
|
|
<attributes/>
|
|
</transformation>
|