Opened 8 weeks ago

Closed 4 weeks ago

Last modified 3 weeks 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

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 Changed 5 weeks 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 4 weeks ago by dmisev

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

comment:3 Changed 4 weeks 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 3 weeks ago by bphamhuu

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

Note: See TracTickets for help on using tickets.