Opened 8 years ago

Last modified 6 years ago

#1342 closed defect

Rasql_Cannot use range name with different coverages — at Initial Version

Reported by: Bang Pham Huu Owned by: Vlad Merticariu
Priority: critical Milestone: 9.7
Component: qlparser Version: development
Keywords: Cc: Dimitar Misev
Complexity: Medium

Description

irr_cube_2 coverage has 2 ranges (b1, b2)

but when use c.b1 or c.b2 it has error

SELECT encode((c.b1)[0:10,0:20,0], "PNG") FROM irr_cube_2 AS c'
rasql: rasdaman query tool v1.0, rasdaman v9.2.1-gff4f8d4 -- generated on 10.05.2016 14:57:56.
opening database RASBASE at localhost:7001...ok
Executing retrieval query...
rasdaman error 370: Execution error 370 in line 1, column 17, near token .: Struct selector is not valid.
aborting transaction...ok

but rgb with "red, green, blue" has no problem

SELECT encode(c.red, "PNG") FROM rgb AS c

If change to band index, it also can run with irr_cube_2

SELECT encode((c.0)[0:10,0:20,0], "PNG") FROM irr_cube_2 AS c

Change History (0)

Note: See TracTickets for help on using tickets.