Opened 7 months ago

Closed 6 months ago

Last modified 6 months ago

#1475 closed defect (fixed)

Rasql_Inconsistent result from coverage condenser/constructor (or convertor)

Reported by: bphamhuu Owned by: bbell
Priority: major Milestone: 9.4
Component: rasql Version: development
Keywords: Cc: dmisev, vmerticariu
Complexity: Medium


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(([i(0:10),j(0:10)], i)),
     $py y(imageCrsdomain(([i(0:10),j(0:10)], j))
     condense + 
     over $px1 x1(imageCrsdomain(([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

Change History (4)

comment:1 Changed 6 months ago by dmisev

  • Owner changed from dmisev to bbell
  • Status changed from new to assigned

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

comment:2 Changed 6 months ago by dmisev

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

comment:3 Changed 6 months ago by bbell

  • Resolution set to fixed
  • Status changed from assigned to closed

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

comment:4 Changed 6 months ago by bphamhuu

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

Note: See TracTickets for help on using tickets.