[ 
https://issues.apache.org/jira/browse/VXQUERY-115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14012059#comment-14012059
 ] 

Preston Carman commented on VXQUERY-115:
----------------------------------------

The VXQuery version of the XMark query:

let $collection := 
"vxquery-benchmark/src/main/resources/xmark/data/open_auctions/"
for $b in collection($collection)/site/open_auctions/open_auction
return <increase>{$b/bidder[1]/increase/text()}</increase>


> UNNEST postional variable untyped
> ---------------------------------
>
>                 Key: VXQUERY-115
>                 URL: https://issues.apache.org/jira/browse/VXQUERY-115
>             Project: VXQuery
>          Issue Type: Bug
>            Reporter: Preston Carman
>
> The UNNEST operator's positional variable is set as untyped atomic. The issue 
> arises when comparing this value with the integer index. The current 
> comparison will not compare untyped atomic with integer.
> Options:
> - Cast to integer at time of comparison. 
> - Set positional variable to integer in UNNEST operator. (Seems to be correct 
> answer.)
> Note: Fixed needed for XMark queries.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to