ervu-dashboard-etl/map_v1/country/ratings.consideration_complaint.hpl

118 lines
3.2 KiB
Text
Raw Permalink Normal View History

2025-06-16 12:59:45 +03:00
<pipeline>
<info>
2025-08-12 16:42:25 +03:00
<name>ratings.consideration_complaint</name>
2025-06-16 12:59:45 +03:00
<name_sync_with_filename>Y</name_sync_with_filename>
<description/>
<extended_description/>
<pipeline_version/>
<pipeline_type>Normal</pipeline_type>
2025-08-12 16:42:25 +03:00
<pipeline_status>0</pipeline_status>
<directory>/</directory>
2025-06-16 12:59:45 +03:00
<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>
2025-08-12 16:42:25 +03:00
<created_date>2024/08/02 11:56:22.507</created_date>
2025-06-16 12:59:45 +03:00
<modified_user>-</modified_user>
2025-08-12 16:42:25 +03:00
<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>
2025-06-16 12:59:45 +03:00
</info>
<notepads>
</notepads>
<order>
<hop>
2025-08-12 16:42:25 +03:00
<from>Table input (appeal_document) РФ</from>
<to>Insert / update (main_dashboard.appeals)</to>
2025-06-16 12:59:45 +03:00
<enabled>Y</enabled>
</hop>
</order>
<transform>
2025-08-12 16:42:25 +03:00
<name>Insert / update (main_dashboard.appeals)</name>
2025-06-16 12:59:45 +03:00
<type>InsertUpdate</type>
<description/>
<distribute>Y</distribute>
<custom_distribution/>
<copies>1</copies>
<partitioning>
<method>none</method>
<schema_name/>
</partitioning>
<connection>ervu-dashboard</connection>
2025-08-12 16:42:25 +03:00
<commit>100</commit>
<update_bypassed>N</update_bypassed>
2025-06-16 12:59:45 +03:00
<lookup>
2025-08-12 16:42:25 +03:00
<schema>main_dashboard</schema>
<table>appeals</table>
2025-06-16 12:59:45 +03:00
<key>
2025-08-12 16:42:25 +03:00
<name>recruitment_id</name>
<field>recruitment_id</field>
2025-06-16 12:59:45 +03:00
<condition>=</condition>
2025-08-12 16:42:25 +03:00
<name2/>
2025-06-16 12:59:45 +03:00
</key>
<value>
2025-08-12 16:42:25 +03:00
<name>total_appeals</name>
<rename>total_appeals</rename>
2025-06-16 12:59:45 +03:00
<update>Y</update>
</value>
<value>
2025-08-12 16:42:25 +03:00
<name>recruitment_id</name>
<rename>recruitment_id</rename>
<update>N</update>
2025-06-16 12:59:45 +03:00
</value>
</lookup>
<attributes/>
2025-08-12 16:42:25 +03:00
<cluster_schema/>
2025-06-16 12:59:45 +03:00
<GUI>
2025-08-12 16:42:25 +03:00
<xloc>752</xloc>
<yloc>176</yloc>
<draw>Y</draw>
2025-06-16 12:59:45 +03:00
</GUI>
</transform>
<transform>
2025-08-12 16:42:25 +03:00
<name>Table input (appeal_document) РФ</name>
2025-06-16 12:59:45 +03:00
<type>TableInput</type>
<description/>
<distribute>Y</distribute>
<custom_distribution/>
<copies>1</copies>
<partitioning>
<method>none</method>
<schema_name/>
</partitioning>
2025-08-12 16:42:25 +03:00
<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>
2025-06-16 12:59:45 +03:00
<limit>0</limit>
2025-08-12 16:42:25 +03:00
<lookup/>
<execute_each_row>N</execute_each_row>
2025-06-16 12:59:45 +03:00
<variables_active>N</variables_active>
2025-08-12 16:42:25 +03:00
<lazy_conversion_active>N</lazy_conversion_active>
2025-06-16 12:59:45 +03:00
<attributes/>
2025-08-12 16:42:25 +03:00
<cluster_schema/>
2025-06-16 12:59:45 +03:00
<GUI>
2025-08-12 16:42:25 +03:00
<xloc>400</xloc>
<yloc>176</yloc>
<draw>Y</draw>
2025-06-16 12:59:45 +03:00
</GUI>
</transform>
<transform_error_handling>
</transform_error_handling>
<attributes/>
</pipeline>