#1347 closed defect (fixed)
Rasql_Error when overlay with range constructor
Reported by: | Bang Pham Huu | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 9.5 |
Component: | rasql | Version: | development |
Keywords: | Cc: | Dimitar Misev, Vlad Merticariu, bbell | |
Complexity: | Medium |
Description
This problem in Rasql is when use Rasql to query with range constructor and overlay. However, the single query without overlay can be run:
SELECT encode({ ( ( c >= 20 and c < 25 ) * 255 ) , ( ( c >= 20 and c < 25 ) * 165 ) , ( ( c >= 20 and c < 25 ) * 0 ) }, "PNG" , "nodata=0;xmin=0;ymin=0;xmax=255;ymax=210") FROM mr AS c
the query return error when use overlay
SELECT encode((char) ({( ( c >=20 and c < 25 ) * 255 ) , ( ( c >=20 and c < 25 ) * 165 ) , ( ( c >=20 and c < 25 ) * 0 )}) overlay (char) ({( ( c < 20 ) * 200 ) , ( ( c < 20 ) * 10 ) , ( ( c < 20 ) * 10 )}), "PNG" , "nodata=0;xmin=0;ymin=0;xmax=255;ymax=210") FROM mr AS c
with error
Executing retrieval query...rasdaman error 0: Internal server error. aborting transaction...E0628 15:44:48.667793237 7776 tcp_client_posix.c:171] failed to connect to 'ipv4:10.70.11.237:7002': socket error: connection refused E0628 15:44:49.668076733 7776 tcp_client_posix.c:171] failed to connect to 'ipv4:10.70.11.237:7002': socket error: connection refused
Change History (3)
comment:1 by , 7 years ago
Cc: | added |
---|---|
Milestone: | 10.0 → 9.5 |
comment:2 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 by , 7 years ago
This problem was also addressed by the patch for ticket:1335, as both tickets were segfaulting due to a bug in the checkType() method of the class QtRangeConstructor.
Note:
See TracTickets
for help on using tickets.
this one is important for WMS, so need to be fixed soon, even without cast, it killed rasservers
server's log