Reading data from a column in a struct and add column with this value in another struct in the avro message

14 views
Skip to first unread message

Yadhunath T

unread,
Apr 2, 2024, 12:25:41 PMApr 2
to ksqldb-users
Hi,

I have an avro message with structure like this.

before:{
a:'value',
b:'value'
}
after:{
a:'value',
b:'value'
}
source:{
'ts':'value'
}
I need to alter structure like below -  (ie adding 'ts' in after struct)
before:{
a:'value',
b:'value'
}
after:{
a:'value',
b:'value',
'ts':'value'
}
source:{
'ts':'value'
}

Is it possible to implement it ?
Appreciate it if somebody could advise me.

Reply all
Reply to author
Forward
0 new messages