However, in this case I believe it is a part of the plan that is executed,
since I saw it in the optimized plan. So in order to make this query work,
I must implement this runtime function, right? Is there anything else that
I may have to implement other than this? I only saw a reference to the
following in the optimized query plan:
if-then-else
instance-of
sort-distinct-nodes-asc-or-atomics
Thank you,
Shivani
On Fri, Jul 10, 2015 at 8:56 PM, Eldon Carman <[email protected]> wrote:
> Yes, sort-distinct-nodes-asc-or-atomics is not implemented. Depending on
> the use case, the function is often removed from the plan based on the
> properties of the query plan. For example, if the query does not change the
> document order, the query does not need the
> sort-distinct-nodes-asc-or-atomics
> expression.
>
> On Fri, Jul 10, 2015 at 2:37 PM, Shivani Mall <[email protected]> wrote:
>
> > Hey all,
> >
> > I have a question about the implementation of [ ] in VXQuery. For example
> > in the following xpath
> > ( doc(person.xml)/person/bidder[1] ).
> > Please correct me if I am wrong.
> >
> > if-then-else
> > instance-of
> > sort-distinct-nodes-asc-or-atomics
> >
> > And, I think sort-distinct-nodes-asc-or-atomics is not implemented yet.
> >
> > Thank you,
> > Shivani
> >
>