Would be nice if computed columns were treated like a programming language.
Right now, they are mapped to a specific path and column. But I have a specific use case, where a JSON column has meta data for a video, image and pdf file. Each JSON structure is completely different. So a computed column cannot be used.
Would be nice if I was able to say.
For computed column Width: If column == “image”, path == …
For computed column Width: If column == “video”, path == …
For computed column Width: If column == “pdf”, path == …
Thanks for the example, but I think I will wait for the UDF. So far, I’m peeling away the data points from JSON and updating the individual columns that I’m going to search on.
It works for now. Will refactor when the UDF is out because I have some complex use cases.