Opened 18 months ago

Last modified 16 months ago

#2732 closed defect

FIX - rasql wrong error about tiling in switch case — at Initial Version

Reported by: Bang Pham Huu Owned by: Dimitar Misev
Priority: major Milestone: 10.2
Component: rasserver Version: 10.2
Keywords: Cc:
Complexity: Medium

Description

This query from a test wcst_import coverage should work

SELECT encode( (  CASE  WHEN  ( SCALE(c_0[0,0:150,0:118], [0:60,0:47]) )  > 20 THEN  ( SCALE(c_0[0,0:150,0:118], [0:60,0:47]) )  * { 107, 17, 68 }  ELSE  ( SCALE(c_0[0,0:150,0:118], [0:60,0:47]) )  * { 150, 103, 14 } END  ) , "png" , "{\"geoReference\":{\"crs\":\"EPSG:4326\",\"bbox\":{\"xmin\":5.565789213302955,\"ymin\":47.13501923451767455,\"xmax\":15.652387627060358595,\"ymax\":55.06020370246992}},\"nodata\":[0.0]}")  FROM test_wcps_irregular_time_germany_4 AS c_0

but it has error:

rasdaman error 427: Execution error 427 in line 1, column 19, near token CASE: The condition and result MDDs don't have the same tiling.

Change History (0)

Note: See TracTickets for help on using tickets.