Opened 8 years ago

Closed 8 years ago

#1330 closed defect (fixed)

WCPS1.5_Wrong trimming interval in Rasql from axis iterator

Reported by: Bang Pham Huu Owned by: Bang Pham Huu
Priority: major Milestone: 9.3
Component: petascope Version: development
Keywords: Cc: Dimitar Misev, Vlad Merticariu
Complexity: Medium

Description

WCPS query

for c in (mr) return 
condense  + 
over $x x(0:100),$y y(0:100) 
where max(c[i($x:$x),j($y:$y)]) < 100 
using c[i($x),j($y)]

convert to Rasql from WCPS 1.0

select condense + over i_i in [0:100, 0:100] where 
(max_cells(c[i_i[0]:i_i[0],i_i[1]:i_i[1]]))<(100) 
using (c) [i_i[0],i_i[1]] from mr AS c where oid(c)=1025

and in Rasql from WCPS 1.5

SELECT CONDENSE + 
OVER x in [0:100,0:100] 
WHERE max_cells(c[x:x,y:y]) < 100
USING c[x[0],x[1]] FROM mr AS c

in WCPS 1.5, it should return c[x[0]:x[0],x[1]:x[1]] < 100.

Change History (1)

comment:1 by Bang Pham Huu, 8 years ago

Resolution: fixed
Status: newclosed

the Rasql is below from WCPS 1.5, close ticket here.

SELECT 
CONDENSE + 
OVER x in [0:100,0:100] 
WHERE max_cells(c[x[0]:x[0],x[1]:x[1]])  < 100 
USING c[x[0],x[1]] FROM mr AS c
Note: See TracTickets for help on using tickets.