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 3d27e6ff41 [DOC] New adoc proposal for transforms
new f55ac2737a Merge pull request #1595 from hansva/master
3d27e6ff41 is described below
commit 3d27e6ff41bd318bcd6728d36b85fdbe086415c2
Author: Hans Van Akelyen <[email protected]>
AuthorDate: Fri Jul 15 10:26:38 2022 +0200
[DOC] New adoc proposal for transforms
---
.../modules/ROOT/assets/images/check_mark.svg | 1 +
.../modules/ROOT/assets/images/cross.svg | 1 +
.../modules/ROOT/assets/images/question_mark.svg | 1 +
.../ROOT/assets/images/transforms/icons/abort.svg | 14 ++++++++++++++
.../modules/ROOT/pages/pipeline/transforms/abort.adoc | 19 ++++++++++++++++---
5 files changed, 33 insertions(+), 3 deletions(-)
diff --git a/docs/hop-user-manual/modules/ROOT/assets/images/check_mark.svg
b/docs/hop-user-manual/modules/ROOT/assets/images/check_mark.svg
new file mode 100644
index 0000000000..f3ab4225ee
--- /dev/null
+++ b/docs/hop-user-manual/modules/ROOT/assets/images/check_mark.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" height="48" width="48"><path d="M18.9
35.7 7.7 24.5l2.15-2.15 9.05 9.05 19.2-19.2 2.15 2.15Z"/></svg>
\ No newline at end of file
diff --git a/docs/hop-user-manual/modules/ROOT/assets/images/cross.svg
b/docs/hop-user-manual/modules/ROOT/assets/images/cross.svg
new file mode 100644
index 0000000000..811c656021
--- /dev/null
+++ b/docs/hop-user-manual/modules/ROOT/assets/images/cross.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" height="48" width="48"><path d="m12.45
37.65-2.1-2.1L21.9 24 10.35 12.45l2.1-2.1L24 21.9l11.55-11.55 2.1 2.1L26.1
24l11.55 11.55-2.1 2.1L24 26.1Z"/></svg>
\ No newline at end of file
diff --git a/docs/hop-user-manual/modules/ROOT/assets/images/question_mark.svg
b/docs/hop-user-manual/modules/ROOT/assets/images/question_mark.svg
new file mode 100644
index 0000000000..c5921de0bf
--- /dev/null
+++ b/docs/hop-user-manual/modules/ROOT/assets/images/question_mark.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" height="48" width="48"><path d="M21.55
31.5q.05-3.6.825-5.25.775-1.65 2.925-3.6 2.1-1.9
3.225-3.525t1.125-3.475q0-2.25-1.5-3.75t-4.2-1.5q-2.6 0-4 1.475T17.9
14.95l-4.2-1.85q1.1-2.95 3.725-5.025T23.95 6q5 0 7.7 2.775t2.7 6.675q0
2.4-1.025 4.35-1.025 1.95-3.275 4.1-2.45 2.35-2.95 3.6t-.55 4Zm2.4 12.5q-1.45
0-2.475-1.025Q20.45 41.95 20.45 40.5q0-1.45 1.025-2.475Q22.5 37 23.95 37q1.45 0
2.475 1.025Q27.45 39.05 27.45 40.5q0 1.45-1.025 2.475Q25.4 44 23.9 [...]
\ No newline at end of file
diff --git
a/docs/hop-user-manual/modules/ROOT/assets/images/transforms/icons/abort.svg
b/docs/hop-user-manual/modules/ROOT/assets/images/transforms/icons/abort.svg
new file mode 100644
index 0000000000..3acb58ee41
--- /dev/null
+++ b/docs/hop-user-manual/modules/ROOT/assets/images/transforms/icons/abort.svg
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 17.0.0, SVG Export Plug-In . SVG Version:
6.00 Build 0) -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg version="1.1" xmlns="http://www.w3.org/2000/svg" x="0px" y="0px"
+ width="42px" height="42px" viewBox="0 0 42 42" enable-background="new 0 0
42 42">
+ <g>
+ <path fill="none"
d="M21.463,9.321c-6.562,0-11.9,5.338-11.9,11.9s5.338,11.9,11.9,11.9s11.9-5.338,11.9-11.9
+ S28.024,9.321,21.463,9.321z
M22.063,27.904h-1.2V14.537h1.2V27.904z"/>
+ <path fill="#EC0800"
d="M21.463,8.121c-7.223,0-13.1,5.877-13.1,13.1s5.877,13.1,13.1,13.1s13.1-5.877,13.1-13.1
+ S28.686,8.121,21.463,8.121z
M21.463,33.121c-6.562,0-11.9-5.338-11.9-11.9s5.338-11.9,11.9-11.9s11.9,5.338,11.9,11.9
+ S28.024,33.121,21.463,33.121z"/>
+ <rect x="20.863" y="14.537" fill="#EC0800" width="1.2"
height="13.367"/>
+ </g>
+</svg>
diff --git
a/docs/hop-user-manual/modules/ROOT/pages/pipeline/transforms/abort.adoc
b/docs/hop-user-manual/modules/ROOT/pages/pipeline/transforms/abort.adoc
index 33c526cd8c..a3f2a1d48c 100644
--- a/docs/hop-user-manual/modules/ROOT/pages/pipeline/transforms/abort.adoc
+++ b/docs/hop-user-manual/modules/ROOT/pages/pipeline/transforms/abort.adoc
@@ -19,17 +19,30 @@ under the License.
:description: The Abort tranform aborts a running pipeline as soon as it
receives input data. The main use case for this transform is to throw an error
when an unexpected or unwanted situation occurs.
-= Abort
+= Abort image:transforms/icons/abort.svg[Abort Icon ,role="image-bottom-align"]
+[%noheader,cols="3a,1a", role="table-no-borders" ]
+|===
+|
== Description
-
The Abort tranform aborts a running pipeline as soon as it receives input
data. The main use case for this transform is to throw an error when an
unexpected or unwanted situation occurs.
For example, you can use this transform so that a pipeline can be aborted
after x number of rows flow to over an error hop.
+|
+== Supported Engines
+[%noheader,cols="2,1a",frame=none, role="table-supported-engines"]
+!===
+!Hop Engine! image:check_mark.svg[Supported]
+!Spark! image:question_mark.svg[Maybe Supported]
+!Flink! image:question_mark.svg[Maybe Supported]
+!Dataflow! image:question_mark.svg[Maybe Supported]
+!===
+|===
+
== Options
-[width="90%",options="header"]
+[%header]
|===
|Option|Description
|Transform name|Name of the transform.