| <?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-nulls</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/12/21 15:52:05.213</created_date> |
| <modified_user>-</modified_user> |
| <modified_date>2021/12/21 15:52:05.213</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/nulls.parquet</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>remove filename</to> |
| <enabled>Y</enabled> |
| </hop> |
| <hop> |
| <from>remove filename</from> |
| <to>Validate</to> |
| <enabled>Y</enabled> |
| </hop> |
| </order> |
| <transform> |
| <name>${java.io.tmpdir}/it/parquet/nulls.parquet</name> |
| <type>GetFileNames</type> |
| <description/> |
| <distribute>Y</distribute> |
| <custom_distribution/> |
| <copies>1</copies> |
| <partitioning> |
| <method>none</method> |
| <schema_name/> |
| </partitioning> |
| <isaddresult>Y</isaddresult> |
| <doNotFailIfNoFile>N</doNotFailIfNoFile> |
| <dynamic_include_subfolders>N</dynamic_include_subfolders> |
| <filefield>N</filefield> |
| <file> |
| <name>${java.io.tmpdir}/it/parquet/nulls.parquet</name> |
| <file_required>N</file_required> |
| <include_subfolders>N</include_subfolders> |
| </file> |
| <file> |
| <file_required>N</file_required> |
| <include_subfolders>N</include_subfolders> |
| </file> |
| <filter> |
| <filterfiletype>all_files</filterfiletype> |
| </filter> |
| <rownum>N</rownum> |
| <raiseAnExceptionIfNoFile>N</raiseAnExceptionIfNoFile> |
| <limit>0</limit> |
| <attributes/> |
| <GUI> |
| <xloc>160</xloc> |
| <yloc>96</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_format/> |
| <target_length/> |
| <target_precision/> |
| <target_type>Integer</target_type> |
| </field> |
| <field> |
| <source_field>str</source_field> |
| <target_field>str</target_field> |
| <target_format/> |
| <target_length/> |
| <target_precision/> |
| <target_type>String</target_type> |
| </field> |
| <field> |
| <source_field>num</source_field> |
| <target_field>num</target_field> |
| <target_format/> |
| <target_length/> |
| <target_precision/> |
| <target_type>Number</target_type> |
| </field> |
| <field> |
| <source_field>dat</source_field> |
| <target_field>dat</target_field> |
| <target_format>yyyy/MM/dd HH:mm:ss</target_format> |
| <target_length/> |
| <target_precision/> |
| <target_type>Date</target_type> |
| </field> |
| <field> |
| <source_field>bool</source_field> |
| <target_field>bool</target_field> |
| <target_format/> |
| <target_length/> |
| <target_precision/> |
| <target_type>Boolean</target_type> |
| </field> |
| <field> |
| <source_field>big</source_field> |
| <target_field>big</target_field> |
| <target_format/> |
| <target_length>60</target_length> |
| <target_precision>30</target_precision> |
| <target_type>BigNumber</target_type> |
| </field> |
| </fields> |
| <filename_field>filename</filename_field> |
| <attributes/> |
| <GUI> |
| <xloc>512</xloc> |
| <yloc>96</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>352</xloc> |
| <yloc>96</yloc> |
| </GUI> |
| </transform> |
| <transform> |
| <name>Validate</name> |
| <type>Dummy</type> |
| <description/> |
| <distribute>Y</distribute> |
| <custom_distribution/> |
| <copies>1</copies> |
| <partitioning> |
| <method>none</method> |
| <schema_name/> |
| </partitioning> |
| <attributes/> |
| <GUI> |
| <xloc>784</xloc> |
| <yloc>96</yloc> |
| </GUI> |
| </transform> |
| <transform> |
| <name>remove filename</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> |
| <remove> |
| <name>filename</name> |
| </remove> |
| </fields> |
| <attributes/> |
| <GUI> |
| <xloc>640</xloc> |
| <yloc>96</yloc> |
| </GUI> |
| </transform> |
| <transform_error_handling> |
| </transform_error_handling> |
| <attributes/> |
| </pipeline> |