<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thanks for logging this. Better to say "we don't know".<div><br></div><div>In Mondrian-4 we don't make quite so many assumptions about the type of key fields, so things may work better. This case will remind us to do the testing.<br><div><br><div apple-content-edited="true">
<div>Julian</div><br class="Apple-interchange-newline">

</div>
<br><div><div>On Apr 2, 2013, at 11:31 AM, Paul Stoellberger &lt;<a href="mailto:p.stoellberger@gmail.com">p.stoellberger@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=us-ascii"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Well I cant really explain it either, but suddenly all the warnings that parent values are missing disappeared<div><br></div><div>Here the JIRA:&nbsp;<a href="http://jira.pentaho.com/browse/MONDRIAN-1511">http://jira.pentaho.com/browse/MONDRIAN-1511</a></div><div><br></div><div>I was debugging SqlTupleReader above line 177, and just noticed that in the first case the cache was almost empty when the first WARNING occured, while the second time it was almost full (only 1 warning showed up, which i considered as ok)</div><div>So the order did matter somehow.</div><div><br></div><div><br></div><div><br></div><div>-Paul</div><div><br><div><div>On Apr 2, 2013, at 8:19 PM, Julian Hyde &lt;<a href="mailto:jhyde@pentaho.com">jhyde@pentaho.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Sounds like good general advice. Thanks for letting us know.<br><br>Please log a case. I don't see any reason why, say, VARCHAR columns couldn't be used as key columns for parent-child hierarchies and their closure tables, but I can believe there is a bug.<br><br>Julian<br><br><br>On Apr 2, 2013, at 9:10 AM, Paul Stoellberger &lt;<a href="mailto:p.stoellberger@gmail.com">p.stoellberger@gmail.com</a>&gt; wrote:<br><br><blockquote type="cite">Because I just lost almost half a day on this:<br><br>Can we add a note in the documentation that when using parent child hierarchies and closure tables, it is mandatory to use numeric keys - otherwise the whole thing will just blow up in your face<br><br>I ended up getting arbitrary hierarchies because the order by clause etc. was actually necessary to compute a correct parent child hierarchy. <br>And ordering on string values seem to produce a different result than ordering numeric values.<br>I only changed that and suddenly my PC hierarchies work correctly.<br><br>And if thats still an issue in mondrian 4 - please add it to the book :-)<br><br>Thanks<br><br>Paul<br><br>_______________________________________________<br>Mondrian mailing list<br><a href="mailto:Mondrian@pentaho.org">Mondrian@pentaho.org</a><br><a href="http://lists.pentaho.org/mailman/listinfo/mondrian">http://lists.pentaho.org/mailman/listinfo/mondrian</a><br></blockquote><br>_______________________________________________<br>Mondrian mailing list<br><a href="mailto:Mondrian@pentaho.org">Mondrian@pentaho.org</a><br><a href="http://lists.pentaho.org/mailman/listinfo/mondrian">http://lists.pentaho.org/mailman/listinfo/mondrian</a><br></blockquote></div><br></div></div>_______________________________________________<br>Mondrian mailing list<br><a href="mailto:Mondrian@pentaho.org">Mondrian@pentaho.org</a><br>http://lists.pentaho.org/mailman/listinfo/mondrian<br></blockquote></div><br></div></div></body></html>