You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hop.apache.org by mc...@apache.org on 2021/03/27 14:11:24 UTC

[incubator-hop] branch master updated: HOP-2702 : Field Splitter transform integration test failure

This is an automated email from the ASF dual-hosted git repository.

mcasters pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-hop.git


The following commit(s) were added to refs/heads/master by this push:
     new c5d179e  HOP-2702 : Field Splitter transform integration test failure
     new be1c8e8  Merge pull request #712 from mattcasters/master
c5d179e is described below

commit c5d179ec3a60ca67558a3c3d3f1c54632d90387e
Author: Matt Casters <ma...@gmail.com>
AuthorDate: Sat Mar 27 15:10:24 2021 +0100

    HOP-2702 : Field Splitter transform integration test failure
---
 .../transforms/main-0003-field-splitter.hwf        | 71 ++++++++++++----------
 1 file changed, 39 insertions(+), 32 deletions(-)

diff --git a/integration-tests/transforms/main-0003-field-splitter.hwf b/integration-tests/transforms/main-0003-field-splitter.hwf
index 3b810cd..aab13f5 100644
--- a/integration-tests/transforms/main-0003-field-splitter.hwf
+++ b/integration-tests/transforms/main-0003-field-splitter.hwf
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <workflow>
-  <name>main-cassandra-input-output</name>
-  <name_sync_with_filename>N</name_sync_with_filename>
+  <name>main-0003-field-splitter</name>
+  <name_sync_with_filename>Y</name_sync_with_filename>
   <description/>
   <extended_description/>
   <workflow_version/>
@@ -37,11 +37,11 @@
       <attributes_hac/>
     </action>
     <action>
-      <name>cassandra-output-to-table.hpl</name>
+      <name>0003-field-splitter-enclosure</name>
       <description/>
       <type>PIPELINE</type>
       <attributes/>
-      <filename>${PROJECT_HOME}/tests/cassandra-input-output/cassandra-output-to-table.hpl</filename>
+      <filename>${PROJECT_HOME}/0003-field-splitter-enclosure.hpl</filename>
       <params_from_previous>N</params_from_previous>
       <exec_per_row>N</exec_per_row>
       <clear_rows>N</clear_rows>
@@ -61,16 +61,16 @@
         <pass_all_parameters>Y</pass_all_parameters>
       </parameters>
       <parallel>N</parallel>
-      <xloc>432</xloc>
+      <xloc>224</xloc>
       <yloc>64</yloc>
       <attributes_hac/>
     </action>
     <action>
-      <name>validate-tests-in-folder.hpl</name>
+      <name>0003-field-splitter-escape-string</name>
       <description/>
       <type>PIPELINE</type>
       <attributes/>
-      <filename>${PROJECT_HOME}/tests/shared/validate-tests-in-folder.hpl</filename>
+      <filename>${PROJECT_HOME}/0003-field-splitter-escape-string.hpl</filename>
       <params_from_previous>N</params_from_previous>
       <exec_per_row>N</exec_per_row>
       <clear_rows>N</clear_rows>
@@ -88,52 +88,60 @@
       <run_configuration>local</run_configuration>
       <parameters>
         <pass_all_parameters>Y</pass_all_parameters>
-        <parameter>
-          <name>PARENT_FOLDER</name>
-          <stream_name/>
-          <value>${Internal.Entry.Current.Folder}</value>
-        </parameter>
       </parameters>
       <parallel>N</parallel>
-      <xloc>624</xloc>
+      <xloc>416</xloc>
       <yloc>64</yloc>
       <attributes_hac/>
     </action>
     <action>
-      <name>CREATE KEYSPACE hop</name>
+      <name>0003-field-splitter-using-ids</name>
       <description/>
-      <type>CASSANDRA_EXEC_CQL</type>
+      <type>PIPELINE</type>
       <attributes/>
-      <connection>local</connection>
-      <script>CREATE KEYSPACE IF NOT EXISTS hop
-WITH replication = {'class':'SimpleStrategy', 'replication_factor' : 1}
-;
-</script>
-      <replace_variables>N</replace_variables>
+      <filename>${PROJECT_HOME}/0003-field-splitter-using-ids.hpl</filename>
+      <params_from_previous>N</params_from_previous>
+      <exec_per_row>N</exec_per_row>
+      <clear_rows>N</clear_rows>
+      <clear_files>N</clear_files>
+      <set_logfile>N</set_logfile>
+      <logfile/>
+      <logext/>
+      <add_date>N</add_date>
+      <add_time>N</add_time>
+      <loglevel>Basic</loglevel>
+      <set_append_logfile>N</set_append_logfile>
+      <wait_until_finished>Y</wait_until_finished>
+      <follow_abort_remote>N</follow_abort_remote>
+      <create_parent_folder>N</create_parent_folder>
+      <run_configuration>local</run_configuration>
+      <parameters>
+        <pass_all_parameters>Y</pass_all_parameters>
+      </parameters>
       <parallel>N</parallel>
-      <xloc>240</xloc>
+      <xloc>608</xloc>
       <yloc>64</yloc>
       <attributes_hac/>
     </action>
   </actions>
   <hops>
     <hop>
-      <from>cassandra-output-to-table.hpl</from>
-      <to>validate-tests-in-folder.hpl</to>
+      <from>Start</from>
+      <to>0003-field-splitter-enclosure</to>
       <enabled>Y</enabled>
       <evaluation>Y</evaluation>
-      <unconditional>N</unconditional>
+      <unconditional>Y</unconditional>
     </hop>
     <hop>
-      <from>Start</from>
-      <to>CREATE KEYSPACE hop</to>
+      <from>0003-field-splitter-enclosure</from>
+      <to>0003-field-splitter-escape-string</to>
       <enabled>Y</enabled>
       <evaluation>Y</evaluation>
-      <unconditional>Y</unconditional>
+      <unconditional>N</unconditional>
     </hop>
     <hop>
-      <from>CREATE KEYSPACE hop</from>
-      <to>cassandra-output-to-table.hpl</to>
+      <from>0003-field-splitter-escape-string</from>
+      <to>0003-field-splitter-using-ids</to>
       <enabled>Y</enabled>
       <evaluation>Y</evaluation>
       <unconditional>N</unconditional>
@@ -141,6 +149,5 @@ WITH replication = {'class':'SimpleStrategy', 'replication_factor' : 1}
   </hops>
   <notepads>
   </notepads>
-  <attributes>
-  </attributes>
+  <attributes/>
 </workflow>