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

bamaer pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/hop.git


The following commit(s) were added to refs/heads/main by this push:
     new db6c9ecf08 Fix six samples that can't run in a standard installation, 
fixes #9406 (#9407)
db6c9ecf08 is described below

commit db6c9ecf084d5f24c4371726f632ec003a87631d
Author: Adalennis <[email protected]>
AuthorDate: Tue Nov 10 17:06:30 2026 +0100

    Fix six samples that can't run in a standard installation, fixes #9406 
(#9407)
---
 .../src/main/samples/transforms/dataset-input.hpl  |  6 +--
 .../src/main/samples/transforms/dataset-output.hpl |  8 +--
 .../main/samples/transforms/execute-unit-tests.hpl |  2 +-
 .../main/samples/transforms/data-stream-input.hpl  |  0
 .../main/samples/transforms/data-stream-output.hpl |  0
 .../metadata/execution-info-location/local.json    | 13 +++++
 .../samples/transforms/execution-information.hpl   | 58 +++++++++++++++++++---
 7 files changed, 73 insertions(+), 14 deletions(-)

diff --git a/plugins/misc/testing/src/main/samples/transforms/dataset-input.hpl 
b/plugins/misc/testing/src/main/samples/transforms/dataset-input.hpl
index f913d7ed72..862772bc84 100644
--- a/plugins/misc/testing/src/main/samples/transforms/dataset-input.hpl
+++ b/plugins/misc/testing/src/main/samples/transforms/dataset-input.hpl
@@ -37,7 +37,7 @@ limitations under the License.
   </info>
   <notepads>
     <notepad>
-      <note>Read the rows of a unit test data set. Create a data set named 
0108-data-set-output before running.</note>
+      <note>Read the rows of the unit test data set 
run-pipeline-tests-input.</note>
       <xloc>128</xloc>
       <yloc>16</yloc>
       <width>400</width>
@@ -61,8 +61,8 @@ limitations under the License.
   </order>
 <transform>
     <type>DataSetInput</type>
-    <name>golden-data-stream</name>
-    <dataSetName>golden-data-stream</dataSetName>
+    <name>read data set</name>
+    <dataSetName>run-pipeline-tests-input</dataSetName>
     <distribute>Y</distribute>
     <copies>1</copies>
     <partitioning>
diff --git 
a/plugins/misc/testing/src/main/samples/transforms/dataset-output.hpl 
b/plugins/misc/testing/src/main/samples/transforms/dataset-output.hpl
index 58cadabfdf..84b514e17b 100644
--- a/plugins/misc/testing/src/main/samples/transforms/dataset-output.hpl
+++ b/plugins/misc/testing/src/main/samples/transforms/dataset-output.hpl
@@ -37,7 +37,7 @@ limitations under the License.
   </info>
   <notepads>
     <notepad>
-      <note>Write rows to a unit test data set so it can be used in pipelines 
and unit tests.</note>
+      <note>Write rows to the unit test data set dataset-output. The first run 
creates the data set and its CSV file.</note>
       <xloc>128</xloc>
       <yloc>16</yloc>
       <width>400</width>
@@ -112,10 +112,10 @@ limitations under the License.
 <transform>
     <type>DataSetOutput</type>
     <name>write data set</name>
-    <dataSetName>0108-data-set-output</dataSetName>
+    <dataSetName>dataset-output</dataSetName>
     <folderName/>
-    <csvFilename>0108-data-set-output.csv</csvFilename>
-    <recreateDataSet>N</recreateDataSet>
+    <csvFilename>dataset-output.csv</csvFilename>
+    <recreateDataSet>Y</recreateDataSet>
     <validateDataSet>Y</validateDataSet>
     <distribute>Y</distribute>
     <copies>1</copies>
diff --git 
a/plugins/misc/testing/src/main/samples/transforms/execute-unit-tests.hpl 
b/plugins/misc/testing/src/main/samples/transforms/execute-unit-tests.hpl
index 2d7f8f1744..6323875a45 100644
--- a/plugins/misc/testing/src/main/samples/transforms/execute-unit-tests.hpl
+++ b/plugins/misc/testing/src/main/samples/transforms/execute-unit-tests.hpl
@@ -87,7 +87,7 @@ limitations under the License.
     </fields>
     <data>
       <line>
-        <item>sample-unit-test</item>
+        <item>run-pipeline-tests-unit</item>
       </line>
     </data>
     <attributes/>
diff --git 
a/plugins/transforms/datastream/src/main/samples/transforms/data-stream-input.hpl
 b/plugins/tech/arrow/src/main/samples/transforms/data-stream-input.hpl
similarity index 100%
rename from 
plugins/transforms/datastream/src/main/samples/transforms/data-stream-input.hpl
rename to plugins/tech/arrow/src/main/samples/transforms/data-stream-input.hpl
diff --git 
a/plugins/transforms/datastream/src/main/samples/transforms/data-stream-output.hpl
 b/plugins/tech/arrow/src/main/samples/transforms/data-stream-output.hpl
similarity index 100%
rename from 
plugins/transforms/datastream/src/main/samples/transforms/data-stream-output.hpl
rename to plugins/tech/arrow/src/main/samples/transforms/data-stream-output.hpl
diff --git 
a/plugins/transforms/execinfo/src/main/samples/metadata/execution-info-location/local.json
 
b/plugins/transforms/execinfo/src/main/samples/metadata/execution-info-location/local.json
new file mode 100644
index 0000000000..407acc8f01
--- /dev/null
+++ 
b/plugins/transforms/execinfo/src/main/samples/metadata/execution-info-location/local.json
@@ -0,0 +1,13 @@
+{
+  "executionInfoLocation": {
+    "local-folder": {
+      "pluginName": "File location",
+      "pluginId": "local-folder",
+      "rootFolder": "${HOP_AUDIT_FOLDER}/executions/"
+    }
+  },
+  "dataLoggingDelay": "2000",
+  "name": "local",
+  "description": "Executions recorded in the audit folder, used by the 
execution-information sample",
+  "dataLoggingInterval": "5000"
+}
diff --git 
a/plugins/transforms/execinfo/src/main/samples/transforms/execution-information.hpl
 
b/plugins/transforms/execinfo/src/main/samples/transforms/execution-information.hpl
index 4ad116456d..6ff14ffba4 100644
--- 
a/plugins/transforms/execinfo/src/main/samples/transforms/execution-information.hpl
+++ 
b/plugins/transforms/execinfo/src/main/samples/transforms/execution-information.hpl
@@ -37,7 +37,7 @@ limitations under the License.
   </info>
   <notepads>
     <notepad>
-      <note>List the executions recorded in the execution information location 
named local.</note>
+      <note>List up to 10 execution IDs recorded in the execution information 
location named local.</note>
       <xloc>128</xloc>
       <yloc>16</yloc>
       <width>400</width>
@@ -58,7 +58,53 @@ limitations under the License.
     </notepad>
   </notepads>
   <order>
+    <hop>
+      <from>search options</from>
+      <to>execution information</to>
+      <enabled>Y</enabled>
+    </hop>
   </order>
+<transform>
+    <name>search options</name>
+    <type>DataGrid</type>
+    <description/>
+    <distribute>Y</distribute>
+    <custom_distribution/>
+    <copies>1</copies>
+    <partitioning>
+      <method>none</method>
+      <schema_name/>
+    </partitioning>
+    <fields>
+      <field>
+        <name>include_children</name>
+        <type>Boolean</type>
+        <format></format>
+        <length>-1</length>
+        <precision>-1</precision>
+        <set_empty_string>N</set_empty_string>
+      </field>
+      <field>
+        <name>limit</name>
+        <type>Integer</type>
+        <format></format>
+        <length>-1</length>
+        <precision>-1</precision>
+        <set_empty_string>N</set_empty_string>
+      </field>
+    </fields>
+    <data>
+      <line>
+        <item>N</item>
+        <item>10</item>
+      </line>
+    </data>
+    <attributes/>
+    <GUI>
+      <xloc>128</xloc>
+      <yloc>160</yloc>
+    </GUI>
+  </transform>
 <transform>
     <name>execution information</name>
     <type>ExecInfo</type>
@@ -74,13 +120,13 @@ limitations under the License.
     <operationType>GetExecutionIds</operationType>
     <idFieldName/>
     <parentIdFieldName/>
-    <typeFieldName>type</typeFieldName>
-    <nameFieldName>name</nameFieldName>
-    <includeChildrenFieldName/>
-    <limitFieldName/>
+    <typeFieldName/>
+    <nameFieldName/>
+    <includeChildrenFieldName>include_children</includeChildrenFieldName>
+    <limitFieldName>limit</limitFieldName>
     <attributes/>
     <GUI>
-      <xloc>128</xloc>
+      <xloc>400</xloc>
       <yloc>160</yloc>
     </GUI>
   </transform>

Reply via email to