| <?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>0026-jdbc-metadata</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>2023/03/07 11:23:18.711</created_date> |
| <modified_user>-</modified_user> |
| <modified_date>2023/03/07 11:23:18.711</modified_date> |
| </info> |
| <notepads> |
| </notepads> |
| <order> |
| <hop> |
| <from>Get JDBC Metadata</from> |
| <to>count rows</to> |
| <enabled>Y</enabled> |
| </hop> |
| <hop> |
| <from>count rows</from> |
| <to>>= 1</to> |
| <enabled>Y</enabled> |
| </hop> |
| <hop> |
| <from>>= 1</from> |
| <to>Abort</to> |
| <enabled>Y</enabled> |
| </hop> |
| </order> |
| <transform> |
| <name>Get JDBC Metadata</name> |
| <type>JdbcMetadata</type> |
| <description/> |
| <distribute>Y</distribute> |
| <custom_distribution/> |
| <copies>1</copies> |
| <partitioning> |
| <method>none</method> |
| <schema_name/> |
| </partitioning> |
| <alwaysPassInputRow>N</alwaysPassInputRow> |
| <argumentSourceFields>N</argumentSourceFields> |
| <arguments> |
| </arguments> |
| <connection>unit-test-db</connection> |
| <methodName>getCatalogs</methodName> |
| <outputFields> |
| <outputField> |
| <name>TABLE_CAT</name> |
| <rename>TABLE_CAT</rename> |
| </outputField> |
| </outputFields> |
| <removeArgumentFields>N</removeArgumentFields> |
| <attributes/> |
| <GUI> |
| <xloc>112</xloc> |
| <yloc>96</yloc> |
| </GUI> |
| </transform> |
| <transform> |
| <name>count rows</name> |
| <type>GroupBy</type> |
| <description/> |
| <distribute>Y</distribute> |
| <custom_distribution/> |
| <copies>1</copies> |
| <partitioning> |
| <method>none</method> |
| <schema_name/> |
| </partitioning> |
| <add_linenr>N</add_linenr> |
| <all_rows>N</all_rows> |
| <directory>${java.io.tmpdir}</directory> |
| <fields> |
| <field> |
| <aggregate>counter</aggregate> |
| <subject/> |
| <type>COUNT_ANY</type> |
| <valuefield/> |
| </field> |
| </fields> |
| <give_back_row>Y</give_back_row> |
| <group> |
| </group> |
| <ignore_aggregate>N</ignore_aggregate> |
| <linenr_fieldname/> |
| <prefix>grp</prefix> |
| <attributes/> |
| <GUI> |
| <xloc>304</xloc> |
| <yloc>96</yloc> |
| </GUI> |
| </transform> |
| <transform> |
| <name>>= 1</name> |
| <type>FilterRows</type> |
| <description/> |
| <distribute>Y</distribute> |
| <custom_distribution/> |
| <copies>1</copies> |
| <partitioning> |
| <method>none</method> |
| <schema_name/> |
| </partitioning> |
| <compare> |
| <condition> |
| <conditions> |
| </conditions> |
| <function>>=</function> |
| <leftvalue>counter</leftvalue> |
| <negated>Y</negated> |
| <operator>-</operator> |
| <value> |
| <isnull>N</isnull> |
| <length>-1</length> |
| <mask>####0;-####0</mask> |
| <name>constant</name> |
| <precision>0</precision> |
| <text>1</text> |
| <type>Integer</type> |
| </value> |
| </condition> |
| </compare> |
| <attributes/> |
| <GUI> |
| <xloc>480</xloc> |
| <yloc>96</yloc> |
| </GUI> |
| </transform> |
| <transform> |
| <name>Abort</name> |
| <type>Abort</type> |
| <description/> |
| <distribute>Y</distribute> |
| <custom_distribution/> |
| <copies>1</copies> |
| <partitioning> |
| <method>none</method> |
| <schema_name/> |
| </partitioning> |
| <abort_option>ABORT_WITH_ERROR</abort_option> |
| <always_log_rows>Y</always_log_rows> |
| <message/> |
| <row_threshold>0</row_threshold> |
| <attributes/> |
| <GUI> |
| <xloc>624</xloc> |
| <yloc>96</yloc> |
| </GUI> |
| </transform> |
| <transform_error_handling> |
| </transform_error_handling> |
| <attributes/> |
| </pipeline> |