Opened 5 years ago

Closed 5 years ago

#2277 closed enhancement (worksforme)

rasql - proper error when selecting out of bands

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

Description

test_rgb collection has 3 bands, with c.3 it is error

 rasql -q 'select c.3 + c.2 from test_rgb as c'
rasql: rasdaman query tool v1.0, rasdaman 10.0.0.
Opening database RASBASE at 127.0.0.1:7001... ok.

Executing retrieval query... 

but the error is hard to understand

rasdaman error 2003: Internal error: Entry in user defined type out of bounds.

Change History (1)

comment:1 by Dimitar Misev, 5 years ago

Resolution: worksforme
Status: assignedclosed

It's not hard to understand.

  • RGBPixel is a user-defined type
  • Entry in it is the band
  • You try to select an index that is out of bound
Note: See TracTickets for help on using tickets.