Let's have a closer look at sources and targets.
Each Data Source node connects the flowgraph with a source of data, usually an existing SAP HANA object. It does not need to be a physical table, but can be any object of your HDI container that provides a data set, even a table type. (A table type is a definition of a table structure, and it needs to be instantiated at runtime.)
A flowgraph doesn't need to begin with a Data Source node. It is possible to generate new data using two special nodes:
- The Row Generator creates one column that contains row IDs.
- The Date Generator creates one column that contains generated date values.
In both cases, you can specify a start value and an end value. The row generator generates a sequence of integers.
For the date generator node, the following increment step options are available:
- DAILY
- WEEKLY
- MONTHLY
For example, imagine you want to generate a column that contains the dates for all Sundays of 2024, you would define a start with January 7th, 2024 (the first Sunday), define an end with December 31st, 2024, and define a date increment of WEEKLY.