Opened 14 years ago
Closed 13 years ago
#55 closed defect (fixed)
RasJ Scalar Values Handling
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | major | Milestone: | |
Component: | applications | Version: | |
Keywords: | Cc: | p.baumann@… | |
Complexity: | Medium |
Description
In cases where WCPS returns scalar values, the value returned by rasj is usually wrong and different from the value obtained if the equivalent query was to run on rasdaman
For example, using the mr2 sampleimage as an example,
Query using rasql:
rasql -q 'select max_cells(r) from mr2 as r' —out string
…….
Result element 1: 253
Query using WCPS:
for c in (mr2) return max©
result = -3
Note:
See TracTickets
for help on using tickets.
A workaround is at wiki:FAQ#Overflowwhenunsignedbytesareretrievedwithrasj