[EMAIL PROTECTED] wrote:
To sum up, I am looking for a (decently efficient) scheme that is able to
(1) pass arbitrary conditional expressions from WHERE to the executor in a
structure preserving way.
(2) annotate arbitrary expressions with weights that survive on its way from
the parser
Thanks imad,
Von: imad [EMAIL PROTECTED]
It looks like you need a customized version of AExpr Node.
In the backend parser, an AExpr Node is constructed against each given
WHERE expression. You can store the weight along with the expression.
Further, don't forget to upgrade the copy functions
Von: Heikki Linnakangas [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
To sum up, I am looking for a (decently efficient) scheme that is able
to
(1) pass arbitrary conditional expressions from WHERE to the executor in
a structure preserving way.
(2) annotate arbitrary expressions with
[EMAIL PROTECTED] wrote:
Von: Heikki Linnakangas [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
To sum up, I am looking for a (decently efficient) scheme that is able
to
(1) pass arbitrary conditional expressions from WHERE to the executor in
a structure preserving way.
(2) annotate arbitrary
On 7/25/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Why? What are you trying to achieve?
I am implementing a technique that sorts a result set according to weight
annotations in the WHERE.
The query
SELECT * FROM cars
WHERE (cdChanger=1){2}
OR (mp3player=1){1}
would be sorted
[EMAIL PROTECTED] writes:
Why? What are you trying to achieve?
I am implementing a technique that sorts a result set according to weight
annotations in the WHERE.
The query
SELECT * FROM cars
WHERE (cdChanger=1){2}
OR (mp3player=1){1}
would be sorted according to partial
On 7/25/07, Gregory Stark [EMAIL PROTECTED] wrote:
You're trying to do it by annotating the clauses early on in the parse stage,
and then looking at the annotations in the executor. But I think you'll find
that there are too many steps in between those two which risk destroying or
making it
Heikki Linnakangas [EMAIL PROTECTED] writes:
I am implementing a technique that sorts a result set according to weight
annotations in the WHERE.
The query
SELECT * FROM cars
WHERE (cdChanger=1){2}
OR (mp3player=1){1}
would be sorted according to partial conditions that hold.
You
Thanks Heikki,
Von: Heikki Linnakangas [EMAIL PROTECTED]
I am implementing a technique that sorts a result set according to
weight annotations in the WHERE.
The query
SELECT * FROM cars
WHERE (cdChanger=1){2}
OR (mp3player=1){1}
would be sorted according to partial
Hi all,
I want to pass additional weight info from the WHERE clause to the executor and
I hope someone can help me with this.
I accept clauses like the following
WHERE (foo='a'){1}
WHERE (foo='a'){1} OR (bar='b'){2}
WHERE ((foo='a'){1} OR (bar='b'){2})){42} OR (baz='c'){3}
where the {} takes
It looks like you need a customized version of AExpr Node.
In the backend parser, an AExpr Node is constructed against each given
WHERE expression. You can store the weight along with the expression.
Further, don't forget to upgrade the copy functions and equal
functions for AExpr if you want to
11 matches
Mail list logo