add execution_end_datetime
This commit is contained in:
parent
863745e966
commit
58839c5227
3 changed files with 36 additions and 6 deletions
|
|
@ -103,18 +103,23 @@
|
||||||
</argument>
|
</argument>
|
||||||
</arguments>
|
</arguments>
|
||||||
<connection>ervu-dashboard</connection>
|
<connection>ervu-dashboard</connection>
|
||||||
|
<delete_field/>
|
||||||
<execute_each_row>Y</execute_each_row>
|
<execute_each_row>Y</execute_each_row>
|
||||||
|
<insert_field/>
|
||||||
<quoteString>N</quoteString>
|
<quoteString>N</quoteString>
|
||||||
|
<read_field/>
|
||||||
<replace_variables>Y</replace_variables>
|
<replace_variables>Y</replace_variables>
|
||||||
<set_params>Y</set_params>
|
<set_params>Y</set_params>
|
||||||
<single_statement>N</single_statement>
|
<single_statement>N</single_statement>
|
||||||
<sql>UPDATE etl.job_execution
|
<sql>UPDATE etl.job_execution
|
||||||
SET status = 'ERROR',
|
SET status = 'ERROR',
|
||||||
error_description = ?
|
error_description = ?,
|
||||||
|
execution_end_datetime = current_timestamp
|
||||||
WHERE job_name = '${JOB_NAME}'
|
WHERE job_name = '${JOB_NAME}'
|
||||||
and recruitment_id = '${IDM_ID}';
|
and recruitment_id = '${IDM_ID}';
|
||||||
|
|
||||||
</sql>
|
</sql>
|
||||||
|
<update_field/>
|
||||||
<attributes/>
|
<attributes/>
|
||||||
<GUI>
|
<GUI>
|
||||||
<xloc>1024</xloc>
|
<xloc>1024</xloc>
|
||||||
|
|
@ -135,17 +140,22 @@ and recruitment_id = '${IDM_ID}';
|
||||||
<arguments>
|
<arguments>
|
||||||
</arguments>
|
</arguments>
|
||||||
<connection>ervu-dashboard</connection>
|
<connection>ervu-dashboard</connection>
|
||||||
|
<delete_field/>
|
||||||
<execute_each_row>Y</execute_each_row>
|
<execute_each_row>Y</execute_each_row>
|
||||||
|
<insert_field/>
|
||||||
<quoteString>N</quoteString>
|
<quoteString>N</quoteString>
|
||||||
|
<read_field/>
|
||||||
<replace_variables>Y</replace_variables>
|
<replace_variables>Y</replace_variables>
|
||||||
<set_params>N</set_params>
|
<set_params>N</set_params>
|
||||||
<single_statement>N</single_statement>
|
<single_statement>N</single_statement>
|
||||||
<sql>UPDATE etl.job_execution
|
<sql>UPDATE etl.job_execution
|
||||||
SET status = 'SUCCESS'
|
SET status = 'SUCCESS',
|
||||||
|
execution_end_datetime = current_timestamp
|
||||||
WHERE job_name = '${JOB_NAME}'
|
WHERE job_name = '${JOB_NAME}'
|
||||||
and recruitment_id = '${IDM_ID}';
|
and recruitment_id = '${IDM_ID}';
|
||||||
|
|
||||||
</sql>
|
</sql>
|
||||||
|
<update_field/>
|
||||||
<attributes/>
|
<attributes/>
|
||||||
<GUI>
|
<GUI>
|
||||||
<xloc>1632</xloc>
|
<xloc>1632</xloc>
|
||||||
|
|
|
||||||
|
|
@ -103,18 +103,23 @@
|
||||||
</argument>
|
</argument>
|
||||||
</arguments>
|
</arguments>
|
||||||
<connection>ervu-dashboard</connection>
|
<connection>ervu-dashboard</connection>
|
||||||
|
<delete_field/>
|
||||||
<execute_each_row>Y</execute_each_row>
|
<execute_each_row>Y</execute_each_row>
|
||||||
|
<insert_field/>
|
||||||
<quoteString>N</quoteString>
|
<quoteString>N</quoteString>
|
||||||
|
<read_field/>
|
||||||
<replace_variables>Y</replace_variables>
|
<replace_variables>Y</replace_variables>
|
||||||
<set_params>Y</set_params>
|
<set_params>Y</set_params>
|
||||||
<single_statement>N</single_statement>
|
<single_statement>N</single_statement>
|
||||||
<sql>UPDATE etl.job_execution
|
<sql>UPDATE etl.job_execution
|
||||||
SET status = 'DELTA_ERROR',
|
SET status = 'DELTA_ERROR',
|
||||||
error_description = ?
|
error_description = ?,
|
||||||
|
execution_end_datetime = current_timestamp
|
||||||
WHERE job_name = '${JOB_NAME}'
|
WHERE job_name = '${JOB_NAME}'
|
||||||
and recruitment_id = '${IDM_ID}';
|
and recruitment_id = '${IDM_ID}';
|
||||||
|
|
||||||
</sql>
|
</sql>
|
||||||
|
<update_field/>
|
||||||
<attributes/>
|
<attributes/>
|
||||||
<GUI>
|
<GUI>
|
||||||
<xloc>944</xloc>
|
<xloc>944</xloc>
|
||||||
|
|
@ -135,17 +140,22 @@ and recruitment_id = '${IDM_ID}';
|
||||||
<arguments>
|
<arguments>
|
||||||
</arguments>
|
</arguments>
|
||||||
<connection>ervu-dashboard</connection>
|
<connection>ervu-dashboard</connection>
|
||||||
|
<delete_field/>
|
||||||
<execute_each_row>Y</execute_each_row>
|
<execute_each_row>Y</execute_each_row>
|
||||||
|
<insert_field/>
|
||||||
<quoteString>N</quoteString>
|
<quoteString>N</quoteString>
|
||||||
|
<read_field/>
|
||||||
<replace_variables>Y</replace_variables>
|
<replace_variables>Y</replace_variables>
|
||||||
<set_params>N</set_params>
|
<set_params>N</set_params>
|
||||||
<single_statement>N</single_statement>
|
<single_statement>N</single_statement>
|
||||||
<sql>UPDATE etl.job_execution
|
<sql>UPDATE etl.job_execution
|
||||||
SET status = 'DELTA_SUCCESS'
|
SET status = 'DELTA_SUCCESS',
|
||||||
|
execution_end_datetime = current_timestamp
|
||||||
WHERE job_name = '${JOB_NAME}'
|
WHERE job_name = '${JOB_NAME}'
|
||||||
and recruitment_id = '${IDM_ID}';
|
and recruitment_id = '${IDM_ID}';
|
||||||
|
|
||||||
</sql>
|
</sql>
|
||||||
|
<update_field/>
|
||||||
<attributes/>
|
<attributes/>
|
||||||
<GUI>
|
<GUI>
|
||||||
<xloc>1248</xloc>
|
<xloc>1248</xloc>
|
||||||
|
|
|
||||||
|
|
@ -103,18 +103,23 @@
|
||||||
</argument>
|
</argument>
|
||||||
</arguments>
|
</arguments>
|
||||||
<connection>ervu-dashboard</connection>
|
<connection>ervu-dashboard</connection>
|
||||||
|
<delete_field/>
|
||||||
<execute_each_row>Y</execute_each_row>
|
<execute_each_row>Y</execute_each_row>
|
||||||
|
<insert_field/>
|
||||||
<quoteString>N</quoteString>
|
<quoteString>N</quoteString>
|
||||||
|
<read_field/>
|
||||||
<replace_variables>Y</replace_variables>
|
<replace_variables>Y</replace_variables>
|
||||||
<set_params>Y</set_params>
|
<set_params>Y</set_params>
|
||||||
<single_statement>N</single_statement>
|
<single_statement>N</single_statement>
|
||||||
<sql>UPDATE etl.job_execution
|
<sql>UPDATE etl.job_execution
|
||||||
SET status = 'ERROR',
|
SET status = 'ERROR',
|
||||||
error_description = ?
|
error_description = ?,
|
||||||
|
execution_end_datetime = current_timestamp
|
||||||
WHERE job_name = '${JOB_NAME}'
|
WHERE job_name = '${JOB_NAME}'
|
||||||
and recruitment_id = '${IDM_ID}';
|
and recruitment_id = '${IDM_ID}';
|
||||||
|
|
||||||
</sql>
|
</sql>
|
||||||
|
<update_field/>
|
||||||
<attributes/>
|
<attributes/>
|
||||||
<GUI>
|
<GUI>
|
||||||
<xloc>960</xloc>
|
<xloc>960</xloc>
|
||||||
|
|
@ -135,17 +140,22 @@ and recruitment_id = '${IDM_ID}';
|
||||||
<arguments>
|
<arguments>
|
||||||
</arguments>
|
</arguments>
|
||||||
<connection>ervu-dashboard</connection>
|
<connection>ervu-dashboard</connection>
|
||||||
|
<delete_field/>
|
||||||
<execute_each_row>Y</execute_each_row>
|
<execute_each_row>Y</execute_each_row>
|
||||||
|
<insert_field/>
|
||||||
<quoteString>N</quoteString>
|
<quoteString>N</quoteString>
|
||||||
|
<read_field/>
|
||||||
<replace_variables>Y</replace_variables>
|
<replace_variables>Y</replace_variables>
|
||||||
<set_params>N</set_params>
|
<set_params>N</set_params>
|
||||||
<single_statement>N</single_statement>
|
<single_statement>N</single_statement>
|
||||||
<sql>UPDATE etl.job_execution
|
<sql>UPDATE etl.job_execution
|
||||||
SET status = 'SUCCESS'
|
SET status = 'SUCCESS',
|
||||||
|
execution_end_datetime = current_timestamp
|
||||||
WHERE job_name = '${JOB_NAME}'
|
WHERE job_name = '${JOB_NAME}'
|
||||||
and recruitment_id = '${IDM_ID}';
|
and recruitment_id = '${IDM_ID}';
|
||||||
|
|
||||||
</sql>
|
</sql>
|
||||||
|
<update_field/>
|
||||||
<attributes/>
|
<attributes/>
|
||||||
<GUI>
|
<GUI>
|
||||||
<xloc>1440</xloc>
|
<xloc>1440</xloc>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue