Bugs item #2863458, was opened at 2009-09-21 14:36
Message generated for change (Settings changed) made by vzzzbx
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2863458&group_id=56967
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: PFtijah
Group: Pathfinder "stable"
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Wouter Alink (vzzzbx)
>Assigned to: Jan Flokstra (jflokstra)
Summary: PF/TIJAH: tokenize in a for-loop
Initial Comment:
Eugen detected the following: of the following 3 queries, the latter 2 seem to
fail (with the algebra frontend only).
Note that the latter 2 queries produce compile-time warnings such as "#warning:
pin count for variable a0002 below zero". It seems to be influenced by the use
of tijah:tokenize(), as I couldn't reproduce the error without using that
function.
$ cat tmp.xq
(: works :)
for $n in (1,2)
let $query := tijah:tokenize(fn:string("aap beer noot"))
let $len := fn:string-length(concat("vuur",$query))
return ($len)
<>
(: fails :)
for $n in (1,2)
let $query := tijah:tokenize(fn:string("aap beer noot"))
let $len := fn:string-length($query)
return ($len)
<>
(: fails :)
for $n in (1,2)
let $query := tijah:tokenize(fn:string("aap beer noot"))
let $len := fn:string-length(concat("vuur",$query))
return ($len,$query)
$ pf --help
Pathfinder XQuery Compiler ($Revision: 1.115 $, $Date: 2009/05/07 14:21:53 $)
(c) Database Systems Group, Eberhard Karls Universitaet Tuebingen
$ mclient -g -lxq -p50333 < tmp.xq
17,
17
13,
13
17,
"aap beer noot",
17,
"aap beer noot"
$ mclient -G -lxq -p50333 < tmp.xq
17,
17
#warning: pin count for variable a0002 below zero
#warning: pin count for variable a0001 below zero
MAPI = mone...@localhost:50333
QUERY = (: fails :)
ERROR = !ERROR: interpret: no matching MIL operator to 'leftjoin(void,
BAT[oid,oid])'.
!MAYBE YOU MEAN:
! leftjoin(BAT[any::1,any::2], BAT[any::2,any::3]) :
BAT[any::1,any::3]
! leftjoin(any::1, BAT[any::1,any::2]) : any::2
! leftjoin(oid, any::1) : any::1
! leftjoin(BAT[void,oid], any::1) : any::1
! leftjoin(BAT[oid,oid], any::1) : BAT[oid,any::1]
#warning: pin count for variable a0002 below zero
#warning: pin count for variable a0001 below zero
MAPI = mone...@localhost:50333
QUERY = (: fails :)
ERROR = !ERROR: interpret: no matching MIL operator to 'append(BAT[oid,oid],
BAT[oid,lng])'.
!MAYBE YOU MEAN:
! append(BAT[any::1,BAT], any) : BAT[any::1,BAT]
! append(BAT[void,any::1], any::1, bit) : BAT[void,any::1]
! append(BAT[void,any::1], any::1) : BAT[void,any::1]
! append(BAT[oid,any::1], any::1, bit) : BAT[oid,any::1]
! append(BAT[oid,any::1], any::1) : BAT[oid,any::1]
! append(BAT[void,any::1], BAT[oid,any::1], bit) :
BAT[void,any::1]
! append(BAT[void,any::1], BAT[oid,any::1]) : BAT[void,any::1]
! append(BAT[void,any::1], BAT[void,any::1], bit) :
BAT[void,any::1]
! append(BAT[void,any::1], BAT[void,any::1]) : BAT[void,any::1]
! append(BAT[oid,any::1], BAT[oid,any::1], bit) : BAT[oid,any::1]
! append(BAT[oid,any::1], BAT[oid,any::1]) : BAT[oid,any::1]
!ERROR: interpret_params: access(param 1): evaluation error.
----------------------------------------------------------------------
>Comment By: Wouter Alink (vzzzbx)
Date: 2009-09-21 14:38
Message:
Henning told me that I should assign it to jan flokstra... (hope that's ok
:)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2863458&group_id=56967
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs