blob: fce357e83ba5c12f57c30c31ef878c5702cae559 [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>0019-split-field-to-rows-basic</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/31 11:03:53.303</created_date>
<modified_user>-</modified_user>
<modified_date>2021/05/31 11:03:53.303</modified_date>
<key_for_session_key/>
<is_key_private>N</is_key_private>
</info>
<notepads>
</notepads>
<order>
<hop>
<from>Sample input</from>
<to>Split movie to movies</to>
<enabled>Y</enabled>
</hop>
<hop>
<from>Split movie to movies</from>
<to>Verify</to>
<enabled>Y</enabled>
</hop>
</order>
<transform>
<name>Split movie to movies</name>
<type>SplitFieldToRows3</type>
<description/>
<distribute>Y</distribute>
<custom_distribution/>
<copies>1</copies>
<partitioning>
<method>none</method>
<schema_name/>
</partitioning>
<splitfield>movies</splitfield>
<delimiter>,\s*</delimiter>
<newfield>movie</newfield>
<rownum>Y</rownum>
<rownum_field>movieNr</rownum_field>
<resetrownumber>Y</resetrownumber>
<delimiter_is_regex>Y</delimiter_is_regex>
<attributes/>
<GUI>
<xloc>320</xloc>
<yloc>96</yloc>
</GUI>
</transform>
<transform>
<name>Sample input</name>
<type>DataGrid</type>
<description/>
<distribute>Y</distribute>
<custom_distribution/>
<copies>1</copies>
<partitioning>
<method>none</method>
<schema_name/>
</partitioning>
<fields>
<field>
<name>id</name>
<type>Integer</type>
<format/>
<currency/>
<decimal/>
<group/>
<length>-1</length>
<precision>-1</precision>
<set_empty_string>N</set_empty_string>
</field>
<field>
<name>character</name>
<type>String</type>
<format/>
<currency/>
<decimal/>
<group/>
<length>-1</length>
<precision>-1</precision>
<set_empty_string>N</set_empty_string>
</field>
<field>
<name>movies</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>1</item>
<item>Thor</item>
<item>Thor, The Avengers, Thor: The Dark World, Age of Ultron, Doctor Strange, Thor Ragnarok, Avengers: Infinity war, Avengers: Endgame, Thor: Love and Thunder</item>
</line>
<line>
<item>2</item>
<item>Iron Man</item>
<item>Iron Man, Iron Man 2, The Avengers, Iron Man 3, Avengers: Age of Ultron, Captain America: Civil War, Spider-Man: Homecoming, Avengers: Infinity war, Avengers: Endgame</item>
</line>
<line>
<item>3</item>
<item>Captain America</item>
<item>Captain America: The First Avenger, The Avengers, Captain America: The Winter Soldier, Avengers: Age of Ultron, Captain America: Civil War, Spider-Man: Homecoming, Avengers: Infinity War, Captain Marvel, Avengers: Endgame</item>
</line>
</data>
<attributes/>
<GUI>
<xloc>128</xloc>
<yloc>96</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>496</xloc>
<yloc>96</yloc>
</GUI>
</transform>
<transform_error_handling>
</transform_error_handling>
<attributes/>
</pipeline>