| <?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>0009-coalesce-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>fields metadata</from> |
| <to>ETL metadata injection</to> |
| <enabled>Y</enabled> |
| </hop> |
| <hop> |
| <from>transform 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}/0009-coalesce-child.hpl</filename> |
| <source_transform>Output</source_transform> |
| <source_output_fields> |
| <source_output_field> |
| <source_output_field_name>A</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>B</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>C</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>result</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>Coalesce Fields</target_transform_name> |
| <target_attribute_key>TYPE</target_attribute_key> |
| <target_detail>Y</target_detail> |
| <source_transform>fields metadata</source_transform> |
| <source_field>type</source_field> |
| </mapping> |
| <mapping> |
| <target_transform_name>Coalesce Fields</target_transform_name> |
| <target_attribute_key>NAME</target_attribute_key> |
| <target_detail>Y</target_detail> |
| <source_transform>fields metadata</source_transform> |
| <source_field>name</source_field> |
| </mapping> |
| <mapping> |
| <target_transform_name>Coalesce Fields</target_transform_name> |
| <target_attribute_key>EMPTY_STRING_AS_NULLS</target_attribute_key> |
| <target_detail>N</target_detail> |
| <source_transform>transform metadata</source_transform> |
| <source_field>emptyNull?</source_field> |
| </mapping> |
| <mapping> |
| <target_transform_name>Coalesce Fields</target_transform_name> |
| <target_attribute_key>REMOVE_INPUT_FIELDS</target_attribute_key> |
| <target_detail>Y</target_detail> |
| <source_transform>fields metadata</source_transform> |
| <source_field>remove?</source_field> |
| </mapping> |
| <mapping> |
| <target_transform_name>Coalesce Fields</target_transform_name> |
| <target_attribute_key>INPUT_FIELDS</target_attribute_key> |
| <target_detail>Y</target_detail> |
| <source_transform>fields metadata</source_transform> |
| <source_field>inputs</source_field> |
| </mapping> |
| </mappings> |
| <attributes/> |
| <GUI> |
| <xloc>272</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>448</xloc> |
| <yloc>96</yloc> |
| </GUI> |
| </transform> |
| <transform> |
| <name>transform metadata</name> |
| <type>DataGrid</type> |
| <description/> |
| <distribute>Y</distribute> |
| <custom_distribution/> |
| <copies>1</copies> |
| <partitioning> |
| <method>none</method> |
| <schema_name/> |
| </partitioning> |
| <fields> |
| <field> |
| <name>emptyNull?</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>false</item> |
| </line> |
| </data> |
| <attributes/> |
| <GUI> |
| <xloc>80</xloc> |
| <yloc>144</yloc> |
| </GUI> |
| </transform> |
| <transform> |
| <name>fields metadata</name> |
| <type>DataGrid</type> |
| <description/> |
| <distribute>Y</distribute> |
| <custom_distribution/> |
| <copies>1</copies> |
| <partitioning> |
| <method>none</method> |
| <schema_name/> |
| </partitioning> |
| <fields> |
| <field> |
| <name>name</name> |
| <type>String</type> |
| <format/> |
| <currency/> |
| <decimal/> |
| <group/> |
| <length>-1</length> |
| <precision>-1</precision> |
| <set_empty_string>N</set_empty_string> |
| </field> |
| <field> |
| <name>remove?</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>inputs</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>result</item> |
| <item>N</item> |
| <item>String</item> |
| <item>A,B,C</item> |
| </line> |
| </data> |
| <attributes/> |
| <GUI> |
| <xloc>80</xloc> |
| <yloc>48</yloc> |
| </GUI> |
| </transform> |
| <transform_error_handling> |
| </transform_error_handling> |
| <attributes/> |
| </pipeline> |