| <?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>0044-coalesce-binary-string</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 11:17:47.076</created_date> |
| <modified_user>-</modified_user> |
| <modified_date>2021/05/18 11:17:47.076</modified_date> |
| <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> |
| <is_key_private>N</is_key_private> |
| </info> |
| <notepads> |
| </notepads> |
| <order> |
| <hop> |
| <from>CSV file input</from> |
| <to>Coalesce Fields</to> |
| <enabled>Y</enabled> |
| </hop> |
| <hop> |
| <from>Coalesce Fields</from> |
| <to>Select values</to> |
| <enabled>Y</enabled> |
| </hop> |
| <hop> |
| <from>Select values</from> |
| <to>Verify</to> |
| <enabled>Y</enabled> |
| </hop> |
| </order> |
| <transform> |
| <name>CSV file input</name> |
| <type>CSVInput</type> |
| <description/> |
| <distribute>Y</distribute> |
| <custom_distribution/> |
| <copies>1</copies> |
| <partitioning> |
| <method>none</method> |
| <schema_name/> |
| </partitioning> |
| <filename>${PROJECT_HOME}/files/coalesce-testfile.csv</filename> |
| <filename_field/> |
| <rownum_field/> |
| <include_filename>N</include_filename> |
| <separator>,</separator> |
| <enclosure>"</enclosure> |
| <header>Y</header> |
| <buffer_size>50000</buffer_size> |
| <lazy_conversion>Y</lazy_conversion> |
| <add_filename_result>N</add_filename_result> |
| <parallel>N</parallel> |
| <newline_possible>N</newline_possible> |
| <encoding/> |
| <fields> |
| <field> |
| <name>A</name> |
| <type>String</type> |
| <format/> |
| <currency>$</currency> |
| <decimal>,</decimal> |
| <group>.</group> |
| <length>2</length> |
| <precision>-1</precision> |
| <trim_type>none</trim_type> |
| </field> |
| <field> |
| <name>B</name> |
| <type>String</type> |
| <format/> |
| <currency>$</currency> |
| <decimal>,</decimal> |
| <group>.</group> |
| <length>2</length> |
| <precision>-1</precision> |
| <trim_type>none</trim_type> |
| </field> |
| <field> |
| <name>C</name> |
| <type>String</type> |
| <format/> |
| <currency>$</currency> |
| <decimal>,</decimal> |
| <group>.</group> |
| <length>2</length> |
| <precision>-1</precision> |
| <trim_type>none</trim_type> |
| </field> |
| </fields> |
| <attributes/> |
| <GUI> |
| <xloc>96</xloc> |
| <yloc>96</yloc> |
| </GUI> |
| </transform> |
| <transform> |
| <name>Coalesce Fields</name> |
| <type>Coalesce</type> |
| <description/> |
| <distribute>Y</distribute> |
| <custom_distribution/> |
| <copies>1</copies> |
| <partitioning> |
| <method>none</method> |
| <schema_name/> |
| </partitioning> |
| <fields> |
| <field> |
| <input>A, B, C</input> |
| <name>result</name> |
| <remove>N</remove> |
| <type>String</type> |
| </field> |
| <field> |
| <input>A, B</input> |
| <name>result2</name> |
| <remove>N</remove> |
| <type>String</type> |
| </field> |
| </fields> |
| <empty_is_null>Y</empty_is_null> |
| <attributes/> |
| <GUI> |
| <xloc>266</xloc> |
| <yloc>96</yloc> |
| </GUI> |
| </transform> |
| <transform> |
| <name>Select values</name> |
| <type>SelectValues</type> |
| <description/> |
| <distribute>Y</distribute> |
| <custom_distribution/> |
| <copies>1</copies> |
| <partitioning> |
| <method>none</method> |
| <schema_name/> |
| </partitioning> |
| <fields> |
| <select_unspecified>N</select_unspecified> |
| <meta> |
| <name>A</name> |
| <rename>A</rename> |
| <type>None</type> |
| <length>-2</length> |
| <precision>-2</precision> |
| <conversion_mask/> |
| <date_format_lenient>false</date_format_lenient> |
| <date_format_locale/> |
| <date_format_timezone/> |
| <lenient_string_to_number>false</lenient_string_to_number> |
| <encoding/> |
| <decimal_symbol/> |
| <grouping_symbol/> |
| <currency_symbol/> |
| <storage_type>normal</storage_type> |
| </meta> |
| <meta> |
| <name>B</name> |
| <rename>B</rename> |
| <type>None</type> |
| <length>-2</length> |
| <precision>-2</precision> |
| <conversion_mask/> |
| <date_format_lenient>false</date_format_lenient> |
| <date_format_locale/> |
| <date_format_timezone/> |
| <lenient_string_to_number>false</lenient_string_to_number> |
| <encoding/> |
| <decimal_symbol/> |
| <grouping_symbol/> |
| <currency_symbol/> |
| <storage_type>normal</storage_type> |
| </meta> |
| <meta> |
| <name>C</name> |
| <rename>C</rename> |
| <type>None</type> |
| <length>-2</length> |
| <precision>-2</precision> |
| <conversion_mask/> |
| <date_format_lenient>false</date_format_lenient> |
| <date_format_locale/> |
| <date_format_timezone/> |
| <lenient_string_to_number>false</lenient_string_to_number> |
| <encoding/> |
| <decimal_symbol/> |
| <grouping_symbol/> |
| <currency_symbol/> |
| <storage_type>normal</storage_type> |
| </meta> |
| <meta> |
| <name>result</name> |
| <rename>result</rename> |
| <type>None</type> |
| <length>-2</length> |
| <precision>-2</precision> |
| <conversion_mask/> |
| <date_format_lenient>false</date_format_lenient> |
| <date_format_locale/> |
| <date_format_timezone/> |
| <lenient_string_to_number>false</lenient_string_to_number> |
| <encoding/> |
| <decimal_symbol/> |
| <grouping_symbol/> |
| <currency_symbol/> |
| <storage_type>normal</storage_type> |
| </meta> |
| <meta> |
| <name>result2</name> |
| <rename>result2</rename> |
| <type>None</type> |
| <length>-2</length> |
| <precision>-2</precision> |
| <conversion_mask/> |
| <date_format_lenient>false</date_format_lenient> |
| <date_format_locale/> |
| <date_format_timezone/> |
| <lenient_string_to_number>false</lenient_string_to_number> |
| <encoding/> |
| <decimal_symbol/> |
| <grouping_symbol/> |
| <currency_symbol/> |
| <storage_type>normal</storage_type> |
| </meta> |
| </fields> |
| <attributes/> |
| <GUI> |
| <xloc>436</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>606</xloc> |
| <yloc>96</yloc> |
| </GUI> |
| </transform> |
| <transform_error_handling> |
| </transform_error_handling> |
| <attributes/> |
| </pipeline> |