Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#1475 closed defect (fixed)

Rasql_Inconsistent result from coverage condenser/constructor (or convertor)

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

Description

Try this WCPS query on test_rgb coverage, each running time, it will return different values

for c in (test_rgb), d in (test_rgb)return encode (
coverage outputCov 
over $px x(imageCrsdomain((c.red)[i(0:10),j(0:10)], i)),
     $py y(imageCrsdomain((c.green)[i(0:10),j(0:10)], j))
     values 
     condense + 
     over $px1 x1(imageCrsdomain((c.blue)[i(0:10),j(0:10)], i)) 
     using (unsigned char) ( (c[i($px), j($py)]) ),"csv")

rasql query

SELECT encode(MARRAY px in [0:9,334:343] VALUES 
CONDENSE + OVER px1 in [0:9]  USING (char)  (  ( c[px[0],px[1]] )  ) , "csv" )
 FROM test_rgb AS c,test_rgb AS d

see the difference in csv https://www.diffchecker.com/ZktNKsgS

Change History (4)

comment:1 by Dimitar Misev, 8 years ago

Owner: changed from Dimitar Misev to bbell
Status: newassigned

It'd be good to run this through directql with valgrind.

comment:2 by Dimitar Misev, 8 years ago

Can we close this ticket now? Bang can you test again?

comment:3 by bbell, 8 years ago

Resolution: fixed
Status: assignedclosed

this seems to be working on the rasql query side of things

comment:4 by Bang Pham Huu, 8 years ago

good work Brennan, no difference between each query results anymore.

Note: See TracTickets for help on using tickets.