Skip to content

Transform pages: Samples section for Multi Mapping to Set Variables, addresses #9469 - #9728

Open
Adalennis wants to merge 1 commit into
apache:mainfrom
Adalennis:9469-batch6
Open

Adalennis wants to merge 1 commit into
apache:mainfrom
Adalennis:9469-batch6

Conversation

@Adalennis

Copy link
Copy Markdown
Contributor

Addresses #9469

Adds a Samples section to 32 transform pages, Multi Mapping to Set Variables. Each sentence was checked by running the sample with Hop built from main, except the PGP encrypt, Run SSH commands and SAS input samples, which need gpg and a key, an SSH server or a SAS file, and were checked from their settings.

  • Multi Mapping said that the samples project has parent/child examples for a generator, a join, an info lookup and multiple target outputs. Only transforms/multi-mapping-parent.hpl and transforms/multi-mapping-child.hpl exist, so that sentence is replaced by the Samples section. The paragraph about parameter passing that was under it moves to the end of the options.
  • Pipeline Executor and OData Input already named their sample in the text. That text now points to the Samples section, so the file names are in one place.
  • transforms/sample-rows.hpl used the range 1,3,5-7. Sample rows only knows .. for a range, as its page says, and skips any other part without a warning, so the sample returned 2 rows instead of 5. The range is now 1,3,5..7.

Left out of this batch, because their samples can't run as they are: the six bulk loaders (MonetDB, MS SQL Server, MySQL, PostgreSQL, Oracle, Redshift), whose Data grid doesn't have the fields they load; PGP decrypt stream, which uses the gpg wrapper of the integration tests and has no input; and Pipeline Data Probe, whose probe didn't run from hop-run. These go to a separate samples issue.


Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Run mvn clean install apache-rat:check to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
  • If you have a group of commits related to the same change, please squash your commits into one and force push your branch using git rebase -i.
  • Mention the appropriate issue in your description (for example: addresses #123), if applicable.

To make clear that you license your contribution under the Apache License Version 2.0, January 2004
you have to acknowledge this by using the following check-box.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant