Problem with Feeder Processing in PA

Post Reply
User avatar
PavoGa
MVP
Posts: 617
Joined: Thu Apr 18, 2013 6:59 pm
OLAP Product: TM1
Version: 10.2.2 FP7, PA2.0.9.1
Excel Version: 2013 PAW
Location: Charleston, Tennessee

Problem with Feeder Processing in PA

Post by PavoGa »

Since we upgraded to 2.0.9.1, we are seeing some issues with feeders.

Code: Select all

# test.Feeders.RUX

SKIPCHECK;


[{'202101', '202102', '202103'}, 'ClosedFlag'] = N:['OpenFlagConstant'] * 1;

[{'202101', '202102', '202103'}, 'PlanCalcFlag'] = N:['OpenFlagConstant'] * 2;


FEEDERS;

# 1
# does not feed PlanCalcFlag
[{'202101', '202102'}, 'OpenFlagConstant'] => ['ClosedFlag'], ['PlanCalcFlag'];

# 2
# this feeds PlanCalcFlag
['202101', 'OpenFlagConstant'] => ['ClosedFlag'];
['202102', 'OpenFlagConstant'] => ['PlanCalcFlag'];

# 3
# this feeds ClosedFlag, but not PlanCalcFlag for 202103
['OpenFlagConstant'] => ['ClosedFlag'], ['PlanCalcFlag'];

# 4
# This feeds both measures for 202103
['OpenFlagConstant'] => ['ClosedFlag'];
['OpenFlagConstant'] => ['PlanCalcFlag'];
Have also used fully qualified elements (ex: ['measure':'ClosedFlag'], ['measure':'PlanCalcFlag'] ) and it does not work either.

Additionally, CubeProcessFeeders does nothing to alleviate this. Is anyone else seeing problems with feeders in this version?
Last edited by PavoGa on Mon Nov 02, 2020 7:23 pm, edited 1 time in total.
Ty
Cleveland, TN
tomok
MVP
Posts: 2831
Joined: Tue Feb 16, 2010 2:39 pm
OLAP Product: TM1, Palo
Version: Beginning of time thru 10.2
Excel Version: 2003-2007-2010-2013
Location: Atlanta, GA
Contact:

Re: Problem with Feeder Processing in PA

Post by tomok »

I wasn't aware you could list more than one element in the same dimension on the right-hand side in a feeder and have it work. I have always created a C element for those situations and fed that.
Tom O'Kelley - Manager Finance Systems
American Tower
http://www.onlinecourtreservations.com/
User avatar
PavoGa
MVP
Posts: 617
Joined: Thu Apr 18, 2013 6:59 pm
OLAP Product: TM1
Version: 10.2.2 FP7, PA2.0.9.1
Excel Version: 2013 PAW
Location: Charleston, Tennessee

Re: Problem with Feeder Processing in PA

Post by PavoGa »

Set MTFeeders=F and MTFeeders.AtStartup=F and the feeders worked as expected using the #3 option.
Ty
Cleveland, TN
User avatar
PavoGa
MVP
Posts: 617
Joined: Thu Apr 18, 2013 6:59 pm
OLAP Product: TM1
Version: 10.2.2 FP7, PA2.0.9.1
Excel Version: 2013 PAW
Location: Charleston, Tennessee

Re: Problem with Feeder Processing in PA

Post by PavoGa »

tomok wrote: Mon Nov 02, 2020 6:52 pm I wasn't aware you could list more than one element in the same dimension on the right-hand side in a feeder and have it work. I have always created a C element for those situations and fed that.
Until now, have never ever had a problem with that. To be sure, it is not a set {elem1, elem2, ...}, but separate items [elem1], [elem2], ...

Actually, this is recommended in the Bedrock White Paper on rules and feeders.
Ty
Cleveland, TN
User avatar
PavoGa
MVP
Posts: 617
Joined: Thu Apr 18, 2013 6:59 pm
OLAP Product: TM1
Version: 10.2.2 FP7, PA2.0.9.1
Excel Version: 2013 PAW
Location: Charleston, Tennessee

