Hello,
We have some UDFs, for example, to normalize names so that "Jean-Paul" becomes "JEANPAUL". It's a combination of toUpper() and other logic to cleanup or normalize extra characters. From looking around, i think i have found a way to do this but it feels cumbersome:
- Table input with select nameFirst, nameLast, id from user
- Table input with parameters with select normalize(?) as nameFirstNorm, normalize(?) as nameLastNorm
- Insert/Update with "id" as lookup field, and nameFirstNorm, nameLastNorm as update fields
I have to do this for a number of use cases, so the scale of the number of such transformations i have to do is large. This feels cumbersome. I was wondering if there is some ability to do "normalize(nameFirst)" directly in the insert/Update step which would be much cleaner. I tried, but that didn't work, and i couldn't find any material related to such an ask. Separately, if this is not available, is this more because of time and resources to implement, or maybe some fundamental limit i am not understanding?
Thank you,
Laurent Hasson.