fix 2 deferments_once.hpl and punishment_once.hpl

This commit is contained in:
Булат Хайруллин 2025-04-25 12:28:11 +03:00
parent 8655bca545
commit 8c916dc637
2 changed files with 38 additions and 10 deletions

View file

@ -40,6 +40,11 @@
<to>Update 2</to>
<enabled>Y</enabled>
</hop>
<hop>
<from>deferment_output</from>
<to>Dummy (do nothing)</to>
<enabled>Y</enabled>
</hop>
</order>
<transform>
<name>Update</name>
@ -111,7 +116,7 @@
<use_batch>Y</use_batch>
<attributes/>
<GUI>
<xloc>720</xloc>
<xloc>768</xloc>
<yloc>336</yloc>
</GUI>
</transform>
@ -162,7 +167,7 @@ where hidden is false;</sql>
<method>none</method>
<schema_name/>
</partitioning>
<commit>20000</commit>
<commit>1000</commit>
<connection>ervu-dashboard</connection>
<fields>
<field>
@ -198,14 +203,11 @@ where hidden is false;</sql>
<only_when_have_rows>N</only_when_have_rows>
<partitioning_daily>N</partitioning_daily>
<partitioning_enabled>N</partitioning_enabled>
<partitioning_field/>
<partitioning_monthly>Y</partitioning_monthly>
<return_field/>
<return_keys>N</return_keys>
<schema>ervu_dashboard</schema>
<specify_fields>Y</specify_fields>
<table>citizen_deferment</table>
<tablename_field/>
<tablename_in_field>N</tablename_in_field>
<tablename_in_table>Y</tablename_in_table>
<truncate>N</truncate>
@ -261,7 +263,7 @@ where rd.hidden is false;</sql>
<method>none</method>
<schema_name/>
</partitioning>
<commit>20000</commit>
<commit>1000</commit>
<connection>ervu-dashboard</connection>
<fields>
<field>
@ -289,14 +291,11 @@ where rd.hidden is false;</sql>
<only_when_have_rows>N</only_when_have_rows>
<partitioning_daily>N</partitioning_daily>
<partitioning_enabled>N</partitioning_enabled>
<partitioning_field/>
<partitioning_monthly>Y</partitioning_monthly>
<return_field/>
<return_keys>N</return_keys>
<schema>ervu_dashboard</schema>
<specify_fields>Y</specify_fields>
<table>citizen_deferment_right</table>
<tablename_field/>
<tablename_in_field>N</tablename_in_field>
<tablename_in_table>Y</tablename_in_table>
<truncate>N</truncate>
@ -307,7 +306,36 @@ where rd.hidden is false;</sql>
<yloc>208</yloc>
</GUI>
</transform>
<transform>
<name>Dummy (do nothing)</name>
<type>Dummy</type>
<description/>
<distribute>Y</distribute>
<custom_distribution/>
<copies>1</copies>
<partitioning>
<method>none</method>
<schema_name/>
</partitioning>
<attributes/>
<GUI>
<xloc>768</xloc>
<yloc>480</yloc>
</GUI>
</transform>
<transform_error_handling>
<error>
<source_transform>deferment_output</source_transform>
<target_transform>Dummy (do nothing)</target_transform>
<is_enabled>Y</is_enabled>
<nr_valuename/>
<descriptions_valuename/>
<fields_valuename/>
<codes_valuename/>
<max_errors/>
<max_pct_errors/>
<min_pct_rows/>
</error>
</transform_error_handling>
<attributes/>
</pipeline>

View file

@ -37,7 +37,7 @@
<method>none</method>
<schema_name/>
</partitioning>
<connection>local_ervu_person_registry</connection>
<connection>ervu_person_registry</connection>
<execute_each_row>N</execute_each_row>
<limit>0</limit>
<sql>WITH ugol AS (SELECT ri.recruit_id,