Hi all,
I am looking for a simple Denormalizer example using CTL. Please don’t point me to the Users guide or Wiki. I have already been to both places. What I am trying to do is fairly simple but I keep getting:
Thanks.
We are running 3.0. Probably not a bug. Most likely my misunderstanding. A simple example below.
Restaurant Rated
Name Category Score
Daniel Cost A
Daniel Service B
Daniel Food A+
Blue Hill Cost B-
Blue Hill Service A
Blue Hill Food B
Blue Hill Parking C
Antonio’s Cost A
Antonio’s Service B
Antonio’s Food A-
Now let’s say we are looking for a result like :
Daniel | A | B | A+
Blue Hill | B- | A | B | C
Antonio’s | A | B | A-
Is Normalizer a correct choice for this type of transformation?
If I understand correctly, we need to implement, at a minimum, a count() function, and a transform() function. What might they look like for the above example?
Thank you. I’ll study in detail but I’m wondering if the sample is using some feature not supported in my release (3.0)?
I say this because when I open the graph I see errors.
Unable to resolve input metadata ‘in’
Unable to resolve input metadata ‘out’
The sample has a Metadata named Result, and another named to_normalize_txt. I can change $in to $to_normalize_txt but I still get an error on the line
of code in transform:
$out.0.* = res.*;
I tried a number of things here but can’t get rid of the error. Anyway, thanks again, this might be enough to get me going in the right direction.