The use of Kettle's "increment sequence" (auto-increment field)

  "Increase sequence" is to add a field to the stream field. Simply put, this field can be regarded as a field marking the line number or a field with self-incrementing field value, and the starting value and increasing value will be determined according to the specific set value. , Here is how to use "Increase Sequence".

1. Core object -> Conversion -> Add sequence, drag this module to the conversion, as shown in the figure below
Insert picture description here
2. Configure parameters, set the starting value and growth value of the field, the starting value set here is 1, growth Up to 2, as shown in the figure below
Insert picture description here
3. The result data as shown in the figure below
Insert picture description here
is relatively simple to use. The result data can be used to observe the effect very well. Personally, I usually use less "increase sequence", but I will introduce it here. , I hope to provide some help to friends in need.

Guess you like

Origin blog.csdn.net/AnameJL/article/details/115207010