On 9 May 2011 15:56, Mark Proctor <span dir="ltr">&lt;<a href="mailto:mproctor@codehaus.org">mproctor@codehaus.org</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


  
    
  
  <div text="#000000" bgcolor="#ffffff"><div class="im">
    On 09/05/2011 12:40, Wolfgang Laun wrote:</div><div class="im"><blockquote type="cite"><br>
      But the following does not permit indexing: <br>
        &lt;any RHS expression from above&gt; == &lt;fieldname&gt;<br>
    </blockquote></div>
    I don&#39;t understand this question as there is no join process in the
    RHS, and thus no possible indexing.<br><font color="#888888">
    <br></font></div></blockquote><div><br>I thought that a very simple transformation could fold this back into<br>    &lt;fieldname&gt; == &lt;any RHS expression from above&gt;<br><br>If the &quot;indexable&quot; forms can be detected by checking the 1st operand and the operator, surely the same is possible for testing the 2nd operand, followed by swapping operands.<br>
<br>Example:<br>   Person( name == &quot;Fred&quot; )<br>same as<br>   Person( &quot;Fred&quot; == name ) <br><br>But I don&#39;t think that this is an important feature - just wanted to make sure what is, and what is not carried over from legacy.<br>
<br>Thanks<br>Wolfgang<br><br><br><br> </div></div><br>