Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
kettle_yuejuan_new
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
许梁
kettle_yuejuan_new
Commits
aeb54024
Commit
aeb54024
authored
Mar 12, 2021
by
zsy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zsy
parent
b46f24c0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
90 deletions
+6
-90
monitor_intelligent/union_yuejuan_monitor/transfer/core.kjb
+4
-4
monitor_intelligent/union_yuejuan_monitor/transfer/total_control/gp_time/set_variable_start_time.ktr
+2
-86
No files found.
monitor_intelligent/union_yuejuan_monitor/transfer/core.kjb
View file @
aeb54024
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
<created_user>admin</created_user>
<created_user>admin</created_user>
<created_date>2021/03/03 10:49:37.387</created_date>
<created_date>2021/03/03 10:49:37.387</created_date>
<modified_user>admin</modified_user>
<modified_user>admin</modified_user>
<modified_date>2021/03/12 16:
39:21.937
</modified_date>
<modified_date>2021/03/12 16:
46:08.251
</modified_date>
<parameters>
<parameters>
</parameters>
</parameters>
<connection>
<connection>
...
@@ -1074,7 +1074,7 @@ a.question_config_id,
...
@@ -1074,7 +1074,7 @@ a.question_config_id,
a.question_block_id,
a.question_block_id,
a.create_time,
a.create_time,
a.record_id,
a.record_id,
(case when
'${start_time_date}'='2000/01/01' then 1 else 0 end) as is_execute
(case when
(select count(id) from union_yuejuan_source_process.gp_time_interval where status=1)>0 then 0 else 1 end) as is_execute
from union_yuejuan_source.bus_exam_question_del_log a
from union_yuejuan_source.bus_exam_question_del_log a
left join union_yuejuan_source_process.bus_exam_question_del_log b on a.id=b.id
left join union_yuejuan_source_process.bus_exam_question_del_log b on a.id=b.id
where b.id is null;</sql>
where b.id is null;</sql>
...
@@ -1447,7 +1447,7 @@ where b.id is null;</sql>
...
@@ -1447,7 +1447,7 @@ where b.id is null;</sql>
<to>write_log_unsuccess 3</to>
<to>write_log_unsuccess 3</to>
<from_nr>0</from_nr>
<from_nr>0</from_nr>
<to_nr>0</to_nr>
<to_nr>0</to_nr>
<enabled>
N
</enabled>
<enabled>
Y
</enabled>
<evaluation>N</evaluation>
<evaluation>N</evaluation>
<unconditional>N</unconditional>
<unconditional>N</unconditional>
</hop>
</hop>
...
@@ -1672,7 +1672,7 @@ where b.id is null;</sql>
...
@@ -1672,7 +1672,7 @@ where b.id is null;</sql>
<to>write_log_success 3</to>
<to>write_log_success 3</to>
<from_nr>0</from_nr>
<from_nr>0</from_nr>
<to_nr>0</to_nr>
<to_nr>0</to_nr>
<enabled>
N
</enabled>
<enabled>
Y
</enabled>
<evaluation>Y</evaluation>
<evaluation>Y</evaluation>
<unconditional>N</unconditional>
<unconditional>N</unconditional>
</hop>
</hop>
...
...
monitor_intelligent/union_yuejuan_monitor/transfer/total_control/gp_time/set_variable_start_time.ktr
View file @
aeb54024
...
@@ -428,7 +428,7 @@
...
@@ -428,7 +428,7 @@
<created_user>admin</created_user>
<created_user>admin</created_user>
<created_date>2021/03/03 10:49:15.361</created_date>
<created_date>2021/03/03 10:49:15.361</created_date>
<modified_user>admin</modified_user>
<modified_user>admin</modified_user>
<modified_date>2021/03/12 16:
32:31.715
</modified_date>
<modified_date>2021/03/12 16:
42:23.388
</modified_date>
<key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key>
<key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key>
<is_key_private>N</is_key_private>
<is_key_private>N</is_key_private>
</info>
</info>
...
@@ -488,11 +488,6 @@
...
@@ -488,11 +488,6 @@
<order>
<order>
<hop>
<hop>
<from>Table input</from>
<from>Table input</from>
<to>字段选择</to>
<enabled>Y</enabled>
</hop>
<hop>
<from>字段选择</from>
<to>Set Variables</to>
<to>Set Variables</to>
<enabled>Y</enabled>
<enabled>Y</enabled>
</hop>
</hop>
...
@@ -515,12 +510,6 @@
...
@@ -515,12 +510,6 @@
<variable_type>ROOT_JOB</variable_type>
<variable_type>ROOT_JOB</variable_type>
<default_value/>
<default_value/>
</field>
</field>
<field>
<field_name>start_time_date</field_name>
<variable_name>start_time_date</variable_name>
<variable_type>ROOT_JOB</variable_type>
<default_value/>
</field>
</fields>
</fields>
<use_formatting>Y</use_formatting>
<use_formatting>Y</use_formatting>
<attributes/>
<attributes/>
...
@@ -552,10 +541,7 @@
...
@@ -552,10 +541,7 @@
<sql>select
<sql>select
(case when (select count(id) from union_yuejuan_source_process.gp_time_interval where status=1)>0
(case when (select count(id) from union_yuejuan_source_process.gp_time_interval where status=1)>0
then (select max(end_time)-interval '4 s' from union_yuejuan_source_process.gp_time_interval where status=1)
then (select max(end_time)-interval '4 s' from union_yuejuan_source_process.gp_time_interval where status=1)
else '2000-01-01 00:00:00' end) as start_time,
else '2000-01-01 00:00:00' end) as start_time</sql>
(case when (select count(id) from union_yuejuan_source_process.gp_time_interval where status=1)>0
then (select max(end_time)-interval '4 s' from union_yuejuan_source_process.gp_time_interval where status=1)
else '2000-01-01 00:00:00' end) as start_time_date</sql>
<limit>0</limit>
<limit>0</limit>
<lookup/>
<lookup/>
<execute_each_row>N</execute_each_row>
<execute_each_row>N</execute_each_row>
...
@@ -575,76 +561,6 @@ else '2000-01-01 00:00:00' end) as start_time_date</sql>
...
@@ -575,76 +561,6 @@ else '2000-01-01 00:00:00' end) as start_time_date</sql>
<draw>Y</draw>
<draw>Y</draw>
</GUI>
</GUI>
</step>
</step>
<step>
<name>字段选择</name>
<type>SelectValues</type>
<description/>
<distribute>Y</distribute>
<custom_distribution/>
<copies>1</copies>
<partitioning>
<method>none</method>
<schema_name/>
</partitioning>
<fields>
<field>
<name>start_time</name>
<rename/>
</field>
<field>
<name>start_time_date</name>
<rename/>
</field>
<select_unspecified>N</select_unspecified>
<meta>
<name>start_time</name>
<rename>start_time</rename>
<type>Timestamp</type>
<length>6</length>
<precision>-2</precision>
<conversion_mask/>
<date_format_lenient>false</date_format_lenient>
<date_format_locale/>
<date_format_timezone/>
<lenient_string_to_number>false</lenient_string_to_number>
<encoding/>
<decimal_symbol/>
<grouping_symbol/>
<currency_symbol/>
<storage_type/>
</meta>
<meta>
<name>start_time_date</name>
<rename>start_time_date</rename>
<type>Date</type>
<length>-2</length>
<precision>-2</precision>
<conversion_mask>yyyy/MM/dd</conversion_mask>
<date_format_lenient>false</date_format_lenient>
<date_format_locale/>
<date_format_timezone/>
<lenient_string_to_number>false</lenient_string_to_number>
<encoding/>
<decimal_symbol/>
<grouping_symbol/>
<currency_symbol/>
<storage_type/>
</meta>
</fields>
<attributes/>
<cluster_schema/>
<remotesteps>
<input>
</input>
<output>
</output>
</remotesteps>
<GUI>
<xloc>304</xloc>
<yloc>160</yloc>
<draw>Y</draw>
</GUI>
</step>
<step_error_handling>
<step_error_handling>
</step_error_handling>
</step_error_handling>
<slave-step-copy-partition-distribution>
<slave-step-copy-partition-distribution>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment