156 lines
4 KiB
XML
156 lines
4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<pipeline>
|
|
<info>
|
|
<name>appeals.review_rating</name>
|
|
<name_sync_with_filename>Y</name_sync_with_filename>
|
|
<description/>
|
|
<extended_description/>
|
|
<pipeline_version/>
|
|
<pipeline_type>Normal</pipeline_type>
|
|
<parameters>
|
|
</parameters>
|
|
<capture_transform_performance>N</capture_transform_performance>
|
|
<transform_performance_capturing_delay>1000</transform_performance_capturing_delay>
|
|
<transform_performance_capturing_size_limit>100</transform_performance_capturing_size_limit>
|
|
<created_user>-</created_user>
|
|
<created_date>2025/01/28 14:15:12.495</created_date>
|
|
<modified_user>-</modified_user>
|
|
<modified_date>2025/01/28 14:15:12.495</modified_date>
|
|
</info>
|
|
<notepads>
|
|
</notepads>
|
|
<order>
|
|
<hop>
|
|
<from>Table input</from>
|
|
<to>Insert / update</to>
|
|
<enabled>Y</enabled>
|
|
</hop>
|
|
<hop>
|
|
<from>Execute SQL script</from>
|
|
<to>Table input</to>
|
|
<enabled>Y</enabled>
|
|
</hop>
|
|
</order>
|
|
<transform>
|
|
<name>Execute SQL script</name>
|
|
<type>ExecSql</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<custom_distribution/>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<arguments>
|
|
</arguments>
|
|
<connection>ervu-dashboard</connection>
|
|
<delete_field/>
|
|
<execute_each_row>N</execute_each_row>
|
|
<insert_field/>
|
|
<quoteString>N</quoteString>
|
|
<read_field/>
|
|
<replace_variables>N</replace_variables>
|
|
<set_params>N</set_params>
|
|
<single_statement>N</single_statement>
|
|
<sql>DELETE FROM appeals.review_rating WHERE recording_date = current_date AND schema = 'Organization'</sql>
|
|
<update_field/>
|
|
<attributes/>
|
|
<GUI>
|
|
<xloc>416</xloc>
|
|
<yloc>464</yloc>
|
|
</GUI>
|
|
</transform>
|
|
<transform>
|
|
<name>Insert / update</name>
|
|
<type>InsertUpdate</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<custom_distribution/>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<commit>100</commit>
|
|
<connection>ervu-dashboard</connection>
|
|
<lookup>
|
|
<key>
|
|
<condition>=</condition>
|
|
<field>recruitment_id</field>
|
|
<name>recruitment_id</name>
|
|
</key>
|
|
<key>
|
|
<condition>=</condition>
|
|
<field>recording_date</field>
|
|
<name>recording_date</name>
|
|
</key>
|
|
<key>
|
|
<condition>=</condition>
|
|
<field>schema</field>
|
|
<name>schema</name>
|
|
</key>
|
|
<schema>appeals</schema>
|
|
<table>review_rating</table>
|
|
<value>
|
|
<name>schema</name>
|
|
<rename>schema</rename>
|
|
<update>N</update>
|
|
</value>
|
|
<value>
|
|
<name>recruitment_id</name>
|
|
<rename>recruitment_id</rename>
|
|
<update>N</update>
|
|
</value>
|
|
<value>
|
|
<name>speed</name>
|
|
<rename>average_consideration</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
<value>
|
|
<name>rating</name>
|
|
<rename>average_rating</rename>
|
|
<update>Y</update>
|
|
</value>
|
|
</lookup>
|
|
<update_bypassed>N</update_bypassed>
|
|
<attributes/>
|
|
<GUI>
|
|
<xloc>864</xloc>
|
|
<yloc>464</yloc>
|
|
</GUI>
|
|
</transform>
|
|
<transform>
|
|
<name>Table input</name>
|
|
<type>TableInput</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<custom_distribution/>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<connection>ervu-dashboard</connection>
|
|
<execute_each_row>N</execute_each_row>
|
|
<limit>0</limit>
|
|
<sql>SELECT
|
|
current_date AS recording_date,
|
|
'Organization' AS schema,
|
|
ap.average_rating,
|
|
ap.average_consideration,
|
|
ap.recruitment_id
|
|
FROM main_dashboard.appeals ap
|
|
WHERE recording_date = current_date AND schema = 'Organization'
|
|
</sql>
|
|
<variables_active>N</variables_active>
|
|
<attributes/>
|
|
<GUI>
|
|
<xloc>640</xloc>
|
|
<yloc>464</yloc>
|
|
</GUI>
|
|
</transform>
|
|
<transform_error_handling>
|
|
</transform_error_handling>
|
|
<attributes/>
|
|
</pipeline>
|