Process a running on port 1234q) tab:(a:1 2 3;b:a
bc)Process bq.test)h:hopen 1234q.test)h"select from tab where a\>1"a b---2 b3 cq.test)h({[x]select from tab where a\>x};1)'tabq.test)h({[x]select from value
tab where a>x};1)a b—2 b3 cWhy does the namespace not persist in the first message but it doespersist across with the functional query?
Try caling value on the function - i suspect it retains namespace in
its definition at construction time, ie before it flies off to the
remote db for execution
Sent from my iPhone
yes
also note that select (now) works directly on names:
q.test)h({select from `tab where a>x};1)
is fine
Ok, cheers.NickOn Mar 31, 1:49?am, Aaron Davies <aaron.dav…> wrote:> yes>> also note that select (now) works directly on names:>> q.test)h({select from tab where a>x};1)>> is fine>> On Mar 30, 2011, at 5:39 AM, manni patel wrote:>>>>>> > Try caling value on the function - i suspect it retains namespace in> > its definition at construction time, ie before it flies off to the> > remote db for execution>> > Sent from my iPhone>> > On 30 Mar 2011, at 08:27, Nick <nickmcd...> wrote:>> >> Process a running on port 1234> >> q) tab:([]a:1 2 3;b:
ab
c)>> >> Process b> >> q.test)h:hopen 1234> >> q.test)h"select from tab where a>1"> >> a b> >> —> >> 2 b> >> 3 c> >> q.test)h({select from tab where a>x};1)> >> 'tab> >> q.test)h({select from value `tab where a>x};1)> >> a b> >> —> >> 2 b> >> 3 c>> >> Why does the namespace not persist in the first message but it does> >> persist across with the functional query?>> >> –> >>
Submitted via Google Groups</nickmcd…></aaron.dav…>