You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hop.apache.org by ha...@apache.org on 2022/05/02 09:45:05 UTC
[hop] branch master updated: [IT] test was incorrect pre-change
This is an automated email from the ASF dual-hosted git repository.
hansva pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hop.git
The following commit(s) were added to refs/heads/master by this push:
new 0679da717d [IT] test was incorrect pre-change
new ca0129875f Merge pull request #1476 from hansva/master
0679da717d is described below
commit 0679da717d00ea3937cbf6c8c8fc9e01695489d8
Author: Hans Van Akelyen <ha...@gmail.com>
AuthorDate: Mon May 2 11:41:54 2022 +0200
[IT] test was incorrect pre-change
---
.../database/0008-table-input-with-variable.hpl | 75 ++++++++++------------
1 file changed, 33 insertions(+), 42 deletions(-)
diff --git a/integration-tests/database/0008-table-input-with-variable.hpl b/integration-tests/database/0008-table-input-with-variable.hpl
index 3563421a49..2eafd8e519 100644
--- a/integration-tests/database/0008-table-input-with-variable.hpl
+++ b/integration-tests/database/0008-table-input-with-variable.hpl
@@ -78,10 +78,9 @@ limitations under the License.
<method>none</method>
<schema_name/>
</partitioning>
- <row_threshold>0</row_threshold>
- <message/>
- <always_log_rows>Y</always_log_rows>
<abort_option>ABORT_WITH_ERROR</abort_option>
+ <always_log_rows>Y</always_log_rows>
+ <row_threshold>0</row_threshold>
<attributes/>
<GUI>
<xloc>624</xloc>
@@ -100,11 +99,11 @@ limitations under the License.
<schema_name/>
</partitioning>
<connection>unit-test-db</connection>
+ <execute_each_row>Y</execute_each_row>
+ <lookup>key variable</lookup>
+ <limit>0</limit>
<sql>select * from public.testtable
where key = ?</sql>
- <limit>0</limit>
- <lookup>key variable</lookup>
- <execute_each_row>Y</execute_each_row>
<variables_active>N</variables_active>
<attributes/>
<GUI>
@@ -134,7 +133,7 @@ where key = ?</sql>
<value>
<name>constant</name>
<type>Integer</type>
- <text>1</text>
+ <text>0</text>
<length>-1</length>
<precision>0</precision>
<isnull>N</isnull>
@@ -159,24 +158,21 @@ where key = ?</sql>
<method>none</method>
<schema_name/>
</partitioning>
- <all_rows>N</all_rows>
- <ignore_aggregate>N</ignore_aggregate>
- <field_ignore/>
- <directory>${java.io.tmpdir}</directory>
- <prefix>grp</prefix>
<add_linenr>N</add_linenr>
- <linenr_fieldname/>
- <give_back_row>N</give_back_row>
- <group>
- </group>
+ <ignore_aggregate>N</ignore_aggregate>
<fields>
<field>
<aggregate>value</aggregate>
<subject>value</subject>
<type>COUNT_ANY</type>
- <valuefield/>
</field>
</fields>
+ <give_back_row>Y</give_back_row>
+ <directory>${java.io.tmpdir}</directory>
+ <group>
+</group>
+ <all_rows>N</all_rows>
+ <prefix>grp</prefix>
<attributes/>
<GUI>
<xloc>496</xloc>
@@ -184,8 +180,8 @@ where key = ?</sql>
</GUI>
</transform>
<transform>
- <name>success</name>
- <type>Dummy</type>
+ <name>key variable</name>
+ <type>RowGenerator</type>
<description/>
<distribute>Y</distribute>
<custom_distribution/>
@@ -194,15 +190,29 @@ where key = ?</sql>
<method>none</method>
<schema_name/>
</partitioning>
+ <fields>
+ <field>
+ <length>-1</length>
+ <name>variable</name>
+ <precision>-1</precision>
+ <set_empty_string>N</set_empty_string>
+ <type>String</type>
+ </field>
+ </fields>
+ <interval_in_ms>5000</interval_in_ms>
+ <last_time_field>FiveSecondsAgo</last_time_field>
+ <never_ending>N</never_ending>
+ <limit>1</limit>
+ <row_time_field>now</row_time_field>
<attributes/>
<GUI>
- <xloc>768</xloc>
+ <xloc>144</xloc>
<yloc>80</yloc>
</GUI>
</transform>
<transform>
- <name>key variable</name>
- <type>RowGenerator</type>
+ <name>success</name>
+ <type>Dummy</type>
<description/>
<distribute>Y</distribute>
<custom_distribution/>
@@ -211,28 +221,9 @@ where key = ?</sql>
<method>none</method>
<schema_name/>
</partitioning>
- <fields>
- <field>
- <name>variable</name>
- <type>String</type>
- <format/>
- <currency/>
- <decimal/>
- <group/>
- <nullif/>
- <length>-1</length>
- <precision>-1</precision>
- <set_empty_string>N</set_empty_string>
- </field>
- </fields>
- <limit>1</limit>
- <never_ending>N</never_ending>
- <interval_in_ms>5000</interval_in_ms>
- <row_time_field>now</row_time_field>
- <last_time_field>FiveSecondsAgo</last_time_field>
<attributes/>
<GUI>
- <xloc>144</xloc>
+ <xloc>768</xloc>
<yloc>80</yloc>
</GUI>
</transform>