| <?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>0012-string-cut-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/25 12:27:40.781</created_date> |
| <modified_user>-</modified_user> |
| <modified_date>2021/05/25 12:27:40.781</modified_date> |
| <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> |
| <is_key_private>N</is_key_private> |
| </info> |
| <notepads> |
| </notepads> |
| <order> |
| <hop> |
| <from>metadata</from> |
| <to>ETL metadata injection</to> |
| <enabled>Y</enabled> |
| </hop> |
| <hop> |
| <from>ETL metadata injection</from> |
| <to>Dummy (do nothing)</to> |
| <enabled>Y</enabled> |
| </hop> |
| </order> |
| <transform> |
| <name>Dummy (do nothing)</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>128</yloc> |
| </GUI> |
| </transform> |
| <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}/0012-string-cut-child.hpl</filename> |
| <source_transform>Verify</source_transform> |
| <source_output_fields> |
| <source_output_field> |
| <source_output_field_name>StringToCut</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>StringCutOut</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_fields> |
| <target_file/> |
| <no_execution>N</no_execution> |
| <stream_source_transform/> |
| <stream_target_transform/> |
| <mappings> |
| <mapping> |
| <target_transform_name>Strings cut</target_transform_name> |
| <target_attribute_key>FIELD_OUT_STREAM</target_attribute_key> |
| <target_detail>Y</target_detail> |
| <source_transform>metadata</source_transform> |
| <source_field>outfield</source_field> |
| </mapping> |
| <mapping> |
| <target_transform_name>Strings cut</target_transform_name> |
| <target_attribute_key>CUT_TO</target_attribute_key> |
| <target_detail>Y</target_detail> |
| <source_transform>metadata</source_transform> |
| <source_field>cutto</source_field> |
| </mapping> |
| <mapping> |
| <target_transform_name>Strings cut</target_transform_name> |
| <target_attribute_key>FIELD_IN_STREAM</target_attribute_key> |
| <target_detail>Y</target_detail> |
| <source_transform>metadata</source_transform> |
| <source_field>infield</source_field> |
| </mapping> |
| <mapping> |
| <target_transform_name>Strings cut</target_transform_name> |
| <target_attribute_key>CUT_FROM</target_attribute_key> |
| <target_detail>Y</target_detail> |
| <source_transform>metadata</source_transform> |
| <source_field>cutfrom</source_field> |
| </mapping> |
| </mappings> |
| <attributes/> |
| <GUI> |
| <xloc>288</xloc> |
| <yloc>128</yloc> |
| </GUI> |
| </transform> |
| <transform> |
| <name>metadata</name> |
| <type>DataGrid</type> |
| <description/> |
| <distribute>Y</distribute> |
| <custom_distribution/> |
| <copies>1</copies> |
| <partitioning> |
| <method>none</method> |
| <schema_name/> |
| </partitioning> |
| <fields> |
| <field> |
| <currency/> |
| <decimal/> |
| <set_empty_string>N</set_empty_string> |
| <format/> |
| <group/> |
| <length>-1</length> |
| <name>infield</name> |
| <precision>-1</precision> |
| <type>String</type> |
| </field> |
| <field> |
| <currency/> |
| <decimal/> |
| <set_empty_string>N</set_empty_string> |
| <format/> |
| <group/> |
| <length>-1</length> |
| <name>outfield</name> |
| <precision>-1</precision> |
| <type>String</type> |
| </field> |
| <field> |
| <currency/> |
| <decimal/> |
| <set_empty_string>N</set_empty_string> |
| <format/> |
| <group/> |
| <length>-1</length> |
| <name>cutfrom</name> |
| <precision>-1</precision> |
| <type>String</type> |
| </field> |
| <field> |
| <currency/> |
| <decimal/> |
| <set_empty_string>N</set_empty_string> |
| <format/> |
| <group/> |
| <length>-1</length> |
| <name>cutto</name> |
| <precision>-1</precision> |
| <type>String</type> |
| </field> |
| </fields> |
| <data> |
| <line> |
| <item>StringToCut</item> |
| <item>StringCutOut</item> |
| <item>0</item> |
| <item>5</item> |
| </line> |
| </data> |
| <attributes/> |
| <GUI> |
| <xloc>128</xloc> |
| <yloc>128</yloc> |
| </GUI> |
| </transform> |
| <transform_error_handling> |
| </transform_error_handling> |
| <attributes/> |
| </pipeline> |