| <?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>0007-analytic-query-no-group</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>2020/12/16 12:25:44.129</created_date> |
| <modified_user>-</modified_user> |
| <modified_date>2020/12/16 12:25:44.129</modified_date> |
| <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> |
| <is_key_private>N</is_key_private> |
| </info> |
| <notepads> |
| </notepads> |
| <order> |
| <hop> |
| <from>Test input data</from> |
| <to>Lead/Lag</to> |
| <enabled>Y</enabled> |
| </hop> |
| <hop> |
| <from>Lead/Lag</from> |
| <to>Validate</to> |
| <enabled>Y</enabled> |
| </hop> |
| </order> |
| <transform> |
| <name>Lead/Lag</name> |
| <type>AnalyticQuery</type> |
| <description/> |
| <distribute>Y</distribute> |
| <custom_distribution/> |
| <copies>1</copies> |
| <partitioning> |
| <method>none</method> |
| <schema_name/> |
| </partitioning> |
| <group> |
| </group> |
| <fields> |
| <field> |
| <aggregate>yLead1</aggregate> |
| <subject>Y</subject> |
| <type>LEAD</type> |
| <valuefield>1</valuefield> |
| </field> |
| <field> |
| <aggregate>yLead2</aggregate> |
| <subject>Y</subject> |
| <type>LEAD</type> |
| <valuefield>2</valuefield> |
| </field> |
| <field> |
| <aggregate>yLead3</aggregate> |
| <subject>Y</subject> |
| <type>LEAD</type> |
| <valuefield>2</valuefield> |
| </field> |
| <field> |
| <aggregate>yLead4</aggregate> |
| <subject>Y</subject> |
| <type>LEAD</type> |
| <valuefield>4</valuefield> |
| </field> |
| <field> |
| <aggregate>yLead5</aggregate> |
| <subject>Y</subject> |
| <type>LEAD</type> |
| <valuefield>5</valuefield> |
| </field> |
| <field> |
| <aggregate>yLead6</aggregate> |
| <subject>Y</subject> |
| <type>LEAD</type> |
| <valuefield>6</valuefield> |
| </field> |
| <field> |
| <aggregate>yLead7</aggregate> |
| <subject>Y</subject> |
| <type>LEAD</type> |
| <valuefield>7</valuefield> |
| </field> |
| <field> |
| <aggregate>yLag1</aggregate> |
| <subject>Y</subject> |
| <type>LAG</type> |
| <valuefield>1</valuefield> |
| </field> |
| <field> |
| <aggregate>yLag2</aggregate> |
| <subject>Y</subject> |
| <type>LAG</type> |
| <valuefield>2</valuefield> |
| </field> |
| <field> |
| <aggregate>yLag3</aggregate> |
| <subject>Y</subject> |
| <type>LAG</type> |
| <valuefield>3</valuefield> |
| </field> |
| <field> |
| <aggregate>yLag4</aggregate> |
| <subject>Y</subject> |
| <type>LAG</type> |
| <valuefield>4</valuefield> |
| </field> |
| <field> |
| <aggregate>yLag5</aggregate> |
| <subject>Y</subject> |
| <type>LAG</type> |
| <valuefield>5</valuefield> |
| </field> |
| <field> |
| <aggregate>yLag6</aggregate> |
| <subject>Y</subject> |
| <type>LAG</type> |
| <valuefield>6</valuefield> |
| </field> |
| <field> |
| <aggregate>yLag7</aggregate> |
| <subject>Y</subject> |
| <type>LAG</type> |
| <valuefield>7</valuefield> |
| </field> |
| </fields> |
| <attributes/> |
| <GUI> |
| <xloc>288</xloc> |
| <yloc>96</yloc> |
| </GUI> |
| </transform> |
| <transform> |
| <name>Test input data</name> |
| <type>DataGrid</type> |
| <description/> |
| <distribute>Y</distribute> |
| <custom_distribution/> |
| <copies>1</copies> |
| <partitioning> |
| <method>none</method> |
| <schema_name/> |
| </partitioning> |
| <fields> |
| <field> |
| <name>X</name> |
| <type>String</type> |
| <format/> |
| <currency/> |
| <decimal/> |
| <group/> |
| <length>-1</length> |
| <precision>-1</precision> |
| <set_empty_string>N</set_empty_string> |
| </field> |
| <field> |
| <name>Y</name> |
| <type>Integer</type> |
| <format/> |
| <currency/> |
| <decimal/> |
| <group/> |
| <length>-1</length> |
| <precision>-1</precision> |
| <set_empty_string>N</set_empty_string> |
| </field> |
| </fields> |
| <data> |
| <line> |
| <item>aaa</item> |
| <item>1</item> |
| </line> |
| <line> |
| <item>aaa</item> |
| <item>2</item> |
| </line> |
| <line> |
| <item>aaa</item> |
| <item>3</item> |
| </line> |
| <line> |
| <item>bbb</item> |
| <item>4</item> |
| </line> |
| <line> |
| <item>bbb</item> |
| <item>5</item> |
| </line> |
| <line> |
| <item>bbb</item> |
| <item>6</item> |
| </line> |
| </data> |
| <attributes/> |
| <GUI> |
| <xloc>128</xloc> |
| <yloc>96</yloc> |
| </GUI> |
| </transform> |
| <transform> |
| <name>Validate</name> |
| <type>Dummy</type> |
| <description/> |
| <distribute>Y</distribute> |
| <custom_distribution/> |
| <copies>1</copies> |
| <partitioning> |
| <method>none</method> |
| <schema_name/> |
| </partitioning> |
| <attributes/> |
| <GUI> |
| <xloc>448</xloc> |
| <yloc>96</yloc> |
| </GUI> |
| </transform> |
| <transform_error_handling> |
| </transform_error_handling> |
| <attributes/> |
| </pipeline> |