Skip to content

Commit

Permalink
Merge pull request apache#4658 from Adalennis/4610
Browse files Browse the repository at this point in the history
Pipeline Executor and Workflow Executor + RESULT ROWS TAB - RESULT FILES TAB fields missing.fixes  apache#4610
  • Loading branch information
hansva authored Dec 5, 2024
2 parents d42541f + d403b5f commit 18df953
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -222,9 +222,42 @@ If you don't need a certain result simply leave a blank input field.

In the "Result rows" tab you can specify the layout of the expected result rows of this pipeline and to which transform to send them after execution.

[cols="2", options="header"]
|===
|Option |Description

|Target transform for result rows
|Use the drop-down menu to select a transform in the current pipeline as the target transform.

|Field name
|Specify the name of the field.

|Data type
|Use the drop-down menu to specify the data type of the field, such as number, date, or string.

|Length
|If applicable, specify the length of the data type specified.

|Precision
|If applicable, specify the precision to use.
|===


Please note that this transform will verify that the data type of the result row fields are identical to what is specified.
If there is a difference an error will be thrown.

=== Result Files Tab

Here you can specify where to send the result files from the pipeline execution.

[cols="2", options="header"]
|===
|Option |Description

|Target transform for result files information
|Use the drop-down menu to select a transform in the pipeline as the target transform.

|Result file name field
|Specify the name of the field for the result files.
|===

Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,40 @@ In the "Result rows" tab you can specify the layout of the expected result rows

The workflow executor performs a consistency check over the fields we declared in this tab as the fields that want to receive in output. The check will be performed by making sure the fields we require are really present in the results stream and that type of each fields is really the type we expected to be. If there are any differences an error will be thrown. The error will give you the complete picture about which fields are missing and/or which fields were declared by considering a wrong datatype.

[cols="2", options="header"]
|===
|Option |Description

|Target transform for result rows
|Use the drop-down menu to select a transform in the pipeline as the target transform.

|Field name
|Specify the name of the field.

|Data type
|Use the drop-down menu to specify the data type of the field, such as number, date, or string.

|Length
|If applicable, specify the length of the field.

|Precision
|If applicable, specify the precision to use.
|===


*Note*: remember that currently this transform always give you a result row back even if the pipelines started in the sub-workflow don't return any result. In this case, the result row that you will get back will contain only the fields provided by the flow as input of this transform.

=== Result Files Tab

Here you can specify where to send the result files from the workflow execution.

[cols="2", options="header"]
|===
|Option |Description

|Target transform for result files information
|Use the drop-down menu to select a transform in the pipeline as the target transform.

|Result file name field
|Specify the name of the field for the result files.
|===

0 comments on commit 18df953

Please sign in to comment.