Commit 6a60138b by zsy

zsy

parent 1d14496b
......@@ -428,7 +428,7 @@
<created_user>admin</created_user>
<created_date>2021/03/03 10:49:15.361</created_date>
<modified_user>admin</modified_user>
<modified_date>2021/03/12 15:14:09.696</modified_date>
<modified_date>2021/03/12 15:31:39.192</modified_date>
<key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key>
<is_key_private>N</is_key_private>
</info>
......@@ -498,8 +498,8 @@
</hop>
</order>
<step>
<name>Table input</name>
<type>TableInput</type>
<name>Set Variables</name>
<type>SetVariable</type>
<description/>
<distribute>Y</distribute>
<custom_distribution/>
......@@ -508,19 +508,21 @@
<method>none</method>
<schema_name/>
</partitioning>
<connection>intelligent_monitor_greenplum_neiwang</connection>
<sql>select
(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,
(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>
<lookup/>
<execute_each_row>N</execute_each_row>
<variables_active>N</variables_active>
<lazy_conversion_active>N</lazy_conversion_active>
<fields>
<field>
<field_name>start_time</field_name>
<variable_name>start_time</variable_name>
<variable_type>ROOT_JOB</variable_type>
<default_value/>
</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>
<use_formatting>Y</use_formatting>
<attributes/>
<cluster_schema/>
<remotesteps>
......@@ -530,14 +532,14 @@ else '2000-01-01 00:00:00' end) as start_time_date</sql>
</output>
</remotesteps>
<GUI>
<xloc>176</xloc>
<xloc>480</xloc>
<yloc>160</yloc>
<draw>Y</draw>
</GUI>
</step>
<step>
<name>Set Variables</name>
<type>SetVariable</type>
<name>Table input</name>
<type>TableInput</type>
<description/>
<distribute>Y</distribute>
<custom_distribution/>
......@@ -546,21 +548,19 @@ else '2000-01-01 00:00:00' end) as start_time_date</sql>
<method>none</method>
<schema_name/>
</partitioning>
<fields>
<field>
<field_name>start_time</field_name>
<variable_name>start_time</variable_name>
<variable_type>ROOT_JOB</variable_type>
<default_value/>
</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>
<use_formatting>Y</use_formatting>
<connection>intelligent_monitor_greenplum_neiwang</connection>
<sql>select
(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,
(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>
<lookup/>
<execute_each_row>N</execute_each_row>
<variables_active>N</variables_active>
<lazy_conversion_active>N</lazy_conversion_active>
<attributes/>
<cluster_schema/>
<remotesteps>
......@@ -570,7 +570,7 @@ else '2000-01-01 00:00:00' end) as start_time_date</sql>
</output>
</remotesteps>
<GUI>
<xloc>480</xloc>
<xloc>176</xloc>
<yloc>160</yloc>
<draw>Y</draw>
</GUI>
......@@ -619,7 +619,7 @@ else '2000-01-01 00:00:00' end) as start_time_date</sql>
<type>Date</type>
<length>6</length>
<precision>-2</precision>
<conversion_mask/>
<conversion_mask>yyyy-MM-dd</conversion_mask>
<date_format_lenient>false</date_format_lenient>
<date_format_locale/>
<date_format_timezone/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment