Opened 5 years ago

Closed 5 years ago

#2160 closed defect (fixed)

Subset on array constant wrongly throws exception

Reported by: Dimitar Misev Owned by: apercov
Priority: major Milestone: 10.0
Component: qlparser Version: 9.8
Keywords: Cc:
Complexity: Medium

Description

The following query throws an exception currently:

rasql -q 'select encode(
<[0:2,0:2]
0, 0, 0;
1, 1, 1;
2, 2, 2>[0, *:*]
, "csv")' --out string

rasserver log:
qlparser/qtconversion.cc:219: no tile available to convert.

terminal:
rasdaman error 0: Exception: ODMG General

The correct behavior, however, is to print

0,0,0

Change History (5)

comment:1 by Dimitar Misev, 5 years ago

Once the above is fixed, it should be checked if this query works as well:

rasql -q 'select encode(
condense + over i in [0:1] 
using (
<[0:1,0:2,0:2]

0, 0, 0;
1, 1, 1;
2, 2, 2;

3, 3, 3;
1, 1, 1;
0, 0, 0> [i[0], *:*, *:*]
),
"csv")' --out string

rasdaman error 232: Exception: The interval has at least one open bound.

It also throws an error currently, but should not.

comment:2 by Dimitar Misev, 5 years ago

Owner: changed from apercov to dkamov
Status: newassigned

comment:3 by Dimitar Misev, 5 years ago

Owner: changed from dkamov to apercov

comment:4 by apercov, 5 years ago

Status: assignedaccepted

comment:5 by Dimitar Misev, 5 years ago

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