| <?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>0029-parquet-input</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/06/10 15:15:08.923</created_date> |
| <modified_user>-</modified_user> |
| <modified_date>2021/06/10 15:15:08.923</modified_date> |
| <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> |
| <is_key_private>N</is_key_private> |
| </info> |
| <notepads> |
| </notepads> |
| <order> |
| <hop> |
| <from>${java.io.tmpdir}/it/parquet/customers.parquet.snappy</from> |
| <to>only filename</to> |
| <enabled>Y</enabled> |
| </hop> |
| <hop> |
| <from>only filename</from> |
| <to>Parquet File Input</to> |
| <enabled>Y</enabled> |
| </hop> |
| <hop> |
| <from>Parquet File Input</from> |
| <to>Verify</to> |
| <enabled>Y</enabled> |
| </hop> |
| </order> |
| <transform> |
| <name>${java.io.tmpdir}/it/parquet/customers.parquet.snappy</name> |
| <type>GetFileNames</type> |
| <description/> |
| <distribute>Y</distribute> |
| <custom_distribution/> |
| <copies>1</copies> |
| <partitioning> |
| <method>none</method> |
| <schema_name/> |
| </partitioning> |
| <filter> |
| <filterfiletype>all_files</filterfiletype> |
| </filter> |
| <doNotFailIfNoFile>N</doNotFailIfNoFile> |
| <rownum>N</rownum> |
| <isaddresult>Y</isaddresult> |
| <filefield>N</filefield> |
| <rownum_field/> |
| <filename_Field/> |
| <wildcard_Field/> |
| <exclude_wildcard_Field/> |
| <dynamic_include_subfolders>N</dynamic_include_subfolders> |
| <limit>0</limit> |
| <file> |
| <name>${java.io.tmpdir}/it/parquet/customers.parquet.snappy</name> |
| <filemask/> |
| <exclude_filemask/> |
| <file_required>N</file_required> |
| <include_subfolders>N</include_subfolders> |
| </file> |
| <attributes/> |
| <GUI> |
| <xloc>160</xloc> |
| <yloc>112</yloc> |
| </GUI> |
| </transform> |
| <transform> |
| <name>Parquet File Input</name> |
| <type>ParquetFileInput</type> |
| <description/> |
| <distribute>Y</distribute> |
| <custom_distribution/> |
| <copies>1</copies> |
| <partitioning> |
| <method>none</method> |
| <schema_name/> |
| </partitioning> |
| <fields> |
| <field> |
| <source_field>id</source_field> |
| <target_field>id</target_field> |
| <target_type>Integer</target_type> |
| </field> |
| <field> |
| <source_field>name</source_field> |
| <target_field>name</target_field> |
| <target_type>String</target_type> |
| </field> |
| <field> |
| <source_field>firstname</source_field> |
| <target_field>firstname</target_field> |
| <target_type>String</target_type> |
| </field> |
| <field> |
| <source_field>zip</source_field> |
| <target_field>zip</target_field> |
| <target_type>Integer</target_type> |
| </field> |
| <field> |
| <source_field>city</source_field> |
| <target_field>city</target_field> |
| <target_type>String</target_type> |
| </field> |
| <field> |
| <source_field>birthdate</source_field> |
| <target_field>birthdate</target_field> |
| <target_format>yyyy/MM/dd</target_format> |
| <target_type>Date</target_type> |
| </field> |
| <field> |
| <source_field>street</source_field> |
| <target_field>street</target_field> |
| <target_type>String</target_type> |
| </field> |
| <field> |
| <source_field>housenr</source_field> |
| <target_field>housenr</target_field> |
| <target_type>Integer</target_type> |
| </field> |
| <field> |
| <source_field>stateCode</source_field> |
| <target_field>stateCode</target_field> |
| <target_type>String</target_type> |
| </field> |
| <field> |
| <source_field>state</source_field> |
| <target_field>state</target_field> |
| <target_type>String</target_type> |
| </field> |
| </fields> |
| <filename_field>filename</filename_field> |
| <attributes/> |
| <GUI> |
| <xloc>480</xloc> |
| <yloc>112</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>624</xloc> |
| <yloc>112</yloc> |
| </GUI> |
| </transform> |
| <transform> |
| <name>only filename</name> |
| <type>SelectValues</type> |
| <description/> |
| <distribute>Y</distribute> |
| <custom_distribution/> |
| <copies>1</copies> |
| <partitioning> |
| <method>none</method> |
| <schema_name/> |
| </partitioning> |
| <fields> |
| <field> |
| <name>filename</name> |
| </field> |
| <select_unspecified>N</select_unspecified> |
| </fields> |
| <attributes/> |
| <GUI> |
| <xloc>336</xloc> |
| <yloc>112</yloc> |
| </GUI> |
| </transform> |
| <transform_error_handling> |
| </transform_error_handling> |
| <attributes/> |
| </pipeline> |