order_by_helper ...

1 view
Skip to first unread message

Sandesh Singh

unread,
Apr 6, 2006, 7:00:10 PM4/6/06
to td...@googlegroups.com
What's the

std::pair<size_t, size_t> field_pointer;

in the order_by_helper for? If it's for a pair of <tuple_index,
field_index>, I dont think I can give it to you, as this happens
during query evaluation, and no query plan is drawn up as yet.

--
[ Sandy ]

You can't add days to your life. But you can add life to your days.

Sandesh Singh

unread,
Apr 6, 2006, 9:23:28 PM4/6/06
to td...@googlegroups.com
On 4/7/06, Sandesh Singh <sande...@gmail.com> wrote:
> What's the
>
> std::pair<size_t, size_t> field_pointer;
>
> in the order_by_helper for? If it's for a pair of <tuple_index,
> field_index>, I dont think I can give it to you, as this happens
> during query evaluation, and no query plan is drawn up as yet.

Ok, so here's the thing. I am setting up the field_pointer to the
return value of make_filter_entry. Keep in mind that the order_map
given to the function is my own, though.

Dhruv Matani

unread,
Apr 7, 2006, 12:04:52 AM4/7/06
to td...@googlegroups.com
On 4/7/06, Sandesh Singh <sande...@gmail.com> wrote:

On 4/7/06, Sandesh Singh <sande...@gmail.com> wrote:
> What's the
>
> std::pair<size_t, size_t> field_pointer;
>
> in the order_by_helper for? If it's for a pair of <tuple_index,
> field_index>, I dont think I can give it to you, as this happens
> during query evaluation, and no query plan is drawn up as yet.

Ok, so here's the thing. I am setting up the field_pointer to the
return value of make_filter_entry. Keep in mind that the order_map
given to the function is my own, though.


Rather, change field_pointer to be of type: size_t, and set it to the index of a string in projection_remap. That way, I can use make_filter_entry on my own, and get it.


 

--
[ Sandy ]

You can't add days to your life. But you can add life to your days.

http://www.geocities.com/dhruvbird/

"The biggest room is the room for improvement."
     -- Navjot Singh Siddhu.
Reply all
Reply to author
Forward
0 new messages