https://pinot.apache.org/ logo
#general
Title
# general
p

Pedro Silva

05/13/2021, 3:24 PM
Hello, If updating an existing realtime table with a new transformConfig, is the transformed field automatically computed for existing segments or is there some endpoint I need to call to force that computation? The same question but for altering an existing transformConfig.
🙌 1
m

Mayank

05/13/2021, 3:28 PM
Afaik auto recompute of transforms is not supported.
p

Pedro Silva

05/13/2021, 3:29 PM
So I need to recreate the table to force the update?
m

Mayank

05/13/2021, 3:33 PM
Yeah. @User can you also confirm
n

Neha Pawar

05/13/2021, 3:57 PM
You have to call reload segments api
m

Mayank

05/13/2021, 3:58 PM
@User Is that supported for realtime also?
n

Neha Pawar

05/13/2021, 3:58 PM
It should work same for the completed segments
m

Mayank

05/13/2021, 3:58 PM
I see. I stand corrected then.
@User
n

Neha Pawar

05/13/2021, 3:59 PM
Note that it will only work if the arguments to the new transform function are already present
m

Mayank

05/13/2021, 3:59 PM
Could we document this @User
p

Pedro Silva

05/13/2021, 3:59 PM
Perfect, sounds just like my use-case thank you both!