117 lines
3.2 KiB
Text
117 lines
3.2 KiB
Text
<pipeline>
|
|
<info>
|
|
<name>appeals.reasons_appeal</name>
|
|
<name_sync_with_filename>Y</name_sync_with_filename>
|
|
<description/>
|
|
<extended_description/>
|
|
<pipeline_version/>
|
|
<pipeline_type>Normal</pipeline_type>
|
|
<pipeline_status>0</pipeline_status>
|
|
<directory>/</directory>
|
|
<parameters>
|
|
</parameters>
|
|
<capture_transform_performance>N</capture_transform_performance>
|
|
<transform_performance_capturing_delay>1000</transform_performance_capturing_delay>
|
|
<transform_performance_capturing_size_limit>100</transform_performance_capturing_size_limit>
|
|
<created_user>-</created_user>
|
|
<created_date>2024/08/02 11:56:22.507</created_date>
|
|
<modified_user>-</modified_user>
|
|
<modified_date>2024/08/02 11:56:22.507</modified_date>
|
|
<key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key>
|
|
<is_key_private>N</is_key_private>
|
|
</info>
|
|
<notepads>
|
|
</notepads>
|
|
<order>
|
|
<hop>
|
|
<from>Table input (appeal_document) РФ</from>
|
|
<to>Insert / update (main_dashboard.appeals)</to>
|
|
<enabled>Y</enabled>
|
|
</hop>
|
|
</order>
|
|
<transform>
|
|
<name>Insert / update (main_dashboard.appeals)</name>
|
|
<type>InsertUpdate</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<custom_distribution/>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<connection>ervu-dashboard</connection>
|
|
<commit>100</commit>
|
|
<update_bypassed>N</update_bypassed>
|
|
<lookup>
|
|
<schema>main_dashboard</schema>
|
|
<table>appeals</table>
|
|
<key>
|
|
<name>recruitment_id</name>
|
|
<field>recruitment_id</field>
|
|
<condition>=</condition>
|
|
<name2/>
|
|
</key>
|
|
<value>
|
|
<name>total_appeals</name>
|
|
<rename>total_appeals</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>recruitment_id</name>
|
|
<rename>recruitment_id</rename>
|
|
<update>N</update>
|
|
</value>
|
|
</lookup>
|
|
<attributes/>
|
|
<cluster_schema/>
|
|
<GUI>
|
|
<xloc>752</xloc>
|
|
<yloc>176</yloc>
|
|
<draw>Y</draw>
|
|
</GUI>
|
|
</transform>
|
|
<transform>
|
|
<name>Table input (appeal_document) РФ</name>
|
|
<type>TableInput</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<custom_distribution/>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<connection>postgres.appeal-document-service</connection>
|
|
<sql>WITH
|
|
t1 AS (
|
|
SELECT COUNT(*) AS total_appeals
|
|
FROM public.appeal_document
|
|
) -- нет причин обжалований
|
|
SELECT
|
|
t1.total_appeals,
|
|
'00' AS recruitment_id,
|
|
0 AS incorrect_inf,
|
|
0 AS no_data,
|
|
0 AS other,
|
|
0 AS incorrect_inf_percent,
|
|
0 AS no_data_percent,
|
|
0 AS other_percent
|
|
FROM t1;</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/>
|
|
<GUI>
|
|
<xloc>400</xloc>
|
|
<yloc>176</yloc>
|
|
<draw>Y</draw>
|
|
</GUI>
|
|
</transform>
|
|
<transform_error_handling>
|
|
</transform_error_handling>
|
|
<attributes/>
|
|
</pipeline>
|