0

How to add a new column in target with static values in GCP Data Fusion (with/without wrangler)?

nomadSK25
  • 2,350
  • 3
  • 25
  • 36
  • What is your use case? It would also help to see what did you try, what your pipeline looked like, etc. for us to replicate your scenario. – Anjela B Apr 15 '22 at 01:19

1 Answers1

2

If what you want to do is add a new column named static with the same constant value for each record, say x, you can do so using the set-column directive in wrangler. The expression would look as follows:

set-column :static 'x'

This directive should be entered in the terminal you see at the bottom when wrangler is open.

Arjan Singh Bal
  • 133
  • 1
  • 8