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.
Note:
See TracTickets
for help on using tickets.