blob: 1d88d98ddacbb1b824d49dd7c65f342c6685b6d8 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<pipeline>
<info>
<name>0008-analytic-query-parent</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>2021/05/18 09:27:42.368</created_date>
<modified_user>-</modified_user>
<modified_date>2021/05/18 09:27:42.368</modified_date>
<key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key>
<is_key_private>N</is_key_private>
</info>
<notepads>
</notepads>
<order>
<hop>
<from>query metadata</from>
<to>ETL metadata injection</to>
<enabled>Y</enabled>
</hop>
<hop>
<from>group metadata</from>
<to>ETL metadata injection</to>
<enabled>Y</enabled>
</hop>
<hop>
<from>ETL metadata injection</from>
<to>Verify</to>
<enabled>Y</enabled>
</hop>
</order>
<transform>
<name>ETL metadata injection</name>
<type>MetaInject</type>
<description/>
<distribute>Y</distribute>
<custom_distribution/>
<copies>1</copies>
<partitioning>
<method>none</method>
<schema_name/>
</partitioning>
<filename>${PROJECT_HOME}/0008-analytic-query-child.hpl</filename>
<source_transform>Output</source_transform>
<source_output_fields>
<source_output_field>
<source_output_field_name>X</source_output_field_name>
<source_output_field_type>String</source_output_field_type>
<source_output_field_length>-1</source_output_field_length>
<source_output_field_precision>-1</source_output_field_precision>
</source_output_field>
<source_output_field>
<source_output_field_name>Y</source_output_field_name>
<source_output_field_type>Integer</source_output_field_type>
<source_output_field_length>-1</source_output_field_length>
<source_output_field_precision>-1</source_output_field_precision>
</source_output_field>
<source_output_field>
<source_output_field_name>yLead1</source_output_field_name>
<source_output_field_type>Integer</source_output_field_type>
<source_output_field_length>-1</source_output_field_length>
<source_output_field_precision>-1</source_output_field_precision>
</source_output_field>
<source_output_field>
<source_output_field_name>yLead2</source_output_field_name>
<source_output_field_type>Integer</source_output_field_type>
<source_output_field_length>-1</source_output_field_length>
<source_output_field_precision>-1</source_output_field_precision>
</source_output_field>
<source_output_field>
<source_output_field_name>yLead3</source_output_field_name>
<source_output_field_type>Integer</source_output_field_type>
<source_output_field_length>-1</source_output_field_length>
<source_output_field_precision>-1</source_output_field_precision>
</source_output_field>
<source_output_field>
<source_output_field_name>yLead4</source_output_field_name>
<source_output_field_type>Integer</source_output_field_type>
<source_output_field_length>-1</source_output_field_length>
<source_output_field_precision>-1</source_output_field_precision>
</source_output_field>
<source_output_field>
<source_output_field_name>yLag1</source_output_field_name>
<source_output_field_type>Integer</source_output_field_type>
<source_output_field_length>-1</source_output_field_length>
<source_output_field_precision>-1</source_output_field_precision>
</source_output_field>
<source_output_field>
<source_output_field_name>yLag2</source_output_field_name>
<source_output_field_type>Integer</source_output_field_type>
<source_output_field_length>-1</source_output_field_length>
<source_output_field_precision>-1</source_output_field_precision>
</source_output_field>
<source_output_field>
<source_output_field_name>yLag3</source_output_field_name>
<source_output_field_type>Integer</source_output_field_type>
<source_output_field_length>-1</source_output_field_length>
<source_output_field_precision>-1</source_output_field_precision>
</source_output_field>
<source_output_field>
<source_output_field_name>yLag4</source_output_field_name>
<source_output_field_type>Integer</source_output_field_type>
<source_output_field_length>-1</source_output_field_length>
<source_output_field_precision>-1</source_output_field_precision>
</source_output_field>
</source_output_fields>
<target_file/>
<no_execution>N</no_execution>
<stream_source_transform/>
<stream_target_transform/>
<mappings>
<mapping>
<target_transform_name>Lead/Lag</target_transform_name>
<target_attribute_key>OUTPUT.VALUE_FIELD</target_attribute_key>
<target_detail>Y</target_detail>
<source_transform>query metadata</source_transform>
<source_field>offset</source_field>
</mapping>
<mapping>
<target_transform_name>Lead/Lag</target_transform_name>
<target_attribute_key>OUTPUT.AGGREGATE_FIELD</target_attribute_key>
<target_detail>Y</target_detail>
<source_transform>query metadata</source_transform>
<source_field>newField</source_field>
</mapping>
<mapping>
<target_transform_name>Lead/Lag</target_transform_name>
<target_attribute_key>OUTPUT.SUBJECT_FIELD</target_attribute_key>
<target_detail>Y</target_detail>
<source_transform>query metadata</source_transform>
<source_field>subject</source_field>
</mapping>
<mapping>
<target_transform_name>Lead/Lag</target_transform_name>
<target_attribute_key>GROUP_FIELDS</target_attribute_key>
<target_detail>Y</target_detail>
<source_transform>group metadata</source_transform>
<source_field>group</source_field>
</mapping>
<mapping>
<target_transform_name>Lead/Lag</target_transform_name>
<target_attribute_key>OUTPUT.AGGREGATE_TYPE</target_attribute_key>
<target_detail>Y</target_detail>
<source_transform>query metadata</source_transform>
<source_field>type</source_field>
</mapping>
</mappings>
<attributes/>
<GUI>
<xloc>304</xloc>
<yloc>144</yloc>
</GUI>
</transform>
<transform>
<name>Verify</name>
<type>Dummy</type>
<description/>
<distribute>Y</distribute>
<custom_distribution/>
<copies>1</copies>
<partitioning>
<method>none</method>
<schema_name/>
</partitioning>
<attributes/>
<GUI>
<xloc>480</xloc>
<yloc>144</yloc>
</GUI>
</transform>
<transform>
<name>group metadata</name>
<type>DataGrid</type>
<description/>
<distribute>Y</distribute>
<custom_distribution/>
<copies>1</copies>
<partitioning>
<method>none</method>
<schema_name/>
</partitioning>
<fields>
<field>
<name>group</name>
<type>String</type>
<format/>
<currency/>
<decimal/>
<group/>
<length>-1</length>
<precision>-1</precision>
<set_empty_string>N</set_empty_string>
</field>
</fields>
<data>
<line>
<item>X</item>
</line>
</data>
<attributes/>
<GUI>
<xloc>112</xloc>
<yloc>192</yloc>
</GUI>
</transform>
<transform>
<name>query metadata</name>
<type>DataGrid</type>
<description/>
<distribute>Y</distribute>
<custom_distribution/>
<copies>1</copies>
<partitioning>
<method>none</method>
<schema_name/>
</partitioning>
<fields>
<field>
<name>newField</name>
<type>String</type>
<format/>
<currency/>
<decimal/>
<group/>
<length>-1</length>
<precision>-1</precision>
<set_empty_string>N</set_empty_string>
</field>
<field>
<name>subject</name>
<type>String</type>
<format/>
<currency/>
<decimal/>
<group/>
<length>-1</length>
<precision>-1</precision>
<set_empty_string>N</set_empty_string>
</field>
<field>
<name>type</name>
<type>String</type>
<format/>
<currency/>
<decimal/>
<group/>
<length>-1</length>
<precision>-1</precision>
<set_empty_string>N</set_empty_string>
</field>
<field>
<name>offset</name>
<type>String</type>
<format/>
<currency/>
<decimal/>
<group/>
<length>-1</length>
<precision>-1</precision>
<set_empty_string>N</set_empty_string>
</field>
</fields>
<data>
<line>
<item>yLead1</item>
<item>Y</item>
<item>LEAD</item>
<item>1</item>
</line>
<line>
<item>yLead2</item>
<item>Y</item>
<item>LEAD</item>
<item>2</item>
</line>
<line>
<item>yLead3</item>
<item>Y</item>
<item>LEAD</item>
<item>2</item>
</line>
<line>
<item>yLead4</item>
<item>Y</item>
<item>LEAD</item>
<item>4</item>
</line>
<line>
<item>yLag1</item>
<item>Y</item>
<item>LAG</item>
<item>1</item>
</line>
<line>
<item>yLag2</item>
<item>Y</item>
<item>LAG</item>
<item>2</item>
</line>
<line>
<item>yLag3</item>
<item>Y</item>
<item>LAG</item>
<item>3</item>
</line>
<line>
<item>yLag4</item>
<item>Y</item>
<item>LAG</item>
<item>4</item>
</line>
</data>
<attributes/>
<GUI>
<xloc>112</xloc>
<yloc>96</yloc>
</GUI>
</transform>
<transform_error_handling>
</transform_error_handling>
<attributes/>
</pipeline>