Re: Problem with Feeder Processing in PA **CORRECTION**

Post by PavoGa »

Updated the original post. We are not in .3, but .1
Ty
Cleveland, TN
Wim Gielis
MVP
Posts: 3113
Joined: Mon Dec 29, 2008 6:26 pm
OLAP Product: TM1, Jedox
Version: PAL 2.0.9.18
Excel Version: Microsoft 365
Location: Brussels, Belgium
Contact:

Re: Problem with Feeder Processing in PA

Post by Wim Gielis »

tomok wrote: Mon Nov 02, 2020 6:52 pm I wasn't aware you could list more than one element in the same dimension on the right-hand side in a feeder and have it work. I have always created a C element for those situations and fed that.
I have always used the notation like ty showed it.
It seems like a normal way of writing it.
Best regards,

Wim Gielis

IBM Champion 2024
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
User avatar
Steve Rowe
Site Admin
Posts: 2415
Joined: Wed May 14, 2008 4:25 pm
OLAP Product: TM1
Version: TM1 v6,v7,v8,v9,v10,v11+PAW
Excel Version: Nearly all of them

Re: Problem with Feeder Processing in PA

Post by Steve Rowe »

It sounds like this should be raised as a defect if multi-threading the start-up is not coping with standard syntax.
Technical Director
www.infocat.co.uk
lotsaram
MVP
Posts: 3652
Joined: Fri Mar 13, 2009 11:14 am
OLAP Product: TableManager1
Version: PA 2.0.x
Excel Version: Office 365
Location: Switzerland

Re: Problem with Feeder Processing in PA

Post by lotsaram »

I agree. If you have a reproducible test case then raise as a defect. There's no way this shouldn't work for MTFeeders.
(and this is how I write my feeders).
Please place all requests for help in a public thread. I will not answer PMs requesting assistance.
User avatar
PavoGa
MVP
Posts: 617
Joined: Thu Apr 18, 2013 6:59 pm
OLAP Product: TM1
Version: 10.2.2 FP7, PA2.0.9.1
Excel Version: 2013 PAW
Location: Charleston, Tennessee

Re: Problem with Feeder Processing in PA

Post by PavoGa »

lotsaram wrote: Tue Nov 03, 2020 10:14 am I agree. If you have a reproducible test case then raise as a defect. There's no way this shouldn't work for MTFeeders.
(and this is how I write my feeders).
We intend to raise the issue with IBM asap. We think we've skated by until now because of persistent feeders, but our model uses a continuous timeline and had just added the periods for another fiscal year when this manifested itself in testing some new functionality.

Continued testing this issue yesterday and here are some more observations. Not conclusively proven to the Nth degree, but I want to get this out in case people start running into feeder issues in their models with this version. Important to note, we do not have this problem in cubes where the calcs are fed from user input cells and MTFeeders=F.

We see this work:

Code: Select all

# [B] & [C] are fed if [A] is not rule driven and MTFeeders=F
[A] => [B], [C];
This does not work now:

Code: Select all

# cube1 feeder
[A] => DB(cube2, elem1, elem2, [B]);

# cube2 feeder
[B] = N:DB(cube1, elem1, elem2, [A]);

FEEDERS;
# [C] gets fed. [D] will not be fed.
[B] => [C], [D];

# [D] gets fed if the feeders are structured this way:
[B] => [C];
[B] => [D];

# oddly enough, this appears to work:
[B] => DB(cube2, !elem1, !elem2, [C]), DB(cube2, !elem1, !elem2, [D]);
It does not matter if MTFeeders=F or T. Fully qualifying the elements with dimension names makes no difference.
Running CubeProcessFeeders does absolutely nothing. Server restarts, removing and resaving the rules, or making a new entry into [A] accomplish nothing. Zero, zilch so far. Only splitting the feeder, or possibly switching all internal feeders to DB(), resolves it.

