How to use data from a connection as source for a table recipe
You can use file based datasets from your catalog as source for your table recipes. If your data is stored in a connection, you can still use it by using one of the two following methods.
Creating a dataset from a connection
As long as your data is stored in a database or data warehouse, it can be used to create new datasets.
-
From the launcher menu, select Analytics > Create or Analytics > Prepare data.
-
Click Create new > Dataset.
-
In the menu that opens, select the connection where your data is stored and click Next.
-
Browse your connection, select one or more tables to import as datasets using the check boxes, and click Next.
If you select multiple tables, each one will be turned into a different dataset.
-
Select the space in which to create the datasets, and click Create datasets.
Your new datasets, with data originating from a database or data warehouse, are added to your catalog and can be easily selected when setting a source in your table recipe.
Using a connection type source in a data flow
Another way to use table recipe to prepare data stored in a connection is to use the native support of connections as sources in a data flow, and then use the Table recipe processor in your flow. For more information on how to use Data flow, see Building a data flow.
-
Create a new data flow.
-
Use the connection where your data is stored as source for the flow.
-
Add a Table recipe to the canvas.
-
Add a target to configure the output of the recipe.
-
Link the different nodes together to create a flow.
-
Click the Table recipe processor and in the configuration panel on the right, select the Edit table recipe icon.
The embedded version of Table recipe opens and you can start preparing your table.
-
When your recipe is ready, click Return to data flow.
-
Check that the flow is valid, and click Run flow to apply the recipe to the data and generate your output.