Opened 5 years ago

Closed 5 years ago

#2192 closed defect (fixed)

WCPS - Throw exception for unknown casting type

Reported by: Bang Pham Huu Owned by: Bang Pham Huu
Priority: major Milestone: 10.0
Component: petascope Version: 9.8
Keywords: Cc: Dimitar Misev, Vlad Merticariu
Complexity: Medium

Description

This WCPS uses unknown casting type byte.

 for c in (INSPIRE_WS_LC)
 return encode( (byte) c, "png" )

and Petascope translates it literally to rasql as

SELECT encode((byte) c, "png") FROM ICGC_DATA_HELSINKI_WS_LC AS c

and it returns error as there is no byte type in rasdaman.

Petascope should throw exception in this case instead.

Change History (1)

comment:1 by Bang Pham Huu, 5 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.