Das ist schlecht.
Ty
Cleveland, TN
User avatar
PavoGa
MVP
Posts: 617
Joined: Thu Apr 18, 2013 6:59 pm
OLAP Product: TM1
Version: 10.2.2 FP7, PA2.0.9.1
Excel Version: 2013 PAW
Location: Charleston, Tennessee

Re: Problem with Feeder Processing in PA

Post by PavoGa »

Well. Today, everything I described above as failing is now feeding correctly. One of the other team members was investigating this further and reported the problems were no longer appearing.

Multiple targets, shorthand notation, chain feeder (A => B => C) and (A => B => C, D): all working.

MTFeeders=T or F, works fine now. I did restart my instance since the failed tests the other day. And had removed persistent feeders as well so the feeders were recalculated in full.

Don't know what could have happened here. Several members of our team witnessed the failing behavior, at different times, in different instances, and had seen it in our primary D, Q and S environments, all on separate VMs. All 2.09.1. Not only that, we were able to repeat it. If anyone else sees this behavior, would sure like to know.

Not afraid of feeders. But I do fear magical feeders. Heck, it's 2020. As good an explanation as any, I guess. :lol:
Ty
Cleveland, TN
User avatar
PavoGa
MVP
Posts: 617
Joined: Thu Apr 18, 2013 6:59 pm
OLAP Product: TM1
Version: 10.2.2 FP7, PA2.0.9.1
Excel Version: 2013 PAW
Location: Charleston, Tennessee

Re: Problem with Feeder Processing in PA

Post by PavoGa »

Additional information with more testing to come:

In the initial testing, the dimensions involved had alternate hierarchies. In the second round of testing with the feeders working as expected, the dimensions did not.

Added an alternate hierarchy to the measure dimension with a single leaf element. Multiple target feeding halted. Removed the alternate hierarchy, leaving the leaves hierarchy in place. Still failed. However, in this scenario, this structure:

Code: Select all

# [A] is a user input cell
[A] => [B];
[B] => [C], [D];
Both B & C were fed.

Additional testing to come, but right now it seems that alternate hierarchies are wreaking havoc on time-tested feeder syntax.
Ty
Cleveland, TN
User avatar
PavoGa
MVP
Posts: 617
Joined: Thu Apr 18, 2013 6:59 pm
OLAP Product: TM1
Version: 10.2.2 FP7, PA2.0.9.1
Excel Version: 2013 PAW
Location: Charleston, Tennessee

Re: Problem with Feeder Processing in PA

Post by PavoGa »

Once last comment. It appears that alternate hierarchies on dimensions other than the measure (or last) dimension in the cube do not break shorthand multiple target feeders.

Add an alternate hierarchy to the measure dimension, however, and feeders will have to be examined. We have submitted to IBM.
Ty
Cleveland, TN
User avatar
Steve Rowe
Site Admin
Posts: 2415
Joined: Wed May 14, 2008 4:25 pm
OLAP Product: TM1
Version: TM1 v6,v7,v8,v9,v10,v11+PAW
Excel Version: Nearly all of them

Re: Problem with Feeder Processing in PA

Post by Steve Rowe »

Thanks Ty, great work on narrowing this down and reporting back. Pretty challenging space to work in...

I'm assuming it is the last dimension in the built order rather than a re-ordered to last dimension?
Technical Director
www.infocat.co.uk
User avatar
PavoGa
MVP
Posts: 617
Joined: Thu Apr 18, 2013 6:59 pm
OLAP Product: TM1
Version: 10.2.2 FP7, PA2.0.9.1
Excel Version: 2013 PAW
Location: Charleston, Tennessee

Re: Problem with Feeder Processing in PA

Post by PavoGa »

Steve Rowe wrote: Thu Nov 12, 2020 5:13 pm Thanks Ty, great work on narrowing this down and reporting back. Pretty challenging space to work in...

I'm assuming it is the last dimension in the built order rather than a re-ordered to last dimension?
Thanks, Steve. Yes, it appears to be that dimension only.
Ty
Cleveland, TN
Post Reply