Monday, September 5, 2022

[Tips] Pentaho - How to Add a New Column to the Stream?

 

Scenario

It is common to add a timestamp field to a table so that timestamp of a record update can be recorded. In Spoon, system date can be obtained by [Get system info] step which produces one column and one value. 

To merge it into the stream with multiply rows and columns, [Join rows (cartesian product)] step can be used.

Example


Preview [Generate rows] :

 Preview [Get system info] :


Output: (Preview [Join rows (cartesian product)])

No comments:

Post a Comment

AI Tools - AntiGravity・Kiroを使ってみよう

Last updated on: AIの開発は加速しています。産業への応用も繰り広がり、手軽に使えるようになりました。システム開発においては、具体的な技術には差異がありますが、パターン化しやすい特徴があり、AIの適応性が優れているとも言えるでしょう。ここでは、AIツールを使ってア...