| <?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>0021-row-denormaliser</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:45:59.943</created_date> |
| <modified_user>-</modified_user> |
| <modified_date>2021/05/31 11:45:59.943</modified_date> |
| <key_for_session_key/> |
| <is_key_private>N</is_key_private> |
| </info> |
| <notepads> |
| </notepads> |
| <order> |
| <hop> |
| <from>Input data</from> |
| <to>Row denormaliser: colors</to> |
| <enabled>Y</enabled> |
| </hop> |
| <hop> |
| <from>Row denormaliser: colors</from> |
| <to>Verify</to> |
| <enabled>Y</enabled> |
| </hop> |
| </order> |
| <transform> |
| <name>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>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>colorCode</name> |
| <type>String</type> |
| <format/> |
| <currency/> |
| <decimal/> |
| <group/> |
| <length>-1</length> |
| <precision>-1</precision> |
| <set_empty_string>N</set_empty_string> |
| </field> |
| <field> |
| <name>colorValue</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>white</item> |
| <item>0xFFFFFF</item> |
| </line> |
| <line> |
| <item>1</item> |
| <item>black</item> |
| <item>0x000000</item> |
| </line> |
| <line> |
| <item>2</item> |
| <item>red</item> |
| <item>0xFF0000</item> |
| </line> |
| <line> |
| <item>2</item> |
| <item>green</item> |
| <item>0x00FF00</item> |
| </line> |
| <line> |
| <item>2</item> |
| <item>blue</item> |
| <item>0X0000FF</item> |
| </line> |
| </data> |
| <attributes/> |
| <GUI> |
| <xloc>144</xloc> |
| <yloc>128</yloc> |
| </GUI> |
| </transform> |
| <transform> |
| <name>Row denormaliser: colors</name> |
| <type>Denormaliser</type> |
| <description/> |
| <distribute>Y</distribute> |
| <custom_distribution/> |
| <copies>1</copies> |
| <partitioning> |
| <method>none</method> |
| <schema_name/> |
| </partitioning> |
| <key_field>colorCode</key_field> |
| <group> |
| <field> |
| <name>id</name> |
| </field> |
| </group> |
| <fields> |
| <field> |
| <field_name>colorValue</field_name> |
| <key_value>white</key_value> |
| <target_name>colorWhite</target_name> |
| <target_type>String</target_type> |
| <target_format/> |
| <target_length>-1</target_length> |
| <target_precision>-1</target_precision> |
| <target_decimal_symbol/> |
| <target_grouping_symbol/> |
| <target_currency_symbol/> |
| <target_null_string/> |
| <target_aggregation_type>-</target_aggregation_type> |
| </field> |
| <field> |
| <field_name>colorValue</field_name> |
| <key_value>black</key_value> |
| <target_name>colorBlack</target_name> |
| <target_type>String</target_type> |
| <target_format/> |
| <target_length>-1</target_length> |
| <target_precision>-1</target_precision> |
| <target_decimal_symbol/> |
| <target_grouping_symbol/> |
| <target_currency_symbol/> |
| <target_null_string/> |
| <target_aggregation_type>-</target_aggregation_type> |
| </field> |
| <field> |
| <field_name>colorValue</field_name> |
| <key_value>red</key_value> |
| <target_name>colorRed</target_name> |
| <target_type>String</target_type> |
| <target_format/> |
| <target_length>-1</target_length> |
| <target_precision>-1</target_precision> |
| <target_decimal_symbol/> |
| <target_grouping_symbol/> |
| <target_currency_symbol/> |
| <target_null_string/> |
| <target_aggregation_type>-</target_aggregation_type> |
| </field> |
| <field> |
| <field_name>colorValue</field_name> |
| <key_value>green</key_value> |
| <target_name>colorGreen</target_name> |
| <target_type>String</target_type> |
| <target_format/> |
| <target_length>-1</target_length> |
| <target_precision>-1</target_precision> |
| <target_decimal_symbol/> |
| <target_grouping_symbol/> |
| <target_currency_symbol/> |
| <target_null_string/> |
| <target_aggregation_type>-</target_aggregation_type> |
| </field> |
| <field> |
| <field_name>colorValue</field_name> |
| <key_value>blue</key_value> |
| <target_name>colorBlue</target_name> |
| <target_type>String</target_type> |
| <target_format/> |
| <target_length>-1</target_length> |
| <target_precision>-1</target_precision> |
| <target_decimal_symbol/> |
| <target_grouping_symbol/> |
| <target_currency_symbol/> |
| <target_null_string/> |
| <target_aggregation_type>-</target_aggregation_type> |
| </field> |
| </fields> |
| <attributes/> |
| <GUI> |
| <xloc>304</xloc> |
| <yloc>128</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>128</yloc> |
| </GUI> |
| </transform> |
| <transform_error_handling> |
| </transform_error_handling> |
| <attributes/> |
| </pipeline> |