Hi all,

I have next sql query: 

select ... from <table> where <some_conditions> and match(.....);

User defined function "match" is complex and I want first filter by 
<some_conditions> and then by "match". But H2 optimizer show me next plan:

select ... from <table> where match(.....) and (<some_conditions>);

How can I prevent reordering of conditions? Can I specify some cost for 
function?

Thanks.

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.

Reply via email to